emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tobias Zawada <i_inbox@tn-home.de>
To: emacs-orgmode@gnu.org, Rasmus <rasmus@gmx.us>
Subject: Re: Enhancement: Changing default setting of source block header line switches [9.0.5 (9.0.5-elpa @ /home/naehring/.emacs.d/elpa/org-20170210/)]
Date: Thu, 6 Jul 2017 09:33:16 +0200 (CEST)	[thread overview]
Message-ID: <60629260.59456.1499326396572@email.1und1.de> (raw)
In-Reply-To: <87o9sy9hdc.fsf@gmx.us>

Dear Rasmus,

thanks for the fast reply.
> Rasmus <rasmus@gmx.us> wrote on July, 6th 2017, 09:03:
> 
> Tobias Zawada <i@tn-home.de> writes:
> 
> > At first I would like to ask whether it is already possible to change
> > the default settings of the source block header line switches.
> 
> Couldn't you use #+property headers?
> E.g.
> 
> #+PROPERTY: header-args:R :session *R*
> 
> See:
> 
> http://orgmode.org/org.html#Using-header-arguments

No, switches and header arguments are (pityingly) two different concepts.

Currently, switches cannot be modified via header arguments.

But, you are partially right, It could be one solution of this enhancement request to introduce header-arguments for all switches, e.g., :sw-n, :sw+n. The values of those header arguments could be t and nil or, e.g., :sw+n 10.
Then the full mechanism for header arguments would work for switches.

See the description of switches at http://orgmode.org/manual/Literal-examples.html.

Best regards,
Tobias

  reply	other threads:[~2017-07-06  7:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-06  6:12 Enhancement: Changing default setting of source block header line switches [9.0.5 (9.0.5-elpa @ /home/naehring/.emacs.d/elpa/org-20170210/)] Tobias Zawada
2017-07-06  7:03 ` Rasmus
2017-07-06  7:33   ` Tobias Zawada [this message]
2017-08-28  8:12 ` Nicolas Goaziou

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=60629260.59456.1499326396572@email.1und1.de \
    --to=i_inbox@tn-home.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=rasmus@gmx.us \
    /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).