From: Katsumi Yamaoka <yamaoka@jpl.org>
To: 31651@debbugs.gnu.org
Subject: bug#31651: 26.1.50; message-forward-included-headers should contain "^$"
Date: Wed, 30 May 2018 12:07:13 +0900 [thread overview]
Message-ID: <b4m1sdtg7tq.fsf@jpl.org> (raw)
Hi,
The docstring of `message-forward-included-headers' says:
This variable should be a regexp or a list of regexps.
But if it is a regexp, it should contain "^$" like:
"^$\\|^\\(?:Cc\\|Date\\|From\\|In-Reply-To\\|Message-Id\\|References\\|Reply-To\\|Subject\\|To\\|User-Agent\\|X-Mailer\\):"
Or the header separator in a forward message will be removed
and the message will get malformed.
A better way to solve this issue would be to improve the
`message-remove-ignored-headers' code rather than adding a causion
to the docstring of `message-forward-included-headers', I think.
I use `message-forward-as-mime' with t as it was before.
Thanks.
next reply other threads:[~2018-05-30 3:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-30 3:07 Katsumi Yamaoka [this message]
2018-05-30 7:56 ` bug#31651: 26.1.50; message-forward-included-headers should contain "^$" Andreas Schwab
2018-05-30 23:30 ` Katsumi Yamaoka
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b4m1sdtg7tq.fsf@jpl.org \
--to=yamaoka@jpl.org \
--cc=31651@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 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.