[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finding last messages in a thread

From: Andrew Cohen
Subject: Re: Finding last messages in a thread
Date: Fri, 01 May 2020 08:27:25 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

>>>>> "MH" == Michael Heerdegen <> writes:

    MH> Andrew Cohen <> writes:
    >> And...its broken (I think). Since I use "A T" I never tried "/
    >> T". With a prefix arg its supposed to limit the summary buffer to
    >> the articles in the thread, but it doesn't. I believe the
    >> (interactive) expression is wrong, so that the prefix arg is
    >> thrown away.

    MH> Yes, looks like that.  I wonder who has done that.  Let's see:

    MH>   03f6388892 Allow limiting gnus summary buffers to a thread

    MH> committed by a certain "Andrew G Cohen".  Hmm, never heard that
    MH> name.  Should we contact him?

Err, I'm pretty sure he is unavailable :)

Anyway, here is the fix to get the prefix-arg properly passed (I don't
have a current checkout of master and my local trees are a mess and I
don't have time to fix it all up, blah, blah, can someone push this for
me please:):

@@ -8698,7 +8556,8 @@ gnus-summary-limit-include-thread
 When called interactively, ID is the Message-ID of the current
 article.  If thread-only is non-nil limit the summary buffer to
 these articles."
-  (interactive (list (mail-header-id (gnus-summary-article-header))))
+  (interactive (list (mail-header-id (gnus-summary-article-header))
+                    current-prefix-arg))
   (let ((articles (gnus-articles-in-thread
                   (gnus-id-to-thread (gnus-root-id id))))
        ;;we REALLY want the whole thread---this prevents cut-threads

reply via email to

[Prev in Thread] Current Thread [Next in Thread]