From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/84036 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: From Elisp: Do stuff with article at point Date: Wed, 08 Jan 2014 10:16:21 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87vbxua4hm.fsf@flea.lifelogs.com> References: <8761pvfpka.fsf@gmail.com> Reply-To: ding@gnus.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1389194205 30726 80.91.229.3 (8 Jan 2014 15:16:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Jan 2014 15:16:45 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M32288@lists.math.uh.edu Wed Jan 08 16:16:47 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 1W0us8-00074g-Q2 for ding-account@gmane.org; Wed, 08 Jan 2014 16:16:45 +0100 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 1W0ur0-000665-Lq; Wed, 08 Jan 2014 09:15:34 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1W0uqy-00065s-Sk for ding@lists.math.uh.edu; Wed, 08 Jan 2014 09:15:32 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1W0uqx-00084w-Ad for ding@lists.math.uh.edu; Wed, 08 Jan 2014 09:15:32 -0600 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1W0uqv-0007Xa-BE for ding@gnus.org; Wed, 08 Jan 2014 16:15:29 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1W0uqi-00049u-GC for ding@gnus.org; Wed, 08 Jan 2014 16:15:16 +0100 Original-Received: from c-98-229-61-72.hsd1.ma.comcast.net ([98.229.61.72]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 08 Jan 2014 16:15:16 +0100 Original-Received: from tzz by c-98-229-61-72.hsd1.ma.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 08 Jan 2014 16:15:16 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 16 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-98-229-61-72.hsd1.ma.comcast.net X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:BNrzQPDRHSVFRSUCebHcl3Q6bwk= X-Spam-Score: -2.0 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:84036 Archived-At: On Tue, 07 Jan 2014 22:29:57 +0100 Alexander Baier wrote: AB> I want to do "something" (what exactly is not really interesting I AB> think) with the article at point. In this scenario the cursor is either AB> in the summary or the article buffer. AB> What are the recommended means of doing something like that from emacs AB> lisp? Are there some functions I can take a look at, or even a macro in AB> the form of (with-article-at-point BODY)? Or some documentation that AB> adresses such questions? Take a look at `gnus-summary-save-article'. Note how it can handle multiple articles, that's a pretty common usage pattern in Gnus: mark a number of articles, then run a single command on all of them. Ted