org-element: Store fixed-with and comment contents without markers
commitf4791557e2a1e10f6a8aaadfb94b93372a70e969
authorNicolas Goaziou <n.goaziou@gmail.com>
Wed, 2 May 2012 15:18:14 +0000 (2 17:18 +0200)
committerNicolas Goaziou <n.goaziou@gmail.com>
Wed, 2 May 2012 15:25:30 +0000 (2 17:25 +0200)
tree5f606c4406ffe457586e33c77fa6746cabf47311
parent3c3402849797d1e67b19ffecb34c210b1753a8a2
org-element: Store fixed-with and comment contents without markers

* contrib/lisp/org-element.el (org-element-comment-parser): Store
  comments without leading hash and maybe plus sign.
(org-element-fixed-width-parser): Store fixed-width contents without
leading colons.
(org-element-comment-interpreter,
org-element-fixed-width-interpreter): Apply changes.
* contrib/lisp/org-e-odt.el (org-e-odt-fixed-width): Apply changes to
  fixed-width `:value' property.
* contrib/lisp/org-e-latex.el (org-e-latex-fixed-width): Apply changes
  to fixed-width `:value' property.
* contrib/lisp/org-e-html.el (org-e-html-fixed-width): Apply changes
  to fixed-width `:value' property.
* contrib/lisp/org-e-ascii.el (org-e-ascii-fixed-width): Apply changes
  to fixed-width `:value' property.
* testing/lisp/test-org-element.el: Add tests.
contrib/lisp/org-e-ascii.el
contrib/lisp/org-e-html.el
contrib/lisp/org-e-latex.el
contrib/lisp/org-e-odt.el
contrib/lisp/org-element.el
testing/lisp/test-org-element.el