From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: Gnus + emacs.stackexchange Date: Mon, 11 May 2015 06:54:50 -0700 (PDT) Message-ID: <475a32e9-2edf-4aec-bcb6-5f4c693952ea@default> 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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1431353830 20009 80.91.229.3 (11 May 2015 14:17:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 May 2015 14:17:10 +0000 (UTC) Cc: help-gnu-emacs To: bruce.connor.am@gmail.com, Emanuel Berg Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 11 16:16:58 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 1YroVt-0005EW-96 for geh-help-gnu-emacs@m.gmane.org; Mon, 11 May 2015 16:16:57 +0200 Original-Received: from localhost ([::1]:37773 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YroVs-0005lE-KL for geh-help-gnu-emacs@m.gmane.org; Mon, 11 May 2015 10:16:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46891) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YroAg-0002y6-HU for help-gnu-emacs@gnu.org; Mon, 11 May 2015 09:55:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YroAc-0002pg-CU for help-gnu-emacs@gnu.org; Mon, 11 May 2015 09:55:02 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:26286) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YroAc-0002pQ-6N for help-gnu-emacs@gnu.org; Mon, 11 May 2015 09:54:58 -0400 Original-Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t4BDsqUM018491 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 11 May 2015 13:54:52 GMT Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserv0021.oracle.com (8.13.8/8.13.8) with ESMTP id t4BDsoK4002459 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 11 May 2015 13:54:50 GMT Original-Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11]) by aserv0122.oracle.com (8.13.8/8.13.8) with ESMTP id t4BDsoa1000586; Mon, 11 May 2015 13:54:50 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] X-Source-IP: aserv0021.oracle.com [141.146.126.233] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 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:104371 Archived-At: > >>> (wrong-type-argument char-or-string-p nil) in > >>> tabulated-list-print > >> > >> Ok, would you be willing to produce a backtrace? > >> (with M-x toggle-debug-on-error) > > > > This is what it says for `sx-search': > > > > Debugger entered--Lisp error: (wrong-type-argument char-or- > > string-p nil) > > tabulated-list-print-fake-header() > > tabulated-list-print(remember) >=20 > 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. IMO, the `tabulated-list-mode' doc is not clear about such things. Put differently, the design of `tabulated-list-mode' seems to be a bit fragile. You need to do things in a specific order, which is not well documented. Caveat: I'm no expert on `tabulated-list-mode'. Just starting to wade through it myself, actually - which is why I think I recognize the above error. When I understand it better I will perhaps file a bug report or two - doc or otherwise.