unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#33313: unwrapped headers (both after posting-styles insertion and before send)
@ 2018-11-08 14:36 Garreau, Alexandre
  2019-07-10 13:04 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Garreau, Alexandre @ 2018-11-08 14:36 UTC (permalink / raw)
  To: 33313

Using the ".*"-keyed `gnus-posting-styles' element, I have set my
User-Agent header to (format "Gnus (%s), %s" gnus-version-number
(emacs-version)), so it gets a really long line and a newline in it.  I
would have expected it to be wrapped after inserting in a new message
buffer.  Otherwise I may have expected for headers to be wrapped before
to be sent.

Anyway I find dirty and redundant to require users to know headers
correct wrapping rules so to set them (since there’s nothing more
high-level for it).

Gnus v5.13
GNU Emacs 25.1.1 (i686-pc-linux-gnu, GTK+ Version 3.22.11)
 of 2017-09-15, modified by Debian





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

* bug#33313: unwrapped headers (both after posting-styles insertion and before send)
  2018-11-08 14:36 bug#33313: unwrapped headers (both after posting-styles insertion and before send) Garreau, Alexandre
@ 2019-07-10 13:04 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2019-07-10 13:04 UTC (permalink / raw)
  To: Garreau, Alexandre; +Cc: 33313

"Garreau, Alexandre" <galex-713@galex-713.eu> writes:

> Using the ".*"-keyed `gnus-posting-styles' element, I have set my
> User-Agent header to (format "Gnus (%s), %s" gnus-version-number
> (emacs-version)), so it gets a really long line and a newline in it.  I
> would have expected it to be wrapped after inserting in a new message
> buffer.  Otherwise I may have expected for headers to be wrapped before
> to be sent.

Yes, Message should fold all headers automatically.  I've now made this
change on the Emacs trunk -- there may be some negative fall-out from
this from MTAs that do not understand folded headers, but I haven't seen
any of those in the wild for a couple of decades, so I guess we'll find
out whether they still exist.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





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

end of thread, other threads:[~2019-07-10 13:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-08 14:36 bug#33313: unwrapped headers (both after posting-styles insertion and before send) Garreau, Alexandre
2019-07-10 13:04 ` Lars Ingebrigtsen

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).