From: Ihor Radchenko <yantar92@gmail.com>
To: emacs@vergauwen.me
Cc: Emacs Orgmode <emacs-orgmode@gnu.org>
Subject: Re: [Question]: Parsing attribute string
Date: Thu, 14 Jul 2022 18:53:40 +0800 [thread overview]
Message-ID: <87lesw2cej.fsf@localhost> (raw)
In-Reply-To: <N6w9l_s--3-2@vergauwen.me>
emacs--- via "General discussions about Org-mode."
<emacs-orgmode@gnu.org> writes:
> I have a quick question about parsing a string containing attributes.
> My string has the following form
> (setq my-string ":caption the caption :label fig-1 :width 10cm :something this is an extra option")
> I'm looking for a function which produces an alist or plist with the option value pair.
> (:caption "the caption"
> :label "fig-1"
> :width "10cm
> :something "this is an extra option")
org-babel-parse-header-arguments
next prev parent reply other threads:[~2022-07-14 10:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-14 10:04 [Question]: Parsing attribute string emacs--- via General discussions about Org-mode.
2022-07-14 10:53 ` Ihor Radchenko [this message]
[not found] ` <87lesw2cej.fsf@localhost-N6wKplb----2>
2022-07-14 11:13 ` emacs--- via General discussions about Org-mode.
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=87lesw2cej.fsf@localhost \
--to=yantar92@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=emacs@vergauwen.me \
/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).