From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sean Whitton Newsgroups: gmane.emacs.bugs Subject: bug#56592: 29.0.50; Moving between nnselect groups sometimes fails to save marks Date: Sat, 16 Jul 2022 07:42:58 -0700 Message-ID: <87cze586fh.fsf@athena.silentflame.com> References: <8735f17e1s.fsf@athena.silentflame.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17547"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Eric Abrahamsen To: 56592@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 16 16:44:29 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oCj1w-0004MX-Dz for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 16 Jul 2022 16:44:29 +0200 Original-Received: from localhost ([::1]:37332 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oCj1v-0006uY-9v for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 16 Jul 2022 10:44:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55728) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oCj1Y-0006uA-9R for bug-gnu-emacs@gnu.org; Sat, 16 Jul 2022 10:44:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47956) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oCj1V-0003f4-U7 for bug-gnu-emacs@gnu.org; Sat, 16 Jul 2022 10:44:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oCj1V-0001Mk-QR for bug-gnu-emacs@gnu.org; Sat, 16 Jul 2022 10:44:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Sean Whitton Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 16 Jul 2022 14:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56592 X-GNU-PR-Package: emacs Original-Received: via spool by 56592-submit@debbugs.gnu.org id=B56592.16579825995193 (code B ref 56592); Sat, 16 Jul 2022 14:44:01 +0000 Original-Received: (at 56592) by debbugs.gnu.org; 16 Jul 2022 14:43:19 +0000 Original-Received: from localhost ([127.0.0.1]:45715 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCj0h-0001LU-8N for submit@debbugs.gnu.org; Sat, 16 Jul 2022 10:43:19 -0400 Original-Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:57863) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCj0f-0001LG-06 for 56592@debbugs.gnu.org; Sat, 16 Jul 2022 10:43:10 -0400 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 46D413200906; Sat, 16 Jul 2022 10:43:01 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sat, 16 Jul 2022 10:43:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=cc:cc:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1657982580; x=1658068980; bh=Ho oPyorC5m/bO9iI2t5bONqfAIiV5AxxBBlIYCU+/mg=; b=GJzOe8MkD6hpk87xGy iu1i7y4mkeQAVzyLxsvTnuZuwoepB0UKWmnZJFhL8A0IJqtfRHdrJEV4Rn4HZewQ jM3tOygdNqxFzXd4Em3gECRVZnU2nheJTzcH4DlTylfID4C3ppQggAO23IPWopQV qCGwJEhB1W78jEtzwlE6gmtA0PPTc9TwSDHlTODm56MshBqRA2P6IiNXaZKk5ti1 myClKLIhCHqWmmPWln9q5809OmkbC/99TD+7VdweoPxDbGCh0KnaoFmAd7ED2JiP MoryD0UN2cdYJVlHx+hrJnl7M9EghTuaAGQH+jyhUv42Yry9749+2S2ZQJ1eRQPN 6ocA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1657982580; x=1658068980; bh=HooPyorC5m/bO9iI2t5bONqfAIiV 5AxxBBlIYCU+/mg=; b=cGZRgTVKKdysnWZsmz4aOPgYROYhSyX2PRHYLd2NsTyQ tze2ePyJYD8wNHdZWNN0YiOFGF7SP0M2wHke6SiXdZpkGdSxSHsfoxVcKqzOZNBb Ol8yBT+JYT8LW73EP89/xoKSkiER79e+8zqobxaqGQRdSXrSEf3240GskzOTkQxs GiOEuiT6BSo7bmFUpf9zDHX3ckNJHcNgWouF7oAbJ02Erj922BGNA3K/ta+AGYat 5ufGRNhrzrI1KvR9AtzWC7U2Xm3SdiExbRHAX2Wbs7U3QyDavUqAIvFfaKGEeJ5u MyKhdSiNS0XrDm9qXP+AEuu9UjZOVOdZYqb+20t7sA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudekfedgkeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefujghffffkfgggtgesthdttddttdertdenucfhrhhomhepufgvrghn ucghhhhithhtohhnuceoshhpfihhihhtthhonhesshhpfihhihhtthhonhdrnhgrmhgvqe enucggtffrrghtthgvrhhnpedtffdvffeuleeuvdetkedvveehgfehvdegvefghfevudek geegleevgeejkeetkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpehsphifhhhithhtohhnsehsphifhhhithhtohhnrdhnrghmvg X-ME-Proxy: Feedback-ID: i23c04076:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 16 Jul 2022 10:43:00 -0400 (EDT) Original-Received: by athena.silentflame.com (Postfix, from userid 1000) id B79411B5C34; Sat, 16 Jul 2022 14:42:58 +0000 (UTC) In-Reply-To: <8735f17e1s.fsf@athena.silentflame.com> (Sean Whitton's message of "Fri, 15 Jul 2022 23:43:43 -0700") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:237197 Archived-At: Hello, On Fri 15 Jul 2022 at 11:43PM -07, Sean Whitton wrote: > You need a notmuch setup to reproduce this, though maybe other > gnus-search backends would show it too. Create two nnselect groups > where the query for the second includes some of the messages in the > first group. This is what I am using: > > first group, nnselect:Weekday, has query > "to:spwhitton@spwhitton.name or to:spwhitton@arizona.edu" > > second group, nnselect:Weekend, has query > "to:spwhitton@spwhitton.name". > > So, messages addressed to spwhitton@spwhitton.name appear in both. > Ensure there are unread messages addressed to spwhitton@spwhitton.name. > Enter the first group, mark one of those messages addressed to > spwhitton@spwhitton.name as read. Go to the last message, use 'n n' to > move to the next unread group. > > The message that was marked as read reappears, unread, in the second > group. If you quit to the group buffer and reenter the first group, > it's unread again there. Here's a workaround: (defun spw/gnus-summary-exit (&rest _ignore) (call-process "notmuch" nil nil nil "new" "--no-hooks") (with-current-buffer gnus-group-buffer (gnus-group-get-new-news t))) (advice-add 'gnus-summary-exit :after #'spw/gnus-summary-exit) -- Sean Whitton