summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
3 daysClean up string handling.HEADmasterAaron Ecay13-29/+59
* lisp/org-compat.el (string-prefix-p, string-suffix-p): Add compatibility definitions for 24.3. * lisp/ob-R.el (org-babel-edit-prep:R): * lisp/ob-core.el (org-babel-demarcate-block): * lisp/ob-js.el (org-babel-js-read): * lisp/ob-latex.el (org-babel-execute:latex): * lisp/ob-ref.el (org-babel-ref-parse): * lisp/ob-shell.el (org-babel-variable-assignments:shell): * lisp/org-protocol.el (org-protocol-create): * lisp/org-table.el (org-table-field-info): * lisp/org.el (org-get-buffer-for-internal-link): * lisp/ox-publish.el (org-publish-compare-directory-files): * lisp/ox-texinfo.el (org-texinfo-template): Use `string-{suffix,prefix}-p' instead of `string-match(-p)'. * lisp/ob-python.el (org-babel-python-read-string): Ditto, also use `substring' rather than `match-string'. * lisp/org-table.el (org-table-copy-down): (org-table-insert-hline, org-table-current-field-formula): (org-table-get-formula): Use `string-match-p' instead of `string-match'.
4 dayscontrib/README: Remove "org-eww.el" from the listNicolas Goaziou1-1/+0
* contrib/README: Remove "org-eww.el", which has been moved to core.
4 daysTurn org-mode into Org or Org modeNicolas Goaziou50-311/+314
Use Org or Org mode instead of org-mode or Org-mode according to "Documentation standards".
4 daysHandle tooltips on abbreviated linksNicolas Goaziou1-1/+2
* lisp/org.el (org-activate-bracket-links): Expand abbreviations before adding :help-echo property. Reported-by: mc <mc@aiguphonie.com> <http://permalink.gmane.org/gmane.emacs.orgmode/108785>
5 daysox-html: Tiny fixNicolas Goaziou1-9/+9
* lisp/ox-html.el (org-html-paragraph): Move space after the figure number within the "figure-number" class so it can be hidden if needed. Small refactoring.
5 daysox-html: Number source blocks with listingsNicolas Goaziou2-7/+22
* lisp/ox-html.el (org-html-src-block): Number source block if it has a caption. Numbering is done among source blocks with a caption, only. Suggested-by: Clément Pit--Claudel <clement.pit@gmail.com> <http://permalink.gmane.org/gmane.emacs.orgmode/108808>
5 daysox-latex: Fix repeated footnotes in tablesNicolas Goaziou1-7/+6
* lisp/ox-latex.el (org-latex--delayed-footnotes-definitions): Fix referencing multiple occurrences of the same footnote in a table. Reported-by: Kaushal Modi <kaushal.modi@gmail.com> <http://permalink.gmane.org/gmane.emacs.orgmode/108789>
7 daystest-ob-maxima: Revert last commitMarco Wahl1-12/+1
* testing/lisp/test-ob-maxima.el: (ob-maxima/matrix-output): Remove filtering of informational output. Credit to Leo Butler. From his post: Since those informational messages are written to stdout, do with_stdout("/dev/null", load(numericalio))$ write_data .... to muffle the messages. Note that sbcl warnings are muffled by :lisp (setf sb-ext::*muffled-warnings* 'warning)
7 daysob-maxima-test: Clarify matrix testMarco Wahl1-0/+1
* testing/examples/ob-maxima-test.org: Suppress informational output at load of numericalio. (This output made testing complicated.)
7 daystest-ob-maxima: Fix maxima matrix testMarco Wahl1-1/+14
* testing/lisp/test-ob-maxima.el (ob-maxima/matrix-output): Remove lines starting with ";;" from the result of `org-babel-execute-src-block'. This fix works around the occurance of lines like ;; loading #P"/home/b/.../numericalio/encode-decode-float.fasl" in the output of maxima. Maxima version: "5.38.1" Lisp implementation type: "SBCL" Lisp implementation version: "1.3.6"
7 daysob-maxima-test: Tiny cleanupMarco Wahl1-1/+1
* testing/examples/ob-maxima-test.org: Removed superfluous source block variable.
8 daysMove org-eww to coreNicolas Goaziou5-7/+19
* lisp/org-eww.el: Move file from contrib/lisp/ to lisp/. * lisp/org.el (org-modules): Apply change. * lisp/org-capture.el (org-capture-templates): * doc/org.texi: Document changes.
8 daysMerge branch 'maint'Nicolas Goaziou2-10/+24
8 daysorg-clock: Fix infloop when creating a clock tableNicolas Goaziou2-10/+24
* lisp/org-clock.el (org-clock-sum): Fix infloop when first headline in scope has a level strictly greater than 1. Reported-by: Yichao Woo <wooyichao@gmail.com> <http://permalink.gmane.org/gmane.emacs.orgmode/108606>
8 daysorg-src: Silence byte-compilerNicolas Goaziou1-13/+12
8 daysorg.texi: Reorder two sectionsNicolas Goaziou1-24/+24
* doc/org.texi (Exporting): Update menu. (Export in foreign buffers): Move this section... (Other built-in back-ends): ... past this one.
8 daysorg.texi: Remove useless sectionNicolas Goaziou1-50/+43
* doc/org.texi (Exporting): Reword section. (Export back-ends): Remove section.
9 daysob-core: Silence byte-compilerNicolas Goaziou1-1/+2
10 daysorg-src: Fix coderef regexpNicolas Goaziou2-1/+30
* lisp/org-src.el (org-src-coderef-regexp): A coderef label cannot be consist of white spaces only. * testing/lisp/test-org-src.el (test-org-src/coderef-regexp): Add test.
10 daysFix `org-store-link' in edit buffersNicolas Goaziou1-24/+17
* lisp/org.el (org-store-link): Properly handle coderef insertion in an edit buffer. This patch also removes check for duplicate coderef labels, so as to be on par with other link types.
10 daysConsider edit buffers in `org-src-coderef-regexp'Nicolas Goaziou4-13/+138
* lisp/org-src.el (org-src-coderef-format): New function (org-src-coderef-regexp): Change signature. * lisp/ob-core.el (org-babel--normalize-body): * lisp/ox.el (org-export-unravel-code): Use new functions. * testing/lisp/test-org-src.el (test-org-src/coderef-format): New test.
10 daysSmall fix to `org-store-link'Nicolas Goaziou1-158/+158
* lisp/org.el (org-store-link): Only call `org-with-limited-levels' in Org buffers.
10 daysorg-src: Move function within libraryNicolas Goaziou1-9/+9
* lisp/org-src.el (org-src-do-at-code-block): Move function definition out of Babel related section.
10 daysFix indentation in testsNicolas Goaziou1-21/+21
* testing/lisp/test-org-src.el (test-org-src/basic): (test-org-src/empty-block): (test-org-src/blank-line-block): (test-org-src/preserve-tabs): Fix indentation and tab issues.
11 daysimproved promptU-IHM-NOTEBOOK\Olli1-31/+32
2016-08-12org-index v5.1 with enhanced dispatchU-IHM-NOTEBOOK\Olli1-239/+361
2016-08-08ob-core: Silence byte-compilerNicolas Goaziou1-49/+47
2016-08-08Fix overlay breakage when updating statistics cookiesNicolas Goaziou1-7/+2
* lisp/org.el (org-update-parent-todo-statistics): Do not move overlay when updating statistics cookies. Overlay moving was introduced in 28b88bbb11289d6c8d39ccc8dc420e7051fc0d4c to fix a bug that no longer seems to be reproducible. In any case, even if needed, this fix should happen in "org-colview.el". Reported-by: Clément Pit--Claudel <clement.pitclaudel@live.com> <http://permalink.gmane.org/gmane.emacs.orgmode/108601>
2016-08-08Update ORG-NEWSNicolas Goaziou1-0/+5
2016-08-08Ignore coderef labels when evaluating a code blockNicolas Goaziou4-26/+45
* lisp/ob-core.el (org-babel--normalize-body): New function. (org-babel-get-src-block-info): Use new function. * lisp/org-src.el (org-src-coderef-regexp): New function. * lisp/ox.el (org-export-unravel-code): Use new function. * testing/lisp/test-ob.el (test-ob/evaluate-body-with-coderefs): New test.
2016-08-08org-mobile: Silence byte-compilerNicolas Goaziou1-16/+13
* lisp/org-mobile.el (org-mobile-apply): Silence byte-compiler.
2016-08-08ob-core: Tiny refactoringNicolas Goaziou1-8/+5
* lisp/ob-core.el (org-babel-get-src-block-info): Tiny refactoring.
2016-08-08org-eww: Small refactoringNicolas Goaziou1-32/+24
* contrib/lisp/org-eww.el (org-eww-store-link): (org-eww-copy-for-org-mode): (eww-mode-hook): Small refactoring.
2016-08-08org-eww: Fix docstringsNicolas Goaziou1-6/+6
* contrib/lisp/org-eww.el (org-eww-store-link): (org-eww-goto-next-url-property-change): (org-eww-has-further-url-property-change-p): (org-eww-copy-for-org-mode): Fix docstrings.
2016-08-08Update replacement for org-add-link-typeRobert Klein1-1/+1
* lisp/org-compat.el ("org-add-link-type"): replacement for org-add-link-type is org-link-set-parameters, notorg-linkk-add, now.
2016-08-08Update wl link definitionRobert Klein1-2/+1
* contrib/lisp/org-wl.el ("wl"): Update to use org-link-set-parameters.
2016-08-08Update vm link definitionRobert Klein1-3/+2
* contrib/lisp/org-vm.el ("vm"): Update to use org-link-set-parameters.
2016-08-08Update notmuch and notmuch-search link definitionsRobert Klein1-4/+6
* contrib/lisp/org-notmuch.el ("notmuch"): Update to use org-link-set-parameters.
2016-08-08Update mew link definitionRobert Klein1-2/+1
* contrib/lisp/org-mew.el ("mew"): Update to use org-link-set-parameters.
2016-08-08Update man link definitionRobert Klein1-2/+4
* contrib/lisp/org-man.el ("man"): Update to use org-link-set-parameters.
2016-08-08Update mairix link definitionRobert Klein1-2/+3
* contrib/lisp/org-mairix.el ("mairix"): Update to use org-link-set-parameters.
2016-08-08Update misc mac link definitionsRobert Klein1-10/+8
* contrib/lisp/org-mac-link.el ("mac-link"): Update to use org-link-set-parameters.
2016-08-08Update git, gitbare link definitionsRobert Klein1-4/+2
* contrib/lisp/org-git-link.el ("git-link"): Update to use org-link-set-parameters.
2016-08-08org-eww: Add follow function for eww linksRobert Klein1-1/+1
* contrib/lisp/org-eww.el ("eww"): Add :follow property.
2016-08-08Update elisp-symbol link definitionRobert Klein1-2/+3
* contrib/lisp/org-elisp-symbol.el ("elisp-symbol"): Update to use org-link-set-parameters.
2016-08-08Update ebib link definitionRobert Klein1-3/+3
* contrib/lisp/org-ebib.el ("ebib"): Update to use org-link-set-parameters.
2016-08-08Update tel link definitionRobert Klein1-2/+1
* contrib/lisp/org-contacts.el ("contacts"): Update to use org-link-set-parameters.
2016-08-08Update bookmark link definitionRobert Klein1-2/+3
* contrib/lisp/org-bookmark.el ("bookmark"): Update to use org-link-set-parameters.
2016-08-08Update org-eww to use new link apiMatt Lundin1-1/+1
* contrib/lisp/org-eww.el: org-store-link-functions: Remove obsolete hook. (org-link-set-parameters) Use new api for links.
2016-08-08Copy all font-lock properties in org-src, not just faceClément Pit--Claudel1-5/+8
* lisp/org-src (org-src-font-lock-fontify-block): Loop over `font-lock-extra-managed-props', thus copying other properties that might be applied using font-lock. An example is composition, applied by `prettify-symbols-mode'.