emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jarmo Hurri <jarmo.hurri@iki.fi>
To: emacs-orgmode@gnu.org
Subject: Re: Babel: RESULTS for no value
Date: Mon, 09 Mar 2015 12:43:38 +0200	[thread overview]
Message-ID: <87bnk2tpr9.fsf@iki.fi> (raw)
In-Reply-To: alpine.OSX.2.00.1503071316310.984@charles-berrys-macbook.local


Greetings Charles.

"Charles C. Berry" <ccberry@ucsd.edu> writes:

>> To achieve this behaviour, I have set
>>
>> (defvar org-babel-default-header-args:processing
>>  '((:results . "html") (:exports . "results"))
>>  "Default arguments when evaluating a Processing source block.")
>
> I think you can replace
>
> : (:results . "html")
>
> with
>
> : (:results . (or (and org-export-current-backend "html")  "none"))
>
> in your defvar and get the desired result.

Yes indeed, brilliant. Not being familiar with all the internals it was
difficult for me to know what to check and when the test can be
evaluated.

Thanks!

Jarmo

      reply	other threads:[~2015-03-09 10:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-07 11:40 Babel: RESULTS for no value Jarmo Hurri
2015-03-07 14:26 ` Aaron Ecay
2015-03-07 17:36   ` Jarmo Hurri
2015-03-07 21:53     ` Charles C. Berry
2015-03-09 10:43       ` Jarmo Hurri [this message]

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=87bnk2tpr9.fsf@iki.fi \
    --to=jarmo.hurri@iki.fi \
    --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).