From: Sean Whitton <spwhitton@spwhitton.name>
To: 56592@debbugs.gnu.org
Cc: Eric Abrahamsen <eric@ericabrahamsen.net>
Subject: bug#56592: 29.0.50; Moving between nnselect groups sometimes fails to save marks
Date: Sun, 07 Aug 2022 17:04:32 -0700 [thread overview]
Message-ID: <87zggfy50v.fsf@melete.silentflame.com> (raw)
In-Reply-To: <871quib0t9.fsf@athena.silentflame.com> (Sean Whitton's message of "Mon, 18 Jul 2022 13:52:50 -0700")
Hello,
On Mon 18 Jul 2022 at 01:52PM -07, Sean Whitton wrote:
> Hello,
>
> On Sat 16 Jul 2022 at 07:42AM -07, Sean Whitton wrote:
>
>> 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)
>
> An alternative workaround is just to turn on Gnus duplicate suppression.
A faster workaround than my first, but which doesn't rely on duplicate
suppression:
(defun spw/gnus-summary-read-group (group &rest _ignore)
(when (string-prefix-p "nnselect:" group)
(with-current-buffer gnus-group-buffer
(save-excursion
(gnus-group-goto-group group)
(gnus-group-get-new-news-this-group 1)))))
(advice-add 'gnus-summary-read-group :before #'spw/gnus-summary-read-group)
--
Sean Whitton
next prev parent reply other threads:[~2022-08-08 0:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-16 6:43 bug#56592: 29.0.50; Moving between nnselect groups sometimes fails to save marks Sean Whitton
2022-07-16 13:54 ` Sean Whitton
2022-07-16 14:42 ` Sean Whitton
2022-07-18 20:52 ` Sean Whitton
2022-08-08 0:04 ` Sean Whitton [this message]
2023-02-18 20:22 ` Sean Whitton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zggfy50v.fsf@melete.silentflame.com \
--to=spwhitton@spwhitton.name \
--cc=56592@debbugs.gnu.org \
--cc=eric@ericabrahamsen.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.