GNU bug report logs - #2018
23.0.60; Rmail buffer's encoding set incorrectly

Previous Next

Package: emacs;

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

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

Severity: normal

Merged with 2080

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 2018 in the body.
You can then email your comments to 2018 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#2018; Package emacs. (Sat, 24 Jan 2009 12:15: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:15: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; Rmail buffer's encoding set incorrectly
Date: Sat, 24 Jan 2009 14:06:23 +0200
Start Rmail on an mbox file FOO with "C-u M-x rmail RET FOO RET", then
evaluate buffer-file-coding-system: you will see the value of
default-buffer-file-coding-system, instead of the encoding of the
message that is being displayed.

Type `p' and then `n' (to get to the same message): the value now
changes to undecided-unix.

Type "C-x C-s" (perhaps after making some changes, such as deleting a
message): the value changes to raw-text-dos.  Type `p' two times, and
the value changes back to undecided-unix.

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-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> O t h e r SPC <up> <left> SPC SPC <delete> 
<delete> <M-right> SPC ` = ' SPC c h a r a c t e r 
s SPC e l s e w h e r e SPC i n SPC t h e SPC b o d 
y SPC o f SPC t h e SPC p a r t i a l SPC m e s s a 
g e SPC a l s o SPC b e c o m e SPC e n c o d e d SPC 
i n SPC q u o t e d - p r i n t a b l e . M-q <up> 
<up> <down> <down> <right> <C-home> <down> <down> <C-right> 
<C-right> <C-right> <C-right> <C-right> <C-right> <C-right> 
<C-right> <right> r e - <C-right> C-k SPC q u o t e 
d - p r i n t a b l e SPC p a r t s <down> <down> <right> 
<up> <down> <up> <down> C-SPC <next> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <next> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<next> <next> <next> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> M-w <help-echo> 
<C-home> <down> <down> <C-right> <C-right> <C-right> 
<C-right> <right> <right> C-SPC C-e M-w <help-echo> 
<help-echo> <help-echo> C-x b <return> M-x <up> <up> 
<return>

Recent messages:
Quit
Mark set
Auto-saving...done
Mark set [3 times]
Auto-saving...done
Mark set [2 times]
Auto-saving...done
Saved text from "In an Rmail buffer that holds a multi-pa"
Mark set [2 times]
Auto-saving...done




bug reassigned from package `emacs' to `emacs,rmail'. 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.

Merged 2018 2080. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Wed, 28 Jan 2009 03:10:03 GMT) Full text and rfc822 format available.

Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sat, 31 Jan 2009 13:50:03 GMT) Full text and rfc822 format available.

Notification sent to Eli Zaretskii <eliz <at> gnu.org>:
bug acknowledged by developer. (Sat, 31 Jan 2009 13:50:04 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: 2018-done <at> debbugs.gnu.org
Subject: Re: bug#2018: 23.0.60; Rmail buffer's encoding set incorrectly
Date: Sat, 31 Jan 2009 15:40:02 +0200
Fixed with these changes:

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

	* mail/rmail.el (rmail-convert-babyl-to-mbox): Set Rmail's buffer
	encoding to `raw-text-unix'.
	(rmail-perm-variables): Set encoding of rmail-view-buffer to
	`undecided-unix'.
	(rmail-redecode-body): Don't change EOL conversion of the new
	encoding if the old one left it unspecified.
	(rmail-swap-buffers): New function.
	(rmail-change-major-mode-hook, rmail-swap-buffers-maybe)
	(rmail-show-message): Use rmail-swap-buffers.
	(rmail-decode-region): If DESTINATION is a buffer, set the
	encoding of that buffer, rather than the current buffer.




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sat, 31 Jan 2009 13:50:04 GMT) Full text and rfc822 format available.

Notification sent to Kenichi Handa <handa <at> m17n.org>:
bug acknowledged by developer. (Sat, 31 Jan 2009 13:50:04 GMT) Full text and rfc822 format available.

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

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

Previous Next


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