[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#40520: 28.0.50; Prevent duplicate thread titles in Gnus
From: |
Kévin Le Gouguec |
Subject: |
bug#40520: 28.0.50; Prevent duplicate thread titles in Gnus |
Date: |
Thu, 25 Jun 2020 22:45:03 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Hello again,
I'd like to bump this report, if only because I've finally taken the
time to try out Eric Abrahamsen's gnus-mock package on GNU ELPA. This
allowed me to make a reproducible test case with this simple config:
> (setq gnus-summary-make-false-root 'dummy)
I've attached an example .mbox saved from gnu-emacs-help; you can
reproduce my issue by saving it somewhere, then evaluating this in the
same directory:
#+begin_src elisp
(let ((gnus-mock-init-file (expand-file-name "gnus-dummy-init.el"))
(gnus-mock-emacs-program (expand-file-name "src/emacs" source-directory))
(mbox (expand-file-name "gnu-emacs-help.mbox" default-directory))
(init-template "
(setq gnus-summary-make-false-root 'dummy)
(gnus)
(gnus-group-make-doc-group \"%s\" nil)
(gnus-group-select-group)
"))
(with-temp-buffer
(insert (format init-template mbox))
(write-file "gnus-dummy-init.el"))
(package-initialize)
(gnus-mock-start))
#+end_src
Right now, Gnus produces this:
: : Re: How to get the actual face attribute?
. [ 67: Yuan Fu ] Re: How to get the actual face attribute?
. [ 28: Yuan Fu ]
With my patch (re-attached, with bug number for convenience), Gnus
produces this:
: : Re: How to get the actual face attribute?
. [ 67: Yuan Fu ]
. [ 28: Yuan Fu ]
Let me know if there's anything wrong with the patch, or with my
understanding of the situation.
Thank you for your time.
gnu-emacs-help.mbox
Description: application/mbox
0001-Simplify-dummy-root-subject-before-comparing-it-to-t.patch
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#40520: 28.0.50; Prevent duplicate thread titles in Gnus,
Kévin Le Gouguec <=