From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Hafner Subject: Re: Executing functions remotely from agenda Date: Tue, 4 Jan 2011 23:56:45 -0700 Message-ID: References: <878vz07zeq.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from [140.186.70.92] (port=36883 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PaNId-0005zU-NU for emacs-orgmode@gnu.org; Wed, 05 Jan 2011 01:56:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PaNIc-0001bn-57 for emacs-orgmode@gnu.org; Wed, 05 Jan 2011 01:56:47 -0500 Received: from mail-qy0-f169.google.com ([209.85.216.169]:59622) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PaNIb-0001bj-S7 for emacs-orgmode@gnu.org; Wed, 05 Jan 2011 01:56:46 -0500 Received: by qyk7 with SMTP id 7so16216766qyk.0 for ; Tue, 04 Jan 2011 22:56:45 -0800 (PST) In-Reply-To: <878vz07zeq.fsf@fastmail.fm> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org On Tue, Jan 4, 2011 at 9:22 PM, Matt Lundin wrote: > Steve Hafner writes: > >> I've written a few elisp functions to edit entries, and I would like >> to be able to execute them remotely from the agenda; but it seems no >> hooks or other facilities exist to do so. Am I missing something? >> > > (info "(org) Using the mapping API") > > http://orgmode.org/manual/Using-the-mapping-API.html > > Best, > Matt > OK, I'm able to run elisp commands remotely from an agenda buffer using org-map-entries; but what I'd really like to do is specifically target the current item, and I don't see what expression for MATCH would only match the current item. By "current item" I mean the entry corresponding to the line that point is on within the agenda buffer. -steve