From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.help Subject: Re: Gnus + emacs.stackexchange Date: Mon, 11 May 2015 17:12:09 +0100 Message-ID: References: <87fv7hoxnd.fsf@debian.uxu> <87mw1luz3o.fsf_-_@debian.uxu> <87a8xjpxdh.fsf@gmail.com> <87oalyo7og.fsf@debian.uxu> <87zj5ghsiu.fsf@debian.uxu> <877fsh31d9.fsf@debian.uxu> <475a32e9-2edf-4aec-bcb6-5f4c693952ea@default> <1d1afb9a-fa69-4056-bc0e-aa07341ba8a4@default> Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1431360758 14934 80.91.229.3 (11 May 2015 16:12:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 May 2015 16:12:38 +0000 (UTC) Cc: help-gnu-emacs , Emanuel Berg To: Drew Adams Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 11 18:12:22 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YrqJa-0006xQ-Bn for geh-help-gnu-emacs@m.gmane.org; Mon, 11 May 2015 18:12:22 +0200 Original-Received: from localhost ([::1]:38639 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YrqJZ-0001vq-P6 for geh-help-gnu-emacs@m.gmane.org; Mon, 11 May 2015 12:12:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60320) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YrqJP-0001vb-Ho for help-gnu-emacs@gnu.org; Mon, 11 May 2015 12:12:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YrqJO-0001ir-OD for help-gnu-emacs@gnu.org; Mon, 11 May 2015 12:12:11 -0400 Original-Received: from mail-lb0-x231.google.com ([2a00:1450:4010:c04::231]:35896) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YrqJO-0001il-GQ for help-gnu-emacs@gnu.org; Mon, 11 May 2015 12:12:10 -0400 Original-Received: by lbbqq2 with SMTP id qq2so97495026lbb.3 for ; Mon, 11 May 2015 09:12:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=v44L7unN6tGeF7FuJeTdXITin9nTbmcDnumNhS8xGpQ=; b=hp7D9vwcq6Z+wTL6l2BDLOu1cD1cGzmmd816c/gDDbYdvoAtMCtPilfn5LZ1gow/ze ueXH6NiV5bQ7xcYdvyR2nlYXHK+c3ELI7cawje9GpQcwWS5AVwgYQ5ZPbXCWHv3U6kEN PrF7FutokQYWk6A10VjcggbO/Fk2MioB2o0L0OC69YdFnf3OKojNa/Yo1BFcuOH9v1v/ UXtjrSzDW4iwUbe3To9QwGvttCJ4TewCTw48fFsxrbtoaJdBqD1+xK9tvh924rrTGU9f NmC653q/wYrmDvRPBT2/DspaUou6CbWk0CJKP06jC7UDTBhDhRKUUQdpNgm35FMCKbIl HBog== X-Received: by 10.112.29.180 with SMTP id l20mr8261161lbh.95.1431360729760; Mon, 11 May 2015 09:12:09 -0700 (PDT) Original-Received: by 10.25.150.1 with HTTP; Mon, 11 May 2015 09:12:09 -0700 (PDT) In-Reply-To: <1d1afb9a-fa69-4056-bc0e-aa07341ba8a4@default> X-Google-Sender-Auth: fqgO0-vOXQYHAEpNVn7SD1kcERM X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::231 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:104384 Archived-At: 2015-05-11 16:47 GMT+01:00 Drew Adams : >> >> 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).