Implement new entity family "\...."
commit22f942b4812d4c499738c0faae4d37180a64375b
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Sun, 22 Mar 2015 00:40:17 +0000 (22 01:40 +0100)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Sun, 22 Mar 2015 08:55:20 +0000 (22 09:55 +0100)
treeca70d666621e85f6e0e50e0a1480a572c944a82a
parent4cc8ead4d8a6ebde959c827f530753ac48f29b32
Implement new entity family "\...."

* lisp/org-element.el (org-element--set-regexps):
(org-element-entity-parser): Update regexps for entities.

* lisp/org-entities.el (org-entities): Add new entities.

* lisp/org.el (org-fontify-entities): Add comment.

* etc/ORG-NEWS (title): Introduce new entities.

"\..." are used to insert an arbitrary number of spaces in various
back-ends.  In particular, this family can be used to introduce
leading spaces within table cells.

Also, unlike to other entities, these can be used mid-word, e.g.,

  wo\....rd

Curly brackets can still be added before a dot, e.g.,

  This is the end\...{}.
etc/ORG-NEWS
lisp/org-element.el
lisp/org-entities.el
lisp/org.el