From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: better not have a non-header line after Subject
Date: Thu, 08 Jun 2006 09:29:52 -0600 [thread overview]
Message-ID: <e69fqq$cqi$1@sea.gmane.org> (raw)
In-Reply-To: <E1Fo1XB-00019m-07@jidanni1>
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
next prev parent reply other threads:[~2006-06-08 15:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-07 17:09 better not have a non-header line after Subject Dan Jacobson
2006-06-08 15:29 ` Kevin Rodgers [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='e69fqq$cqi$1@sea.gmane.org' \
--to=ihs_4664@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).