home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.emacs.bug
- Path: sparky!uunet!cis.ohio-state.edu!ams.sunysb.edu!hanche
- From: hanche@ams.sunysb.edu (Harald Hanche-Olsen)
- Subject: rmail/sendmail bug
- Message-ID: <9209092336.AA25413@ams.sunysb.edu>
- Sender: gnulists@ai.mit.edu
- Organization: GNUs Not Usenet
- Distribution: gnu
- Date: Wed, 9 Sep 1992 23:36:34 GMT
- Approved: bug-gnu-emacs@prep.ai.mit.edu
- Lines: 44
-
- The following bug manifests itself when emacs tries to convert a file
- from mbox format to Babyl format. Here is how to reproduce it:
-
- Send a couple of mail messages, saving the messages in a file using a
- header line like
-
- FCC: ~/M/OUTBOX
-
- Then say C-u M-x rmail ~/M/OUTBOX <RET>. One sees the message about
- converting to Babyl format, but then the two messages show up as one
- message, concatenated together.
-
- I am 99% sure I understand why this happens. The problem is in the
- functions
-
- mail-do-fcc (in sendmail.el)
- rmail-convert-to-babyl-format (in rmail.el)
- rmail-nuke-pinhead-header (in rmail.el)
-
- When saving the message, mail-do-fcc creates a header line like this:
-
- From hanche Wed Sep 9 13:10:44 1992 EDT
-
- but rmail-convert-to-babyl-format uses a regexp to look for the start
- of the next message which expects the time zone to be BEFORE the year,
- not after - like
-
- From hanche Wed Sep 9 13:10:44 EDT 1992
-
- I tried correcting it to allow either variant, only to discover that
- rmail-nuke-pinhead-header does the same. And fixing it would be a tad
- more complicated, due to the replace-match using the regexp. Rather
- than waste more time trying to correct this, I decided to report the
- bug. I am not quite sure where is the "right" place to correct it -
- in mail-do-fcc or the other places.
-
- Also, I would be very surprised if this bug has not already been
- reported and corrected, so maybe you have a fix ready?
-
- - Harald
-
- PS. (emacs-version)
- "GNU Emacs 18.58.1 of Thu Sep 3 1992 on fermat (berkeley-unix)"
-
-