AgeCommit message (Collapse)AuthorFilesLines
38 Elements can accept multiple secondary stringsHEADmasterNicolas Goaziou1-16/+15
* lisp/org-element.el (org-element-secondary-value-alist): Turn secondary properties into a list. (org-element-secondary-p, org-element-map): Apply changes to variable above.
41 hoursorg-agenda: Nicer error message when accessing killed bufferNicolas Richard1-0/+1
* lisp/org-agenda.el (org-agenda-switch-to): Throw an error if marker points to no buffer.
41 hoursorg-clock: Fix ignored integer values for `org-clock-into-drawer'Nicolas Goaziou1-0/+1
* lisp/org-clock.el (org-clock-into-drawer): Fix ignored integer values. Reported-by: Rainer Stengele <> <>
43 hoursorg-index.el version 4.1.0Marc-Oliver Ihm1-89/+57
47 hoursFix void `orgtbl-line-start-regexp' in orgstruct++ modeNicolas Goaziou1-3/+2
* lisp/org.el (org-adaptive-fill-function): Use `org-table-line-regexp' instead of `orgtbl-line-start-regexp', which may not be defined. Reported-by: Eric Abrahamsen <> <>
2 daysox-html: Use upstream MathJax CDNRasmus3-103/+123
* ox-html.el (org-html-mathjax-options): Add multlinewidth, autonumber, tagindent, font, linebreaks and tagside. Remove MathML. Change default indent to correspond to upstream default. Change default MathJax path to point to upstream CDN. (org-html--build-mathjax-config): Remove MathML-related parts. (org-html-mathjax-template): Simplifiy template. * org.texi (@LaTeX{} fragments), (Math formatting in HTML export): Reflect change in default CDN. * ORG-NEWS: Document changes.
2 daysox: Small refactoringNicolas Goaziou1-3/+2
* lisp/ox.el (org-export-collect-footnote-definitions): Small refactoring.
2 daysox: Small refactoringNicolas Goaziou1-2/+1
* lisp/ox.el (org-export-prune-tree): Small refactoring.
2 daysorg-element: Fix docstringNicolas Goaziou1-2/+1
* lisp/org-element.el (org-element-set-contents): Fix docstring.
3 daysox-odt: Small refactoringNicolas Goaziou1-5/+6
* lisp/ox-odt.el (org-odt--translate-latex-fragments): Small refactoring.
3 daysorg-index.el: release 4.0.0Marc-Oliver Ihm1-625/+720
3 daysox-odt: Small fixRasmus1-1/+1
* ox-odt.el (org-odt--translate-latex-fragments): Fix small bug in cebdec663d63d6971c20cb99e5502e646ee12187.
3 daysorg.el: More general TeX to MathML convert supportRasmus2-8/+20
* org.el (org-latex-to-mathml-convert-command): Work with other converters than mathtoweb. (org-latex-to-mathml-convert-command): Add possibility of passing latex-fragment. * org.texi (Working with @LaTeX{} math snippets): Show LaTeXML config.
3 daysox-odt: Remove unnecessary space when no dateRasmus1-8/+9
* ox-odt.el (org-odt-template): Remove unnecessary space in header when no date.
3 daysox-odt: Small fixNicolas Goaziou1-1/+2
* lisp/ox-odt.el (org-odt--translate-latex-fragments): Fix bug introduced in cebdec663d63d6971c20cb99e5502e646ee12187.
3 daysox-odt: Preserve white space when converting LaTeX codeNicolas Goaziou1-38/+36
* lisp/ox-odt.el (org-odt--translate-latex-fragments): Preserve white space when converting LaTeX code. Reported-by: Rasmus <> <>
3 daysorg-macs: Fix `org-string-nw-p'Nicolas Goaziou1-2/+3
* lisp/org-macs.el (org-string-nw-p): Return value doesn't depend anymore on the current syntax table. Reported-by: Rasmus Rasmus <> <>
3 daysSmall fixNicolas Goaziou1-1/+2
* lisp/org.el (org-fontify-meta-lines-and-blocks-1): Return a non-nil value in any case. This fixes 37d2a2d1cfa58c5334eec4f7fbabc4a2f313ab33.
4 daysPrevent invisible characters in keywordsNicolas Goaziou1-26/+12
* lisp/org.el (org-fontify-meta-lines-and-blocks-1): Forbid invisible characters (e.g. bracket links) in all keywords but TITLE, DATE, AUTHOR, CAPTION and EMAIL. Also remove back-end specific keywords, which are treated just like any other regular keyword. Reported-by: Rasmus <> <>
4 daysox-odt: Fix handling math snippets in captionsNicolas Goaziou1-1/+1
* lisp/ox-odt.el (org-odt--translate-latex-fragments): Fix handling math snippets in captions. Reported-by: Rasmus <> <>
4 daysob-core: Improper lists are returned in fixed-width areasNicolas Goaziou1-8/+13
* lisp/ob-core.el (org-babel-insert-result): Improper lists are removeable. When a list cannot be turned into a table, return it in a fixed-width area so that it can be removed. Suggested-by: Charles C. Berry <> <>
5 daysox: Fix custom link handling in anonymous back-endNicolas Goaziou12-35/+37
* lisp/ox.el (org-export-custom-protocol-maybe): Change signature. * contrib/lisp/ox-groff.el (org-groff-link): * lisp/ox-ascii.el (org-ascii-link): * lisp/ox-beamer.el (org-beamer-link): * lisp/ox-html.el (org-html-link): * lisp/ox-latex.el (org-latex-link): * lisp/ox-man.el (org-man-link): * lisp/ox-md.el (org-md-link): * lisp/ox-odt.el (org-odt-link): * lisp/ox-org.el (org-org-link): * lisp/ox-texinfo.el (org-texinfo-link): Apply signature change. * testing/lisp/test-ox.el (test-org-export/custom-protocol-maybe): Update test. Provide explicitly back-end used instead of guessing it from INFO channel as an anonymous back-end could be used, masquerading the real one. Reported-by: Christian Moe <> <>
6 daysob-core: Fix inserting improper listsNicolas Goaziou2-10/+31
* lisp/ob-core.el (org-babel-insert-result): Fix output when result is an improper list, which cannot be turned into a table. * testing/lisp/test-ob.el (test-ob/org-babel-insert-result--improper-lists): New test. Reported-by: Daniele Pizzolli <> <>
7 daysorg-habit: Fix 6652baa39db26df8a8ac5dbbe40f3de91bf1a6b1Nicolas Goaziou1-17/+16
* lisp/org-habit.el (org-habit-parse-todo): Fix regexp introduced in 6652baa39db26df8a8ac5dbbe40f3de91bf1a6b1.
7 daysorg-habit: Small refactoringNicolas Goaziou1-19/+20
* lisp/org-habit.el (org-habit-parse-todo): Small refactoring.
7 daysSimplify `org-show-context' configurationNicolas Goaziou6-150/+193
* lisp/org.el (org-show-context-detail): New variable. (org-context-choice, org-show-following-heading, org-show-siblings, org-show-entry-below, org-show-hierarchy-above): Remove variables. (org-show-set-visibility): New function. (org-convert-to-oddeven-levels, org-get-location, org-show-context, org-reveal): Use new function. (org-link-search): Update docstring. * lisp/org-agenda.el (org-agenda-cycle-show): Use new function. (org-agenda-show): Replace missing variable. * testing/lisp/test-org.el (test-org/show-set-visibility): New test. * doc/org.texi (Sparse trees): * doc/orgguide.texi (Sparse trees): Document changes. * etc/ORG-NEWS: Signal changes. Configuration of `org-show-context' is done with a single variable offering six different views, instead of four variables for a total of 16 configurations.
7 daysSmall fixNicolas Goaziou1-3/+2
* lisp/org.el (org-mode-flyspell-verify): Small fix.
8 daysAdd documentation regarding reserved keywords in @node HeadlinesArni Magnusson2-2/+10
8 daysox: Allow to narrow scope in footnotes APINicolas Goaziou3-19/+88
* lisp/ox.el (org-export--footnote-reference-map, org-export-collect-footnote-definitions, org-export-footnote-first-reference-p, org-export-get-footnote-number): Allow to specify scope, through a new optional argument. * lisp/ox-odt.el (org-odt-footnote-reference): Apply API change. * testing/lisp/test-ox.el (test-org-export/footnote-first-reference-p, test-org-export/get-footnote-number, test-org-export/collect-footnote-definitions): Update tests.
9 daysox: Small refactoringNicolas Goaziou1-2/+10
* lisp/ox.el (org-export-document-properties): New variable. (org-export-prune-tree, org-export-remove-uninterpreted-data): Use new variable.
9 daysox: Change `org-export-collect-footnote-definitions' signatureNicolas Goaziou5-47/+61
* lisp/ox.el (org-export-collect-footnote-definitions): Refactor code. Change signature. * testing/lisp/test-ox.el (test-org-export/collect-footnote-definitions): New test. (test-org-export/footnotes): Update test. * lisp/ox-ascii.el (org-ascii-inner-template): * lisp/ox-html.el (org-html-footnote-section): Apply signature change. * etc/ORG-NEWS: Document signature change. This change makes `org-export-collect-footnote-definitions' compatible with `org-export-get-footnote-number' and `org-export-footnote-first-reference-p'.
9 daysorg-habit: Update copyright yearNicolas Goaziou1-1/+1
9 daysorg-habit: Extend tracking to done notesNicolas Goaziou1-3/+19
* lisp/org-habit.el (org-habit-parse-todo): Also find timestamps when `org-log-done' is `note'. Reported-by: Andrew Francis Swann <>
10 daysorg.el: Backwards compatibilityRasmus1-2/+2
* org.el (org-cdlatex-environment-indent): Remove cl-prefixes for compatibility.
10 daysFix bug introduced in 438d75cRasmus1-2/+2
* ox-latex.el (org-latex--format-spec): Fix bug.
10 daysox-latex: Format-spec for hyperref and titleRasmus2-17/+70
* ox-latex.el (org-latex--format-spec): New function with format-specs. (org-latex-template): Use org-latex--format-spec. (org-latex-hyperref-template): New defaults and use org-latex--format-spec. (org-latex-title-command): Use org-latex--format-spec. * ORG-NEWS: Mention change.
10 daysorg.el: Change indention for cdlatex environmentsRasmus1-5/+54
* org.el (org-cdlatex-environment-indent): Use different indent algorithm based on content above the new latex-environment.
10 daysFix `org-time-stamp'Nicolas Goaziou1-2/+3
* lisp/org.el (org-time-stamp): Properly insert time when specified. This fixes e50baa4cf7b97cc2e9b6991560be2bd970106e1e. Reported-by: Rasmus <> <>
11 daysob-core: Allow spaces in NAMENicolas Goaziou1-1/+1
* lisp/ob-core.el (org-babel-src-name-w-name-regexp): Allow spaces as NAME value. Suggested-by: Joost Helberg <> <>
11 daysorg-src: Update copyright yearNicolas Goaziou1-1/+1
12 daysorg-src: Small refactoringNicolas Goaziou1-9/+7
* lisp/org-src.el (org-src--remove-overlay): New function. (org-src--edit-element, org-src-mode-configure-edit-buffer): Use new function.
12 daysMerge branch 'maint'Nicolas Goaziou1-2/+5
12 daysFix "Wrong type argument: overlayp"maintNicolas Goaziou1-1/+4
* lisp/org-src.el (org-src-mode-configure-edit-buffer): Fix "Wrong type argument: overlayp". Changing major mode in a source edit buffer resets local variables used to link it to source buffer. As a consequence, overlay in source buffer can no longer be found nor deleted.
13 daysFix documentation-function for elisp-mode in emacs24Ɓukasz Gruner1-0/+6
14 daysUpdated org-drill to version 2.4.5.Paul Sexton1-12/+19
14 daysUpdate some copyright yearsNicolas Goaziou34-34/+34
14 daysorg-element: Forbid footnote references in parsed keywordsNicolas Goaziou1-1/+1
* lisp/org-element.el (org-element-object-restrictions): Forbid footnote references in parsed keywords. Inserting footnote references in parsed keywords (e.g., TITLE or CAPTION) can lead to subtle bugs. Indeed, it is impossible to know in time if that particular footnote is going to be used in the output, and, therefore, if it should count, e.g., in `org-export-get-footnote-number'.
14 daysorg-footnote: Be more strict about location for new footnotesNicolas Goaziou2-32/+135
* lisp/org-footnote.el (org-footnote--allow-reference-p): New function. (org-footnote-new): Use new function. * testing/lisp/test-org-footnote.el (test-org-footnote/new): New test. In particular, Org now refuses to add a footnote reference in a keyword, e.g., TITLE.
2015-02-15org-element: Faster inline footnotes parsingNicolas Goaziou1-29/+34
* lisp/org-element.el (org-element--pair-square-table): New variable. (org-element-footnote-reference-parser): Use new variable.
2015-02-14org-list: Fix continuated items repairNicolas Goaziou2-27/+48
* lisp/org-list.el (org-list-struct-apply-struct): Preserve disparate indentation in contuated contents, i.e., contents after a plain list still within an item. * testing/lisp/test-org-list.el (test-org-list/repair): Add test. This fixes the following case: - item - child item contents with different indentation Reported-by: Mark Edgington <> <>