aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/ob-gnuplot.el (follow)
Commit message (Collapse)AuthorAgeFilesLines
* org-babel: Fix usage of `org-babel-temporary-directory'Ihor Radchenko2022-10-091-1/+1
| | | | | | | | | | | | | * lisp/ob-core.el (org-babel-temp-directory): New macro, returning suitable temporary directory. The macro considers remote `default-directory' and nil values of `org-babel-temporary-directory'. * lisp/ob-gnuplot.el (org-babel-gnuplot-process-vars): * lisp/ob-java.el (org-babel-execute:java): * lisp/ob-processing.el (org-babel-processing-view-sketch): Use the new macro. Reported-by: Christian Köstlin <christian.koestlin@gmail.com>
* Assert all the Org files to load the same Org versionIhor Radchenko2022-09-041-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/org-compat.el (org-assert-version): New macro comparing Org version at compile time and laod time. Add `org-assert-version' call to all files: * lisp/org-macs.el: * lisp/org-crypt.el: * lisp/org-ctags.el: * lisp/org-cycle.el: * lisp/org-datetree.el: * lisp/org-duration.el: * lisp/org-element.el (avl-tree): * lisp/org-entities.el: * lisp/org-faces.el: * lisp/org-feed.el: * lisp/org-fold-core.el: * lisp/org-fold.el: * lisp/org-footnote.el: * lisp/org-goto.el: * lisp/org-habit.el: * lisp/org-id.el: * lisp/org-indent.el: * lisp/org-inlinetask.el: * lisp/org-keys.el: * lisp/org-lint.el: * lisp/org-list.el: * lisp/org-macro.el: * lisp/org-mobile.el: * lisp/org-mouse.el: * lisp/org-num.el: * lisp/org-pcomplete.el: * lisp/org-persist.el: * lisp/org-plot.el: * lisp/org-protocol.el: * lisp/org-refile.el: * lisp/org-src.el: * lisp/org-table.el: * lisp/org-tempo.el: * lisp/org-timer.el: * lisp/org.el: * lisp/ox-ascii.el: * lisp/ox-beamer.el: * lisp/ox-html.el: * lisp/ox-icalendar.el: * lisp/ox-koma-letter.el: * lisp/ox-latex.el: * lisp/ox-man.el: * lisp/ox-md.el: * lisp/ox-odt.el: * lisp/ox-org.el: * lisp/ox-publish.el: * lisp/ox-texinfo.el: * lisp/ox.el:
* ob-gnuplot: Fix stable file collision when converting dataIhor Radchenko2022-07-191-1/+1
| | | | | | | | | | * lisp/ob-gnuplot.el (org-babel-gnuplot-process-vars): Use cons cell of all the code block parameters and the actual assigned variable value to generate filename for storing the data. This fixes a scenario when code block has two or more variable assignments that were wrongly saved into the same file. Before the commit, only the last assigned variable value has been used by gnuplot for _all_ the variables.
* ob-gnuplot.el: Make :cache argument work with :var assignmentsIhor Radchenko2022-07-041-1/+4
| | | | | | | | | | | | | | | | | * lisp/ob-core.el (org-babel-temporary-stable-directory): New variable holding a temporary directory name that does not change between Emacs sessions. (org-babel-remove-temporary-stable-directory): New function removing `org-babel-temporary-stable-directory' on Emacs shutdown. (org-babel-temp-stable-file): Generate stable temporary file name for object storage. The file name is constant for equal objects. (org-babel-execute-src-block): Explicitly identify that if the result is cached. * lisp/ob-gnuplot.el (org-babel-gnuplot-process-vars): Make use of `org-babel-stable-file' to make expanded body stable with respect to :var assignments. Fixes https://orgmode.org/list/87mtn1o5mn.fsf@ucl.ac.uk
* Prefer "website" to "homepage"Stefan Kangas2022-06-261-1/+1
| | | | | | | | | | | | | | Emacs now advises using "website" (instead of "homepage") and consequently to use the "URL" comment header instead of "Homepage". * README: * README_ELPA: * doc/org-guide.org (Creating Footnotes): * doc/org-manual.org (Creating Footnotes): * etc/styles/README (URL): Prefer "website" to "homepage". * lisp/*.el: * mk/org-fixup.el: Replace the "Homepage" header comment with "URL".
* ob-gnuplot.el: Honour `default-directory'Ihor Radchenko2022-04-211-2/+1
| | | | | | * lisp/ob-gnuplot.el (org-babel-expand-body:gnuplot): Do not force Gnuplot working dir to be `buffer-file-name'. Trust more configurable `default-directory'.
* ob-gnuplot: Fix wrong table conversion when first column has ?-Ihor Radchenko2022-01-141-15/+10
| | | | | | | * lisp/ob-gnuplot.el (org-babel-gnuplot-table-to-data): Revert to using ascii exporter. * lisp/ox-ascii.el (org-ascii-table-cell): Do not throw error when CONTENTS is wider than initial cell value.
* Update copyright year to 2022Kyle Meyer2022-01-011-1/+1
|
* ob-gnuplot: Fix regression from 23d8d59df when ox-org is not loadedIhor Radchenko2021-12-271-0/+1
| | | | | * lisp/ob-gnuplot.el (org-babel-gnuplot-table-to-data): Require ox-org, making sure that org export backend is available.
* ob-gnuplot: Use org backend when assigning table to variableIhor Radchenko2021-12-271-5/+15
| | | | | | | | * lisp/ob-gnuplot.el (org-babel-gnuplot-table-to-data): Switch to 'org backend when exporting table data to plain text table. ascii backend incorrectly handles quote transcoders that change the column width and sometimes throws an error. (ascii backend simply ignores transcoded table cells and calculates width based on the initial cell text).
* ob-gnuplot: Honour :missing argumentIhor Radchenko2021-10-011-1/+1
| | | | | | | | | | | * lisp/ob-gnuplot.el (org-babel-gnuplot-table-to-data): Force applying `org-babel-gnuplot-quote-tsv-field' to empty table cells when converting org tables to gnuplot input. By default, `orgtbl-to-generic' ignores :fmt for empty table cells. We need to set :raw to non-nil AND :backend to non-nil to force custom formatting of empty table cells. Fixes https://orgmode.org/list/20210617211347.59e4de56@happy.intern.roklein.de
* *el: Fix indentationBastien2021-09-291-6/+6
|
* Allow :var header args to be assigned to cons cellsIhor Radchenko2021-09-261-1/+1
| | | | | | | | | | * lisp/ob-core.el (org-babel-disassemble-tables, org-babel-gnuplot-process-vars): Use `proper-list-p' check instead of `listp'. (org-babel-disassemble-tables): Check list length before trying to remove hline from a table assignment. * testing/lisp/test-ob.el (test-ob/cons-cell-as-variable): Add the test.
* lisp/ob-gnuplot.el: Add Ihor Radchenko as maintainerBastien2021-09-201-0/+1
|
* lisp/ob-gnuplot.el: Use `org-babel-local-file-name'Ihor Radchenko2021-05-011-1/+1
| | | | | | | * lisp/ob-gnuplot.el (org-babel-gnuplot-process-vars): Use `org-babel-local-file-name'. TINYCHANGE
* Prefer HTTPS to HTTP in most linksStefan Kangas2021-03-211-1/+1
|
* Merge branch 'maint'Kyle Meyer2021-01-011-1/+1
|\
| * Update copyright year to 2021Kyle Meyer2021-01-011-1/+1
| |
* | ob-gnuplot: Fix error on non-string :var assignmentIhor Radchenko2020-12-161-1/+2
| | | | | | | | | | * lisp/ob-gnuplot.el (org-babel-gnuplot-process-vars): Consider that not all the variable values must be a string in :var assignments.
* | ob-gnuplot: Silence byte compilerKyle Meyer2020-11-011-0/+2
| |
* | ob-gnuplot: Download remote input filesfpi2020-10-241-1/+15
|/ | | | | | | * lisp/ob-gnuplot.el (org-babel-gnuplot-process-vars): When variables point to remote files, download them and use a local copy instead. TINYCHANGE
* Tiny formatting fixesBastien2020-02-181-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/ox.el (org-export-table-dimensions): * lisp/ox-texinfo.el (org-texinfo-template): * lisp/ox-md.el (org-md-link): * lisp/ox-icalendar.el (org-icalendar-use-UTC-date-time-p): * lisp/ox-ascii.el (org-ascii-fixed-width): * lisp/org.el (org-context): * lisp/org-table.el (org-table-eval-formula) (org-table-export): * lisp/org-refile.el: * lisp/org-plot.el (org-plot/gnuplot-to-grid-data): * lisp/org-num.el (org-num): * lisp/org-mouse.el (org-mouse-popup-global-menu) (org-mouse-context-menu): * lisp/org-macro.el (org-macro): * lisp/org-lint.el (org-lint): * lisp/org-keys.el (org-keys): * lisp/org-duration.el: * lisp/org-clock.el (org-clock-get-last-clock-out-time) (org-clock-update-mode-line, org-find-open-clocks): * lisp/org-agenda.el (org-diary) (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item) (org-agenda-highlight-todo, org-cmp-alpha) (org-agenda-filter-by-category): * lisp/ol.el (org-link-expand-abbrev, ol): * lisp/ol-docview.el (ol-docview): * lisp/ol-bibtex.el (org-execute-file-search-in-bibtex) (org-bibtex, org-bibtex-read): * lisp/ol-bbdb.el (org-bbdb-anniversary-description): * lisp/ob-tangle.el (org-babel-tangle-jump-to-org): * lisp/ob-table.el (org-babel-table-truncate-at-newline): * lisp/ob-stan.el: * lisp/ob-sqlite.el (org-babel-sqlite-table-or-scalar): * lisp/ob-sql.el: * lisp/ob-shen.el: * lisp/ob-shell.el (org-babel-prep-session:shell) (org-babel-prep-session:shell): * lisp/ob-sed.el (org-babel-execute:sed) (org-babel-execute:sed): * lisp/ob-screen.el: * lisp/ob-sass.el: * lisp/ob-ruby.el (org-babel-prep-session:ruby) (org-babel-prep-session:ruby): * lisp/ob-ref.el (org-babel-ref-resolve, ob-ref): * lisp/ob-python.el (org-babel-prep-session:python) (org-babel-prep-session:python): * lisp/ob-plantuml.el: * lisp/ob-picolisp.el: * lisp/ob-perl.el: * lisp/ob-org.el: * lisp/ob-octave.el (org-babel-prep-session:octave) (org-babel-prep-session:octave) (org-babel-octave-evaluate-session): * lisp/ob-ocaml.el: * lisp/ob-mscgen.el (org-babel-execute:mscgen) (org-babel-execute:mscgen): * lisp/ob-maxima.el: (ob-maxima): * lisp/ob-matlab.el: * lisp/ob-makefile.el: * lisp/ob-lua.el (org-babel-prep-session:lua) (org-babel-prep-session:lua): * lisp/ob-lisp.el: * lisp/ob-ledger.el: * lisp/ob-latex.el (org-babel-expand-body:latex) (org-babel-expand-body:latex, ob-latex): * lisp/ob-js.el: * lisp/ob-java.el: * lisp/ob-io.el (org-babel-prep-session:io) (org-babel-prep-session:io): * lisp/ob-hledger.el: * lisp/ob-haskell.el: * lisp/ob-groovy.el (org-babel-groovy-wrapper-method) (org-babel-groovy-evaluate): * lisp/ob-gnuplot.el: * lisp/ob-fortran.el (org-babel-expand-body:fortran) (org-babel-expand-body:fortran): * lisp/ob-forth.el (org-babel-forth-session-execute): * lisp/ob-exp.el (ob-exp): * lisp/ob-eval.el: * lisp/ob-emacs-lisp.el: * lisp/ob-ebnf.el: * lisp/ob-dot.el: * lisp/ob-ditaa.el: * lisp/ob-css.el: * lisp/ob-core.el (org-babel-put-rownames): * lisp/ob-coq.el: * lisp/ob-comint.el: * lisp/ob-calc.el: * lisp/ob-awk.el: * lisp/ob-asymptote.el: * lisp/ob-abc.el: * lisp/ob-R.el (org-babel-prep-session:R): Formatting fixes.
* ob-gnuplot.el: Fix broken linksBastien2020-02-121-1/+1
| | | | * lisp/ob-gnuplot.el: Fix broken links.
* Update copyright year to 2020Kyle Meyer2020-01-011-1/+1
|
* Update copyright yearBastien2019-01-011-1/+1
|
* Update declare-function calls for functions that have moved.Aaron Ecay2018-05-101-1/+1
| | | | | In cases where functions have moved from org.el into org-macs.el, it is often possible to replace declare-function by (require 'org-macs)
* Use https for links to orgmode.orgTim Landscheidt2018-01-191-1/+1
| | | | TINYCHANGE
* Update copyright yearsKyle Meyer2018-01-071-1/+1
|
* Allow gnuplot to generate plots in different directoriesEric S Fraga2017-12-071-1/+6
| | | | | | * lisp/ob-gnuplot.el (org-babel-expand-body:gnuplot) if the Org buffer is associated with a file, direct gnuplot to change to the directory for that file.
* Revert the whole time zone messNicolas Goaziou2017-12-031-1/+1
| | | | | | | | | | | | | | | | | | | | * lisp/org.el (org-time-string-to-time): (org-time-string-to-seconds): Remove optional ZONE argument. (org-2ft): (org-check-before-date): (org-check-after-date): (org-check-dates-range): (org-parse-time-string): * lisp/org-clock.el (org-clock-get-sum-start): (org-clock-out): (org-clock-timestamps-change): (org-clock-sum): (org-clock-update-time-maybe): * lisp/org-colview.el (org-columns--age-to-minutes): Apply change. * testing/lisp/test-org-clock.el (org-test-clock-create-clock): (test-org-clock/clocktable/scope): * testing/lisp/test-org-colview.el (test-org-colview/columns-summary): Apply change. Simplify tests to avoid daylight saving time issue.
* Backport commit bc511a64f from EmacsPaul Eggert2017-09-171-1/+1
| | | | | | | Prefer HTTPS to FTP and HTTP in documentation bc511a64f6da9ab51acc7c8865e80c4a4cb655c2 Paul Eggert Wed Sep 13 15:54:37 2017 -0700
* Fix failing tests in non-daylight saving time zonesNicolas Goaziou2017-07-071-1/+1
| | | | | | | | | | | | | | | | | | * lisp/org.el (org-time-string-to-time): Remove optional POS and BUFFER arguments. Accept new optional ZONE argument. (org-time-string-to-seconds): Accept optional ZONE argument. (org-check-before-date): (org-check-after-date): (org-check-dates-range): (org-goto-calendar): * lisp/ob-gnuplot.el (org-time-string-to-time): * lisp/org-agenda.el (org-agenda-get-blocks): * lisp/org-clock.el (org-clock-timestamps-change): * lisp/org-list.el (org-time-string-to-seconds): Use UTC for time difference and time comparison. * testing/lisp/test-org-clock.el (org-test-clock-create-clock): Use UTC for time differences.
* ob-gnuplot: escape % character in outputThierry Banel2017-05-081-1/+1
| | | | | lisp/ob-gnuplot.el (org-babel-execute:gnuplot): escape % percent character in output messages coming from GnuPlot.
* Update copyright yearsKyle Meyer2017-01-051-1/+1
|
* Use assq instead of assoc for :keywordsAaron Ecay2016-09-231-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/ob-C.el (org-babel-C-execute): * lisp/ob-J.el (org-babel-execute:J): * lisp/ob-R.el (org-babel-edit-prep:R): (org-babel-expand-body:R): (org-babel-execute:R): (org-babel-variable-assignments:R): (org-babel-R-initiate-session): * lisp/ob-abc.el (org-babel-execute:abc): * lisp/ob-asymptote.el (org-babel-execute:asymptote): * lisp/ob-awk.el (org-babel-execute:awk): * lisp/ob-clojure.el (org-babel-expand-body:clojure): (org-babel-execute:clojure): * lisp/ob-core.el (org-babel-expand-body:generic): (org-babel-load-in-session): (org-babel-initiate-session): (org-babel-open-src-block-result): (org-babel-process-params): (org-babel-insert-result): (org-babel-expand-noweb-references): * lisp/ob-ditaa.el (org-babel-execute:ditaa): * lisp/ob-dot.el (org-babel-execute:dot): * lisp/ob-ebnf.el (org-babel-execute:ebnf): * lisp/ob-emacs-lisp.el (org-babel-expand-body:emacs-lisp): (org-babel-execute:emacs-lisp): * lisp/ob-exp.el (org-babel-exp-process-buffer): (org-babel-exp-do-export): (org-babel-exp-code): * lisp/ob-forth.el (org-babel-execute:forth): * lisp/ob-fortran.el (org-babel-execute:fortran): * lisp/ob-gnuplot.el (org-babel-gnuplot-process-vars): (org-babel-expand-body:gnuplot): (org-babel-execute:gnuplot): * lisp/ob-groovy.el (org-babel-execute:groovy): * lisp/ob-haskell.el (org-babel-execute:haskell): * lisp/ob-io.el (org-babel-execute:io): * lisp/ob-java.el (org-babel-execute:java): * lisp/ob-js.el (org-babel-execute:js): * lisp/ob-latex.el (org-babel-execute:latex): * lisp/ob-ledger.el (org-babel-execute:ledger): * lisp/ob-lilypond.el (org-babel-lilypond-process-basic): * lisp/ob-lisp.el (org-babel-expand-body:lisp): (org-babel-execute:lisp): * lisp/ob-lua.el (org-babel-execute:lua): * lisp/ob-maxima.el (org-babel-execute:maxima): * lisp/ob-mscgen.el (org-babel-execute:mscgen): * lisp/ob-ocaml.el (org-babel-execute:ocaml): * lisp/ob-octave.el (org-babel-execute:octave): * lisp/ob-org.el (org-babel-execute:org): * lisp/ob-perl.el (org-babel-execute:perl): * lisp/ob-picolisp.el (org-babel-execute:picolisp): * lisp/ob-plantuml.el (org-babel-execute:plantuml): * lisp/ob-python.el (org-babel-execute:python): * lisp/ob-ruby.el (org-babel-execute:ruby): * lisp/ob-sass.el (org-babel-execute:sass): * lisp/ob-scala.el (org-babel-execute:scala): * lisp/ob-scheme.el (org-babel-execute:scheme): * lisp/ob-screen.el (org-babel-execute:screen): (org-babel-prep-session:screen): * lisp/ob-shell.el (org-babel-execute:shell): (org-babel-variable-assignments:shell): (org-babel-sh-evaluate): * lisp/ob-shen.el (org-babel-execute:shen): * lisp/ob-sql.el (org-babel-execute:sql): * lisp/ob-sqlite.el (org-babel-execute:sqlite): * lisp/ob-tangle.el (org-babel-tangle): (org-babel-tangle-single-block): * lisp/org-src.el (org-src-associate-babel-session): * lisp/org.el (org-next-link): Use `assq' instead of `assoc' with :keyword keys.
* Remove unnecessary (require 'cl)Nicolas Goaziou2016-07-251-1/+0
|
* Merge branch 'maint'Kyle Meyer2016-05-151-1/+1
|\
| * Fix up last backportKyle Meyer2016-05-151-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/org.el (org-export-backend-options): Add back removed declare-function call. * lisp/ob-awk.el (orgtbl-to-generic): * lisp/ob-core.el (orgtbl-to-generic): * lisp/ob-gnuplot.el (orgtbl-to-generic): Remove BACKEND argument from declare-function calls. The last backport added this argument to match orgtbl-to-generic's signature in Emacs's version of Org, but the BACKEND argument to orgtbl-to-generic was later removed in 9209aa3 (org-table: Use "ox.el" internally for radio tables, 2014-08-24).
| * Backport commit 65c8c7c from EmacsPaul Eggert2016-05-151-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/ob-awk.el (orgtbl-to-generic): * lisp/ob-core.el (orgtbl-to-generic): * lisp/ob-exp.el (org-element-context): * lisp/ob-gnuplot.el (org-time-string-to-time) (orgtbl-to-generic): * lisp/ob-haskell.el (org-export-to-file): * lisp/ob-latex.el (org-create-formula-image) (org-latex-compile): * lisp/ob-python.el (run-python): * lisp/ob-tangle.el (org-link-escape, org-back-to-heading): * lisp/org-colview.el (org-agenda-redo): * lisp/org-feed.el (url-retrieve-synchronously): * lisp/org-info.el (Info-find-node): * lisp/org-list.el (org-previous-line-empty-p): * lisp/org-macs.el (org-string-match-p): * lisp/org.el (org-beamer-mode): Fix prototype to match current definition. * lisp/ob-comint.el (tramp-flush-directory-property): * lisp/ob-tangle.el (org-babel-update-block-body): * lisp/org-bibtex.el (org-babel-trim): * lisp/org-pcomplete.el (org-export-backend-options): * lisp/org-protocol.el (org-publish-get-project-from-filename): Fix file name in declare-function. * lisp/ob-comint.el (with-parsed-tramp-file-name) * lisp/ob-core.el (with-parsed-tramp-file-name): * lisp/org.el (org-beamer-mode): Append ‘t’ to declare-function, since the declaration isn’t a defun. * lisp/ob-core.el (org-save-outline-visibility): Remove; not needed. * lisp/ob-scheme.el (run-geiser, geiser-mode) (geiser-eval-region, geiser-repl-exit): * lisp/ox-org.el (htmlize-buffer): Prepend "ext:" to file name, since it is not part of Emacs. * lisp/org-gnus.el (nnimap-group-overview-filename): Remove decl, since function was removed. * lisp/org-macro.el (org-with-wide-buffer): Omit unnecessary (and mismatching) decl. * lisp/org-clock.el (calendar-iso-to-absolute): Declare calendar-iso-to-absolute instead, since it is the non-obsolete version of this function. * lisp/org-compat.el (w32-focus-frame): Remove decl, since function is now obsolete. Pacify ‘make check-declare’ 65c8c7cb96c14f9c6accd03cc8851b5a3459049e Paul Eggert Sat May 14 19:57:44 2016 -0700
* | Merge branch 'maint'Kyle Meyer2016-01-091-1/+1
|\ \ | |/
| * Update copyright yearsKyle Meyer2016-01-091-1/+1
| |
* | babel: small change in API.Aaron Ecay2015-10-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/ob-core.el (org-babel--get-vars): New function. (org-babel-get-header): Delete. * lisp/ob-C.el (org-babel-C-expand-C): (org-babel-C-expand-D): * lisp/ob-R.el (org-babel-variable-assignments:R): * lisp/ob-abc.el (org-babel-expand-body:abc): * lisp/ob-asymptote.el (org-babel-variable-assignments:asymptote): * lisp/ob-awk.el (org-babel-execute:awk): * lisp/ob-calc.el (org-babel-execute:calc): * lisp/ob-clojure.el (org-babel-expand-body:clojure): * lisp/ob-dot.el (org-babel-expand-body:dot): * lisp/ob-emacs-lisp.el (org-babel-expand-body:emacs-lisp): * lisp/ob-fortran.el (org-babel-expand-body:fortran): (org-babel-fortran-ensure-main-wrap): * lisp/ob-gnuplot.el (org-babel-gnuplot-process-vars): * lisp/ob-haskell.el (org-babel-variable-assignments:haskell): * lisp/ob-js.el (org-babel-variable-assignments:js): * lisp/ob-latex.el (org-babel-expand-body:latex): * lisp/ob-lilypond.el (org-babel-expand-body:lilypond): * lisp/ob-lisp.el (org-babel-expand-body:lisp): * lisp/ob-maxima.el (org-babel-maxima-expand): * lisp/ob-ocaml.el (org-babel-variable-assignments:ocaml): * lisp/ob-octave.el (org-babel-variable-assignments:octave): * lisp/ob-org.el (org-babel-expand-body:org): * lisp/ob-perl.el (org-babel-variable-assignments:perl): * lisp/ob-picolisp.el (org-babel-expand-body:picolisp): * lisp/ob-processing.el (org-babel-variable-assignments:processing): * lisp/ob-python.el (org-babel-variable-assignments:python): * lisp/ob-ruby.el (org-babel-variable-assignments:ruby): * lisp/ob-scheme.el (org-babel-expand-body:scheme): * lisp/ob-shell.el (org-babel-variable-assignments:shell): * lisp/ob-shen.el (org-babel-expand-body:shen): * lisp/ob-sql.el (org-babel-expand-body:sql): * lisp/ob-sqlite.el (org-babel-expand-body:sqlite): Adapt to change. * etc/ORG-NEWS: Document change.
* | Activate lexical binding in some librariesNicolas Goaziou2015-10-261-10/+9
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/ob-C.el (org-babel-prep-session:C): (org-babel-load-session:C): * lisp/ob-J.el: (org-babel-expand-body:J): (org-babel-execute:J): * lisp/ob-R.el: (org-babel-expand-body:R): * lisp/ob-abc.el: (org-babel-execute:abc): (org-babel-prep-session:abc): * lisp/ob-asymptote.el: (org-babel-execute:asymptote): (org-babel-prep-session:asymptote): * lisp/ob-awk.el: (org-babel-expand-body:awk): * lisp/ob-calc.el: (org-babel-expand-body:calc): * lisp/ob-clojure.el: * lisp/ob-comint.el: (org-babel-comint-in-buffer): (org-babel-comint-with-output): (org-babel-comint-eval-invisibly-and-wait-for-file): * lisp/ob-coq.el: * lisp/ob-css.el: (org-babel-execute:css): (org-babel-prep-session:css): * lisp/ob-ditaa.el: (org-babel-execute:ditaa): (org-babel-prep-session:ditaa): * lisp/ob-dot.el: (org-babel-execute:dot): (org-babel-prep-session:dot): * lisp/ob-ebnf.el: * lisp/ob-emacs-lisp.el: * lisp/ob-eval.el: * lisp/ob-forth.el: * lisp/ob-fortran.el: (org-babel-execute:fortran): (org-babel-prep-session:fortran): (org-babel-load-session:fortran): * lisp/ob-gnuplot.el: (org-babel-expand-body:gnuplot): (org-babel-prep-session:gnuplot): (org-babel-gnuplot-initiate-session): * lisp/ob-groovy.el: (org-babel-prep-session:groovy): (org-babel-groovy-initiate-session): * lisp/ob-haskell.el: (org-babel-haskell-initiate-session): * lisp/ob-io.el: (org-babel-prep-session:io): (org-babel-io-initiate-session): * lisp/ob-java.el: (org-babel-execute:java): * lisp/ob-js.el: * lisp/ob-keys.el: * lisp/ob-latex.el: (org-babel-prep-session:latex): * lisp/ob-ledger.el: (org-babel-execute:ledger): (org-babel-prep-session:ledger): * lisp/ob-lilypond.el: (org-babel-lilypond-commands): (org-babel-lilypond-process-basic): (org-babel-prep-session:lilypond): (org-babel-lilypond-parse-line-num): * lisp/ob-lisp.el: * lisp/ob-makefile.el: (org-babel-execute:makefile): (org-babel-prep-session:makefile): * lisp/ob-matlab.el: * lisp/ob-maxima.el: (org-babel-prep-session:maxima): * lisp/ob-mscgen.el: (org-babel-prep-session:mscgen): * lisp/ob-ocaml.el: (org-babel-execute:ocaml): (org-babel-prep-session:ocaml): * lisp/ob-octave.el: (org-babel-execute:octave): (org-babel-octave-initiate-session): * lisp/ob-org.el: (org-babel-prep-session:org): * lisp/ob-perl.el: (org-babel-prep-session:perl): (org-babel-perl--var-to-perl): (org-babel-perl-initiate-session): * lisp/ob-picolisp.el: (org-babel-expand-body:picolisp): (org-babel-execute:picolisp): * lisp/ob-plantuml.el: (org-babel-execute:plantuml): (org-babel-prep-session:plantuml): * lisp/ob-processing.el: (org-babel-prep-session:processing): * lisp/ob-python.el: (org-babel-python-initiate-session): * lisp/ob-ref.el: (org-babel-ref-resolve): * lisp/ob-ruby.el: (org-babel-ruby-initiate-session): * lisp/ob-sass.el: (org-babel-execute:sass): (org-babel-prep-session:sass): * lisp/ob-scala.el: (org-babel-execute:scala): (org-babel-prep-session:scala): (org-babel-scala-initiate-session): * lisp/ob-scheme.el: * lisp/ob-screen.el: (org-babel-prep-session:screen): (org-babel-screen-session-write-temp-file): (org-babel-screen-test): * lisp/ob.el: * lisp/org-colview.el: (org-columns-todo): (org-columns-set-tags-or-toggle): (org-columns-new): (org-columns-uncompile-format): (org-agenda-colview-summarize): * lisp/org-footnote.el: (electric-indent-mode): * lisp/org-indent.el: (org-indent-refresh-maybe): * lisp/org-list.el: * lisp/org-macro.el: (org-macro--collect-macros): * lisp/org-src.el: * lisp/org-table.el: (sort-fold-case): (org-table-create): (org-table-field-info): (org-table-transpose-table-at-point): (org-table-remove-rectangle-highlight): (orgtbl-create-or-convert-from-region): (org-define-lookup-function): * lisp/ox-ascii.el: (org-ascii-format-drawer-function): (org-ascii--has-caption-p): (org-ascii-bold): (org-ascii-center-block): (org-ascii-clock): (org-ascii-code): (org-ascii-dynamic-block): (org-ascii-entity): (org-ascii-example-block): (org-ascii-export-snippet): (org-ascii-export-block): (org-ascii-fixed-width): (org-ascii-footnote-reference): (org-ascii-horizontal-rule): (org-ascii-inline-src-block): (org-ascii-format-inlinetask-default): (org-ascii-italic): (org-ascii-keyword): (org-ascii-latex-environment): (org-ascii-latex-fragment): (org-ascii-line-break): (org-ascii-node-property): (org-ascii-planning): (org-ascii-quote-block): (org-ascii-radio-target): (org-ascii-special-block): (org-ascii-src-block): (org-ascii-statistics-cookie): (org-ascii-subscript): (org-ascii-superscript): (org-ascii-strike-through): (org-ascii-timestamp): (org-ascii-underline): (org-ascii-verbatim): (org-ascii-verse-block): (org-ascii-filter-headline-blank-lines): (org-ascii-filter-paragraph-spacing): (org-ascii-filter-comment-spacing): Use lexical binding.
* Backport remaining changes from commit 7e09ef0Paul Eggert2015-08-101-1/+1
| | | | | | | | | | Add changes from Emacs repo that should have been backported with bb77dd2. Update copyright year to 2015 7e09ef09a479731d01b1ca46e94ddadd73ac98e3 Paul Eggert Thu Jan 1 14:26:41 2015 -0800
* ob-gnuplot: Fix error when table contains datesNicolas Goaziou2014-09-151-10/+8
| | | | | | | | | * lisp/ob-gnuplot.el (org-babel-gnuplot-table-to-data): Dynamically bind `org-babel-gnuplot-timestamp-fmt' instead of making it buffer-local, since export takes place in another buffer anyway. Thanks to Thomas Holst for reporting it. http://permalink.gmane.org/gmane.emacs.orgmode/90709
* Merge branch 'maint'Achim Gratz2014-03-251-4/+9
|\
| * ob-gnuplot: create a proper table even when handed just a vectorAchim Gratz2014-03-251-4/+9
| | | | | | | | | | | | | | | | | | * lisp/ob-gnuplot.el (org-babel-gnuplot-process-vars): `org-babel-gnuplot-table-to-data´ expects a table, so we need to construct one when Babel hands us a vector. Thanks to Eric Fraga for reporting the bug. http://permalink.gmane.org/gmane.emacs.orgmode/84072
* | Merge branch 'maint'Bastien Guerry2014-01-071-1/+1
|\ \ | |/ | | | | | | Conflicts: contrib/lisp/org-favtable.el
| * Update copyright years again.Bastien Guerry2014-01-071-1/+1
| | | | | | | | Hint: copyright years are all updated in Emacs.
* | Merge branch 'maint'Bastien Guerry2014-01-051-1/+1
|\ \ | |/