From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Newsgroups: gmane.emacs.help Subject: Re: How to insert ticked articles in Gnus Date: Sat, 30 Dec 2006 17:36:51 +0000 Message-ID: References: <4595782e$0$18832$9b4e6d93@newsspool4.arcor-online.net> <87psa1s9hv.fsf@gate450.dyndns.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1167500227 2933 80.91.229.12 (30 Dec 2006 17:37:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 30 Dec 2006 17:37:07 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Dec 30 18:37:06 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1H0i8j-0004yO-4a for geh-help-gnu-emacs@m.gmane.org; Sat, 30 Dec 2006 18:37:01 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H0i8i-0001Cn-HL for geh-help-gnu-emacs@m.gmane.org; Sat, 30 Dec 2006 12:37:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H0i8V-0001Cg-Oh for help-gnu-emacs@gnu.org; Sat, 30 Dec 2006 12:36:47 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H0i8U-0001CP-C2 for help-gnu-emacs@gnu.org; Sat, 30 Dec 2006 12:36:47 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H0i8U-0001CM-59 for help-gnu-emacs@gnu.org; Sat, 30 Dec 2006 12:36:46 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1H0i8T-0002fj-Nj for help-gnu-emacs@gnu.org; Sat, 30 Dec 2006 12:36:45 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1H0i8L-0002Bs-0Y for help-gnu-emacs@gnu.org; Sat, 30 Dec 2006 18:36:37 +0100 Original-Received: from sl392.st-edmunds.cam.ac.uk ([131.111.223.202]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 30 Dec 2006 18:36:37 +0100 Original-Received: from sdl.web by sl392.st-edmunds.cam.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 30 Dec 2006 18:36:37 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 46 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: sl392.st-edmunds.cam.ac.uk Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEUzRVhbQj4eZqO6SjnT eWpxnMetm5b6/PmidmqrAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH1gsWAg0l9z8SpAAA AdxJREFUOMvFlMGO2jAQhs1WTa6NssDVHSnttVpHyQOA8BVZTbluNoCvJGDP63fGdmAPu9fWUqzY n2d+zz8EgZ8M8c/AUONte9/zSs9AqZ3iVRxXVSdwVWHYBDZKMTgi1pdSFUq1KdOvRQBls9FYtH7B 54Kg7SPgjKNGX1IIhY89qROgNanu6GSv1LbxeLPog3i/orSsS0JKb7ak5Jv5uscwk74Pt/btDLiE QfvCXlSD7wBn2oWtseCk41z5GfHW8+XSIP0I1ohbXz7ANZlIKY8aFw8wJDDWx4bnOzgnMIT0lwdY J8BedDA2937oBKh2I+Vr7IdPPsQCjXjLfGxHGy8VgZP2Tx4PcprxDqTFLK2vs3MMpiwkeeZp9R7I qNrOdq4TmH6iOUTn4tQmYAA4pqRnt72HEqD9dezaLfxQQhSDN5mHPrE32hGwDl1IReeNfz6YQ1G7 HwROspNWoFuQvhxfOsh2J2ksXuSJChNIrw6qL08SBmus5AyvAirBwfsnUcMSfk/ZBOQPoj2DmHJ0 X833F+mqJeRd5UzF7oGg2qSTpckn+AaHCaoOoCOXRAWQT6KWdpJLaY0kgdUeBBLIcN9rcn3tM7be x24Jw1rlB99gaM/qs49T/89/hg/GXy7PwxSMlwaBAAAAAElFTkSuQmCC User-Agent: Gnus v5.11, Emacs/23.0.0.4 (20061218), Fedora 6 gnu/linux Cancel-Lock: sha1:qsUcPCDXoB8G11FnrYYj939Ei60= X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:40036 Archived-At: * 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 (GPG Key: 9283AA3F)