From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: worley@alum.mit.edu (Dale R. Worley) Newsgroups: gmane.emacs.bugs Subject: bug#18878: 24.3; (setq rmail-nonignored-headers nil) causes rmail-copy-headers to error Date: Tue, 28 Oct 2014 16:29:47 -0400 Message-ID: <87tx2odjk4.fsf@hobgoblin.ariadne.com> 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 1414528292 18799 80.91.229.3 (28 Oct 2014 20:31:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 Oct 2014 20:31:32 +0000 (UTC) To: 18878@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 28 21:31:26 2014 Return-path: Envelope-to: geb-bug-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 1XjDQK-0001Jj-65 for geb-bug-gnu-emacs@m.gmane.org; Tue, 28 Oct 2014 21:31:24 +0100 Original-Received: from localhost ([::1]:41314 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjDQJ-00046M-MW for geb-bug-gnu-emacs@m.gmane.org; Tue, 28 Oct 2014 16:31:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49593) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjDQ8-00042L-6F for bug-gnu-emacs@gnu.org; Tue, 28 Oct 2014 16:31:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XjDPz-0002hk-2b for bug-gnu-emacs@gnu.org; Tue, 28 Oct 2014 16:31:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45938) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjDPy-0002hg-VR for bug-gnu-emacs@gnu.org; Tue, 28 Oct 2014 16:31:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XjDPy-0006b5-GQ for bug-gnu-emacs@gnu.org; Tue, 28 Oct 2014 16:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: worley@alum.mit.edu (Dale R. Worley) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 28 Oct 2014 20:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 18878 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.141452822025288 (code B ref -1); Tue, 28 Oct 2014 20:31:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Oct 2014 20:30:20 +0000 Original-Received: from localhost ([127.0.0.1]:38033 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XjDPH-0006Zo-IZ for submit@debbugs.gnu.org; Tue, 28 Oct 2014 16:30:20 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47585) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XjDPF-0006ZX-4H for submit@debbugs.gnu.org; Tue, 28 Oct 2014 16:30:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XjDP2-0002Oe-GG for submit@debbugs.gnu.org; Tue, 28 Oct 2014 16:30:11 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:47933) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjDP2-0002OW-Dw for submit@debbugs.gnu.org; Tue, 28 Oct 2014 16:30:04 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49294) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjDOv-0003uy-MN for bug-gnu-emacs@gnu.org; Tue, 28 Oct 2014 16:30:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XjDOo-0002Gc-V9 for bug-gnu-emacs@gnu.org; Tue, 28 Oct 2014 16:29:57 -0400 Original-Received: from resqmta-po-11v.sys.comcast.net ([96.114.154.170]:38633) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjDOo-0002GX-MI for bug-gnu-emacs@gnu.org; Tue, 28 Oct 2014 16:29:50 -0400 Original-Received: from resomta-po-19v.sys.comcast.net ([96.114.154.243]) by resqmta-po-11v.sys.comcast.net with comcast id 8kV81p00F5FMDhs01kVpMS; Tue, 28 Oct 2014 20:29:49 +0000 Original-Received: from hobgoblin.ariadne.com ([24.34.72.61]) by resomta-po-19v.sys.comcast.net with comcast id 8kVo1p00J1KKtkw01kVoWm; Tue, 28 Oct 2014 20:29:49 +0000 Original-Received: from hobgoblin.ariadne.com (hobgoblin.ariadne.com [127.0.0.1]) by hobgoblin.ariadne.com (8.14.7/8.14.7) with ESMTP id s9SKTl5X007389 for ; Tue, 28 Oct 2014 16:29:47 -0400 Original-Received: (from worley@localhost) by hobgoblin.ariadne.com (8.14.7/8.14.7/Submit) id s9SKTlig007388; Tue, 28 Oct 2014 16:29:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1414528189; bh=Hxt1tH7sTx/8z7jP//91LI81QJZbDvDP/2HJjxmycKo=; h=Received:Received:Received:Received:From:To:Subject:Date: Message-ID:MIME-Version:Content-Type; b=GpVscsovFEwEju3t1j401mXufAPmX+R+ENscKdLDxT+oYW67hbK0WACOML++fy8YR GvKD0SQc5GaJ8TsiytfFUjTjVQmcyPr71IVZwhKe3iGP2tdalCRUxWQzWbqA513thB USgvRMs64S9UvWSKMqP4wSrxvhiXcxVctpDShoHFDJnVKtjNiX7avR1VqoZLuHdbmb TkuM62PBeruNHdA7cSuOidghHhBTR4fWvyGHSWwmubBWU6w+SIdGchtOQ1r3XMbtY7 eLLH6gMNrCKu/mklS3lzaQ0sTCXt2+gfdDHhaRyKThqh69f8nexezJYOdCinJo/oIN j38CaAleFvXNQ== X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:95221 1. Create a mailbox file containing one message. (I believe that any mailbox file (containing at least one message) will suffice.) 2. Execute (setq rmail-nonignored-headers nil). This has the defined meaning that there are no "nonignored" headers that are displayed even if they match rmail-ignored-headers: rmail-nonignored-headers is a variable defined in `rmail.el'. Its value is "^x-spam-status:" Documentation: Regexp to match X header fields that Rmail should show. This regexp overrides `rmail-ignored-headers'; if both this regexp and that one match a certain header field, Rmail shows the field. If this is nil, ignore all header fields in `rmail-ignored-headers'. 3. Run Rmail on the mailbox file: C-u M-x rmail RET ...file-name... RET. 4. An error message is displayed in the minibuffer. As it is recorded in the *Messages* buffer: rmail-copy-headers: Wrong type argument: stringp, nil 5. Setting debug-on-error to t before step 3 will give a traceback showing that rmail-copy-headers has used the value of rmail-nonignored-headers as an argument to looking-at without first checking whether the value of rmail-nonignored-headers is non-nil. In GNU Emacs 24.3.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.8.2) of 2013-08-14 on buildvm-15.phx2.fedoraproject.org Windowing system distributor `Fedora Project', version 11.0.11404000 System Description: Fedora release 19 (Schr=C3=B6dinger=E2=80=99s Cat) Configured using: `configure '--build=3Dx86_64-redhat-linux-gnu' '--host=3Dx86_64-redhat-linux-gnu' '--program-prefix=3D' '--disable-dependency-tracking' '--prefix=3D/usr' '--exec-prefix=3D/usr' '--bindir=3D/usr/bin' '--sbindir=3D/usr/sbin' '--sysconfdir=3D/etc' '--datadir=3D/usr/share' '--includedir=3D/usr/include' '--libdir=3D/usr/lib64' '--libexecdir=3D/usr/libexec' '--localstatedir=3D/var' '--sharedstatedir=3D/var/lib' '--mandir=3D/usr/share/man' '--infodir=3D/usr/share/info' '--with-dbus' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xft' '--with-xpm' '--with-x-toolkit=3Dgtk3' '--with-gpm=3Dno' 'build_alias=3Dx86_64-redhat-linux-gnu' 'host_alias=3Dx86_64-redhat-linux-gnu' 'CFLAGS=3D-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fstack-protector --param=3Dssp-buffer-size=3D4 -grecord-gcc-switches -m64 -mtune=3Dgeneric' 'LDFLAGS=3D-Wl,-z,relro '' Important settings: value of $LC_COLLATE: C value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x r e p o r t - e m a c s - b u g Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) --=20 -- Dale WORLEY worley@alum.mit.edu