org-export: Remove `:genealogy', introduce `:ignore-list'
commit620f1d5181fcd831544fca6ba39618bc0d9021b8
authorNicolas Goaziou <n.goaziou@gmail.com>
Wed, 22 Feb 2012 16:35:52 +0000 (22 17:35 +0100)
committerNicolas Goaziou <n.goaziou@gmail.com>
Wed, 22 Feb 2012 17:19:09 +0000 (22 18:19 +0100)
tree81d24a6065144bcc2d2541eab06b247955fddb98
parentbfd31d7268a56ef7b61b07965eb40208a5a72ab4
org-export: Remove `:genealogy', introduce `:ignore-list'

* EXPERIMENTAL/org-e-ascii.el (org-e-ascii--current-text-width,
  org-e-ascii-item, org-e-ascii-paragraph): Apply `:genealogy' removal.
* EXPERIMENTAL/org-e-latex.el (org-e-latex-item): Apply `:genealogy'
  removal.
* contrib/lisp/org-element.el (org-element-map): Do not compile
  genealogy.  Also use `:ignore-list' when possible.
* contrib/lisp/org-export.el (org-export-collect-tree-properties):
  Populate `:ignore-list' before starting to transcode each element in
  subtree.
(org-export-get-min-level): Use `:ignore-list'.
(org-export--skip-p): Renamed from `org-export-skip-p'.  This is now
an internal function.
(org-export-data): Use and update `:ignore-list'.  Do not update
genealogy.
(org-export-ignore-element): New function
(org-export-last-sibling-p): Small refactoring.
(org-export-resolve-fuzzy-link): Apply `:genealogy' removal.
(org-export-get-genealogy): Use a more efficient algorithm.

The equivalent of (plist-get info :genealogy) is
now (org-export-get-genealogy blob info), blob being any element or
object.
EXPERIMENTAL/org-e-ascii.el
EXPERIMENTAL/org-e-latex.el
contrib/lisp/org-element.el
contrib/lisp/org-export.el