From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: getting file properties Date: Sat, 4 May 2013 17:42:30 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8f647a43306dc904dbeb5873 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:40436) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYkDy-0005f4-Ch for emacs-orgmode@gnu.org; Sat, 04 May 2013 17:42:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UYkDv-0002S1-WC for emacs-orgmode@gnu.org; Sat, 04 May 2013 17:42:34 -0400 Received: from mail-da0-x233.google.com ([2607:f8b0:400e:c00::233]:44750) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYkDv-0002Rv-O6 for emacs-orgmode@gnu.org; Sat, 04 May 2013 17:42:31 -0400 Received: by mail-da0-f51.google.com with SMTP id h15so1248520dan.10 for ; Sat, 04 May 2013 14:42:30 -0700 (PDT) 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 --e89a8f647a43306dc904dbeb5873 Content-Type: text/plain; charset=ISO-8859-1 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 --e89a8f647a43306dc904dbeb5873 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 th= is in emacs-lisp. I had hoped org-entry-get would do it, but it does not (i= t 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 comm= and (without writing the parsing code myself)? something like (org-entry-ge= t-keyword "ANDREWID").

I could not find anything like this in the property API (http://orgmode.org/manu= al/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
Pittsbu= rgh, PA 15213
412-268-7803
http://kitchingroup.cheme.cmu.edu

--e89a8f647a43306dc904dbeb5873--