0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-08-25 00:02:51 +00:00
org-mode/lisp
Nicolas Goaziou e1139e1895 ob-exp: Consolidate export of code blocks
* lisp/ob-exp.el (org-babel-exp--at-source): New macro.
(org-babel-exp-in-export-file): Remove macro.
(org-babel-exp-src-block): Remove unused argument.  Use new macro.
(org-babel-exp-process-buffer): Apply signature change above.  Put
temporary properties on top of Babel code so as to find original
location without relying on heuristics.
(org-babel-exp-results): Use new macro.

Export process has to know context of Babel code being evaluated (e.g.,
so as to retrieve parameters from node properties).  However, evaluating
previous code can drastically change the buffer.  The library used some
heuristics to find the original location.  Those are not necessary
anymore.
2016-06-19 00:38:22 +02:00
..
Makefile Makefile (clean-install): Also remove ox*.el* files 2013-04-18 14:43:45 +02:00
ob-abc.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-asymptote.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-awk.el Fix up last backport 2016-05-15 18:59:19 -04:00
ob-C.el ob-C: Add :libs to babel C++ 2016-03-26 00:32:56 +01:00
ob-calc.el Remove some XEmacs compatibility layer 2016-05-26 11:30:11 +02:00
ob-clojure.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-comint.el ob-comint: Remove unnecessary function declarations 2016-05-15 19:57:17 -04:00
ob-coq.el ox-coq.el: Clean up 2016-02-11 08:54:03 +01:00
ob-core.el Silence byte-compiler 2016-06-17 00:24:12 +02:00
ob-css.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-ditaa.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-dot.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-ebnf.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-emacs-lisp.el ob-emacs-lisp: Defaut binding is dynamic 2016-04-20 23:45:32 +02:00
ob-eval.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-exp.el ob-exp: Consolidate export of code blocks 2016-06-19 00:38:22 +02:00
ob-forth.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-fortran.el Merge branch 'maint' 2016-02-03 23:37:26 -05:00
ob-gnuplot.el Merge branch 'maint' 2016-05-15 19:00:30 -04:00
ob-groovy.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-haskell.el Merge branch 'maint' 2016-05-15 19:00:30 -04:00
ob-io.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-J.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-java.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-js.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-keys.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-latex.el Merge branch 'maint' 2016-05-15 19:00:30 -04:00
ob-ledger.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-lilypond.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-lisp.el ob-lisp: Fix error when evaluating a lisp src-block 2016-04-13 23:29:41 +02:00
ob-lob.el Silence byte-compiler 2016-06-17 00:24:12 +02:00
ob-makefile.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-matlab.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-maxima.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-mscgen.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-ocaml.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-octave.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-org.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-perl.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-picolisp.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-plantuml.el ob-plantuml: Add new output formats 2016-05-03 19:13:50 +02:00
ob-processing.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-python.el Remove some XEmacs compatibility layer 2016-05-26 11:30:11 +02:00
ob-R.el Merge branch 'maint' 2016-05-15 19:00:30 -04:00
ob-ref.el ob-ref: Fix reference expansion 2016-06-16 23:44:53 +02:00
ob-ruby.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-sass.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-scala.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-scheme.el Merge branch 'maint' 2016-05-15 19:00:30 -04:00
ob-screen.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-sed.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-shell.el Merge branch 'maint' 2016-05-15 19:00:30 -04:00
ob-shen.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-sql.el ob-sql.el: Support sqlcmd in Cygwin environment 2016-06-17 00:26:20 +02:00
ob-sqlite.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-stan.el Update copyright years for master-only files 2016-01-10 12:07:40 -05:00
ob-table.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ob-tangle.el Fix remaining declare-function issues 2016-05-15 18:59:20 -04:00
ob.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
org-agenda.el Rename org-deadline-is-close to have -p suffix 2016-06-04 20:39:15 +02:00
org-archive.el Remove final parts of XEmacs compatibility code 2016-05-26 13:56:25 +02:00
org-attach.el org-attach: Use relative path for git annex 2016-04-10 10:13:57 +02:00
org-bbdb.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
org-bibtex.el Merge branch 'maint' 2016-05-15 19:00:30 -04:00
org-capture.el Merge branch 'maint' 2016-05-16 11:21:05 +02:00
org-clock.el Fix a compiler warning 2016-06-14 20:49:20 +02:00
org-colview.el org-colview: Fix docstrings 2016-06-04 21:29:27 +02:00
org-compat.el org-compat: Silence byte-compiler 2016-06-04 22:09:15 +02:00
org-crypt.el Remove final parts of XEmacs compatibility code 2016-05-26 13:56:25 +02:00
org-ctags.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
org-datetree.el Silence byte-compiler 2016-01-13 11:43:54 +01:00
org-docview.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
org-element.el org-element: Small fix 2016-06-16 22:34:12 +02:00
org-entities.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
org-eshell.el Update copyright years 2016-01-09 17:12:03 -05:00
org-faces.el Document org-block face changes 2016-06-10 10:11:03 +02:00
org-feed.el Remove final parts of XEmacs compatibility code 2016-05-26 13:56:25 +02:00
org-footnote.el Remove final parts of XEmacs compatibility code 2016-05-26 13:56:25 +02:00
org-gnus.el Merge branch 'maint' 2016-05-15 19:00:30 -04:00
org-habit.el Remove final parts of XEmacs compatibility code 2016-05-26 13:56:25 +02:00
org-id.el Remove final parts of XEmacs compatibility code 2016-05-26 13:56:25 +02:00
org-indent.el Remove final parts of XEmacs compatibility code 2016-05-26 13:56:25 +02:00
org-info.el Merge branch 'maint' 2016-05-15 19:00:30 -04:00
org-inlinetask.el Remove final parts of XEmacs compatibility code 2016-05-26 13:56:25 +02:00
org-install.el org-install.el: Do not warn users. 2013-01-22 14:08:39 +01:00
org-irc.el Update copyright years 2016-01-09 17:12:03 -05:00
org-lint.el Remove final parts of XEmacs compatibility code 2016-05-26 13:56:25 +02:00
org-list.el org-list: Allow multiple receiver locations for radio lists 2016-06-17 10:19:07 +02:00
org-macro.el org-macro: Use cl-lib 2016-05-26 16:16:31 +02:00
org-macs.el Remove final parts of XEmacs compatibility code 2016-05-26 13:56:25 +02:00
org-mhe.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
org-mobile.el Properly handle `org-tag-persistent-alist' 2016-04-18 18:07:40 +02:00
org-mouse.el Remove final parts of XEmacs compatibility code 2016-05-26 13:56:25 +02:00
org-pcomplete.el Remove final parts of XEmacs compatibility code 2016-05-26 13:56:25 +02:00
org-plot.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
org-protocol.el Merge branch 'maint' 2016-05-15 19:00:30 -04:00
org-rmail.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
org-src.el org-src: Allow per language block face 2016-06-10 09:20:30 +02:00
org-table.el org-table: Allow multiple receiver locations for radio tables 2016-06-17 10:05:40 +02:00
org-timer.el org-timer: User can always set timer by prefix arg 2016-06-14 21:49:44 +02:00
org-w3m.el Update copyright years 2016-01-09 17:12:03 -05:00
org.el Merge branch 'maint' 2016-06-17 00:41:54 +02:00
ox-ascii.el Remove final parts of XEmacs compatibility code 2016-05-26 13:56:25 +02:00
ox-beamer.el ox-beamer: Do not require cl' since cl-lib' is used 2016-05-26 15:57:11 +02:00
ox-html.el ox: Provide offset to [+-]n in SRC/EXAMPLE export 2016-05-24 21:40:35 +02:00
ox-icalendar.el ox-icalendar: Do not require cl' since cl-lib' is used 2016-05-26 16:08:15 +02:00
ox-latex.el ox-latex: Use "cl-lib" 2016-05-26 11:03:11 +02:00
ox-man.el Remove some XEmacs compatibility layer 2016-05-26 11:30:11 +02:00
ox-md.el Merge branch 'maint' 2016-01-09 17:43:27 -05:00
ox-odt.el Remove final parts of XEmacs compatibility code 2016-05-26 13:56:25 +02:00
ox-org.el ox-org: Add footnote prefix 2016-05-25 08:51:13 +02:00
ox-publish.el ox-publish: Correct docstring typo 2016-05-18 22:05:41 -04:00
ox-texinfo.el ox-texinfo: Add support for strike-through and underline markup 2016-06-04 22:40:21 +02:00
ox.el ox: Remove `org-export-execute-babel-code' 2016-06-18 22:11:14 +02:00