org-mode/testing/lisp
Nicolas Goaziou b6fce5c90b ox: Prune parse tree before calling tree filter
* lisp/ox.el (org-export-collect-tree-properties): Do not
  set :ignore-list.
(org-export--populate-ignore-list): Remove function.
(org-export--selected-trees): Small refactoring.
(org-export-prune-tree): New function.
(org-export-remove-uninterpreted-data): Fix docstring.
(org-export-as): Prune tree before calling tree filter.

* testing/lisp/test-ox.el (org-test-with-parsed-data): Fix macro.

This patch introduces two changes in the export process:

  1. Non-exported elements are removed from the tree instead of being
     moved into an ignore list (with the exceptions of tables rows
     and cells)

  2. Parse tree filter is called on the tree being exported, not the
     original one.

Reported-by: Eric S Fraga <e.fraga@ucl.ac.uk>
<http://permalink.gmane.org/gmane.emacs.orgmode/94162>
2015-01-23 23:59:23 +01:00
..
test-ob-awk.el awk code blocks handle tabular input 2014-06-07 11:16:55 -04:00
test-ob-C.el Babel C, C++, D support for non-homogeneous input tables 2014-06-08 19:20:16 -04:00
test-ob-emacs-lisp.el Update copyright years again. 2014-01-07 14:18:17 +01:00
test-ob-exp.el test: Fixes for running tests interactively. 2015-01-22 01:52:49 -05:00
test-ob-fortran.el Update copyright years again. 2014-01-07 14:18:17 +01:00
test-ob-header-arg-defaults.el Update copyright years again. 2014-01-07 14:18:17 +01:00
test-ob-lilypond.el ob-lilypond: Code cleanup 2014-08-20 22:24:01 +02:00
test-ob-lob.el test: Fixes for running tests interactively. 2015-01-22 01:52:49 -05:00
test-ob-maxima.el Update copyright years again. 2014-01-07 14:18:17 +01:00
test-ob-octave.el Update copyright years again. 2014-01-07 14:18:17 +01:00
test-ob-perl.el Update copyright years again. 2014-01-07 14:18:17 +01:00
test-ob-python.el Update copyright years again. 2014-01-07 14:18:17 +01:00
test-ob-R.el Update copyright years again. 2014-01-07 14:18:17 +01:00
test-ob-ruby.el ob-ruby: clean up the session code some more and work around an I/O sync problem in comint 2014-09-21 17:59:49 +02:00
test-ob-shell.el ob-shell.el: export vars as arrays for 'sh' code blocks 2014-04-14 21:24:00 -06:00
test-ob-table.el Update copyright years again. 2014-01-07 14:18:17 +01:00
test-ob-tangle.el Update copyright years again. 2014-01-07 14:18:17 +01:00
test-ob.el babel: fix up org-babel-script-escape 2015-01-23 14:36:40 -05:00
test-org-clock.el test-org-clocktable: fix batch testing 2015-01-05 20:20:07 +01:00
test-org-element.el test: Fixes for running tests interactively. 2015-01-22 01:52:49 -05:00
test-org-footnote.el Update copyright years again. 2014-01-07 14:18:17 +01:00
test-org-list.el ox-html.el: Trim list items 2014-12-20 23:32:44 +01:00
test-org-macro.el macro: Implement argument extracting and escaping functions 2015-01-21 00:27:24 +01:00
test-org-src.el test-org-src: Fix failing tests 2015-01-23 00:24:29 +01:00
test-org-table.el org-table: Ignore filters and hooks in radio tables 2015-01-05 12:39:26 +01:00
test-org-timer.el test: Fixes for running tests interactively. 2015-01-22 01:52:49 -05:00
test-org.el Fix `org-read-date-prefer-future' when rescheduling 2015-01-06 23:19:42 +01:00
test-ox.el ox: Prune parse tree before calling tree filter 2015-01-23 23:59:23 +01:00
test-property-inheritance.el Update copyright years again. 2014-01-07 14:18:17 +01:00