AgeCommit message (Collapse)AuthorFilesLines
4 hoursMerge branch 'master' of Goaziou1-19/+24
4 hoursORG-NEWS: Signal signature changeNicolas Goaziou1-0/+1
* etc/ORG-NEWS: Signal signature change introduced in b4d85b47a9fe0b39b59f7b9295203e1d30c76c9a.
5 hoursFix typo in 6db0b0cd437a988e7513901d3458d586ee145dRasmus1-1/+1
6 hoursox-html: Respect local values when formatting codeRasmus1-19/+24
* ox-html.el (org-html-fontify-code): Use local value of org-html-htmlize-output-type parent and org-html-htmlize-font-prefix parent. Reported-by: Eric S Fraga <> <>
7 hoursFix links with newline charactersNicolas Goaziou3-35/+58
* lisp/org-element.el (org-element-link-parser): Correctly parse links with newline characters. * lisp/org.el (org-make-link-regexps): Allow newline characters within angle links. (org-activate-angle-links): Support multiline angle links. * testing/lisp/test-org-element.el (test-org-element/link-parser): Update tests. As a rule of thumb, any newline character and all surrounding whitespaces are treated as a single space in a bracket link. They are removed in angle links.
9 hoursFix priority for fuzzy searchesNicolas Goaziou1-4/+5
* lisp/org.el (org-link-search): If fuzzy search is not starred, prefer targets and named elements over headlines.
9 hoursPrevent duplicating calls to `org-link-search'Nicolas Goaziou1-14/+16
* lisp/org.el (org-open-at-point): Do not call twice `org-link-search' when destination is not accessible within the current narrowed part of the buffer.
10 hoursRemove spurious argument to `org-link-search'Nicolas Goaziou3-18/+10
* lisp/org.el (org-link-search): Remove TYPE argument, used to force `org-occur' or `org-do-occur' on fuzzy search. Instead, enclose string within forward slashes. * lisp/org-macro.el (org-macro-initialize-templates): * lisp/ob-exp.el (org-link-search): Apply signature change.
13 hoursSmall refactoringNicolas Goaziou1-93/+91
* lisp/org.el (org-set-tags): Small refactoring.
25 hoursorg-table: Fix computation with backwards rangesNicolas Goaziou1-5/+5
* lisp/org-table.el (org-table-get-range): Use correct values to extract range. This is important when range is defined backwards (e.g., @-I..@-II). Reported-by: Sebastien Vauban <>
45 hoursRepair radio target searchNicolas Goaziou2-11/+43
* lisp/org.el (org-open-at-point): Find radio targets again. (org-search-radio-target): New function. * testing/lisp/test-org.el (test-org/open-at-point/radio-target): New test.
46 hoursPrevent fuzzy links from matching themselvesNicolas Goaziou1-7/+21
* lisp/org.el (org-open-at-point): (org-link-search): Prevent fuzzy links from matching themselves.
47 hoursFix link searchNicolas Goaziou4-204/+220
* lisp/org.el (org-open-link-marker): Remove variable. (org-open-at-point): Apply removal. (org-link-search): Sanitize function. Fix issue with internal link encoding. (org-search-not-self): Remove function. * lisp/ox.el (org-export--inclusion-absolute-lines): Ensure INCLUDE keywords with locations can find named elements and targets. * testing/lisp/test-org.el (test-org/return): (test-org/coderef): (test-org/custom-id): Update tests. (test-org/fuzzy-links): Add tests. Reported-by: Ivanov Dmitry <> <>
2 daysorg-table: Simplify `org-table-sort-lines'Nicolas Goaziou2-119/+84
* lisp/org-table.el (org-table-sort-lines): Rely on `sort-subr'. Refactor code. (org-table--do-sort): Remove function. * testing/lisp/test-org-table.el (test-org-table/sort-lines): Fix test.
2 daysorg-table: Improve tables' speed in large buffersNicolas Goaziou2-1005/+1065
* lisp/org-table.el (org-table-auto-recalculate-regexp): (org-table-recalculate-regexp): (org-table-calculate-mark-regexp): (org-table-column-names): (org-table-column-name-regexp): (org-table-local-parameters): (org-table-named-field-locations): (org-table-current-line-types): (org-table-current-begin-pos): (org-table-current-ncol): (org-table-dlines): (org-table-hlines): Improve docstrings. (org-table-current-begin-line): Remove variable. (org-table-save-field): New macro. (org-table-get-specials): Remove function. (org-table-analyze): New function, renamed from `org-table-get-specials'. (org-table-find-row-type): Remove function. (org-table--row-type): New function, renamed from `org-table-find-row-type'. (org-table-align): Use new macro. (org-table-field-info): (org-table-insert-column): (org-table-delete-column): (org-table-move-column): (org-table-sort-lines): (org-table-paste-rectangle): (org-table-wrap-region): (org-table-current-field-formula): (org-table-get-formula): (org-table-maybe-recalculate-line): (org-table-eval-formula): (org-table-get-range): (org-table--descriptor-line): (org-table-recalculate): (org-table-expand-lhs-ranges): (org-table-edit-formulas): (org-table-show-reference): (org-table-get-remote-range): Apply changes above. Refactor code. (org-table-check-inside-data-field): (org-table-current-column): (org-table-current-dline): (org-table-line-to-dline): (org-table-copy-region): (org-table-rotate-recalc-marks): (org-table-fedit-post-command): (org-table-fedit-convert-buffer): (org-table-highlight-rectangle): Refactor code. (org-table-goto-field): New function. * lisp/org-capture.el (org-capture-place-table-line): Apply change made to table internals. The point of this commit is to remove dependency on `org-current-line' and `org-goto-line', which are both expensive in large buffers. Now, lines are relative to the beginning of the current table instead of global (i.e., relative to the beginning of the buffer).
2 daysorg-table: Speed-up `org-table-{begin,end}'Nicolas Goaziou1-13/+28
* lisp/org-table.el (org-table-border-regexp): Improve docstring. (org-table-begin): (org-table-end): Assume point is in a table already. In this case, using parser is not necessary anymore.
2 daysFix org-at-TBLFM-pNicolas Goaziou1-2/+2
* lisp/org.el (org-at-TBLFM-p): Make sure match is case-insensitive. Improve speed in the general case.
2 daysorg-table: Fix code commentsNicolas Goaziou1-3/+3
2 daysorg-table: Remove outdated functionsNicolas Goaziou2-31/+3
* lisp/org-table.el (org-table-colgroup-line-p, org-table-cookie-line-p): Remove functions. * etc/ORG-NEWS: Signal removal. These functions were used in the pre Org 8.0, specifically in HTML export back-end. They are no longer accurate since they tolerate some HTML entities whereas Org syntax doesn't.
3 daysox-latex: Tiny refactoringNicolas Goaziou1-26/+28
* lisp/ox-latex.el (org-latex-guess-polyglossia-language): Tiny reactoring.
4 daysox-latex: New function to generate headerRasmus2-37/+22
* ox-latex.el (org-latex--make-header): New function. (org-latex-template): Use new function. * ox-koma-letter.el (org-koma-letter-template): Use new function.
4 daysAdd notes on Polyglossia supportRasmus2-5/+12
* ox-latex.el (org-latex-classes): Update docstring. * ORG-NEWS: Update.
6 daysox-latex: Add polyglossia supportRasmus1-10/+151
* ox-latex.el (org-latex-guess-polyglossia-language): New function. (org-latex-polyglossia-language-alist): New defconst. (org-latex-template): Apply new function. * ox-koma-letter.el (org-koma-letter-template): Apply new function. Suggested-by: Suvayu Ali <> <>
7 dayslisp/org.el (org-set-tags): Simplify furtherOleh Krehel1-15/+21
* lisp/org.el (org-set-tags): Use let* for c0 p0 c1 rpl di tc; Restructure so that no check on c0 is needed; Don't return a useless tags var from cond; Change and into an equivalent when.
7 dayslisp/org.el (org-set-tags): Simplify the codeOleh Krehel1-94/+96
* lisp/org.el (org-set-tags): Prefer let* to multi-variable setq, move c0 p0 c1 rpl di tc variables to a narrower let scope.
9 daysorg.texi: ob-languages and multiple sessions supporttsdye1-1/+2
10 daysox.el: Remove docstring for nonexistent argumentRuben Maher1-3/+0
* lisp/ox.el (org-export-output-file-name): Remove docstring for nonexistent argument VISIBLE-ONLY.
11 daysUpdated org-drill to version 2.4.7.Paul Sexton1-81/+153
13 daysorg-table: Do not trim output of radio tablesNicolas Goaziou1-2/+4
* lisp/org-table.el (orgtbl-to-generic): Leading and trailing spaces could be significant, so do not trim result. However, remove the final newline character. Reported-by: lom pik <> <> <>
14 daysFix `org-beginning-of-line'Nicolas Goaziou2-2/+10
* lisp/org.el (org-beginning-of-line): Prevent an error when buffer contains only a single star. * testing/lisp/test-org.el (test-org/beginning-of-line): Add tests.
14 daysorg-mime: Fix a docstringNicolas Goaziou1-3/+3
* contrib/lisp/org-mime.el (org-mime-htmlize): Fix docstring.
2015-07-21org-mime.el: Fix org-mime-htmlizeMatt Price1-3/+3
* org-mime.el (org-mime-htmlize): Make argument optional.
2015-07-20Speed improvement for `org-goto'Nicolas Goaziou1-3/+6
* lisp/org.el (org-goto-local-search-headings): Do not rely on `org-context' just to check if point is on a headline but not on its tags. Reported-by: Gregor Zattler <> <w> <>
2015-07-20ox-html: Better customize for org-html-viewportRasmus1-22/+23
* ox-html.el (org-html-viewport): Allow disabling via customize.
2015-07-18test-org-clock: Fix failing test (again)Nicolas Goaziou1-62/+34
* testing/lisp/test-org-clock.el (test-org-clock/clocktable): Update test. (test-org-clock/clocktable1, test-org-clock/clocktable2, test-org-clock/clocktable-until-now): Merge tests into the previous one.
2015-07-18org-colview: Do not silently modify bufferNicolas Goaziou1-87/+92
* lisp/org-colview.el (org-columns-display-here): Do not modify buffer silently. Small refactoring. Reported-by: Nicolas Richard <> <>
2015-07-17test-org-clock: Fix failing testNicolas Goaziou1-19/+27
* testing/lisp/test-org-clock.el (test-org-clock/clocktable): Fix clocktable creation. (test-org-clock/clocktable1): (test-org-clock/clocktable2): (test-org-clock/clocktable-until-now): Update tests.
2015-07-16ox-koma-letter: Add closing special headingRasmus1-8/+42
* ox-koma-letter.el (org-koma-letter-special-tags-in-letter): Add closing. (org-koma-letter-template): Potentially take closing value from closing spcical heading. (org-koma-letter--build-settings): Potentially take signature value from closing special heading. (org-koma-letter-closing): (org-koma-letter-signature): Update docstring. Suggested-by: Suvayu Ali <> <>
2015-07-16org-closest-date: Don't accept canceled repeaterKyle Meyer1-4/+6
* lisp/org.el (org-time-string-to-absolute): Don't pass a canceled repeater to org-closest-date. (org-closest-date): Raise an error when passed a canceled repeater. Prevent arith-error from occurring when a canceled repeater is passed to org-closest-date.
2015-07-13org-entities: Add frownyRasmus1-0/+1
* org-entities.el (org-entities): Add frowny.
2015-07-13org-entities: Change smile and frownRasmus1-2/+2
* org-entities.el (org-entities): Reinterpret smile and frown entities. See:,
2015-07-13Update ORG-NEWS wrt. ox-latex package removalsRasmus1-3/+5
2015-07-13org.el: Remove wasysym LaTeX dependencyRasmus2-5/+4
2015-07-13org.el: Remove marvosym LaTeX dependencyRasmus2-7/+2
* org.el (org-latex-default-packages-alist): Remove marvosym. * org-entities.el (org-entities): \EUR is now replaced with \texteuro. Remove EURdig, EURhv, EURcr, EURtm.
2015-07-13org.el: Remove default LaTeX toleranceRasmus1-2/+1
* org.el (org-latex-default-packages-alist): Remove fixed tolerance.
2015-07-13ox-html: Change footpara wrapperRasmus1-3/+2
* ox-html.el (org-html-footnote-section): Wrap footnote definitions content in a div rather than a p. p is a bad element to use for a wrapper as it can neither contain other p elements nor tables. (org-html-style-default): Change .footpara to inline display style. Reported-by: OSiUX <> <>
2015-07-11contrib/lisp/org-eww: Update copyright yearsMarco Wahl1-1/+1
2015-07-11contrib/org-eww: Quote leading stars at killMarco Wahl1-2/+11
* contrib/lisp/org-eww.el (org-eww-copy-for-org-mode): Lines starting with '*' get quoted at special kill. This allows yanking content containing lines starting with a '*' without changing the outline structure.
2015-07-09org-table: Fix table alignmentNicolas Goaziou3-196/+161
* lisp/org-table.el (org-table-align): Refactor function fix wrong alignment bug. * lisp/org-compat.el (org-format-transports-properties-p): Remove variable. * testing/lisp/test-org.el (test-org/fill-paragraph): Fix test Reported-by: William Denton <> <>
2015-07-08ox-deck: parse checkboxes properlyMatt Price1-1/+3
*ox-deck.el Previously, list items with checkboxes would not build properly. This trivial and clumsy patch fixes that.