Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Too Late in Fixing Continuation Lines?
@ 2007-11-22 14:00 kousik
  0 siblings, 0 replies; only message in thread
From: kousik @ 2007-11-22 14:00 UTC (permalink / raw)
  To: info-gnus-english

Suppose we have a subject which has a newline, and next line doesn't
start with a space. message-check-news-header-syntax() offers to fix
such a broken subject by inserting a space in front of the second
line. But if we have gnus-posting-style to insert a new header, then
message-goto-eoh() will not be able to see the broken subject line,
inserting the new header there itself. Example:

(1) Original message:
---------------------
Subject: Hello
World

(2a) Fixed by message-check-news-header-syntax() (no extra header):
--------------------
Subject: Hello
 World

(2b) gnus-posting-style inserting a header:
-------------------
Subject: Hello
X-New-Header: foobar
World

(3) "Fixed" by message-check-news-header-syntax()
------------------------
Subject: Hello
X-New-Header: foobar
 World

So you can see now `World' became part of X-New-Header!

I don't know enough lisp & gnus codebase to fix it, I hope someone
here will have enough clues.

regards
Kousik

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-11-22 14:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-22 14:00 Too Late in Fixing Continuation Lines? kousik

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 NNTP newsgroup(s).