all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Artur Malabarba <bruce.connor.am@gmail.com>
To: Drew Adams <drew.adams@oracle.com>
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>,
	Emanuel Berg <embe8573@student.uu.se>
Subject: Re: Gnus + emacs.stackexchange
Date: Mon, 11 May 2015 17:12:09 +0100	[thread overview]
Message-ID: <CAAdUY-+tUPRtyu0kpWfe_heoxxHkeeoEFjbJj==X2jT1hydCsw@mail.gmail.com> (raw)
In-Reply-To: <1d1afb9a-fa69-4056-bc0e-aa07341ba8a4@default>

2015-05-11 16:47 GMT+01:00 Drew Adams <drew.adams@oracle.com>:
>> >> Ok. It looks like something is setting your
>> >> `tabulated-list-use-header-line' variable to nil *between* the
>> >> buffer initialization and the list printing. So the
>> >> `tabulated-list--header-string' variable doesn't get set (it's
>> >> normally set during buffer initialization), but when it's time to
>> >> print, the variable is expected to be a string.
>> >> I think that's a bug in tabulated-list-mode (which I'll try to
>> >> get fixed now), but do you have any hooks or advices that may be
>> >> causing that?
>> >
>> > 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).



  reply	other threads:[~2015-05-11 16:12 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.2080.1430445013.904.help-gnu-emacs@gnu.org>
2015-05-01  2:10 ` reddit (was: Re: ediff question ...) Emanuel Berg
2015-05-01 12:37   ` reddit Stefan Monnier
2015-05-01 17:42     ` reddit Artur Malabarba
2015-05-01 20:16       ` reddit Stefan Monnier
2015-05-02 10:10         ` reddit Artur Malabarba
     [not found]       ` <mailman.2160.1430511381.904.help-gnu-emacs@gnu.org>
2015-05-02 17:38         ` reddit Emanuel Berg
2015-05-02 17:47           ` reddit Jai Dayal
     [not found]           ` <mailman.2213.1430588900.904.help-gnu-emacs@gnu.org>
2015-05-02 18:59             ` reddit Emanuel Berg
2015-05-02 19:25               ` reddit Jai Dayal
     [not found]               ` <mailman.2217.1430594737.904.help-gnu-emacs@gnu.org>
2015-05-02 23:28                 ` reddit Emanuel Berg
     [not found]     ` <mailman.2133.1430502152.904.help-gnu-emacs@gnu.org>
2015-05-02 17:38       ` reddit Emanuel Berg
2015-05-04  6:53         ` reddit Marcin Borkowski
2015-05-03 18:04     ` reddit Sivaram Neelakantan
     [not found]     ` <mailman.2259.1430676299.904.help-gnu-emacs@gnu.org>
2015-05-03 21:31       ` Gnus + emacs.stackexchange (was: Re: reddit) Emanuel Berg
2015-05-03 21:44         ` Emanuel Berg
2015-05-05  2:32         ` Gnus + emacs.stackexchange Sivaram Neelakantan
2015-05-05  9:07           ` Artur Malabarba
     [not found]           ` <mailman.2372.1430816864.904.help-gnu-emacs@gnu.org>
2015-05-05 16:37             ` Emanuel Berg
2015-05-07  8:54               ` Artur Malabarba
     [not found]               ` <mailman.2526.1430988889.904.help-gnu-emacs@gnu.org>
2015-05-07 22:39                 ` Emanuel Berg
2015-05-07 23:21                   ` Artur Malabarba
2015-05-06  0:45             ` Emanuel Berg
2015-05-07  9:03               ` Artur Malabarba
     [not found]               ` <mailman.2528.1430989397.904.help-gnu-emacs@gnu.org>
2015-05-07 23:33                 ` Emanuel Berg
2015-05-08  9:43                   ` Artur Malabarba
     [not found]                   ` <mailman.2588.1431078198.904.help-gnu-emacs@gnu.org>
2015-05-09 21:08                     ` Emanuel Berg
2015-05-11 12:00                       ` Artur Malabarba
2015-05-11 13:54                         ` Drew Adams
2015-05-11 15:03                           ` Artur Malabarba
2015-05-11 15:47                             ` Drew Adams
2015-05-11 16:12                               ` Artur Malabarba [this message]
2015-05-11 16:12                                 ` Artur Malabarba
2015-05-11 17:11                                 ` Drew Adams
2015-05-05 17:11           ` Sharon Kimble
2015-05-06  3:12             ` Sivaram Neelakantan
2015-05-08 16:23               ` Sivaram Neelakantan
2015-05-08 20:10                 ` Jude DaShiell
2015-05-08 21:48                   ` Artur Malabarba
2015-05-09 11:38                     ` Sivaram Neelakantan
2015-05-09 20:47                 ` Artur Malabarba
2015-05-11 14:55                   ` Sivaram Neelakantan
     [not found]           ` <mailman.2403.1430845873.904.help-gnu-emacs@gnu.org>
2015-05-06  0:30             ` Emanuel Berg
2015-05-06  9:39               ` Ted Zlatanov
2015-05-06 10:22                 ` tomas
2015-05-06 19:31                 ` Emanuel Berg
2015-05-07  9:15                   ` Artur Malabarba
     [not found]                   ` <mailman.2530.1430990129.904.help-gnu-emacs@gnu.org>
2015-05-07 23:58                     ` Emanuel Berg
2015-05-08  9:50                       ` Artur Malabarba
     [not found]                       ` <mailman.2589.1431078643.904.help-gnu-emacs@gnu.org>
2015-05-09 21:29                         ` Emanuel Berg
2015-05-01 19:33   ` reddit (was: Re: ediff question ...) Robert Thorpe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAAdUY-+tUPRtyu0kpWfe_heoxxHkeeoEFjbJj==X2jT1hydCsw@mail.gmail.com' \
    --to=bruce.connor.am@gmail.com \
    --cc=drew.adams@oracle.com \
    --cc=embe8573@student.uu.se \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.