all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* better not have a non-header line after Subject
@ 2006-06-07 17:09 Dan Jacobson
  2006-06-08 15:29 ` Kevin Rodgers
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Dan Jacobson @ 2006-06-07 17:09 UTC (permalink / raw)
  Cc: bugs

Both plain emacs 22 or "No gnus", send differently mangled mail when given

Subject: bla, and
a second non header line starting in column 1

Garbage in, garbage out, but not caught.

^ permalink raw reply	[flat|nested] 8+ messages in thread
* [ihs_4664@yahoo.com: Re: better not have a non-header line after Subject]
@ 2006-06-09 11:37 Richard Stallman
  2006-06-15 18:37 ` better not have a non-header line after Subject Chong Yidong
  0 siblings, 1 reply; 8+ messages in thread
From: Richard Stallman @ 2006-06-09 11:37 UTC (permalink / raw)


Could someone please debug this?

------- Start of forwarded message -------
To: bug-gnu-emacs@gnu.org
From: Kevin Rodgers <ihs_4664@yahoo.com>
Date: Thu, 08 Jun 2006 09:29:52 -0600
Organization: IHS
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
In-Reply-To: <E1Fo1XB-00019m-07@jidanni1>
Subject: Re: better not have a non-header line after Subject
X-Spam-Status: No, score=4.2 required=5.0 tests=FORGED_YAHOO_RCVD,
	FROM_ENDS_IN_NUMS,RCVD_BY_IP,RCVD_NUMERIC_HELO autolearn=no 
	version=3.0.4

Dan Jacobson wrote:
> Both plain emacs 22 or "No gnus", send differently mangled mail when given
> 
> Subject: bla, and
> a second non header line starting in column 1
> 
> Garbage in, garbage out, but not caught.

There is code in mail-send to detect that:

	;; Complain about any invalid line.
	(goto-char (point-min))
	(while (< (point) (mail-header-end))
	  (unless (looking-at "[ \t]\\|.*:\\|$")
	    (push-mark opoint)
	    (error "Invalid header line (maybe a continuation line lacks 
initial whitespace)"))
	  (forward-line 1))

But mail-header-end seems to be broken: it calls rfc822-goto-eoh instead
of searching for the mail-header-separator (either the text on a line by
itself or the category text property value).

- -- 
Kevin



_______________________________________________
bug-gnu-emacs mailing list
bug-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs
------- End of forwarded message -------

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

end of thread, other threads:[~2010-10-01 21:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-07 17:09 better not have a non-header line after Subject Dan Jacobson
2006-06-08 15:29 ` Kevin Rodgers
2010-10-01 21:33 ` bug#7144: " Lars Magne Ingebrigtsen
     [not found] ` <mailman.0.1285969328.30247.bug-gnu-emacs@gnu.org>
2010-10-01 21:48   ` Lars Magne Ingebrigtsen
  -- strict thread matches above, loose matches on Subject: below --
2006-06-09 11:37 [ihs_4664@yahoo.com: Re: better not have a non-header line after Subject] Richard Stallman
2006-06-15 18:37 ` better not have a non-header line after Subject Chong Yidong
2006-06-16 11:47   ` Katsumi Yamaoka
2006-06-19  9:10     ` Katsumi Yamaoka
2006-06-16 15:06   ` Richard Stallman

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.