From: Richard M. Stallman Date: Sat, 10 Mar 2012 09:11:22 +0000 (-0500) Subject: sendmail mode quoting bug fix. X-Git-Tag: emacs-pretest-24.0.05~116 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1694e6c1bb59c4080f170ce6d18fe5e9ed6ba27d;p=emacs.git sendmail mode quoting bug fix. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1d225b9cd81..bda91a16883 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2012-03-10 Richard Stallman + * mail/sendmail.el (mail-encode-header): + Set rfc2047-encode-encoded-words. + * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars. * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el index 91e0b183a68..f4dfcfcf647 100644 --- a/lisp/mail/sendmail.el +++ b/lisp/mail/sendmail.el @@ -1085,7 +1085,9 @@ Return non-nil if and only if some part of the header is encoded." (cons selected mm-coding-system-priorities) mm-coding-system-priorities)) (tick (buffer-chars-modified-tick)) - (rfc2047-encode-encoded-words nil)) + ;; rms: this proved necessary, but I don't recall why. + ;; Can anyone determine why, and state it here? + (rfc2047-encode-encoded-words t)) (rfc2047-encode-message-header) (= tick (buffer-chars-modified-tick)))))