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; 4+ 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] 4+ messages in thread

* Re: better not have a non-header line after Subject
  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>
  2 siblings, 0 replies; 4+ messages in thread
From: Kevin Rodgers @ 2006-06-08 15:29 UTC (permalink / raw)


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

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

* bug#7144: better not have a non-header line after Subject
  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 ` Lars Magne Ingebrigtsen
       [not found] ` <mailman.0.1285969328.30247.bug-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 4+ messages in thread
From: Lars Magne Ingebrigtsen @ 2010-10-01 21:33 UTC (permalink / raw)
  To: Dan Jacobson; +Cc: 7144, bugs

Dan Jacobson <jidanni@jidanni.org> writes:

> 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

That's how continuation lines work...

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen





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

* bug#7144: better not have a non-header line after Subject
       [not found] ` <mailman.0.1285969328.30247.bug-gnu-emacs@gnu.org>
@ 2010-10-01 21:48   ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 4+ messages in thread
From: Lars Magne Ingebrigtsen @ 2010-10-01 21:48 UTC (permalink / raw)
  To: 7144-done

Bug created by mistake.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen





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

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

Thread overview: 4+ 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

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.