emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Bug: org-babel-script-escape misses a lonely double quote [8.2.10 (8


From: Johan W . Klüwer
Subject: [O] Bug: org-babel-script-escape misses a lonely double quote [8.2.10 (8.2.10-23-g1ec416-elpaplus @ c:/Users/jowik/.emacs.d/elpa/org-plus-contrib-20141208/)]
Date: Thu, 11 Dec 2014 02:07:13 +0100

I encountered a problem with unmatched double quotes in an org-babel
table of results. Seems like the issue lies with escaped double quotes:

  (org-babel-script-escape "[[\"a\", \"b\\\"\"]]")

  returns error >  Invalid read syntax: "] in a list".

Adding the following after line 41 of org-babel-script-escape appears to
fix the problem.

  (92 (if in-single ; \
         (append (list 92 34 out))
      (setq in-double (not in-double)) (cons 92 out)))

We now get

  (org-babel-script-escape "[[\"a\", \"b\\\"\"]]")
  (("a" "b\""))


Johan

reply via email to

[Prev in Thread] Current Thread [Next in Thread]