help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Gnus + emacs.stackexchange


From: Drew Adams
Subject: RE: Gnus + emacs.stackexchange
Date: Mon, 11 May 2015 10:11:40 -0700 (PDT)

> >> > Check where you call the major (derived) mode, which calls
> >> > `tabulated-list-mode'.  If it calls it after you have already
> >> > inserted the header line then that line will be removed when
> >> > `tabulated-list-mode' (calls `special-mode' which) kills all
> >> > local variables.
> >>
> >> Activating the mode is the first thing we do on a new buffer. All
> >> variables are set after that.
> >>
> >> And sx has no reference to `tabulated-list-use-header-line' or
> >> `tabulated-list--header-string', which is why I suspect there's a
> >> hook gone rogue somewhere. Of course, I may be wrong.
> >
> > It should call `tabulated-list-init-header', I believe.  If it
> > does not then that is perhaps your problem.  See (elisp) `Tabulated
> > List Mode':
> 
> Thanks drew, you're right. We don't call init-header because we
> don't use the header. I thought that was ok, but it ends up throwing an
> error in the case where `tabulated-list-use-header-line' is non-nil
> (which is not our case, but I guess some user/packages might set
> this variable globally).

OK.  I thought that the original problem was that a header was wanted
but was not showing up.  Sorry if I misunderstood.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]