help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Gnus: moving to the latest article in a thread


From: Reiner Steib
Subject: Re: Gnus: moving to the latest article in a thread
Date: Sun, 08 Mar 2009 14:40:45 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.1 (gnu/linux)

On Sun, Mar 08 2009, Francis Moreau wrote:

> I'm looking for a magic thread command which allows me to go to latest
> article in the current thread.

Something like `9999 T d'?

,----[ (info "(gnus)Thread Commands") ]
| `T d'
|      Descend the thread (`gnus-summary-down-thread').
| 
| `T u'
|      Ascend the thread (`gnus-summary-up-thread').
`----

> It would be really cool if that command understand numeric prefix, so
> giving '2' as prefix would move the second most recent article.

(defun rs-gnus-summary-down-thread-max (&optional back)
  "Go to the lastest article in the current thread.
With prefix, go up BACK articles from the lastest."
  (interactive "P")
  (while (/= 1 (gnus-summary-down-thread 1))
    t)
  (gnus-message 7 "End of thread reached.")
  (when back
    (gnus-summary-up-thread back)
    (gnus-message 7 "Went back %d articles." back))
  (gnus-summary-show-article))

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/


reply via email to

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