emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: emacs--- via "General discussions about Org-mode." <emacs-orgmode@gnu.org>
To: Ihor Radchenko <yantar92@gmail.com>
Cc: Emacs Orgmode <emacs-orgmode@gnu.org>
Subject: Re: [Question]: Parsing attribute string
Date: Thu, 14 Jul 2022 13:13:00 +0200 (CEST)	[thread overview]
Message-ID: <N6wPMqr--3-2@vergauwen.me> (raw)
In-Reply-To: <87lesw2cej.fsf@localhost-N6wKplb----2>

[-- Attachment #1: Type: text/plain, Size: 705 bytes --]

Thank Ihor, this did the trick! 
 Sent with Tutanota, enjoy secure & ad-free emails. 

Jul 14, 2022, 12:53 by yantar92@gmail.com:

> 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

[-- Attachment #2: Type: text/html, Size: 1253 bytes --]

      parent reply	other threads:[~2022-07-14 11:13 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
     [not found] ` <87lesw2cej.fsf@localhost-N6wKplb----2>
2022-07-14 11:13   ` emacs--- via General discussions about Org-mode. [this message]

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:

  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=N6wPMqr--3-2@vergauwen.me \
    --to=emacs-orgmode@gnu.org \
    --cc=emacs@vergauwen.me \
    --cc=yantar92@gmail.com \


* 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


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).