From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/84679 Path: news.gmane.org!not-for-mail From: jorge.a.alfaro@gmail.com (Jorge A. Alfaro-Murillo) Newsgroups: gmane.emacs.gnus.general Subject: Re: automarking as "E", and auto-check of rss feeds Date: Sun, 06 Jul 2014 10:25:00 -0400 Message-ID: <87tx6ufttv.fsf@gmail.com> References: <87fvielt54.fsf@skimble.plus.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1404724233 31819 80.91.229.3 (7 Jul 2014 09:10:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Jul 2014 09:10:33 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M32922@lists.math.uh.edu Mon Jul 07 11:10:26 2014 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1X44wL-0000Ec-Ul for ding-account@gmane.org; Mon, 07 Jul 2014 11:10:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1X44vA-0008Hv-L5; Mon, 07 Jul 2014 04:09:12 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1X44v9-0008Hl-FH for ding@lists.math.uh.edu; Mon, 07 Jul 2014 04:09:11 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1X44v8-00060H-Gm for ding@lists.math.uh.edu; Mon, 07 Jul 2014 04:09:11 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1X44v6-0002Hb-Fq for ding@gnus.org; Mon, 07 Jul 2014 11:09:08 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1X3nNT-0005VS-Qi for ding@gnus.org; Sun, 06 Jul 2014 16:25:15 +0200 Original-Received: from ool-44c27ccd.dyn.optonline.net ([68.194.124.205]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 06 Jul 2014 16:25:15 +0200 Original-Received: from jorge.a.alfaro by ool-44c27ccd.dyn.optonline.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 06 Jul 2014 16:25:15 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 27 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ool-44c27ccd.dyn.optonline.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) Cancel-Lock: sha1:3nVyDSzTZ4uerxac/MZB6FrbPlI= X-Spam-Score: -1.6 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:84679 Archived-At: Sharon Kimble writes: > --8<---------------cut here---------------start------------->8--- > /o RET to get all old messages, then /m O RET so that you just see the "O" > messages. Then go to the top of the buffer and do "C-u 5000 E" to mark > everything as "E". Then B-e to expire messages, and q to close the group. > --8<---------------cut here---------------end--------------->8--- I do not know if there is a direct way with gnus, but since you have it figure it out, you could use a keyboard macro. Press 'F3' to start recording the macro, do everything you did, press 'F4' to finish recording the macro. Then do 'C-x C-k n' and give that macro name, then go to your .emacs or .gnus and do 'M-x insert-kbd-macro', it will ask you for a name, put the name you just define. This will insert code something like this: #+BEGIN_EXAMPLE (fset 'the-name-of-the-macro (lambda (&optional arg) "Keyboard macro." ... #+END_EXAMPLE then you can assign "E" to the-name-of-the-macro in the usual way. Best, Jorge.