[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#4623: 23.1.50; rmail changes encoding of characters on save
From: |
Glenn Morris |
Subject: |
bug#4623: 23.1.50; rmail changes encoding of characters on save |
Date: |
Mon, 12 Oct 2009 21:21:43 -0400 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Thanks for the test case. I know very little about coding issues, but
if setting coding-system-for-write is the correct fix, I think it
should be done in a manner similar to the following, since saving an
rmail file with just "C-x C-s" should work.
*** rmail.el 6 Oct 2009 06:40:40 -0000 1.554
--- rmail.el 13 Oct 2009 01:17:20 -0000
***************
*** 4176,4181 ****
--- 4176,4182 ----
(defun rmail-write-region-annotate (start end)
(when (and (null start) (rmail-buffers-swapped-p))
(set-buffer rmail-view-buffer)
+ (set (make-local-variable 'coding-system-for-write) 'no-conversion)
(widen)
nil))