unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: charles@aurox.ch (Charles A. Roelli)
To: 28266@debbugs.gnu.org
Subject: bug#28266: 25.2; RMAIL FCC coding issue
Date: Mon, 28 Aug 2017 20:59:58 +0200	[thread overview]
Message-ID: <m2r2vva575.fsf@aurox.ch> (raw)

From emacs -q (25.2 or 26.0.50):

M-: (setq mail-user-agent 'sendmail-user-agent) RET
C-x m
someone@example.com C-n
test RET
FCC: /tmp/emacs-bug-mbox
C-u 2 C-n
This is a test mail, containing ‘’ quotes.
C-c C-c
transport RET ; On my system, this doesn't actually send the mail, so
	      ; this is the mail-sending system I choose to reproduce
	      ; the issue.  In any case, the recipient email doesn't
	      ; really exist so it should be okay to choose this.
C-u M-x rmail /tmp/emacs-bug-mbox ; Observe correct message contents.
C-x o ; Switch back to the *mail* buffer.
C-c C-c y ; Resend it.
n ; Open the resent copy.

This is RMAIL's copy of the resent mail:

----------
Date: Mon, 28 Aug 2017 20:41:35 +0200
From: charles@localhost (Charles A. Roelli)
To: someone@example.com
Subject: test
Content-type: text/plain; charset=utf-8

This is a test mail, containing ^X^Y quotes.
----------

Notice that the quotes have been converted to ^X/^Y
characters (characters have been corrupted).  I tested with
another non-ASCII character (é), and it got converted to \351.

The same issue does not occur with the default value of
mail-user-agent (`message-user-agent').





             reply	other threads:[~2017-08-28 18:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-28 18:59 Charles A. Roelli [this message]
2017-09-22 13:13 ` bug#28266: 25.2; RMAIL FCC coding issue Eli Zaretskii
2017-09-22 18:39   ` Charles A. Roelli
2017-09-22 20:08     ` Eli Zaretskii
2017-09-24  8:47       ` Charles A. Roelli
2017-09-24 12:03         ` Alexis
2022-01-23 15:54           ` Lars Ingebrigtsen
2022-02-20 19:30             ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2r2vva575.fsf@aurox.ch \
    --to=charles@aurox.ch \
    --cc=28266@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).