From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#22590: 24.5; gnus/nnimap: ticked messages not getting marked as read Date: Fri, 27 Sep 2019 01:14:41 +0200 Message-ID: <871rw2fy5a.fsf@gnus.org> References: <5166.1454884886@allegro.localdomain> <87wpdh5th7.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="26379"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 22590@debbugs.gnu.org To: Mike Kupfer Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 27 01:15:16 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 1iDcyh-0006gm-25 for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Sep 2019 01:15:15 +0200 Original-Received: from localhost ([::1]:45180 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDcyf-0005SR-N9 for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Sep 2019 19:15:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40483) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDcyV-0005Ls-2H for bug-gnu-emacs@gnu.org; Thu, 26 Sep 2019 19:15:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iDcyT-0006Gr-US for bug-gnu-emacs@gnu.org; Thu, 26 Sep 2019 19:15:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36742) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iDcyT-0006Gj-RY for bug-gnu-emacs@gnu.org; Thu, 26 Sep 2019 19:15:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iDcyT-0003Y5-M4; Thu, 26 Sep 2019 19:15:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Thu, 26 Sep 2019 23:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22590 X-GNU-PR-Package: emacs,gnus Original-Received: via spool by 22590-submit@debbugs.gnu.org id=B22590.156953968813584 (code B ref 22590); Thu, 26 Sep 2019 23:15:01 +0000 Original-Received: (at 22590) by debbugs.gnu.org; 26 Sep 2019 23:14:48 +0000 Original-Received: from localhost ([127.0.0.1]:45560 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDcyG-0003X2-Ap for submit@debbugs.gnu.org; Thu, 26 Sep 2019 19:14:48 -0400 Original-Received: from quimby.gnus.org ([80.91.231.51]:43860) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDcyE-0003Wr-Ho for 22590@debbugs.gnu.org; Thu, 26 Sep 2019 19:14:46 -0400 Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iDcy9-00010r-AY; Fri, 27 Sep 2019 01:14:44 +0200 In-Reply-To: <87wpdh5th7.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 26 Jan 2017 23:47:32 +0100") 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:167346 Archived-At: Lars Ingebrigtsen writes: > Mike Kupfer writes: > >> - a message is unread and flagged (ticked) on the IMAP server. Gnus >> shows it and the next message in the summary buffer as ticked. (I'm >> not sure that status of the second message is critical for reproducing >> the problem, but it seems to help.) >> - in the Gnus summary buffer, I type "d" for the first message. The >> message is marked "r" in the summary buffer, as expected. >> - I exit the summary buffer and type "s" in the Group buffer >> - I check the folder using Thunderbird; it shows the first message as no >> longer flagged, but it's still shown as unread. > > I think I understand what's going on. In Gnus, there's no such thing as > "ticked and unread": Everything that's \Flagged in the IMAP server > becomes read in Gnus. So when you remove the tick (i.e., \Flagged), > Gnus will propagate that change to the IMAP server, but since it thinks > that nothing has changed WRT readedness, it doesn't send that > information to the server... > > I'm not sure what the best way to fix that is... I now made nnimap update readedness when tickedness changes, which I think should do the trick. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no