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.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (Emacs bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Subject: bug#2018: marked as done (23.0.60; Rmail buffer's encoding set 
 incorrectly)
Date: Sat, 31 Jan 2009 13:50:04 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 31 Jan 2009 15:40:02 +0200
with message-id <uhc3fzj9p.fsf <at> gnu.org>
and subject line Re: bug#2018: 23.0.60; Rmail buffer's encoding set incorrectly
has caused the Emacs bug report #2018,
regarding 23.0.60; Rmail buffer's encoding set incorrectly
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 help-debbugs <at> gnu.org
immediately.)


-- 
2018: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=2018
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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


[Message part 3 (message/rfc822, inline)]
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.


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

Previous Next


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