all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#8731: 24.0.50; smtpmail-send-it encodes encoded message header
@ 2011-05-25  9:31 Katsumi Yamaoka
  2011-05-27  4:58 ` Kenichi Handa
  0 siblings, 1 reply; 3+ messages in thread
From: Katsumi Yamaoka @ 2011-05-25  9:31 UTC (permalink / raw)
  To: 8731, handa

Handa-san,

The rfc2047.el encoder encodes things that look like encoded words
by default.  This prevents encoded words, that a user purposely
puts in a message subject or other, from being broken by a decoder.
Please try this:

(progn
  (pop-to-buffer "*testing*")
  (erase-buffer)
  (insert "Subject: 日本語\n")
  (sit-for 1)
  (mail-encode-header (point-min) (point-max))
  (sit-for 1)
  (mail-encode-header (point-min) (point-max)))

By your recent change in smtpmail.el, this is just what happens
when sending a mail using Gnus now.  Could you revert it?  Or
please let-bind `rfc2047-encode-encoded-words' to nil when running
`mail-encode-header'.

Regards,





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

* bug#8731: 24.0.50; smtpmail-send-it encodes encoded message header
  2011-05-25  9:31 bug#8731: 24.0.50; smtpmail-send-it encodes encoded message header Katsumi Yamaoka
@ 2011-05-27  4:58 ` Kenichi Handa
  2011-05-27  5:21   ` Katsumi Yamaoka
  0 siblings, 1 reply; 3+ messages in thread
From: Kenichi Handa @ 2011-05-27  4:58 UTC (permalink / raw)
  To: Katsumi Yamaoka; +Cc: 8731

In article <b4m39k3gm8q.fsf@jpl.org>, Katsumi Yamaoka <yamaoka@jpl.org> writes:

> The rfc2047.el encoder encodes things that look like encoded words
> by default.  This prevents encoded words, that a user purposely
> puts in a message subject or other, from being broken by a decoder.
[...]
> By your recent change in smtpmail.el, this is just what happens
> when sending a mail using Gnus now.  Could you revert it?  Or
> please let-bind `rfc2047-encode-encoded-words' to nil when running
> `mail-encode-header'.

Thank yor for the report.  It seems that sendmail-send-it
has the same problem.  So, I've just installed this to
emacs-23 branch.

2011-05-27  Kenichi Handa  <handa@m17n.org>

	* mail/sendmail.el (mail-encode-header): Avoid double encoding by
	let-binding rfc2047-encode-encoded-words to nil.

---
Kenichi Handa
handa@m17n.org





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

* bug#8731: 24.0.50; smtpmail-send-it encodes encoded message header
  2011-05-27  4:58 ` Kenichi Handa
@ 2011-05-27  5:21   ` Katsumi Yamaoka
  0 siblings, 0 replies; 3+ messages in thread
From: Katsumi Yamaoka @ 2011-05-27  5:21 UTC (permalink / raw)
  To: Kenichi Handa; +Cc: 8731-done

Handa-san wrote:
> Thank yor for the report.  It seems that sendmail-send-it
> has the same problem.  So, I've just installed this to
> emacs-23 branch.

Thank you for fixing it.  This thread is closed.





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

end of thread, other threads:[~2011-05-27  5:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-25  9:31 bug#8731: 24.0.50; smtpmail-send-it encodes encoded message header Katsumi Yamaoka
2011-05-27  4:58 ` Kenichi Handa
2011-05-27  5:21   ` Katsumi Yamaoka

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.