org-mode/contrib/lisp
Nicolas Goaziou 54318add34 Change export block syntax
* lisp/org-element.el (org-element-export-block-parser):
(org-element--current-element): Use new syntax for export blocks.
(org-element-block-name-alist): Remove.

* lisp/ox.el (org-export-register-backend):
(org-export-define-derived-backend): Remove :export-block keyword from
back-end's definition.
(org-export-expand-include-keyword): Use new syntax for include
keywords.

* lisp/ox-ascii.el (ascii):
* lisp/ox-beamer.el (beamer):
* lisp/ox-html.el (html):
* lisp/ox-latex.el (latex):
(org-latex-prefer-user-labels):
* lisp/ox-man.el (man):
* lisp/ox-md.el (md):
* lisp/ox-odt.el (odt):
* lisp/ox-texinfo.el (texinfo): Propagate changes to "ox.el".

* lisp/ob-core.el (org-babel-insert-result):
* lisp/ob-haskell.el (org-babel-haskell-export-to-lhs): Use new syntax.

* lisp/org.el (org-structure-template-alist): Use new syntax.
(org-protecting-blocks): Add "export" to protected blocks.  Remove
  back-ends blocks, which are now special blocks.
(org-fontify-meta-lines-and-blocks-1): Fontify correctly new blocks.

* lisp/org-footnote.el (org-footnote-forbidden-blocks):
* lisp/org-list.el (org-list-forbidden-blocks): Add "export" to
  forbidden blocks.  Remove back-ends blocks, which are now special
  blocks.

* contrib/lisp/ox-extra.el: Update comments.

* testing/lisp/test-org-element.el (test-org-element/export-block-parser):
(test-org-element/export-block-interpreter):
* testing/lisp/test-ob.el (test-ob/org-babel-remove-result--results-html):
(test-ob/org-babel-remove-result--results-latex):
* testing/lisp/test-ox.el (test-org-export/expand-include): Update tests.

Export blocks are explicitly marked as such at the syntax level to
disambiguate their parsing from special blocks.  The new syntax is

  #+BEGIN_EXPORT backend
  ...
  #+END_EXPORT

instead of

  #+BEGIN_backend
  ...
  #+END_backend

As a consequence, =INCLUDE= keywords syntax is modified, e.g.,

  #+INCLUDE: "file.org" HTML

becomes

  #+INCLUDE: "file.org" export html
2015-12-20 21:56:27 +01:00
..
htmlize.el Revert "Update copyright years." 2014-01-05 06:28:07 +01:00
ob-eukleides.el contrib: Fix error messages. 2015-01-26 02:54:17 -05:00
ob-fomus.el Update copyright years again. 2014-01-07 14:18:17 +01:00
ob-julia.el contrib: move a few libraries to cl-lib in place of compile-time cl. 2015-11-06 12:50:41 +00:00
ob-mathematica.el Add org-babel functions for Mathematica language 2015-03-05 18:56:16 +08:00
ob-mathomatic.el Update copyright years again. 2014-01-07 14:18:17 +01:00
ob-oz.el contrib: Fix error messages. 2015-01-26 02:54:17 -05:00
ob-stata.el contrib: move a few libraries to cl-lib in place of compile-time cl. 2015-11-06 12:50:41 +00:00
ob-tcl.el contrib: Fix error messages. 2015-01-26 02:54:17 -05:00
org-annotate-file.el contrib/lisp/org-annotate-file.el: Create a customization group and convert `defvar' customization variables to `defcustom' 2014-05-09 22:22:10 +09:00
org-bibtex-extras.el rm dependency of ox-bibtex on org-bibtex-extras 2014-06-25 12:43:33 -04:00
org-bookmark.el Update copyright years again. 2014-01-07 14:18:17 +01:00
org-bullets.el Fix broken org-bullets. 2013-03-15 22:23:00 -04:00
org-checklist.el Update copyright years again. 2014-01-07 14:18:17 +01:00
org-choose.el Update copyright years again. 2014-01-07 14:18:17 +01:00
org-collector.el Merge branch 'maint' 2014-01-07 14:19:03 +01:00
org-colview-xemacs.el Use setq-local and defvar-local. 2015-11-05 16:47:38 +00:00
org-contacts.el contrib: move a few libraries to cl-lib in place of compile-time cl. 2015-11-06 12:50:41 +00:00
org-contribdir.el Update copyright years again. 2014-01-07 14:18:17 +01:00
org-depend.el Update copyright years again. 2014-01-07 14:18:17 +01:00
org-download.el org-download.el: Update to commit d01bdfd6 2015-02-03 19:46:05 +01:00
org-drill.el Updated org-drill to version 2.4.7. 2015-07-24 18:35:44 -04:00
org-ebib.el contrib/lisp/org-ebib.el: Support for links to Ebib's entries 2014-03-13 11:27:36 +09:00
org-effectiveness.el org-effectiveness.el: Add org-effectiveness-plot-save 2014-10-15 14:58:13 +02:00
org-eldoc.el Fix documentation-function for elisp-mode in emacs24 2015-02-16 06:05:30 +01:00
org-elisp-symbol.el Update copyright years again. 2014-01-07 14:18:17 +01:00
org-eval-light.el Update copyright years again. 2014-01-07 14:18:17 +01:00
org-eval.el Update copyright years again. 2014-01-07 14:18:17 +01:00
org-eww.el contrib/lisp/org-eww: Update copyright years 2015-07-11 12:11:22 +02:00
org-expiry.el Org-expiry: make code and doc consistent 2014-04-14 14:03:45 +02:00
org-git-link.el org-git-link.el: Add support for line in org-git-ling 2014-07-27 16:16:37 +02:00
org-index.el Version 5.0.0 of org-index 2015-12-12 22:36:13 +01:00
org-interactive-query.el Use setq-local and defvar-local. 2015-11-05 16:47:38 +00:00
org-invoice.el Update copyright years again. 2014-01-07 14:18:17 +01:00
org-learn.el Update copyright years again. 2014-01-07 14:18:17 +01:00
org-license.el org-license.el: Upgrade to Creative Commons 4.0 2014-08-31 13:19:30 +02:00
org-link-edit.el Add org-link-edit.el to contrib 2015-08-13 01:53:58 -04:00
org-mac-iCal.el Update copyright years again. 2014-01-07 14:18:17 +01:00
org-mac-link.el org-mac-link: Do not quote lambdas 2015-12-18 11:28:39 +01:00
org-mairix.el Update copyright years again. 2014-01-07 14:18:17 +01:00
org-man.el org-man.el: Fix code typo 2013-04-16 12:51:08 +02:00
org-mew.el contrib: Fix error messages. 2015-01-26 02:54:17 -05:00
org-mime.el org-mime: Use `compose-mail' to send mail 2015-08-30 09:41:26 +02:00
org-notify.el org-notify: Fix compatibility with latest org-element (uppercase properties) 2015-08-24 22:44:07 +02:00
org-notmuch.el Fix message format in org-notmuch-search-open 2015-05-17 10:26:22 +02:00
org-panel.el contrib/lisp/*el: Fix license information and add "This file is not part..." 2013-03-10 17:57:47 +01:00
org-passwords.el Improve functionality of org-passwords.el 2014-10-13 00:32:51 +02:00
org-registry.el Update copyright years again. 2014-01-07 14:18:17 +01:00
org-screen.el Update copyright years again. 2014-01-07 14:18:17 +01:00
org-screenshot.el org.el: Obsolete ‘org-image-file-name-regexp’ 2015-11-06 12:50:42 +00:00
org-secretary.el Update copyright years again. 2014-01-07 14:18:17 +01:00
org-static-mathjax.el contrib/lisp/*el: Fix license information and add "This file is not part..." 2013-03-10 17:57:47 +01:00
org-sudoku.el Update copyright years again. 2014-01-07 14:18:17 +01:00
org-toc.el Implement faster `show-children' function 2015-08-10 13:37:29 +02:00
org-track.el Update copyright years again. 2014-01-07 14:18:17 +01:00
org-velocity.el org-velocity: New version of org-velocity. 2015-12-16 08:39:43 +01:00
org-vm.el Update copyright years again. 2014-01-07 14:18:17 +01:00
org-wikinodes.el org-wikinodes: Fix fontification 2015-02-07 22:01:38 +01:00
org-wl.el Update copyright years again. 2014-01-07 14:18:17 +01:00
orgtbl-sqlinsert.el Update copyright years again. 2014-01-07 14:18:17 +01:00
ox-bibtex.el contrib: move a few libraries to cl-lib in place of compile-time cl. 2015-11-06 12:50:41 +00:00
ox-confluence.el Merge branch 'maint' 2014-01-07 14:19:03 +01:00
ox-deck.el ox-deck: parse checkboxes properly 2015-07-08 12:38:16 +02:00
ox-extra.el Change export block syntax 2015-12-20 21:56:27 +01:00
ox-freemind.el contrib: Fix error messages. 2015-01-26 02:54:17 -05:00
ox-gfm.el Add contrib/lisp/ox-gfm.el by Lars Tveito 2014-04-11 12:27:41 +02:00
ox-groff.el Export back-ends: Use `org-export-file-uri' 2015-04-20 12:37:13 +02:00
ox-koma-letter.el ox-koma-letter: Support #+LATEX_COMPILER 2015-10-04 15:54:28 +02:00
ox-rss.el Export back-ends: Use `org-export-get-reference' 2015-04-13 15:21:22 +02:00
ox-s5.el ox: Add #+SUBTITLE property in some backends 2015-04-08 23:23:13 +02:00
ox-taskjuggler.el Merge branch 'maint' 2014-11-06 09:17:34 +01:00