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#2080: marked as done (23.0.60; buffer-file-coding-system not 
 set in RMAIL buffer)
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; buffer-file-coding-system not set in RMAIL buffer
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: Kenichi Handa <handa <at> m17n.org>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.60; buffer-file-coding-system not set in RMAIL buffer
Date: Tue, 27 Jan 2009 13:55:23 +0900
The local variable buffer-file-coding-system is not set in
RMAIL buffer.  The function rmail-docode-region does set
buffer-file-coding-system but that information is lost after
that.

---
Kenichi Handa
handa <at> m17n.org

In GNU Emacs 23.0.60.3 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2009-01-26 on etlken
Windowing system distributor `The X.Org Foundation', version 11.0.10502000
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: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Emacs-Lisp

Minor modes in effect:
  shell-dirtrack-mode: t
  diff-auto-refine-mode: t
  display-time-mode: t
  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
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t

Recent input:
C-p C-b C-SPC M-f M-f M-f M-f <escape> w C-x o C-y 
C-a ( C-e ) : SPC F i x SPC p r e v i o u s SPC c h 
a n g e . <return> C-c C-c C-n C-n C-n C-n C-M-x C-x 
b C-g M-x b y t e SPC c SPC SPC <return> <return> C-x 
b <return> p R <return> S <return> C-x b * m <tab> 
<return> C-a M-f M-f M-f SPC a SPC n e w SPC f u n 
c t i o n C-e <escape> q SPC SPC SPC I f SPC y o u 
SPC f i n d SPC a SPC b e t t e r SPC n a m e M-b M-b 
M-b M-b M-b M-b C-b C-b C-b C-b SPC a n d SPC u s e 
SPC i t SPC t o SPC f i x SPC b r o k e n SPC C-o C-o 
r m a i l - g e t - c o d i n g - s y s t e m C-h f 
<return> C-x 1 . <escape> C-g <escape> q C-a C-n C-n 
C-k C-u 7 C-c C-w <escape> < C-v C-l C-n C-n C-n C-n 
C-n C-n C-n C-n C-n C-n <escape> < C-c C-c > C-x b 
C-g C-x b <return> C-s r m a i l - C-a C-x b <return> 
h C-r r m a i l C-r C-a <escape> > C-r C-r C-x C-x 
C-p <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <down-mouse-1> <mouse-1> M-x r e p o r 
t <tab> <return> M-p M-p C-k C-g C-x b <return> C-s 
r m a i l - d e c o d e C-a C-u C-v C-x b C-g M-x M-p 
<return>

Recent messages:
Mark set [3 times]
Sending...done
Quit
Mark saved where search started
Computing summary lines...done
Mark saved where search started
Mark set
Mark saved where search started
Quit
Mark saved where search started
Quit


[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.