emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kaushal Modi <kaushal.modi@gmail.com>
To: mwe012008@gmx.net
Cc: emacs-org list <emacs-orgmode@gnu.org>
Subject: Re: Concatenating Org property values from parent subtrees
Date: Sat, 29 Sep 2018 15:01:26 -0400	[thread overview]
Message-ID: <CAFyQvY3ZQ2GtxoHuR_te4iO0wWSQUeWUCbS1ofLfMnYrFjXhvg@mail.gmail.com> (raw)
In-Reply-To: <87k1n46tdw.fsf@luisa.c0t0d0s0.de>

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

On Sat, Sep 29, 2018 at 2:39 PM Michael Welle <mwe012008@gmx.net> wrote:

>
> I asked something similar earlier this year (concatenating compiler
> flags given as header-args property, used for linking against different
> libs in different sections of the Org file). I ended with a function
> that grabs the current property value and returns the value concatenated
> with new value. That function can be used as a 'property value'. That's
> not a nice and bullet proof solution, but works good enough to me to
> generate the solutions to the psets for the lecture.
>

Please share it if you don't mind. I plan to use it or its derivative in
ox-hugo. The property is planned to be a path property, and with nested
property values of "a","b" and "c", which I want to parse as "a/b/c".

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

  reply	other threads:[~2018-09-29 19:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-26 22:57 Concatenating Org property values from parent subtrees Kaushal Modi
2018-09-29 18:38 ` Michael Welle
2018-09-29 19:01   ` Kaushal Modi [this message]
2018-09-29 19:23     ` Michael Welle
2018-09-29 19:26       ` Michael Welle
2018-10-01 15:47         ` Ihor Radchenko
2018-10-01 21:00           ` Kaushal Modi

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=CAFyQvY3ZQ2GtxoHuR_te4iO0wWSQUeWUCbS1ofLfMnYrFjXhvg@mail.gmail.com \
    --to=kaushal.modi@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mwe012008@gmx.net \
    /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).