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
[email protected]
https://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to