From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: rmail-get-attr-names: Corrupt attribute header in message Date: Mon, 16 Feb 2009 21:25:57 -0500 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1234837699 32720 80.91.229.12 (17 Feb 2009 02:28:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 Feb 2009 02:28:19 +0000 (UTC) Cc: emacs-devel@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 17 03:29:34 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LZFiH-0004yZ-GZ for ged-emacs-devel@m.gmane.org; Tue, 17 Feb 2009 03:29:34 +0100 Original-Received: from localhost ([127.0.0.1]:49968 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LZFgx-0006hO-83 for ged-emacs-devel@m.gmane.org; Mon, 16 Feb 2009 21:28:11 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LZFgs-0006gF-6I for emacs-devel@gnu.org; Mon, 16 Feb 2009 21:28:06 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LZFgp-0006g3-PX for emacs-devel@gnu.org; Mon, 16 Feb 2009 21:28:04 -0500 Original-Received: from [199.232.76.173] (port=40001 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LZFgp-0006g0-K7 for emacs-devel@gnu.org; Mon, 16 Feb 2009 21:28:03 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:40117) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LZFgp-0002x2-CZ for emacs-devel@gnu.org; Mon, 16 Feb 2009 21:28:03 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LZFen-0002Er-Cz; Mon, 16 Feb 2009 21:25:57 -0500 X-Spook: Khaddafi arrangements insurgency class struggle lock X-Ran: ,=tEgLuGX-n&`"[kI4>Y=`#c*~5md?|)5euYEEB%xD)$#/MGT6L\+;+vC2O:VR`f'_lF?C X-Hue: red X-Attribution: GM In-Reply-To: (Kenichi Handa's message of "Tue, 17 Feb 2009 09:50:33 +0900") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:109116 Archived-At: Kenichi Handa wrote: >> What does (rmail-get-header rmail-attribute-header) return for this >> message? > > "-------" That should have 8 elements, not 7. > I'll attach the small RMAIL file that causes this problem. There are three messages in the attached file. In the second and third one, the X-RMAIL-ATTRIBUTES header is indeed corrupt. It only contains 7 "-" when it should contain 8. If you add an extra "-", it should work. I don't know why that happened; it should not. Perhaps you could look into how it came about? Such headers are wrong, but I'll change it to just print a warning rather than giving an error in such cases.