GNU bug report logs - #35443
27.0.50; Gnus (nnimap) shows "ghost" messages in summary buffer

Previous Next

Package: emacs;

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 #83 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Eric Abrahamsen <eric <at> ericabrahamsen.net>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#35443: 27.0.50;
 Gnus (nnimap) shows "ghost" messages in summary buffer
Date: Fri, 12 Jul 2019 09:58:49 -0700
[Message part 1 (text/plain, inline)]
Eric Abrahamsen <eric <at> ericabrahamsen.net> writes:

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

Sorry, this one...

[imap-header-transform-fix.diff (text/x-patch, attachment)]

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.