From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.bugs Subject: bug#35443: 27.0.50; Gnus (nnimap) shows "ghost" messages in summary buffer Date: Sun, 23 Jun 2019 09:55:51 -0700 Message-ID: <87ef3kutpk.fsf@ericabrahamsen.net> References: <87wojfjxry.fsf@ericabrahamsen.net> <87h8ajjhux.fsf@ericabrahamsen.net> <87lfztiqu3.fsf@ericabrahamsen.net> <871s1735ec.fsf@ericabrahamsen.net> <87ftpn75bv.fsf@ericabrahamsen.net> <87r27ly49t.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="183559"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 35443@debbugs.gnu.org, Ulrich Mueller To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 23 18:57:26 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hf5nx-000ldJ-SJ for geb-bug-gnu-emacs@m.gmane.org; Sun, 23 Jun 2019 18:57:25 +0200 Original-Received: from localhost ([::1]:45754 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hf5nw-0007hx-Si for geb-bug-gnu-emacs@m.gmane.org; Sun, 23 Jun 2019 12:57:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60449) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hf5na-0007hB-UM for bug-gnu-emacs@gnu.org; Sun, 23 Jun 2019 12:57:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hf5nZ-0001oe-SK for bug-gnu-emacs@gnu.org; Sun, 23 Jun 2019 12:57:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40829) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hf5nZ-0001oI-M3 for bug-gnu-emacs@gnu.org; Sun, 23 Jun 2019 12:57:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hf5nZ-0003OY-JB for bug-gnu-emacs@gnu.org; Sun, 23 Jun 2019 12:57:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 23 Jun 2019 16:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35443 X-GNU-PR-Package: emacs Original-Received: via spool by 35443-submit@debbugs.gnu.org id=B35443.156130896612899 (code B ref 35443); Sun, 23 Jun 2019 16:57:01 +0000 Original-Received: (at 35443) by debbugs.gnu.org; 23 Jun 2019 16:56:06 +0000 Original-Received: from localhost ([127.0.0.1]:54370 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hf5mf-0003Ly-P1 for submit@debbugs.gnu.org; Sun, 23 Jun 2019 12:56:06 -0400 Original-Received: from ericabrahamsen.net ([52.70.2.18]:48538 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hf5me-0003LK-NI for 35443@debbugs.gnu.org; Sun, 23 Jun 2019 12:56:05 -0400 Original-Received: from localhost (unknown [172.92.212.120]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 7811AFA648; Sun, 23 Jun 2019 16:55:57 +0000 (UTC) In-Reply-To: (Lars Ingebrigtsen's message of "Sun, 23 Jun 2019 14:13:29 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:161132 Archived-At: On 06/23/19 14:13 PM, Lars Ingebrigtsen wrote: > Eric Abrahamsen writes: > >> No I didn't! I looked at it for a while, had an internal conflict about >> just dropping the lines vs actually doing something with them, imagined >> all the work that would go into a more fully-featured parser, then got >> distracted and forgot about it. > > OK, I'll take a look at it... > >> I still hope that in some distant future we could have a real parser >> consuming these buffers. So far as I know the only in-emacs options are >> in cedet -- wisent and the other one -- but I've never been able to make >> them work. And now it sounds like cedet might not even stay in-tree? > > I had to add a parsing feature to wisent, and that was kinda more > painful than you'd expect. :-/ Oh, I thought that was most of the point of wisent to begin with. No wonder I couldn't get it to do anything. In theory, do you have any recommendations in the parsing direction. > But I haven't heard anything about dumping cedet from the tree. Is that > the plan? No, I was skimming your threads about cleaning up the build process and got the impression that it was unmaintained. I probably misinterpreted. On 06/23/19 14:23 PM, Lars Ingebrigtsen wrote: > Eric Abrahamsen writes: > >>> Did you get any further in fixing this nnimap parsing bug? >> >> Here's a whack at it. I tried to make sure that it would handle unwanted >> FETCH responses whether they came before or after (or in the middle of) >> the wanted FETCH responses, but I'm not in love with checking the header >> regexp this way. > > Well, I think it's OK... Cool. >> Because this IMAP server feature is very closely focused on adding a >> flag in case of attachment (and because Gnus never explicitly requests >> this flag, though I'd sure like to in the future), another more targeted >> approach would be to simply delete any lines containing >> $Has\(No\)?Attachment, assuming that these FETCH responses will only >> take up one line. > > That sounds a bit brittle -- I'm sure there'll be other extensions like > this in the future to the IMAP protocol. Sure, I'll stick with this.