AgeCommit message (Collapse)AuthorFilesLines
46 hoursorg-src: Fix reference to free variableHEADmasterKyle Meyer1-4/+4
* lisp/org-src.el (org-src--contents-area): Replace a let with let*.
3 daysorg-src: Fix escaping in remote editingNicolas Goaziou1-16/+23
* lisp/org-src.el (org-src--contents-area): Include contents to be inserted in the edit buffer in return value. (org-src--edit-element): Apply change above. Reported-by: Kyle Meyer <> <>
3 daysob-core: Register :file-ext as allowed header argumentNicolas Goaziou1-0/+1
* lisp/ob-core.el (org-babel-common-header-args-w-values): Allow :file-ext. Reported-by: Rainer M Krug <> <>
5 daysorg.el: Fix bug in af6fdf30718158fRasmus1-9/+10
* org.el (org-return): Fix bug when headline title is empty.
5 daysorg.el: New function org-delete-indentationRasmus3-0/+67
* org.el (org-delete-indentation): New function. (org-mode-map): Bind org-delete-indentation to M-^. * test-org.el (test-org-delete-indentation): Test org-delete-indentation. * ORG-NEWS: Add entry on org-delete-indentation.
5 daysorg.el: RET breaks headline textRasmus3-13/+61
* org.el (org-return): RET breaks headline text. * test-org.el (test-org/return): Test org-return on headline text. * ORG-NEWS: Add entry on new org-return behavior.
5 daysFix two typosMarco Wahl1-1/+1
* lisp/org.el: Fix in documentation of variable org-outline-path-complete-in-steps.
5 daysMerge branch 'maint'Bastien2-54/+57
Conflicts: lisp/org-list.el
5 dayslisp/org-{macs, list}.el: Fix lexical warningsmaintStefan Monnier2-60/+63
* lisp/org-{macs,list}.el: Fix lexical warnings * lisp/org-list.el (org-list-struct): Remove unused var `ind'. (org-list-get-next-item, org-list-get-prev-item) (org-list-get-children): Mark unused arg `struct'. (org-list-use-alpha-bul-p): Remove unused var `bul'. (org-toggle-checkbox): Mark unused var. (org-update-checkbox-count): Remove unused var `box-num'. (org-adapt-indentation): Declare. (org-list-parse-list): Declare var instead of adding a dummy duplicate. (org-list-send-list): Remove unused var `txt'. (org-list-to-latex, org-list-to-texinfo): Mark unused arg `params'. (org-list-to-subtree): Add prefix to dyn-bind var, and declare them. * lisp/org-macs.el: Use `declare'. (org-with-limited-levels): Declare dyn-bound vars.
6 daysob-R: Allow more :results valuesNicolas Goaziou1-2/+2
* lisp/ob-R.el (org-babel-header-args:R): Allow "drawer" and "none", since they are supported in `org-babel-common-header-args-w-values'. Reported-by: Andreas Leha <> <>
6 daysFix `org-next-block'Nicolas Goaziou1-1/+1
* lisp/org.el (org-next-block): Preserve match data, as specified in the docstring. Reported-by: Andreas Leha <> <>
6 daysob-core: Allow never-export as :eval valueNicolas Goaziou1-1/+2
* lisp/ob-core.el (org-babel-common-header-args-w-values): Allow "never-export" as :eval value.
8 daysorg-inlinetask: Fix visibility togglingNicolas Goaziou1-1/+1
* lisp/org-inlinetask.el (org-inlinetask-toggle-visibility): Fix visibility toggling when starting with a link. Reported-by: Anders Johansson <> <>
8 daysFix message format in org-notmuch-search-openChristopher League1-1/+1
* org-notmuch.el (org-notmuch-search-open): Bug fix When opening a notmuch-search link, we use =message= to display the path at the bottom of the screen. This would signal "Not enough arguments for format string" when the path contained %-signs, as it is likely to when the query contains spaces: [[notmuch-search:tag:inbox%2520not%2520tag:bulk%2520org]] That query appears to be double-escaped, which also might contribute to the problem, but either way: we should use =(message "%s" str)= to print arbitrary strings, not =(message str)=.
8 daysorg-attach.el: Fix check for git annexErik Hetzner1-1/+2
* lisp/org-attach.el (org-attach-commit): Check for .git/annex dir in addition to annex dir in root git dir to ensure that git annex is used TINYCHANGE
10 daysMerge branch 'master' of Goaziou2-13/+13
10 daysorg.texi: Remove unnecessary @quotationNicolas Goaziou1-6/+0
* doc/org.texi (The export dispatcher): (Languages): Remove @quotation.
10 daysorg.texi: Fix typoNicolas Goaziou1-1/+1
* doc/org.texi (Macro replacement): Fix typo.
10 daysorg.texi: Add header separator in Babel languages tableNicolas Goaziou1-1/+1
* doc/org.texi (Languages): Add separator.
10 daysox-html: Less generic names for table aligns.Rasmus2-13/+13
* ox-html.el (org-html-style-default): (org-html-table-cell, org-html-table): Prefix left, right, center classes. * test-org-table.el (test-org-table/to-html): Change classes. Reported-by: Matt Price <> <>
11 daysorg.texi: Fix typoNicolas Goaziou1-1/+1
* doc/org.texi (Languages): Fix typo.
11 daysorg.texi: Reorder languagesNicolas Goaziou1-5/+5
* doc/org.texi (Languages): Reorder languages.
11 daysorg.texi: Add Fortran to supported languagesNicolas Goaziou1-14/+14
* doc/org.texi (Languages): Add Fortran. Reported-by: Alain Cochard <> <>
12 daysorg-element: Tiny refactoringNicolas Goaziou1-1/+1
* lisp/org-element.el (org-element-link-parser): Use `string-to-char' instead of (aref STRING 0).
12 daysImprove docstringsNicolas Goaziou1-6/+18
* lisp/org.el (org-metaleft): (org-metaright): Improve docstrings. Suggested-by: Alain Cochard <> <>
2015-05-10ox: Tiny refactoringNicolas Goaziou1-1/+1
* lisp/ox.el (org-export-resolve-fuzzy-link): Use `string-to-char' instead of (aref STRING 0).
2015-05-10ox: Tiny refactoringNicolas Goaziou1-38/+54
* lisp/ox.el (org-export-expand-include-keyword): (org-export--prepare-file-contents): (org-export-with-backend): Wrap line of code within 80 columns. (org-export--inclusion-absolute-lines): Remove unecessary `format' call for error message.
2015-05-10org-table: Fix durations extracted from node propertiesNicolas Goaziou2-19/+68
* lisp/org-table.el (org-table-formula-substitute-names): Convert durations when needed. Refactor code. * testing/lisp/test-org-table.el (test-org-table/duration): New test. Reported-by: Daniele Pizzolli <> <>
2015-05-10org.texi: Fix typoNicolas Goaziou1-1/+1
* doc/org.texi (Macro replacement): Fix typo introduced in fa5f8c8f90440ce7e440148e2b7ee20a10d9f547.
2015-05-10* etc/ORG-NEWS: Document new {{{property}}} optional argumentNicolas Goaziou1-0/+4
2015-05-10Allow optional argument to {{{property}}} for remote entriesNicolas Goaziou3-21/+86
* lisp/org-macro.el (org-macro-initialize-templates): "property" template accepts an optional argument, as a search option to grab properties from other headlines. * doc/org.texi (Macro replacement): Document new feature. Improve documentation. (An example): Update documentation. * testing/lisp/test-org-macro.el (test-org/macro-replace-all): Add tests.
2015-05-10org-macro: Fix incomplete docstringNicolas Goaziou1-1/+4
* lisp/org-macro.el (org-macro-replace-all): Document missing KEYWORDS optional argument.
2015-05-09test-org-element: Add tests for latex fragments parsingNicolas Goaziou1-12/+38
* testing/lisp/test-org-element.el (test-org-element/latex-fragment-parser): Add tests.
2015-05-09Fix detection of latex fragmentsTitus von der Malsburg3-6/+7
* org-element.el (org-element-latex-fragment-parser): * org.el (org-latex-regexps): Fix the detection of latex fragments. Uses syntax tables to detect whitespaces and punctuation marks following the final $ sign. In order to qualify as a math delimiter, the final $ sign of a LaTeX fragment has to be followed by a whitespace or punctuation mark but the regexp used in the previous code matched only a small number of punctuation marks and therefore missed some latex fragments.
2015-05-08org-capture: Fix "org-find-olp: Wrong type argument: stringp, nil"Nicolas Goaziou2-5/+6
* lisp/org-capture.el (org-capture-expand-file): Empyt string defaults to `org-default-notes-file'. * lisp/org.el (org-default-notes-file): Do not fallback on `remember-data-file' since "org-capture.el" is not based off "remember.el" anymore. Reported-by: Florian Lindner <> <>
2015-05-08Fix TBLFM line handlingNicolas Goaziou2-22/+20
* lisp/org-table.el (org-table-TBLFM-begin-regexp): Take into consideration that table lines are not required to end with "|". (org-table-calc-current-TBLFM): Properly clean markers at the end of the process. (org-table-TBLFM-begin): Small refactoring. * lisp/org.el (org-at-TBLFM-p): Prevent false positives. Suggested-by: Oleg Sivokon <> <>
2015-05-08Fix indentation in empty itemsNicolas Goaziou2-12/+23
* lisp/org.el (org--get-expected-indentation): Fix indentation on in empty items. * testing/lisp/test-org.el (test-org/indent-line): Add test. Reported-by: Leo Ufimtsev <> <>
2015-05-07org-element: Fix parsing bug in itemsNicolas Goaziou1-20/+16
* lisp/org-element.el (org-element-item-parser): When contents are empty, do not find a zero-width paragraph within.
2015-05-07ox-publish: Allow external references outside of publishingNicolas Goaziou1-19/+21
* lisp/ox-publish.el (org-publish-resolve-external-link): Warn instead of throwing an error when a reference to a non-published external file is encountered.
2015-05-06org-list: Preserve newline characters when changing description listsNicolas Goaziou1-3/+3
* lisp/org-list.el (org-list-to-generic): Preserve newline characters after description in description lists. Reported-by: Leo Ufimtsev <> <>
2015-05-06ox-publish: Throw an error for external reference outside of publishNicolas Goaziou1-0/+5
* lisp/ox-publish.el (org-publish-resolve-external-link): Throw an error when trying to resolve an external reference while not in a publishing process. Reported-by: Rainer M Krug <> <>
2015-05-06ox-publish: Fix space matching in external fuzzy linksNicolas Goaziou1-12/+18
* lisp/ox-publish.el (org-publish--collect-references): (org-publish-resolve-external-link): Treat consecutive blank characters as a single space, not 0.
2015-05-06org-footnote: Make `org-footnote-create-definition' non-interactiveNicolas Goaziou1-59/+57
* lisp/org-footnote.el (org-footnote-create-definition): Remove `interactive' status. Allow to insert definitions outside of narrowed part of buffer. Preserve position. Return beginning position of created definition. (org-footnote-new): (org-footnote-action): Apply changes above.
2015-05-06org-footnote: Rename `org-footnote-goto-local-insertion-point'Nicolas Goaziou2-226/+233
* lisp/org-footnote.el (org-footnote--goto-local-insertion-point): Renamed from `org-footnote-goto-local-insertion-point'. (org-footnote-normalize): Use function above. Small refactoring. * testing/lisp/test-org-footnote.el (test-org-footnote/normalize-in-org): Small refactoring.
2015-05-06org-footnote: Add optional argument to `org-footnote-goto-definition'Nicolas Goaziou1-15/+22
* lisp/org-footnote.el (org-footnote-goto-definition): Add an optional argument in order to avoid duplicating calls to `org-footnote-get-definition'. Return non-nil when move was successful.
2015-05-04org-footnote: Fix type error when creating a new footnoteNicolas Goaziou1-9/+12
* lisp/org-footnote.el (org-footnote-get-definition): Fix type error when creating a new footnote. When footnote definition is new, contents are nil.
2015-05-02org-footnote: Offer to widen buffer when trying to move to a definitonNicolas Goaziou1-2/+14
* lisp/org-footnote.el (org-footnote-action): Offer to widen buffer if definition is outside of narrow part of buffer.
2015-05-02org-footnote: Fix `org-footnote-get-definition'Nicolas Goaziou1-14/+19
* lisp/org-footnote.el (org-footnote-get-definition): Footnotes definitions are global, so ignore narrowing right from the start. Also skip false positives.
2015-05-02org-src: Allow to edit inline footnote referencesNicolas Goaziou2-81/+106
* lisp/org-src.el (org-src--edit-element): Do not rely on :value to extract contents. Small refactoring. (org-src--contents-area): Renamed from `org-src--element-contents-area'. Throw an error on unknown elements. (org-src--on-datum-p): Rename from `org-src--on-element-p'. Handle objects. (org-edit-export-block, org-edit-src-code, org-edit-fixed-width-region, org-edit-table.el): Apply renaming. (org-edit-src-save, org-edit-src-exit): Handle inline text. (org-edit-src-exit): Allow empty or blank code. Handle inline text. (org-src--edit-element): Rename an argument (org-edit-footnote-reference): Allow to edit inline definitions. * etc/ORG-NEWS: Document new feature.
2015-05-01org-src: Make area being edited read-onlyNicolas Goaziou1-11/+13
* lisp/org-src.el (org-src--make-source-overlay): Add read-only feature to overlay. (org-edit-src-save): Adapt to change above.