unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
To: Glenn Morris <rgm@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: rmail-get-attr-names: Corrupt attribute header in message
Date: Tue, 17 Feb 2009 11:40:40 +0900	[thread overview]
Message-ID: <E1LZFt2-0000G7-Ha@etlken> (raw)
In-Reply-To: <ce3aedn6iy.fsf@fencepost.gnu.org> (message from Glenn Morris on Mon, 16 Feb 2009 21:25:57 -0500)

In article <ce3aedn6iy.fsf@fencepost.gnu.org>, Glenn Morris <rgm@gnu.org> writes:

> 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?

Hasn't the number of attributes been increased after pmail
was merged to rmail?  I think the number was 7 when my RMAIL
file was converted to the mbox.

> Such headers are wrong, but I'll change it to just print a warning
> rather than giving an error in such cases.

How about just silently adding one more "-" in such a case?

---
Kenichi Handa
handa@m17n.org




      reply	other threads:[~2009-02-17  2:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-16 12:06 rmail-get-attr-names: Corrupt attribute header in message Kenichi Handa
2009-02-16 22:50 ` Glenn Morris
2009-02-17  0:50   ` Kenichi Handa
2009-02-17  2:25     ` Glenn Morris
2009-02-17  2:40       ` Kenichi Handa [this message]

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=E1LZFt2-0000G7-Ha@etlken \
    --to=handa@m17n.org \
    --cc=emacs-devel@gnu.org \
    --cc=rgm@gnu.org \
    /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).