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: Thu, 11 Jul 2019 10:38:38 -0700 Message-ID: <87a7dkv5cx.fsf@ericabrahamsen.net> References: <87wojfjxry.fsf@ericabrahamsen.net> <87h8ajjhux.fsf@ericabrahamsen.net> <87lfztiqu3.fsf@ericabrahamsen.net> <871s1735ec.fsf@ericabrahamsen.net> <87ftpn75bv.fsf@ericabrahamsen.net> <87pnn5wbea.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="55689"; 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 Thu Jul 11 19:44:02 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 1hld6q-000DqX-Nw for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Jul 2019 19:43:56 +0200 Original-Received: from localhost ([::1]:44096 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hld2K-0006xw-Fe for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Jul 2019 13:39:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37355) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hld2F-0006sV-W6 for bug-gnu-emacs@gnu.org; Thu, 11 Jul 2019 13:39:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hld29-0002w8-BN for bug-gnu-emacs@gnu.org; Thu, 11 Jul 2019 13:39:08 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57986) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hld26-0002tI-4e for bug-gnu-emacs@gnu.org; Thu, 11 Jul 2019 13:39:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hld26-0005Pn-0S for bug-gnu-emacs@gnu.org; Thu, 11 Jul 2019 13:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Jul 2019 17:39: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.156286673020792 (code B ref 35443); Thu, 11 Jul 2019 17:39:01 +0000 Original-Received: (at 35443) by debbugs.gnu.org; 11 Jul 2019 17:38:50 +0000 Original-Received: from localhost ([127.0.0.1]:38574 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hld1t-0005PH-Ks for submit@debbugs.gnu.org; Thu, 11 Jul 2019 13:38:49 -0400 Original-Received: from ericabrahamsen.net ([52.70.2.18]:60594 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hld1q-0005P1-LI for 35443@debbugs.gnu.org; Thu, 11 Jul 2019 13:38:47 -0400 Original-Received: from localhost (c-73-254-86-141.hsd1.wa.comcast.net [73.254.86.141]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id A0C09FA01E; Thu, 11 Jul 2019 17:38:39 +0000 (UTC) In-Reply-To: (Lars Ingebrigtsen's message of "Sun, 23 Jun 2019 14:23:50 +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:162723 Archived-At: 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... > >> 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. > >> I've configured my local Dovecot with the offending setting, and will >> test it out for a bit. > > Great! (NB This patch is very broken and no one should use it; I'm still working on it. I want a proper parser!)