From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Vladimir Alexiev" Subject: RE: Re: org-babel-read should have option NOT to interpret as elisp Date: Tue, 1 Mar 2011 14:19:44 +0200 Message-ID: <002e01cbd80a$f2fcd6c0$d8f68440$@bg> References: <877hclbgxz.fsf@gmail.com> <87hbbpyrde.fsf@gmail.com> <87vd037c4r.fsf@gmail.com> Reply-To: vladimir@sirma.bg Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=59584 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PuOWX-000869-8L for emacs-orgmode@gnu.org; Tue, 01 Mar 2011 07:17:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PuOWW-0003HH-0n for emacs-orgmode@gnu.org; Tue, 01 Mar 2011 07:17:53 -0500 Received: from pmx.sirma.bg ([62.213.161.134]:26868) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PuOWV-0003G0-K9 for emacs-orgmode@gnu.org; Tue, 01 Mar 2011 07:17:51 -0500 Received: from pmx.sirma.bg (localhost [127.0.0.1]) by pmx.sirma.bg (Sirma mail system) with ESMTP id 0D46A24015 for ; Tue, 1 Mar 2011 14:17:48 +0200 (EET) Received: from vlado (unknown [192.168.129.111]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client did not present a certificate) by pmx.sirma.bg (Sirma mail system) with ESMTP id 0491924002 for ; Tue, 1 Mar 2011 14:17:48 +0200 (EET) In-Reply-To: <87vd037c4r.fsf@gmail.com> Content-Language: en-us 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: emacs-orgmode@gnu.org > 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? And most importantly, document all of this in "(org)var". Here is a merged dscription: 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)