From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: parse #+MYVAR? Date: Wed, 2 Apr 2014 21:37:33 -0400 Message-ID: References: <87ha6ckour.fsf@gmx.at> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b5d856df33bcc04f61971de Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56691) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WVWb2-0004rj-KW for emacs-orgmode@gnu.org; Wed, 02 Apr 2014 21:37:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WVWb1-0003hG-AQ for emacs-orgmode@gnu.org; Wed, 02 Apr 2014 21:37:36 -0400 Received: from mail-pa0-x234.google.com ([2607:f8b0:400e:c03::234]:58029) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WVWb1-0003hC-3n for emacs-orgmode@gnu.org; Wed, 02 Apr 2014 21:37:35 -0400 Received: by mail-pa0-f52.google.com with SMTP id rd3so1036654pab.39 for ; Wed, 02 Apr 2014 18:37:33 -0700 (PDT) In-Reply-To: <87ha6ckour.fsf@gmx.at> 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: Martin Cc: Org-mode mailing list --047d7b5d856df33bcc04f61971de Content-Type: text/plain; charset=ISO-8859-1 maybe this post: http://kitchingroup.cheme.cmu.edu/blog/2013/05/05/Getting-keyword-options-in-org-files/is close what you are looking for. you have to figure out how to go through all the buffers,but the code here should do the parsing for you. 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 On Wed, Apr 2, 2014 at 6:27 AM, Martin wrote: > Hi there, > > I'd like to extend org-mode and its a bit hard to find all the > functions, but I don't like to redefine the wheel. > > I have some special buffers for my case, and I'd like to mark them with > #+MYSPECIAL foo > > so later I'd like to find all buffers having MYSPECIAL set and get the > "foo" which differs in my buffers, this is an identifyer of the special > org file. > > How can I do that? > > Thanks, > Martin > > --047d7b5d856df33bcc04f61971de Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
maybe this post: http://kitchingr= oup.cheme.cmu.edu/blog/2013/05/05/Getting-keyword-options-in-org-files/= is close what you are looking for. you have to figure out how to go throug= h all the buffers,but the code here should do the parsing for you.

John

-------= ----------------------------
John Kitchin
Associate Professor
Dohe= rty Hall A207F
Department of Chemical Engineering
Carnegie Mellon Uni= versity
Pittsburgh, PA 15213
412-268-7803
http://kitchingroup.cheme.cmu.edu

<= /div>

On Wed, Apr 2, 2014 at 6:27 AM, Martin <= span dir=3D"ltr"><kleinerdrache@gmx.at> wrote:
Hi there,

I'd like to extend org-mode and its a bit hard to find all the
functions, but I don't like to redefine the wheel.

I have some special buffers for my case, and I'd like to mark them with=
#+MYSPECIAL foo

so later I'd like to find all buffers having MYSPECIAL set and get the<= br> "foo" which differs in my buffers, this is an identifyer of the s= pecial
org file.

How can I do that?

Thanks,
Martin


--047d7b5d856df33bcc04f61971de--