Re: [O] Concatenating Org property values from parent subtrees

2018-10-01 Thread Kaushal Modi
On Mon, Oct 1, 2018 at 11:50 AM Ihor Radchenko wrote: > Hi, > > Check out the following code: > > > (defvar org-concatenated-properties '("AA") > "A list of property names (strings), which should be computed via > concatenation with the parent properties.") > > (define-advice

Re: [O] Concatenating Org property values from parent subtrees

2018-10-01 Thread Ihor Radchenko
Hi, Check out the following code: (defvar org-concatenated-properties '("AA") "A list of property names (strings), which should be computed via concatenation with the parent properties.") (define-advice org-entry-get (:around (oldfun pom property inherit literal-nil)

Re: [O] Concatenating Org property values from parent subtrees

2018-09-29 Thread Michael Welle
Hello, Michael Welle writes: [...] > (defun hmw/org-prop-append(prop value) > (save-excursion > (org-up-heading-safe) > (format "%s %s" value (cdr (assq prop >(car > (org-babel-params-from-properties))) > > (defalias 'A 'hmw/org-prop-append) and I

Re: [O] Concatenating Org property values from parent subtrees

2018-09-29 Thread Michael Welle
Hello, Kaushal Modi writes: > On Sat, Sep 29, 2018 at 2:39 PM Michael Welle 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

Re: [O] Concatenating Org property values from parent subtrees

2018-09-29 Thread Kaushal Modi
On Sat, Sep 29, 2018 at 2:39 PM Michael Welle 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

Re: [O] Concatenating Org property values from parent subtrees

2018-09-29 Thread Michael Welle
Hello, Kaushal Modi writes: > Hello, > > Is there a way to achieve something like below? See the content in each > nested subtree in the example below. I asked something similar earlier this year (concatenating compiler flags given as header-args property, used for linking against different

[O] Concatenating Org property values from parent subtrees

2018-09-26 Thread Kaushal Modi
Hello, Is there a way to achieve something like below? See the content in each nested subtree in the example below. #+title: Concatenating property values from parent subtrees * Section :PROPERTIES :EXPORT_XYZ: a :END: At this point, the value of XYZ property should be "a". ** Sub-section