emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
To: Bastien <bzg@altern.org>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: BUG docu org-babel-default-header-args
Date: Fri, 05 Apr 2013 19:56:54 +0200	[thread overview]
Message-ID: <515F1066.2000306@easy-emacs.de> (raw)
In-Reply-To: <87txnkj2h4.fsf@bzg.ath.cx>

Am 05.04.2013 19:14, schrieb Bastien:
> Hi Andreas,
>
> Andreas Röhler <andreas.roehler@easy-emacs.de> writes:
>
>> http://orgmode.org/manual/System_002dwide-header-arguments.html#System_002dwide-header-arguments
>> Org Mode Info
>> System-wide header arguments
>> ............................
>>
>> System-wide values of header arguments can be specified by customizing
>> the `org-babel-default-header-args' variable:
>>
>> ;;;;;
>>
>> Seems not the case as in ob-core.el
>>
>> (defvar org-babel-default-header-args
>>
>> ;;;;;
>
> Not sure what you mean -- do you mean that saying "customizing" in the
> manual is not appropriate because `org-babel-default-header-args' is a
> variable (defvar) and not an option (defcustom)?
>
> Thanks for further clarification!
>

Hi Bastien,

customization needs a defcustom, not a defvar

(defvar org-babel-default-header-args
   '((:session . "none") (:results . "replace") (:exports . "code")
     (:cache . "no") (:noweb . "no") (:hlines . "no") (:tangle . "no")
     (:padnewline . "yes"))
   "Default arguments to use when evaluating a source block.")

This var user can't customize, as Info tells falsely.

Cheers,

Andreas

  reply	other threads:[~2013-04-05 17:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-27 10:58 BUG docu org-babel-default-header-args Andreas Röhler
2013-04-05 17:14 ` Bastien
2013-04-05 17:56   ` Andreas Röhler [this message]
2013-04-05 18:08     ` Bastien

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=515F1066.2000306@easy-emacs.de \
    --to=andreas.roehler@easy-emacs.de \
    --cc=bzg@altern.org \
    --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).