unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#2018: 23.0.60; Rmail buffer's encoding set incorrectly
@ 2009-01-24 12:06 ` Eli Zaretskii
  2009-01-31 13:50   ` bug#2018: marked as done (23.0.60; Rmail buffer's encoding set incorrectly) Emacs bug Tracking System
  0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2009-01-24 12:06 UTC (permalink / raw)
  To: emacs-pretest-bug


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






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

* bug#2080: 23.0.60; buffer-file-coding-system not set in RMAIL buffer
@ 2009-01-27  4:55 ` Kenichi Handa
  2009-01-31 13:50   ` bug#2080: marked as done (23.0.60; buffer-file-coding-system not set in RMAIL buffer) Emacs bug Tracking System
  0 siblings, 1 reply; 4+ messages in thread
From: Kenichi Handa @ 2009-01-27  4:55 UTC (permalink / raw)
  To: emacs-pretest-bug

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@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






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

* bug#2018: marked as done (23.0.60; Rmail buffer's encoding set  incorrectly)
  2009-01-24 12:06 ` bug#2018: 23.0.60; Rmail buffer's encoding set incorrectly Eli Zaretskii
@ 2009-01-31 13:50   ` Emacs bug Tracking System
  0 siblings, 0 replies; 4+ messages in thread
From: Emacs bug Tracking System @ 2009-01-31 13:50 UTC (permalink / raw)
  To: Eli Zaretskii

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


Your message dated Sat, 31 Jan 2009 15:40:02 +0200
with message-id <uhc3fzj9p.fsf@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 owner@emacsbugs.donarmstrong.com
immediately.)


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

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

From: Eli Zaretskii <eliz@gnu.org>
To: emacs-pretest-bug@gnu.org
Subject: 23.0.60; Rmail buffer's encoding set incorrectly
Date: Sat, 24 Jan 2009 14:06:23 +0200
Message-ID: <uiqo4ucw0.fsf@gnu.org>


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



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

From: Eli Zaretskii <eliz@gnu.org>
To: 2018-done@emacsbugs.donarmstrong.com
Subject: Re: bug#2018: 23.0.60; Rmail buffer's encoding set incorrectly
Date: Sat, 31 Jan 2009 15:40:02 +0200
Message-ID: <uhc3fzj9p.fsf@gnu.org>

Fixed with these changes:

2009-01-31  Eli Zaretskii  <eliz@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.


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

* bug#2080: marked as done (23.0.60; buffer-file-coding-system not  set in RMAIL buffer)
  2009-01-27  4:55 ` bug#2080: 23.0.60; buffer-file-coding-system not set in RMAIL buffer Kenichi Handa
@ 2009-01-31 13:50   ` Emacs bug Tracking System
  0 siblings, 0 replies; 4+ messages in thread
From: Emacs bug Tracking System @ 2009-01-31 13:50 UTC (permalink / raw)
  To: Eli Zaretskii

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


Your message dated Sat, 31 Jan 2009 15:40:02 +0200
with message-id <uhc3fzj9p.fsf@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 owner@emacsbugs.donarmstrong.com
immediately.)


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

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

From: Kenichi Handa <handa@m17n.org>
To: emacs-pretest-bug@gnu.org
Subject: 23.0.60; buffer-file-coding-system not set in RMAIL buffer
Date: Tue, 27 Jan 2009 13:55:23 +0900
Message-ID: <E1LRfyt-0007uh-D1@etlken>

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@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



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

From: Eli Zaretskii <eliz@gnu.org>
To: 2018-done@emacsbugs.donarmstrong.com
Subject: Re: bug#2018: 23.0.60; Rmail buffer's encoding set incorrectly
Date: Sat, 31 Jan 2009 15:40:02 +0200
Message-ID: <uhc3fzj9p.fsf@gnu.org>

Fixed with these changes:

2009-01-31  Eli Zaretskii  <eliz@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.


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

end of thread, other threads:[~2009-01-31 13:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <uhc3fzj9p.fsf@gnu.org>
2009-01-24 12:06 ` bug#2018: 23.0.60; Rmail buffer's encoding set incorrectly Eli Zaretskii
2009-01-31 13:50   ` bug#2018: marked as done (23.0.60; Rmail buffer's encoding set incorrectly) Emacs bug Tracking System
2009-01-27  4:55 ` bug#2080: 23.0.60; buffer-file-coding-system not set in RMAIL buffer Kenichi Handa
2009-01-31 13:50   ` bug#2080: marked as done (23.0.60; buffer-file-coding-system not set in RMAIL buffer) 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).