From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: [ihs_4664@yahoo.com: Re: better not have a non-header line after Subject] Date: Fri, 09 Jun 2006 07:37:07 -0400 Message-ID: Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1149853065 20345 80.91.229.2 (9 Jun 2006 11:37:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 9 Jun 2006 11:37:45 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 09 13:37:44 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FofIz-0007hk-JN for ged-emacs-devel@m.gmane.org; Fri, 09 Jun 2006 13:37:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FofIz-0006Og-1w for ged-emacs-devel@m.gmane.org; Fri, 09 Jun 2006 07:37:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FofIb-0006Ij-11 for emacs-devel@gnu.org; Fri, 09 Jun 2006 07:37:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FofIa-0006IN-KB for emacs-devel@gnu.org; Fri, 09 Jun 2006 07:37:08 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FofIa-0006IF-8v for emacs-devel@gnu.org; Fri, 09 Jun 2006 07:37:08 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FofQc-0002qH-G2 for emacs-devel@gnu.org; Fri, 09 Jun 2006 07:45:26 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1FofIZ-0003wp-Id; Fri, 09 Jun 2006 07:37:07 -0400 Original-To: emacs-devel@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:55783 Archived-At: Could someone please debug this? ------- Start of forwarded message ------- To: bug-gnu-emacs@gnu.org From: Kevin Rodgers 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: 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 -------