emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

address@hidden: Re: better not have a non-header line after Subject]


From: Richard Stallman
Subject: address@hidden: Re: better not have a non-header line after Subject]
Date: Fri, 09 Jun 2006 07:37:07 -0400

Could someone please debug this?

------- Start of forwarded message -------
To: address@hidden
From: Kevin Rodgers <address@hidden>
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: <address@hidden>
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
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs
------- End of forwarded message -------




reply via email to

[Prev in Thread] Current Thread [Next in Thread]