[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] RE: [Orgmode] Re: org-babel-read should have option NOT to inter
From: |
Eric Schulte |
Subject: |
Re: [O] RE: [Orgmode] Re: org-babel-read should have option NOT to interpret as elisp |
Date: |
Tue, 01 Mar 2011 09:58:17 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
"Vladimir Alexiev" <address@hidden> writes:
>> I've applied the patch
>> attached to my previous email and unless there is a real push-back ...
>
> Could you add handling of quoted strings?
I believe quoted strings are already handled, e.g.,
#+results: elisp-looking-table
| 1 | (a b c) |
| 2 | "(a b c)" |
#+headers: :var without=elisp-looking-table[0,1]
#+headers: :var with=elisp-looking-table[1,1]
#+begin_src perl
$with, $without
#+end_src
#+results:
: "(a b c)"
: (a b c)
>
> And most importantly, document all of this in "(org)var". Here is a
> merged dscription:
>
Thanks for the reminder, I have updated the documentation.
Best -- Eric
>
> If a value starts with one of ('` it is read as an emacs lisp sexp.
> If it starts with " then it's read as a quoted string: start/end
> quotes are stripped, \" and \\ are unescaped (this is useful for
> embedding leading/trailing whitespace in strings). If it looks like a
> number, it's read as a number. Else it's read as a literal string,
> without any quotation or escaping. (Please note that | in tables is
> always interpreted as column separator and currently there is no way
> to quote it)
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode