AgeCommit message (Collapse)AuthorFilesLines
3 hoursBy default, use relative name for compilationHEADmasterNicolas Goaziou1-8/+8
* lisp/org.el (org-compile-file): %f meant relative name of compiled file. %F is its full name. Also always set `default-directory' to the directory of the source. Reported-by: Stig Brautaset <> <>
3 hoursFix last commitNicolas Goaziou1-1/+2
* lisp/org.el (org-edit-headline): Fix `save-match-data' scope. `org-trim' modifies match data. `read-string' doesn't.
39 hoursorg: Fix interactive headline editMarco Wahl1-1/+1
* lisp/org.el (org-edit-headline): Save match-data before calling read-string.
3 daysorg-compat: Fix last commitNicolas Goaziou1-5/+0
* lisp/org-compat.el (org-with-silent-modifications): Remove spurious definition introduced in last commit.
3 daysorg-compat: Silence byte-compilerNicolas Goaziou1-15/+20
3 daysSilence byte-compiler in Emacs 25.1Nicolas Goaziou1-7/+9
* lisp/org-compat.el (org-get-x-clipboard): Use `gui-get-selection', which obsoletes `x-get-selection'. Define the former as an alias for the latter for backward compatibility.
3 daysorg-macro: Use cl-libNicolas Goaziou1-0/+1
3 daysorg-table: Add missing "cl-" prefixesNicolas Goaziou1-2/+2
* lisp/org-table.el (org-table--descriptor-line): (org-table--row-type): Add "cl-" prefixes.
3 daysob-core: Do not require `cl' since `cl-lib' is usedNicolas Goaziou1-6/+4
* lisp/ob-core.el (org-babel-merge-params): (org-babel-noweb-p): (org-babel--script-escape-inner): Use "cl-" prefix.
3 daysox-icalendar: Do not require `cl' since `cl-lib' is usedNicolas Goaziou1-8/+7
* lisp/ox-icalendar.el (org-icalendar-get-categories): (org-icalendar-entry): (org-icalendar--vevent): Use "cl-" prefix.
3 daysorg-table: Do not require `cl' since `cl-lib' is usedNicolas Goaziou1-27/+25
* lisp/org-table.el (org-table-align): (org-table-current-column): (org-table-current-dline): (org-table-sort-lines): (org-table-paste-rectangle): (org-table-analyze): (org-table-get-range): (org-table--row-type): (org-table-recalculate): (org-table-expand-lhs-ranges): (org-table-formula-handle-first/last-rc): (org-table-formula-substitute-names): (orgtbl-send-table): (orgtbl-to-generic): Use "cl-" prefix.
3 daysox-beamer: Do not require `cl' since `cl-lib' is usedNicolas Goaziou1-3/+2
* lisp/ox-beamer.el (org-beamer--normalize-argument): (org-beamer-link): Use "cl" prefix.
3 daysMerge branch 'maint'Nicolas Goaziou1-7/+8
3 daysox-rss: Encode characters to their XML entitiesmaintArun Isaac1-7/+8
* contrib/lisp/ox-rss.el (org-rss-build-channel-info, org-rss-headline): Encode disallowed characters in `title' to their XML entities. The `title' field is user specified and may contain characters such as "&", "<" or ">" that are disallowed in XML. These characters should be encoded into their corresponding XML entities.
4 daysRemove final parts of XEmacs compatibility codeNicolas Goaziou32-669/+457
* lisp/org-compat.el: Declare `org-add-hook', `org-decompose-region', `org-detach-overlay', `org-file-equal-p', `org-float-time', `org-indent-line-to', `org-indent-to-column', `org-looking-at-p', `org-looking-back', `org-propertize', `org-re' and `org-select-frame-set-input-focus' as obsolete. (org-overlay-display, org-overlay-before-string, org-find-overlays): Move to "org.el" (org-xemacs-key-equivalents, org-xemacs-p): Remove variables. (org-region-active-p): Drop XEmacs support. (org-xemacs-without-invisibility): Remove macro. (org-get-x-clipboard-compat): Remove function. * lisp/org-macs.el (org-match-string-no-properties): Remove function. * lisp/ob-core.el: * lisp/org-agenda.el: * lisp/org-archive.el: * lisp/org-clock.el: * lisp/org-colview.el: * lisp/org-crypt.el: * lisp/org-element.el: * lisp/org-faces.el: * lisp/org-feed.el: * lisp/org-footnote.el: * lisp/org-habit.el: * lisp/org-id.el: * lisp/org-indent.el: * lisp/org-inlinetask.el: * lisp/org-lint.el: * lisp/org-list.el: * lisp/org-mouse.el: * lisp/org-pcomplete.el: * lisp/org-src.el: * lisp/org-table.el: * lisp/org-timer.el: * lisp/org.el: * lisp/ox-ascii.el: * lisp/ox-odt.el: * lisp/ox.el: * contrib/lisp/org-notify.el: * contrib/lisp/ox-taskjuggler.el: * contrib/lisp/org-wikinodes.el: * testing/lisp/test-org-src.el: * testing/lisp/test-org.el: Silence byte-compiler.
4 daysRemove org-colview-xemacs.elNicolas Goaziou1-1718/+0
* contrib/lisp/org-colview-xemacs.el: Remove file.
4 daysRemove some XEmacs compatibility layerNicolas Goaziou13-164/+58
* lisp/ob-calc.el (calc-trail): * lisp/ob-python.el (org-babel-python-mode): * lisp/org-agenda.el (org-agenda-tags-column): (org-agenda-show-new-time): * lisp/org-clock.el (org-clock-update-mode-line): (org-clock-put-overlay): (org-clock-resolve): * lisp/org-faces.el (org-faces): * lisp/org-indent.el (org-indent-mode): * lisp/org-macs.el (org-load-noerror-mustsuffix): * lisp/org-table.el (orgtbl-setup): * lisp/org.el (org-key): (org-self-insert-cluster-for-undo): (org-tags-column): (org-emphasis-alist): (org-mode): (org-set-font-lock-defaults): (org-cycle-internal-local): (org-tree-to-indirect-buffer): (org-set-frame-title): (org-priority): (org-set-tags): (org-set-current-tags-overlay): (org-toggle-time-stamp-overlays): (org-display-custom-time): (org-diary-to-ical-string): (org--format-latex-make-overlay): (org-dvipng-color): (org-latex-color): (org-mode-map): (org-speed-commands-default): (org-reload): (org-display-warning): (org-end-of-line): * lisp/ox-man.el (org-man-inline-src-block): * contrib/lisp/org-vm.el (org-vm-follow-link): * contrib/lisp/ox-groff.el (org-groff-inline-src-block): (org-groff-src-block): Remove some XEmacs compatibility layer.
4 daysox-latex: Use "cl-lib"Nicolas Goaziou1-23/+23
* lisp/ox-latex.el (org-latex--label): (org-latex--caption/label-string): (org-latex--find-verb-separator): (org-latex--text-markup): (org-latex-inline-src-block): (org-latex-item): (org-latex-keyword): (org-latex--inline-image): (org-latex-link): (org-latex-plain-text): (org-latex-matrices): (org-latex--script-size): (org-latex--align-string): (org-latex--table.el-table): (org-latex-timestamp): Use "cl-" prefix.
4 daysMerge branch 'maint'Nicolas Goaziou1-4/+12
4 daysorg-agenda: Effectively preserve persistent bulk marksNicolas Goaziou1-4/+11
* lisp/org-agenda.el (org-agenda-change-all-lines): Preserve bulk mark overlay when replacing an entry. Reported-by: Jesse Johnson <> <>
4 daysorg-agenda: Add missing docstringNicolas Goaziou1-0/+1
* lisp/org-agenda.el (org-agenda-bulk-marked-p): Add missing docstring.
4 daysox-latex: Fix bug introduced in 888ebfdeaf373012c7Rasmus1-7/+8
* lisp/ox-latex.el (org-latex-footnote-reference): Handle anonymous footnotes. Reported-by: Nicolas Goaziou <> <>
5 daysox-latex: More robust repeated footnote referencesRasmus3-25/+53
* lisp/ox-latex.el (org-latex--delayed-footnotes-definitions): Fix typo in docstring. (org-latex-footnote-defined-format): New defcustom. (org-latex-footnote-reference): Refer to repeated footnotes using labels. Format using new defcustom. * etc/ORG-NEWS: Mention change. * doc/org.texi (Publishing options): Add new defcustom.
5 daysox-org: Add footnote prefixRasmus1-1/+1
* lisp/ox-org.el (org-org-section): Add mandatory "fn" prefix to footnotes. Reported-by: Nick Dokos <> <>
5 daysFix typoFeng Shu1-4/+4
* org.el (org-preview-latex-process-alist): Fix typo in docstring.
5 daysox: Small refactoringNicolas Goaziou2-67/+116
* lisp/ox.el (org-export-get-loc): Refactor code. Speed-up processing when the element doesn't require line numbering. * testing/lisp/test-ox.el (test-org-gen-loc-list): Reformat code.
5 daysox: Provide offset to [+-]n in SRC/EXAMPLE exportBrian Carlson7-32/+153
* lisp/org-element.el (org-element-example-block-parser): Use cons cell for :number-lines specifying offset in addition to type (new/continue). ('continue . offset) for :number-lines will add this offset count to the last line number. ('new . offset) for :number-lines will reset the line number counting starting at offset (org-element-src-block-parser): same for SRC block as EXAMPLE block * lisp/ox-html.el (org-html-format-code): * lisp/ox-latex.el (org-latex-src-block): * lisp/ox-odt.el (org-odt-format-code): * lisp/ox.el (org-export-resolve-coderef): (org-export-get-loc): (org-export-format-code-default): * contrib/lisp/ox-groff.el (org-groff-src-block): Use new cons cell for :number-lines. * testing/lisp/test-ox.el (ert-deftest test-org-export/get-loc): Tests for changes (test-org-gen-loc-list): Helper function for `test-org-export/get-loc'.
5 daysLatex previewing: imagemagick use pdflatex by defaultFeng Shu1-2/+2
* org.el (org-preview-latex-process-alist): Use "pdflatex" instead of "latex".
6 daysPlace `org-clock-heading' outside clock timeTrevor Murphy1-1/+1
* org-clock.el (org-clock-get-clock-string): When `org-clock-effort' is nil, arrange the format string components separately, similar to how they are arranged when o-c-e is not-nil.
7 daysMerge branch 'maint' of into maintRasmus2-5/+7
7 daysox-latex.el: Format-spec checks PolyglossiaRasmus1-0/+1
* ox-latex.el (org-latex--format-spec): Also check Polyglossia language.
7 daysMerge branch 'maint'Rasmus1-3/+3
7 daysox-latex: Detect languages irrespective of caseRasmus1-3/+3
* ox-latex.el (org-latex-guess-babel-language): * ox-latex.el (org-latex--format-spec): Detect languages correctly irrespective of case.
7 daysMerge branch 'maint'Nicolas Goaziou1-1/+1
7 daysorg-table: Fix 4914f89Nicolas Goaziou1-1/+1
* lisp/org-table.el (orgtbl-setup): Fix improper key binding specification. Reported-by: Alex <> <>
7 daysMerge branch 'maint'Nicolas Goaziou1-4/+6
7 daysorg-list: Fix `org-list-send-list' in LaTeX buffersNicolas Goaziou1-4/+6
* lisp/org-list.el (org-list-send-list): Find correct translator. Reported-by: Charles Millar <> <>
7 daysMerge branch 'maint'Rasmus1-4/+6
7 daysox-html: Find preamble-spec case-insensitivelyRasmus1-4/+6
* ox-html.el (org-html--build-pre/postamble): Find the spec based on the language case-insensitively. Note that the default org-html-preamble-format and org-export-default-language are incompatible.
9 daysMerge branch 'maint'Nicolas Goaziou1-4/+4
9 daysorg-table: Fix DEL using orgtbl minor mode in prog derived modeNicolas Goaziou1-4/+4
* lisp/org-table.el (orgtbl-setup): Hijack DEL key. We also hijack `delete-backward-char' but major modes derived from `prog-mode' usually bypass it. Reported-by: Alex G <> <>
9 daysUse dvisvgm to preview latex formulasFeng Shu3-230/+285
* ox-html.el (org-html-with-latex): Add dvisvgm support. (org-html-with-latex): Add dvisvgm support. (org-html-format-latex): "ltxpng" -> "ltximg". (org-html-latex-environment): Add dvisvgm support. (org-html-latex-fragment): Add dvisvgm support. * org.el (org-preview-latex-default-process): New variable. (org-latex-create-formula-image-program): Rename it to `org-preview-latex-default-process'. (org-latex-preview-ltximg-directory): Rename it to `org-preview-latex-image-directory'. (org-preview-latex-image-directory): New variable. (org--format-latex-make-overlay): Add optional image-type, which used to deal with svg. (org-toggle-latex-fragment): "org-ltxpng" -> "org-ltximg". (org-format-latex): Add dvisvgm support. (org-create-formula-image): Big refactor, merge dvipng and imagemagick backend's feature. Add dvisvgm feature. (org-preview-latex-process-alist): Add new variable, which used to set latex preview processes. (org-create-formula-image-with-dvipng): (org-create-formula-image-with-imagemagick): Useless, removed. * org.texi (@LaTeX{} fragments): (Previewing @LaTeX{} fragments): (Math formatting in HTML export): (Working with @LaTeX{} math snippets): Add dvisvgm information.
9 daysMerge branch 'maint'Nicolas Goaziou1-4/+2
9 daysorg-table: Fix orgtbl-self-insert-command on white spacesNicolas Goaziou1-4/+2
* lisp/org-table.el (orgtbl-self-insert-command): Properly overwrite white spaces when there is room for it. This is on par with what `org-self-insert-command' does in Org tables. Reported-by: Alex <> <>
9 daysFix `org-open-at-point-global'Nicolas Goaziou1-10/+12
* lisp/org.el (org-open-at-point-global): Handle any external link looking like an Org link or time-stamp. Reported-by: Uwe Brauer <> <>
9 daysFix `org-open-at-point' testsNicolas Goaziou1-17/+5
* testing/lisp/test-org.el (test-org/open-at-point-in-keyword): (test-org/open-at-point-in-property): (test-org/open-at-point-in-comment): (test-org/open-at-point/inline-image): Simplify tests so as to not rely on info. (test-org/open-at-point/info): Remove test as it fails on the build bot.
10 daysImplement conditional case-fold search in org-occurNicolas Goaziou3-8/+52
* lisp/org.el (org-occur-case-fold-search): New variable. (org-occur): Use new variable. * testing/lisp/test-org.el (test-org/occur): Add tests.
10 daysob-exp: Small speed-upNicolas Goaziou1-2/+2
* lisp/ob-exp.el (org-babel-exp-src-block): Refer to block position instead of line. `org-current-line' is costly in large buffers.
10 daysorgmanual: Fix ALT_TITLE propertyNicolas Goaziou1-24/+23
10 daysorgmanual: Add GFDLNicolas Goaziou1-5/+13