[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] properties using other properties

From: Ihor Radchenko
Subject: Re: [O] properties using other properties
Date: Thu, 25 Jan 2018 08:19:08 +0800

I recommend looking into org-edna
You can try to use "has-property" in combination with "set-property" as

Alternatively, you can customize org-property-changed-functions (see
and reimplement org-edna functionality for your purposes.


cpb <address@hidden> writes:

> Is there a way to set properties using other properties?  Doesn't matter
> if its on export only, though it would be nice to have it in-situ.
> here's an example (obviously doesn't work), where a project properties
> for the project client only needs the CLIENT property filled, the rest
> of it automatically populates on export.  Would save having to duplicate
> the data where there are a lot of projects.
> * client1
>     :CUSTOM_ID:        client1
>     :NAME:             a client
>     :ADDRESS:          an address
>     :EMAIL:            an email
>     :URL:              a website
>     :END:
> * project1
>     :CUSTOM_ID:        project1
>     :NAME:             a project
>     :CLIENT:           client1
>     :CLIENT_NAME:      {{{property(NAME,#{{{property(CLIENT)}}})}}}
>     :CLIENT_ADDRESS:   {{{property(ADDRESS,#{{{property(CLIENT)}}})}}}
>     :CLIENT_EMAIL:     {{{property(EMAIL,#{{{property(CLIENT)}}})}}}
>     :EXPORT_FILE_NAME: ./a_project
>     :END:
>     project....: {{{property(NAME)}}}
>     for........: {{{property(CLIENT)}}}
>                  {{{property(CLIENT_ADDRESS)}}}
>                  {{{property(CLIENT_EMAIL)}}}

Ihor Radchenko,
PhD Student
Singapore University of Technology and Design,
8 Somapah Road Singapore 487372
Email: address@hidden, address@hidden
Tel: +6584017977

Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]