Article View: gnu.emacs.bug
Article #99830bug in mail-utils.el: mail-strip-quoted-names
From: Dave Brennan
Date: Wed, 16 May 1990 21:50
Date: Wed, 16 May 1990 21:50
38 lines
2109 bytes
2109 bytes
The following occurred with Emacs 18.55 on DG/UX 4.30 with Gnus 3.13.
While using Gnus I ran across an article without a from header line that
I wanted to save (via Gnus through rmail-output).
However, rmail-strip-quoted-names bombed on a string-match because the
address passed in was nil. The following patch fixes this problem:
(This patch is optimized for space - I didn't put the "(if mail-use..." on
a new line because it would mean reindenting everything and making a much
larger patch. But feel free to do it by hand.)
*** mail-utils.el.dist Wed May 16 16:48:05 1990
--- mail-utils.el Wed May 16 17:05:16 1990
***************
*** 40,42 ****
Return a modified address list."
! (if mail-use-rfc822
(progn (require 'rfc822)
--- 40,42 ----
Return a modified address list."
! (if (not address) nil (if mail-use-rfc822
(progn (require 'rfc822)
***************
*** 79,81 ****
(setq address (mail-string-delete address junk-beg junk-end))))
! address)))
--- 79,81 ----
(setq address (mail-string-delete address junk-beg junk-end))))
! address))))
|\
Dave Brennan | \____oo_ brennan@rtp.dg.com
=========================================((__| /___> ...rti!dg-rtp!brennan
User Interfaces, Data General | // daveb@rpitsmts.bitnet
Research Triangle Park, NC |// Phone: (919) 248-6330
Technical Details
Message-ID:
<BRENNAN.90May16175007@bach.rtp.dg.com>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!dg-rtp!dg-rtp!brennanShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,b790386000fbb118,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1990-05-16 16:30:58 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!dg-rtp!dg-rtp!brennan From: brennan@rtp.dg.com (Dave Brennan) Newsgroups: gnu.emacs.bug Subject: bug in mail-utils.el: mail-strip-quoted-names Message-ID: <BRENNAN.90May16175007@bach.rtp.dg.com> Date: 16 May 90 21:50:07 GMT Sender: usenet@dg-rtp.dg.com (Usenet Administration) Distribution: gnu Organization: Data General, RTP, NC Lines: 38 Posted: Wed May 16 22:50:07 1990