all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Leo <sdl.web@gmail.com>
Subject: Re: How to insert ticked articles in Gnus
Date: Sat, 30 Dec 2006 17:36:51 +0000	[thread overview]
Message-ID: <m2hcvdl1zg.fsf@sl392.st-edmunds.cam.ac.uk> (raw)
In-Reply-To: 87psa1s9hv.fsf@gate450.dyndns.org

* 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)

  parent reply	other threads:[~2006-12-30 17:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.2509.1167422433.2155.help-gnu-emacs@gnu.org>
2006-12-29 20:18 ` How to insert ticked articles in Gnus Ralf Angeli
2006-12-29 20:58   ` Leo
2006-12-29 21:23     ` Reiner Steib
2006-12-29 21:48       ` Leo
2006-12-30 15:12         ` Andreas Seltenreich
2006-12-30 17:05           ` Reiner Steib
2006-12-30 17:36           ` Leo [this message]
     [not found]   ` <mailman.2511.1167425890.2155.help-gnu-emacs@gnu.org>
2006-12-29 21:09     ` Ralf Angeli
2006-12-29 21:50       ` Leo
2006-12-29 20:00 Leo

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=m2hcvdl1zg.fsf@sl392.st-edmunds.cam.ac.uk \
    --to=sdl.web@gmail.com \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.