From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: src code switches via properties Date: Sun, 20 Oct 2013 21:30:09 -0600 Message-ID: <8738nvuwqm.fsf@gmail.com> References: <87eh7fuwux.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38115) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VY6CN-0006Qd-9S for emacs-orgmode@gnu.org; Sun, 20 Oct 2013 23:30:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VY6CI-0004vP-Mp for emacs-orgmode@gnu.org; Sun, 20 Oct 2013 23:30:31 -0400 Received: from mail-pa0-x22c.google.com ([2607:f8b0:400e:c03::22c]:64504) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VY6CI-0004ti-EF for emacs-orgmode@gnu.org; Sun, 20 Oct 2013 23:30:26 -0400 Received: by mail-pa0-f44.google.com with SMTP id fb1so4513243pad.31 for ; Sun, 20 Oct 2013 20:30:25 -0700 (PDT) In-Reply-To: <87eh7fuwux.fsf@gmail.com> (Eric Schulte's message of "Sun, 20 Oct 2013 21:25:52 -0600") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: MGJT Cc: emacs-orgmode My apologies, I misread your email. Please disregard my previous response. Setting switches in the same way as header arguments is not (to my knowledge) possible. Switches are handled seperately from header arguments in org-src.el instead of ob-core.el. Best, Eric Schulte writes: > This is addressed by the following section of the manual. > > http://orgmode.org/manual/Using-header-arguments.html#Using-header-arguments > > (info "(org)Using header arguments") > > MGJT writes: > >> Dear all, >> >> >> Is there any way to specify src code switches, e.g. #+begin_src maxima +n >> -r, via a property for the subtree, as one can do for header arguments? >> >> I have taken a look at ob-core.el. I found that the function >> org-babel-params-from-properties makes use of the >> variable org-babel-common-header-args-w-values, which defines a list of >> only header arguments. (Org-mode version 8.0.5) >> >> If not via a property, any suggestion (perhaps an in-buffer setting)? >> >> Your help is much appreciated. >> >> >> Cheers, >> >> Manuel GJT -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D