emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Sebastien Vauban <wxhgmqzgwmuf@spammotel.com>
Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org
Subject: Re: [babel] Loosing my latin...
Date: Thu, 24 Nov 2011 11:27:57 -0500	[thread overview]
Message-ID: <30098.1322152077@alphaville.dokosmarshall.org> (raw)
In-Reply-To: Message from "Sebastien Vauban" <wxhgmqzgwmuf@spammotel.com> of "Thu, 24 Nov 2011 16:42:29 +0100." <80bos15xy2.fsf@somewhere.org>

Sebastien Vauban <wxhgmqzgwmuf@spammotel.com> wrote:

> Hello,
> 
> While this code block gets evaluated as expected...
> 
> #+begin_src emacs-lisp :var foo=11 bar=22
>   (+ foo bar)
> #+end_src
> 
> #+results:
> : 33
> 
> It's not the same with the 2 following ones: variables `bar' and `baz' are
> said to be void.
> 
> ** NOK With property
> 
> #+property: var bar=44
> #+begin_src emacs-lisp
>   (+ bar bar)
> #+end_src
> 

This one worked after C-c C-c on the property line.

> ** NOK With headers
> 
> 
> #+begin_src emacs-lisp
>   (+ baz baz)
> #+end_src
> 

This one didn't - but it worked like this:

#+headers: :var baz=55

even with a singular "header" - doing this in a hurry, so I'm not sure
if that's an accident of history left behind, or whether it would happen
in a fresh session as well.

Nick

> Am I missing something really obvious??[1]
> 
> Best regards,
>   Seb
> 
> Footnotes:
> 
> [1] Org-mode version 7.7 (release_7.7.600.gb331.dirty), up-to-date at the time
> of writing this.
> 
> -- 
> Sebastien Vauban
> 
> 

  reply	other threads:[~2011-11-24 16:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-24 15:42 [babel] Loosing my latin Sebastien Vauban
2011-11-24 16:27 ` Nick Dokos [this message]
2011-11-24 20:18   ` Sebastien Vauban
2011-11-25  7:33     ` Nick Dokos

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=30098.1322152077@alphaville.dokosmarshall.org \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=wxhgmqzgwmuf@spammotel.com \
    /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).