From: "Eric Schulte" <schulte.eric@gmail.com>
To: vladimir@sirma.bg
Cc: emacs-orgmode@gnu.org
Subject: Re: RE: Re: org-babel-read should have option NOT to interpret as elisp
Date: Tue, 01 Mar 2011 09:58:17 -0700 [thread overview]
Message-ID: <87hbbm68n8.fsf@gmail.com> (raw)
In-Reply-To: 002e01cbd80a$f2fcd6c0$d8f68440$@bg
"Vladimir Alexiev" <vladimir@sirma.bg> 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.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
next prev parent reply other threads:[~2011-03-01 17:56 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-27 14:14 org-babel-read should have option NOT to interpret as elisp Vladimir Alexiev
2011-02-27 15:51 ` Eric Schulte
2011-02-27 23:28 ` Vladimir Alexiev
2011-02-27 23:44 ` Eric Schulte
2011-02-28 0:30 ` Vladimir Alexiev
2011-03-01 3:11 ` Eric Schulte
2011-03-01 12:19 ` Vladimir Alexiev
2011-03-01 16:58 ` Eric Schulte [this message]
2011-03-02 7:20 ` Vladimir Alexiev
2011-03-02 14:56 ` Eric Schulte
2011-02-28 10:07 ` Sébastien Vauban
2011-03-01 3:10 ` Eric Schulte
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=87hbbm68n8.fsf@gmail.com \
--to=schulte.eric@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=vladimir@sirma.bg \
/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).