From mboxrd@z Thu Jan 1 00:00:00 1970 From: david@adboyd.com (J. David Boyd) Subject: Re: getting file properties Date: Sat, 04 May 2013 21:51:06 -0400 Message-ID: <878v3utcs5.fsf@adboyd.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:45462) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYo6p-0003qq-Hi for emacs-orgmode@gnu.org; Sat, 04 May 2013 21:51:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UYo6o-0000IB-Bw for emacs-orgmode@gnu.org; Sat, 04 May 2013 21:51:27 -0400 Received: from plane.gmane.org ([80.91.229.3]:42728) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYo6o-0000I7-5h for emacs-orgmode@gnu.org; Sat, 04 May 2013 21:51:26 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UYo6k-0004Ac-Ug for emacs-orgmode@gnu.org; Sun, 05 May 2013 03:51:22 +0200 Received: from 72.185.97.240 ([72.185.97.240]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 05 May 2013 03:51:22 +0200 Received: from david by 72.185.97.240 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 05 May 2013 03:51:22 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org John Kitchin writes: > Hi everyone, > > if I have an org-file with this in it: > > #+EMAIL: jkitchin@cmu.edu > > is there an org lisp command to get the email address after I have > opened the file? I am looping through many files to generate a report, > and would like to do this in emacs-lisp. I had hoped org-entry-get > would do it, but it does not (it will retrieve it from #+PROPERTY: > EMAIL jkitchin@cmu.edu). > > Is it possible to define other keywords similar to that? E.g. > > #+ANDREWID: jkitchin > > and then to be able to read them from a lisp command (without writing > the parsing code myself)? something like (org-entry-get-keyword > "ANDREWID"). > > I could not find anything like this in the property API > (http://orgmode.org/manual/Using-the-property-API.html) which is where > i thought it would be. > > Thanks! > > John > > ----------------------------------- > John Kitchin > Associate Professor > Doherty Hall A207F > Department of Chemical Engineering > Carnegie Mellon University > Pittsburgh, PA 15213 > 412-268-7803 > http://kitchingroup.cheme.cmu.edu I'm interested in an answer to this as well...