From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/84040 Path: news.gmane.org!not-for-mail From: Jan Tatarik Newsgroups: gmane.emacs.gnus.general Subject: Re: From Elisp: Do stuff with article at point Date: Wed, 08 Jan 2014 21:59:16 +0100 Message-ID: <87y52q5gwr.fsf@nb-jtatarik2.xing.hh> References: <8761pvfpka.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1389214810 4826 80.91.229.3 (8 Jan 2014 21:00:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Jan 2014 21:00:10 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M32292@lists.math.uh.edu Wed Jan 08 22:00:16 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 1W10EZ-0003s4-4P for ding-account@gmane.org; Wed, 08 Jan 2014 22:00:15 +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 1W10Dq-0007dX-Od; Wed, 08 Jan 2014 14:59:30 -0600 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 1W10Dp-0007dN-Mx for ding@lists.math.uh.edu; Wed, 08 Jan 2014 14:59:29 -0600 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 1W10Do-0000NO-KY for ding@lists.math.uh.edu; Wed, 08 Jan 2014 14:59:29 -0600 Original-Received: from mail-bk0-f51.google.com ([209.85.214.51]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1W10Dn-0006ko-8K for ding@gnus.org; Wed, 08 Jan 2014 21:59:27 +0100 Original-Received: by mail-bk0-f51.google.com with SMTP id 6so853576bkj.38 for ; Wed, 08 Jan 2014 12:59:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version:content-type; bh=xoezsS8Xr6Vi8PUtcFXLf9WBzCDIicTTG4DRnlEXTWY=; b=TBXvnB1jQR4rovGHgROmv9drxikp2/lQr7DeGsDxFCkTSAPS9JxDySuSRDSCKLVLbR DT7oro5bu3bjqk51/keFvp6mOWq8Gi77KwZwUC1BzHsIs1aoLnmEmjX6FWnMz2cXxAnD Xg3u75ZdiTEN0hUJem0peTyFZfkMmoL9nuYr2R+lyUbNP0uVM0pvQDoGk9ZiRl1iNpFe cYRVk+9bn9Q/b6TfeuxnaP6+fhyZ3bpsuGr4motDbegroJPDalwmT2MpVWPjhl5OnWlc sbju3pHWXfn6rZP7rCS0rGHaayGGcJaF6BHs7d1f96rw0rinfqfU1eoWT/f2NYyyZLAe OzZw== X-Received: by 10.204.117.196 with SMTP id s4mr21390bkq.40.1389214761795; Wed, 08 Jan 2014 12:59:21 -0800 (PST) Original-Received: from nb-jtatarik2.xing.hh (g224004093.adsl.alicedsl.de. [92.224.4.93]) by mx.google.com with ESMTPSA id xm9sm2737712bkb.1.2014.01.08.12.59.20 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 08 Jan 2014 12:59:21 -0800 (PST) In-Reply-To: <8761pvfpka.fsf@gmail.com> (Alexander Baier's message of "Tue, 07 Jan 2014 22:29:57 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Spam-Score: -3.0 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:84040 Archived-At: On Tue, Jan 07 2014, Alexander Baier wrote: > Hello, > I want to do "something" (what exactly is not really interesting I > think) with the article at point. In this scenario the cursor is either > in the summary or the article buffer. > What are the recommended means of doing something like that from emacs > lisp? Are there some functions I can take a look at, or even a macro in > the form of (with-article-at-point BODY)? Or some documentation that > adresses such questions? How about (with-current-buffer gnus-article-buffer ...)?