From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: RE: Re: org-babel-read should have option NOT to interpret as elisp Date: Tue, 01 Mar 2011 09:58:17 -0700 Message-ID: <87hbbm68n8.fsf@gmail.com> References: <877hclbgxz.fsf@gmail.com> <87hbbpyrde.fsf@gmail.com> <87vd037c4r.fsf@gmail.com> <002e01cbd80a$f2fcd6c0$d8f68440$@bg> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=53836 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PuTnn-0007Rm-Di for emacs-orgmode@gnu.org; Tue, 01 Mar 2011 12:56:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PuTnl-0001bb-LG for emacs-orgmode@gnu.org; Tue, 01 Mar 2011 12:56:02 -0500 Received: from mail-gy0-f169.google.com ([209.85.160.169]:52051) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PuTnl-0001bO-Fv for emacs-orgmode@gnu.org; Tue, 01 Mar 2011 12:56:01 -0500 Received: by gyb13 with SMTP id 13so2608475gyb.0 for ; Tue, 01 Mar 2011 09:56:00 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: vladimir@sirma.bg Cc: emacs-orgmode@gnu.org "Vladimir Alexiev" 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