all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#31651: 26.1.50; message-forward-included-headers should contain "^$"
@ 2018-05-30  3:07 Katsumi Yamaoka
  2018-05-30  7:56 ` Andreas Schwab
  0 siblings, 1 reply; 3+ messages in thread
From: Katsumi Yamaoka @ 2018-05-30  3:07 UTC (permalink / raw)
  To: 31651

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.





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

end of thread, other threads:[~2018-05-30 23:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-30  3:07 bug#31651: 26.1.50; message-forward-included-headers should contain "^$" Katsumi Yamaoka
2018-05-30  7:56 ` Andreas Schwab
2018-05-30 23:30   ` 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.