org-mode/testing/lisp
Nicolas Goaziou baed7dc7db org-element: Optimize affiliated keywords parsing
* lisp/org-element.el (org-element-center-block-parser,
  org-element-drawer-parser, org-element-dynamic-block-parser,
  org-element-footnote-definition-parser,
  org-element-plain-list-parser, org-element-quote-block-parser,
  org-element-special-block-parser, org-element-babel-call-parser,
  org-element-comment-parser, org-element-comment-block-parser,
  org-element-example-block-parser, org-element-export-block-parser,
  org-element-fixed-width-parser, org-element-horizontal-rule-parser,
  org-element-keyword-parser, org-element-latex-environment-parser,
  org-element-paragraph-parser, org-element-property-drawer-parser,
  org-element-src-block-parser, org-element-table-parser,
  org-element-verse-block-parser): Change signature. Now use an
  additional argument: affiliated.
(org-element--current-element): Skip affiliated keywords and pass them
  as an argument to parsers.  It prevents to walk through these
  keywords twice: the first time to get to the first line of the
  element, and a second time to collect the affiliated keywords.
* contrib/lisp/org-export.el (org-export-get-caption): Update function
  since multiple affiliated keywords are now reversed.
* testing/lisp/test-org-element.el: Update tests.
2012-09-20 20:08:16 +02:00
..
test-ob-C.el Fix the master branch. 2012-03-19 22:01:29 +01:00
test-ob-R.el Fix the master branch. 2012-03-19 22:01:29 +01:00
test-ob-awk.el Fix the master branch. 2012-03-19 22:01:29 +01:00
test-ob-emacs-lisp.el Fix the master branch. 2012-03-19 22:01:29 +01:00
test-ob-exp.el testing export of inline src blocks 2012-09-15 10:19:55 -06:00
test-ob-fortran.el Fix the master branch. 2012-03-19 22:01:29 +01:00
test-ob-lilypond.el test-ob-lilypond.el: Whitespace cleanup. 2012-03-21 15:27:23 +01:00
test-ob-lob.el Fix the master branch. 2012-03-19 22:01:29 +01:00
test-ob-maxima.el Fix the master branch. 2012-03-19 22:01:29 +01:00
test-ob-octave.el Fix the master branch. 2012-03-19 22:01:29 +01:00
test-ob-python.el Fix the master branch. 2012-03-19 22:01:29 +01:00
test-ob-sh.el Don't load test-ob-sh when no "sh" executable 2012-08-03 13:34:10 -06:00
test-ob-table.el Fix the master branch. 2012-03-19 22:01:29 +01:00
test-ob-tangle.el Fix the master branch. 2012-03-19 22:01:29 +01:00
test-ob.el testing/: Update two tests 2012-08-20 14:24:14 +02:00
test-org-element.el org-element: Optimize affiliated keywords parsing 2012-09-20 20:08:16 +02:00
test-org-exp.el Fix the master branch. 2012-03-19 22:01:29 +01:00
test-org-export.el org-element: Allow multiple caption keywords 2012-09-13 17:33:46 +02:00
test-org-footnote.el org-footnote: Fix bug related to sorting and folded view 2012-04-08 12:01:57 +02:00
test-org-html.el Fix the master branch. 2012-03-19 22:01:29 +01:00
test-org-list.el org-list: Fix list type with mixed constructs 2012-08-18 09:30:33 +02:00
test-org-table.el Fix the master branch. 2012-03-19 22:01:29 +01:00
test-org.el Implement a basic API around macros 2012-09-01 10:56:00 +02:00
test-property-inheritance.el Fix the master branch. 2012-03-19 22:01:29 +01:00