From: John Kitchin <jkitchin@andrew.cmu.edu>
To: Martin <kleinerdrache@gmx.at>
Cc: Org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: parse #+MYVAR?
Date: Wed, 2 Apr 2014 21:37:33 -0400 [thread overview]
Message-ID: <CAJ51ETppjhidCLdU1=Dm+=x08nmY4kU+c8Rg7JdG4UE+oMmN8g@mail.gmail.com> (raw)
In-Reply-To: <87ha6ckour.fsf@gmx.at>
[-- Attachment #1: Type: text/plain, Size: 978 bytes --]
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 <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
> "foo" which differs in my buffers, this is an identifyer of the special
> org file.
>
> How can I do that?
>
> Thanks,
> Martin
>
>
[-- Attachment #2: Type: text/html, Size: 1598 bytes --]
next prev parent reply other threads:[~2014-04-03 1:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-02 10:27 parse #+MYVAR? Martin
2014-04-03 1:37 ` John Kitchin [this message]
2014-04-03 6:28 ` Martin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAJ51ETppjhidCLdU1=Dm+=x08nmY4kU+c8Rg7JdG4UE+oMmN8g@mail.gmail.com' \
--to=jkitchin@andrew.cmu.edu \
--cc=emacs-orgmode@gnu.org \
--cc=kleinerdrache@gmx.at \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).