From: Michael Heerdegen <michael_heerdegen@web.de>
To: info-gnus-english@gnu.org
Subject: Finding last messages in a thread
Date: Thu, 30 Apr 2020 05:15:46 +0200 [thread overview]
Message-ID: <87wo5x64v1.fsf@web.de> (raw)
Hello,
is there a quick way to sort the messages in a thread chronologically?
My goal is to find the latest articles in a thread.
I guessed the quickest way could be to limit to the current thread
(???), and then turn off threading (C-M-t), but the first functionality
doesn't seem to exist, so I implemented it quicky:
#+begin_src emacs-lisp
(defun my-gnus-limit-to-current-thread ()
(interactive)
(let ((a (gnus-summary-article-number)))
(gnus-summary-limit
(gnus-summary-articles-in-thread
(let ((a a))
(dotimes (_ (gnus-summary-thread-level))
(cl-callf gnus-summary-article-parent a))
a)))
(gnus-summary-goto-subject a)))
#+end_src
Do I miss something?
TIA,
Michael.
_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english
next reply other threads:[~2020-04-30 3:16 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-30 3:15 Michael Heerdegen [this message]
2020-04-30 4:16 ` Eric Abrahamsen
2020-04-30 4:46 ` Michael Heerdegen
2020-04-30 5:29 ` Eric Abrahamsen
2020-04-30 5:31 ` Lars Ingebrigtsen
2020-04-30 7:01 ` Andrew Cohen
2020-04-30 8:25 ` Andrew Cohen
2020-04-30 22:18 ` Michael Heerdegen
2020-05-01 0:27 ` Andrew Cohen
2020-05-01 1:27 ` Michael Heerdegen
2020-05-01 2:12 ` Andrew Cohen
2020-04-30 20:36 ` Achilles Yuce
2020-04-30 20:45 ` Michael Heerdegen
2020-04-30 20:52 ` Achilles Yuce
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=87wo5x64v1.fsf@web.de \
--to=michael_heerdegen@web.de \
--cc=info-gnus-english@gnu.org \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).