Subject: bug#2104: 23.0.60; mail-yank-original is broken for rmail

From: Kenichi Handa <[email-masked]>
Date: Thu, 29 Jan 2009 16:39:16 +0900

When RMAIL buffer contains non-ascii text decoded by, for
instance, iso-2022-jp and I type "r C-c C-y", non-decoded
raw text is inserted in *mail* buffer.

---
Kenichi Handa
[email-masked]

In GNU Emacs 23.0.60.14 (i686-pc-linux-gnu, GTK+ Version 2.14.4)
 of 2009-01-29 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: RMAIL

Minor modes in effect:
  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:
k e n SPC f o r SPC r m a i l <return> C-p C-p C-n 
C-k C-k C-k C-o W h n e SPC <backspace> <backspace> 
<backspace> e n SPC C-a C-k W i t h SPC C-a C-k W h 
e n SPC I t <backspace> SPC t y p e SPC <M-backspace> 
C-x o C-x b R M <tab> <return> p p p p p p p p p p 
p C-x o <backspace> ' m SPC r e a d i n g SPC M-b M-b 
C-k R M A I L SPC b u f f e r SPC c o n t a i n s SPC 
a SPC <M-backspace> n o n - a s c i i SPC t e x t SPC 
d e c o d e d SPC b y SPC <backspace> , SPC f o r SPC 
i n s t a n c e , SPC i s o - 2 0 0 0 <backspace> <backspace> 
2 2 - j p , SPC a n d SPC t y p e SPC M-b M-b C-k <backspace> 
<backspace> SPC a n d SPC I S-SPC t y p e SPC r <backspace> 
" r SPC C c <backspace> - c SPC C - y " C-x o n n n 
n n n n n n n n n n n n n n n n n n C-a C-p C-x o C-a 
C-p C-p C-p C-SPC C-n C-n C-n C-n <escape> w C-x L 
C-y C-x b <return> C-x k <return> C-x o r C-c C-y C-g 
C-x b * M e <tab> <return> <escape> > C-p C-p C-p C-SPC 
C-e <escape> w C-x b C-g C-x L <return> C-y C-x o <escape> 
x M-p <return>

Recent messages:
Quit
Mark set
Auto-saving...done
No following nondeleted message [10 times]
Mark set [3 times]
Mail header "From itri-..." doesn't conform to RFC 822. skipping...
Quit
Mark set [2 times]
Quit
Mark set