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
Message #86 received at 35443 <at> debbugs.gnu.org (full text, mbox):
On 07/12/19 09:50 AM, Eric Abrahamsen wrote:
> 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.
I think this is the one. I'll push in a bit.
This bug report was last modified 5 years and 312 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.