--- Begin Message ---
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]
--- End Message ---
--- Begin Message ---
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@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.
--- End Message ---