GNU bug report logs -
#35443
27.0.50; Gnus (nnimap) shows "ghost" messages in summary buffer
Previous Next
Reported by: Ulrich Mueller <ulm <at> gentoo.org>
Date: Sat, 27 Apr 2019 06:30:02 UTC
Severity: normal
Found in version 27.0.50
Done: Eric Abrahamsen <eric <at> ericabrahamsen.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Lars Ingebrigtsen <larsi <at> gnus.org> writes:
> Eric Abrahamsen <eric <at> ericabrahamsen.net> writes:
>
>> Which is obviously insufficient. I've since changed it to:
>>
>> "\\([A-Z][[:ascii:]-]+: \\)"
>>
>> Which works better, but also seems susceptible to breakage due to
>> ignorance. A quick scan doesn't turn up any `mail-header-regexp'
>> variables or `this-is-a-mail-header-p' functions -- does the above
>> regexp seem reasonable?
>
> Headers are case insensitive... but not all characters in the [:ascii:]
> set are allowed; far from it. [:alnum:] is closer, but with - and...
> er... stuff... One of the RFCs probably has the definition. :-)
Oh, good point. RFC2822 says chars 33 to 126, inclusive, minus the
colon. So I guess it's "[!-9,;-~]+: ", unlikely as some of those
characters seem.
Now I'm working with the attached diff.
Eric
[imap-header-transform-fix.diff (text/x-patch, attachment)]
This bug report was last modified 5 years and 313 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.