emacs-devel
[Top][All Lists]
Advanced

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

Re: rmail-get-attr-names: Corrupt attribute header in message


From: Kenichi Handa
Subject: Re: rmail-get-attr-names: Corrupt attribute header in message
Date: Tue, 17 Feb 2009 11:40:40 +0900

In article <address@hidden>, Glenn Morris <address@hidden> 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
address@hidden




reply via email to

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