0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-08-24 18:32:52 +00:00
org-mode/doc
Nicolas Goaziou 42e1a6351d org-element: Allow to escape escaping character before a comma
* lisp/org-element.el (org-element-macro-parser): Allow to escape
  escaping character before a comma.  Also do not trim spaces at
  argument boundaries.
* doc/org.texi (Macro replacement): Update documentation about
  possible locations and escaping mechanism.
* testing/lisp/test-org-element.el: Add tests.

With this patch, macro's arguments are read as the following:

  "a,b"     -> '("a" "b")
  "a\,b"    -> '("a,b")
  "a\\,b"   -> '("a\" "b")
  "a\\\,b"  -> '("a\,b")
  "a\\\\,b" -> '(a"\\" "b")

Note that with the patch, you only need to escape backslashes before
a comma:

  "a\\b\,c" -> '("a\\b,c")
2013-03-23 20:42:34 +01:00
..
.aspell.org.conf Track support files useful in checking Org documentation. 2008-04-01 15:59:35 +02:00
.nosearch Add .nosearch file to the doc/ subdirectory. 2008-12-17 17:25:31 +01:00
dir Split out a number of files from org.el, and reorganize the 2008-03-28 09:57:14 +01:00
doclicense.texi Update copyright years. 2013-01-01 16:04:24 +01:00
Documentation_Standards.org Fix some typos 2009-11-15 10:04:23 +01:00
library-of-babel.org Move contrib/babel/langs/* into contrib/lisp/* 2013-03-06 17:43:33 +01:00
Makefile Rename utils/ to mk/, move some files to mk/ and make the requisite changes throughout 2012-08-26 15:27:19 +02:00
org.texi org-element: Allow to escape escaping character before a comma 2013-03-23 20:42:34 +01:00
orgcard.tex Various small fixes 2013-01-08 15:26:04 +01:00
orgguide.texi org.texi: Remove "Initial text" node 2013-02-24 00:46:46 +01:00
pdflayout.sty Update copyright years. 2013-01-01 16:04:24 +01:00
texinfo.tex Update copyright years. 2013-01-01 16:04:24 +01:00