From: no-spam@cua.dk (Kim F. Storm)
Subject: Bug in gnus pop3-munge-message-separator
Date: 11 Apr 2002 16:45:19 +0200 [thread overview]
Message-ID: <5x662ygups.fsf@kfs2.cua.dk> (raw)
For some time, gnus (from emacs CVS) wasn't able to receive mail
from one of my mail accounts (it barfs about nil is not a string).
I tracked this down to messages with an empty Date: header.
The following patch fixes this. I don't know if this is the proper
way to fix it, but at least it works...
Index: pop3.el
===================================================================
RCS file: /cvs/emacs/lisp/gnus/pop3.el,v
retrieving revision 1.17
diff -c -r1.17 pop3.el
*** pop3.el 15 Jul 2001 16:15:34 -0000 1.17
--- pop3.el 11 Apr 2002 13:36:56 -0000
***************
*** 245,251 ****
(looking-at "BABYL OPTIONS:") ; Babyl
))
(let ((from (mail-strip-quoted-names (mail-fetch-field "From")))
! (date (split-string (or (mail-fetch-field "Date")
(pop3-make-date))
" "))
(From_))
--- 245,252 ----
(looking-at "BABYL OPTIONS:") ; Babyl
))
(let ((from (mail-strip-quoted-names (mail-fetch-field "From")))
! (date (split-string (or (let ((df (mail-fetch-field "Date")))
! (if (and df (stringp df) (> (length df) 0)) df))
(pop3-make-date))
" "))
(From_))
--
Kim F. Storm http://www.cua.dk
reply other threads:[~2002-04-11 14:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=5x662ygups.fsf@kfs2.cua.dk \
--to=no-spam@cua.dk \
/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.