unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#2019: 23.0.60; Replacing BABYL with mbox format does not work on Windows
@ 2009-01-24 12:34 ` Eli Zaretskii
  2009-01-30 14:45   ` bug#2019: marked as done (23.0.60; Replacing BABYL with mbox format does not work on Windows) Emacs bug Tracking System
  0 siblings, 1 reply; 2+ messages in thread
From: Eli Zaretskii @ 2009-01-24 12:34 UTC (permalink / raw)
  To: emacs-pretest-bug


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]






^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#2019: marked as done (23.0.60; Replacing BABYL with mbox  format does not work on Windows)
  2009-01-24 12:34 ` bug#2019: 23.0.60; Replacing BABYL with mbox format does not work on Windows Eli Zaretskii
@ 2009-01-30 14:45   ` Emacs bug Tracking System
  0 siblings, 0 replies; 2+ messages in thread
From: Emacs bug Tracking System @ 2009-01-30 14:45 UTC (permalink / raw)
  To: Eli Zaretskii

[-- Attachment #1: Type: text/plain, Size: 923 bytes --]


Your message dated Fri, 30 Jan 2009 16:38:15 +0200
with message-id <u4ozg271k.fsf@gnu.org>
and subject line Re: bug#2019: 23.0.60;	Replacing BABYL with mbox format does not work on Windows
has caused the Emacs bug report #2019,
regarding 23.0.60; Replacing BABYL with mbox format does not work on Windows
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)


-- 
2019: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=2019
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 4808 bytes --]

From: Eli Zaretskii <eliz@gnu.org>
To: emacs-pretest-bug@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
Message-ID: <uhc3oublj.fsf@gnu.org>


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]



[-- Attachment #3: Type: message/rfc822, Size: 1754 bytes --]

From: Eli Zaretskii <eliz@gnu.org>
To: 2019-done@emacsbugs.donarmstrong.com
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
Message-ID: <u4ozg271k.fsf@gnu.org>

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.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-01-30 14:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <u4ozg271k.fsf@gnu.org>
2009-01-24 12:34 ` bug#2019: 23.0.60; Replacing BABYL with mbox format does not work on Windows Eli Zaretskii
2009-01-30 14:45   ` bug#2019: marked as done (23.0.60; Replacing BABYL with mbox format does not work on Windows) Emacs bug Tracking System

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).