all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* message.el bug: message-field-value issue with folded headers
@ 2019-07-12 12:45 Yuri D'Elia
  2019-07-12 12:48 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Yuri D'Elia @ 2019-07-12 12:45 UTC (permalink / raw)
  To: emacs-devel; +Cc: Lars Ingebrigtsen

In a recent change in message.el the headers are folded automatically
before being sent.

If the header has no whitespace, it will essentially move the entire
value into the next line:

|Header:
| long-value

Does it make sense to do so?

Anyway, `message-fetch-field' doesn't handle this case correctly. By
substituting "\n[\t ]+" => " " we're left with a leading space:

  " long value"

Can we strip leading and trailing whitespace from value at the end of
the function?




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

end of thread, other threads:[~2019-07-12 14:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-12 12:45 message.el bug: message-field-value issue with folded headers Yuri D'Elia
2019-07-12 12:48 ` Lars Ingebrigtsen
2019-07-12 14:08   ` Lars Ingebrigtsen

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.