From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/63361 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: better not have a non-header line after Subject Date: Fri, 16 Jun 2006 20:47:46 +0900 Organization: Emacsen advocacy group Message-ID: References: <87odwuz2mb.fsf@stupidchicken.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1150458507 27445 80.91.229.2 (16 Jun 2006 11:48:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 16 Jun 2006 11:48:27 +0000 (UTC) Cc: rms@gnu.org, ding@gnus.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 16 13:48:24 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 1FrCoI-0007FH-3B for ged-emacs-devel@m.gmane.org; Fri, 16 Jun 2006 13:48:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FrCoH-0007kf-MI for ged-emacs-devel@m.gmane.org; Fri, 16 Jun 2006 07:48:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FrCo5-0007kR-BA for emacs-devel@gnu.org; Fri, 16 Jun 2006 07:48:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FrCo3-0007k3-M1 for emacs-devel@gnu.org; Fri, 16 Jun 2006 07:48:07 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FrCo3-0007k0-HJ for emacs-devel@gnu.org; Fri, 16 Jun 2006 07:48:07 -0400 Original-Received: from [66.225.201.13] (helo=washington.hostforweb.net) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FrCxe-0005nK-I3; Fri, 16 Jun 2006 07:58:02 -0400 Original-Received: from [205.234.185.198] (port=52655 helo=mail.jpl.org) by washington.hostforweb.net with esmtpa (Exim 4.52) id 1FrCoD-0003YR-OG; Fri, 16 Jun 2006 06:48:19 -0500 Original-To: Chong Yidong X-Hashcash: 1:20:060616:cyd@stupidchicken.com::T81/KTEOuEZn+3Nb:00000000000000000000000000000000000000003+0x X-Hashcash: 1:20:060616:rms@gnu.org::97LYh6lpP/uJPZD2:0000005be3 X-Hashcash: 1:20:060616:ding@gnus.org::2yH0DC/jJQv0FSkK:0000DKuw X-Hashcash: 1:20:060616:emacs-devel@gnu.org::mNcWpA/dXZCVf0HN:0000000000000000000000000000000000000000000HEs X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:gWknIbky6fAGJaeOy9PQj0e/CZo= X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - washington.hostforweb.net X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: 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:55931 gmane.emacs.gnus.general:63361 Archived-At: >>>>> In <87odwuz2mb.fsf@stupidchicken.com> Chong Yidong wrote: > Richard Stallman writes: >> Could someone please debug this? > I checked in the required fix to sendmail.el. Thanks. > (I think message-mode needs to be fixed too; CC'ing ding@gnus.org). Thanks. Gnus checks for continuation header lines only when posting news articles. I've made it do so for mail messages as well in the Gnus CVS repository. The changes will be merged to the Emacs CVS after a while. (As for blank header lines, Gnus removes them silently using `message-cleanup-headers'.) >> From: Kevin Rodgers >> Subject: Re: better not have a non-header line after Subject >> To: bug-gnu-emacs@gnu.org >> >> 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).