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

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

Re: How to insert ticked articles in Gnus


From: Leo
Subject: Re: How to insert ticked articles in Gnus
Date: Sat, 30 Dec 2006 17:36:51 +0000
User-agent: Gnus v5.11, Emacs/23.0.0.4 (20061218), Fedora 6 gnu/linux

* Andreas Seltenreich (2006-12-30 16:12 +0100) said:
  ^^^^^^^^^^^^^^^^^^^
[...]
>>>> Not in a huge group that has many unread articles. It is hard to find
>>>> ticked articles.
>>>
>>> ,----[ (info "(gnus)Limiting") ]
>>> | `/ m'
>>> |      Ask for a mark and then limit to all articles that have been marked
>>> |      with that mark (`gnus-summary-limit-to-marks').
>>> `----
>>
>> That requires showing all the articles first. I am looking for
>> something like 'Y d' does to dormant articles ;)
>
> There's also the possibility of using the `display' group parameter
> with a `tick' predicate. However, this wouldn't be very efficient,
> since Gnus tests this expression on individual headers after fetching
> them, despite a list of ticked articles being already in memory.
>
> I wonder if `Y t' would be a good candidate for No Gnus.
>
> --8<---------------cut here---------------start------------->8---
> (defun gnus-summary-insert-ticked-articles ()
>   "Insert ticked articles for this group into the current buffer."
>   (interactive)
>   (let ((gnus-verbose (max 6 gnus-verbose)))
>     (if (not gnus-newsgroup-marked)
>       (gnus-message 3 "No ticked articles for this group")
>       (gnus-summary-goto-subjects gnus-newsgroup-marked))))
>
> (eval-after-load 'gnus-sum
>   '(define-key gnus-summary-mode-map (kbd "Y t")
>      'gnus-summary-insert-ticked-articles))
> --8<---------------cut here---------------end--------------->8---
>
> regards,
> andreas

That's indeed what I am looking for. Thank you so much.

Just want to add it is also handy when you have ticked articles in a
slow but small group.

-- 
Leo <sdl.web AT gmail.com>                         (GPG Key: 9283AA3F)





reply via email to

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