emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Michael Welle <mwe012008@gmx.net>
To: emacs-orgmode@gnu.org
Subject: Re: Concatenating header args
Date: Wed, 07 Mar 2018 08:45:13 +0100	[thread overview]
Message-ID: <871sgwjpme.fsf@luisa.c0t0d0s0.de> (raw)
In-Reply-To: <CAJ51ETqtT2yr9Q_6xdrUBJicSkRm4pBFNrOwJzym9rR6JL31uw@mail.gmail.com> (John Kitchin's message of "Tue, 6 Mar 2018 07:31:54 -0800")

Hello,

John Kitchin <jkitchin@andrew.cmu.edu> writes:

> I am pretty sure this isn't possible. The headers get overridden by the
> most local settings. There isn't a way to concatenate them. In some cases
> there isn't a way to figure out what you want, e.g. if a heading property
> said ":tangle no" and your header said ":tangle yes" it would not make
> sense to concatenate these to ":tangle no yes".
hm, I could think of a special syntax, like :tangle results in the
current behaviour and :+table concats values. That way it's up to the
user to express what she wants.


> I think you have to add -Wall to the src header.
Hm, the property values can be functions that get evaluated to get the
actual property values, can't it? I'm not sure though if something like
:flags (get-em "flags" '("-more" "-values")) is so much nicer to write.
Maybe it is, esp. if you want to change the base flags for a ton of
items. Today is teaching tuesday (even if it's wednesday ;)), so I'm a
bit short on time. But I will try that approach later this week and see
where that leads to.

Thanks
hmw

  reply	other threads:[~2018-03-07  7:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-06  9:25 Concatenating header args Michael Welle
2018-03-06 15:31 ` John Kitchin
2018-03-07  7:45   ` Michael Welle [this message]
2018-03-08  9:55     ` Michael Welle

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=871sgwjpme.fsf@luisa.c0t0d0s0.de \
    --to=mwe012008@gmx.net \
    --cc=emacs-orgmode@gnu.org \
    /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).