GNU bug report logs -
#56592
29.0.50; Moving between nnselect groups sometimes fails to save marks
Previous Next
Reported by: Sean Whitton <spwhitton <at> spwhitton.name>
Date: Sat, 16 Jul 2022 06:44:02 UTC
Severity: normal
Found in version 29.0.50
Done: Sean Whitton <spwhitton <at> spwhitton.name>
Bug is archived. No further changes may be made.
Full log
Message #17 received at 56592 <at> debbugs.gnu.org (full text, mbox):
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
This bug report was last modified 2 years and 95 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.