From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: odd behavior for begin_src org :results Date: Fri, 03 May 2013 09:46:50 +0200 Message-ID: <86fvy4bj4l.fsf@somewhere.org> References: <87k3ni4ghj.fsf@gmail.com> <19624.1367445429@greg-minshalls-mbp.local> Mime-Version: 1.0 Content-Type: text/plain Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hello Greg, Greg Minshall wrote: > It appears that only *string* values are allowed for any :var that are > defined (i.e., ':var bar="foo"', and *not* ':var bar=3'). Confirmed. The following does not work. #+begin_src org :results drawer replace :var you=2 Hello $you #+end_src > since i'm not 100% sure of the semantics, maybe this is desired. I dunno either. Clearly, an error should not happen. OTOH, there is no concept of Org variable, so every variable here comes down to be implemented as a simple string replacement, hence the need for strings only, maybe. Best regards, Seb -- Sebastien Vauban