GNU bug report logs - #2019
23.0.60; Replacing BABYL with mbox format does not work on Windows

Previous Next

Packages: w32, emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Sat, 24 Jan 2009 12:40:03 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 2019 in the body.
You can then email your comments to 2019 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2019; Package emacs. (Sat, 24 Jan 2009 12:40:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Eli Zaretskii <eliz <at> gnu.org>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sat, 24 Jan 2009 12:40:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.60; Replacing BABYL with mbox format does not work on Windows
Date: Sat, 24 Jan 2009 14:34:16 +0200
Typing "C-u M-x rmail RET FOO RET" where FOO is an Rmail file in BABYL
format signals an error, after it finishes writing the converted
messages to a temporary file:

  rmail-error-bad-format: Message 1 is not a valid RFC2822 message

I'm guessing this is because the converted file has DOS CR-LF EOLs,
and Emacs reads it with no-conversion, and then looks for some
telltale string that ends with a newline, but does not include a ^M
character.


If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
d:/gnu/emacs/etc/DEBUG for instructions.


In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
 of 2009-01-24 on HOME-C4E4A596F7
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4)'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ENU
  value of $XMODIFIERS: nil
  locale-coding-system: cp1255
  default-enable-multibyte-characters: t

Major mode: RMAIL

Minor modes in effect:
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
C-u M-x r m a i l <return> ~ / d a <tab> B A B <tab> 
<return> y C-x 1 <prior> <prior> <prior> <prior> <prior> 
<prior> <prior> p n <prior> <prior> <prior> <prior> 
<prior> <prior> <prior> <prior> <prior> <prior> <prior> 
C-x b * M e s s <tab> <return> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <help-echo> 
<help-echo> C-x b <return> <C-home> <next> <next> <next> 
<next> <next> <next> <next> <next> <next> <next> <next> 
<next> <next> <next> <next> <next> <next> <next> <next> 
<next> <next> <next> <next> <next> <next> <next> <next> 
<next> <next> <next> <next> <next> <next> <next> <next> 
<next> <next> <C-home> M-x r e p o r t - e m <tab> 
<return>

Recent messages:
Loading vc-cvs...done
Wrote c:/DOCUME~1/Zaretzky/LOCALS~1/Temp/rmail1980zUw
Writing messages to c:/DOCUME~1/Zaretzky/LOCALS~1/Temp/rmail19807ap...done
Replacing BABYL format with mbox format...
Counting messages...done
Replacing BABYL format with mbox format...done
rmail-error-bad-format: Message 1 is not a valid RFC2822 message
No previous nondeleted message
No following nondeleted message
Mark set [2 times]




bug reassigned from package `emacs' to `emacs,rmail,w32'. Request was from Juanma Barranquero <lekktu <at> gmail.com> to control <at> emacsbugs.donarmstrong.com. (Sat, 24 Jan 2009 13:10:04 GMT) Full text and rfc822 format available.

Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Fri, 30 Jan 2009 14:45:03 GMT) Full text and rfc822 format available.

Notification sent to Eli Zaretskii <eliz <at> gnu.org>:
bug acknowledged by developer. (Fri, 30 Jan 2009 14:45:03 GMT) Full text and rfc822 format available.

Message #12 received at 2019-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: 2019-done <at> debbugs.gnu.org
Subject: Re: bug#2019: 23.0.60;	Replacing BABYL with mbox format does not work on Windows
Date: Fri, 30 Jan 2009 16:38:15 +0200
Fixed by this change:

2009-01-30  Eli Zaretskii  <eliz <at> gnu.org>

	* mail/rmail.el (rmail-convert-babyl-to-mbox): Bind
	coding-system-for-read to `raw-text', and use insert-file-contents
	instead of insert-file-contents-literally.  Fixes bug #2019.





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Fri, 27 Feb 2009 15:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 16 years and 174 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.