AgeCommit message (Collapse)AuthorFilesLines
73 min.ox: Remove unnecessary code commentsHEADmasterNicolas Goaziou1-277/+9
11 hoursBump Emacs versionNicolas Goaziou9-16/+16
* lisp/ob-core.el (org-babel-examplize-region): * lisp/ob-exp.el (org-babel-exp-inline-code-template): * lisp/org-table.el (org-table-copy-increment): (org-table-formula-create-columns): * lisp/org.el (org-agenda-ignore-drawer-properties): (org-agenda-ignore-properties): * lisp/ox-ascii.el (org-ascii-list-margin): * lisp/ox-html.el (org-html-format-headline-function): (org-html-format-inlinetask-function): * lisp/ox-latex.el (org-latex-hyperref-template): (org-latex-custom-id-as-label): (org-latex-format-inlinetask-function): (org-latex-known-warnings): * lisp/ox-odt.el (org-odt-format-headline-function): (org-odt-format-inlinetask-function): * lisp/ox-texinfo.el (org-texinfo-format-headline-function): Bump Emacs version.
2 daysMerge branch 'maint'Achim Gratz1-2/+2
2 daysORG-NEWS: Document new optionsrasmus1-0/+7
4 daysorg.el: Fix bindings of < and > for calendar scrollingmaintMarco Wahl1-2/+2
* lisp/org.el (org-read-date-minibuffer-local-map): Switch to the current calendar API for scrolling the calendar.
4 daysorg.el: Use normalized names in org-agenda-file-pYann Hodique1-2/+4
* lisp/org.el (org-agenda-file-p): Make sure all filenames are normalized before performing comparison.
4 dayscontrib/lisp/org-velocity: Fix failure for big windowMarco Wahl1-1/+1
* contrib/lisp/org-velocity.el (org-velocity-incremental-read): Reversed the estimation against window-height.
4 daysorg-clock.el (org-clock-select-task): Kill temporary bufferBastien Guerry1-0/+1
* org-clock.el (org-clock-select-task): Kill temporary buffer. Thanks to Marcin Borkowski for this idea.
4 daysorg.texi: Remove extraneous backslash in key sequenceRafael Laboissiere1-1/+1
* doc/org.texi (ASCII bar plots): Remove the backslash character in the key binding sequence for orgtbl-ascii-plot command. I think that this backslash is not needed, since previously in the same section, at subheading "Graphical plots using Gnuplot", there is a similar key sequence without backslash @kbd{C-c " g}. TINYCHANGE
7 daysox-latex: Possibly make a matrix out of tabular environmentNicolas Goaziou1-3/+4
* lisp/ox-latex.el (org-latex--math-table): Properly create matrix if "tabular" environment is used. Make sure cells are centered instead of applying usual alignment rules.
7 daysox-latex: Tiny fix to latex-matrices pseudo-elementsNicolas Goaziou1-3/+12
* lisp/ox-latex.el (org-latex--wrap-latex-matrices): Make sure contiguous element is also an Org table.
7 daysox-latex: Add `org-latex-caption-above'Nicolas Goaziou3-45/+97
* lisp/ox-latex.el (org-latex-caption-above): New variable. (org-latex-table-caption-above): Remove variable. Make it an obsolete alias of the previous one. (org-latex--caption-above-p): New function. (org-latex--inline-image, org-latex-src-block, org-latex-special-block, org-latex table): Handle new variable. * doc/org.texi (Publishing options): * etc/ORG-NEWS: Document new option.
7 daysox-latex: Refactor matrices codeNicolas Goaziou1-53/+71
* lisp/ox-latex.el (latex): Introduce a dedicated pseudo-element: `latex-matrices'. (org-latex--wrap-latex-matrices, org-latex-matrices, org-latex-matrices-tree-filter): New functions. (org-latex--math-table): Delegate environment wrapping to new pseudo-element translator.
8 daysORG-NEWS: Document new hook and new defcustomNicolas Goaziou1-0/+5
8 daysorg-clock: Fix CLOCK_INTO_DRAWER property checkKyle Meyer1-7/+9
* lisp/org-clock.el (org-clock-into-drawer): Fix processing of properties so that they can override global value. Previously, if the 'CLOCK_INTO_DRAWER' or 'LOG_INTO_DRAWER' property was nil, the local property setting would not override the global variable [1]. These changes make the behavior match the docstring description ('CLOCK_INTO_DRAWER' and 'LOG_INTO_DRAWER' properties override `org-clock-into-drawer', with 'CLOCK_INTO_DRAWER' given precedence). [1] TINYCHANGE
8 daysorg-attach: Maybe delete heading attachments when archivingEric Abrahamsen1-0/+22
* lisp/org-attach.el (org-attach-archive-delete): New option controlling what to do with attachments when archiving. (org-attach-archive-delete-maybe): New function that runs as a hook on org-archive-hook. Checks the value of `org-attach-archive-delete', and behaves accordingly.
8 daysorg-archive: Provide a hook during the archive processEric Abrahamsen1-2/+10
* lisp/org-archive.el (org-archive-hook): New hook. (org-archive-subtree): Run hook.
9 daysMerge branch 'master' of Arroyo Menéndez4-39/+82
9 daysorg-effectiveness.el: Add org-effectiveness-plot-saveDavid Arroyo Menéndez1-2/+12
* contrib/lisp/org-effectiveness.el (org-effectiveness-plot): Adapt source to save as file image. (org-effectiveness-plot-save): Add function.
10 daysorg-mac-link.el: Fix malformed Safari linksAlan Schmitt1-18/+9
* contrib/lisp/org-mac-link.el (org-as-mac-safari-get-frontmost-url): Run only the AppleScript. (org-mac-safari-get-frontmost-url): reuse `org-mac-paste-applescript-links' to properly deal with quotes.
10 daysDocument ASCII-art plotThierry Banel2-5/+54
* doc/org.texi: Extend Gnuplot chapter to ASCII-art plotting. * etc/ORG-NEWS: Document ASCII-art plot.
10 daysorg-capture: Better indentation when creating a new listAndrew Burgess1-15/+17
lisp/org-capture.el (org-capture-place-item): When starting a new list use org-indent-line to establish the correct indentation rather than just using 0. Creating an entry in org-capture-templates of type item adds entries into a list, however, currently, if the list is empty then the first list item will always be indented to depth 0 (so hard on the left), which looks like this: * Top Level ** Second Level - item #1 - item #2 - item #3 This is fine if org-adapt-indentation is nil, however, with the default value of t lists should be indented more like this: * Top Level ** Second Level - item #1 - item #2 - item #3 The patch below changes org-capture-place-item so that, when starting a new list, the items are indented as above. Care is taken to preserve two features of the existing behaviour, first, when adding to an existing list, new items are indented to match the items already in the list. And secondly, when there is some introductory text before the list new items are inserted after the text, like this: * Top Level ** Second Level This is some introductory text: - item #1 - item #2 - item #3 TINYCHANGE
10 daysorg.texi: Tiny fixNicolas Goaziou1-1/+2
* doc/org.texi (An example): Tiny fix.
11 daysob-clojure: Silence byte-compilerNicolas Goaziou1-1/+2
11 daysFix indentation in listsNicolas Goaziou3-44/+83
* lisp/org-list.el (org-list-item-body-column): Take into consideration empty items and bullets followed by two spaces. * lisp/org.el (org--get-expected-indentation): Fix return value for items in lists. (org-indent-region): Fix infloop when indenting some types of plain lists. Also fix error when region starts with blank lines at the beginning of the buffer. * testing/lisp/test-org.el (test-org/indent-region): Add tests.
11 daysMerge branch 'maint'Nicolas Goaziou0-0/+0
12 daysImprove functionality of org-passwords.elJorge A. Alfaro Murillo1-51/+93
* contrib/lisp/org-passwords.el (org-passwords-default-password-size): New variable. (org-passwords-default-random-words-number): New variable. (org-passwords-copy-username, org-passwords-copy-password): Use `org-entry-get' to obtain the property value. (org-passwords-open-url): New function. (org-passwords): Can be called with universal argument. (org-passwords-generate-password): Use default size given by `org-passwords-default-password-size'. (org-passwords-random-words): Use default number given by `org-passwords-default-random-words-number'. (org-passwords-concat-this-with-string): Fix bug. The patch adds several functionality: Open the URL property directly from the mode. URLs can be inherit. Universal argument in org-passwords allows for longer browsing. Two arguments is used for editing. There is a default password size and random-words number for faster password generating. Fix bug in C-u M-x org-passwords-generate-password. Commentary in file has more information.
12 days[PATCH] Fix: Emacs 25 fancy diary inclusion in agendarelease_8.2.10Marco Wahl1-2/+1
* lisp/org-agenda.el (org-get-entries-from-diary): Use the suitable display function. Drop the usage of the obsolete diary-display-hook. fancy-diary-display has been dropped in Emacs 25. diary-fancy-display is the long known replacement of fancy-diary-display. diary-display-hook has been marked obsolete before Emacs 23.2.
12 daysox: Fix failing testNicolas Goaziou1-4/+3
* testing/lisp/test-ox.el (test-org-export/footnotes): Fix test.
12 daysMerge branch 'maint'Nicolas Goaziou2-6/+7
12 daysox: Fix 88457acff411eca9b32c04b4bc100ef094a23c5cNicolas Goaziou2-6/+7
* lisp/ox.el (org-export-async-start): Limit first argument to lambda expressions. * lisp/ox-publish.el (org-publish, org-publish-all, org-publish-current-file): Replace `ignore', per limit stated above. Due to a hack allowing to provide quasi-quoted lambda expressions, symbols are not allowed as result handler. This limitation is not much of a problem as `org-export-async-start' is only meant to be used internally.
12 days[export] Raise an error if footnote definition is not found.Aaron Ecay1-2/+2
* lisp/ox.el (org-export-get-footnote-definition): Raise an error if footnote definition is not found.
12 daysWarn about unexpanded macros on exportAaron Ecay2-14/+22
* lisp/org-macro.el (org-macro-replace-all): Add optional `finalize' argument. * lisp/ox.el (org-export-as): Use it.
12 daysorg-passwords.el: Fix `org-passwords-generate-password-with-symbols` to not ↵Jonathan Leech-Pepin1-2/+2
insert password * org-passwords.el (org-passwords-generate-password-with-symbols): Do not insert password, this matches how `org-passwords-generate-password-without-symbols` behaves.
12 daysEnable multiple files in :includes headerThierry Banel1-5/+19
* ob-C.el (org-babel-C-expand-C, org-babel-C-expand-D): Let :includes, :defines, :imports accept several items separated by blanks without enclosing them in parenthesis. Thanks to Will Everett for reporting this.
12 daysAscii and Gnuplot key-bindingsThierry Banel2-8/+16
* org.el (org-mode-map): change key-binding from C-c p to C-c " a add C-c " g key-binding for Gnuplot (org-tbl-menu): add sub-menu for plotting featuring Gnuplot and ascii plot * org-table.el (orgtbl-setup): add sub-menu for plotting featuring Gnuplot and ascii plot
12 daysorg-table: Field formulas can now create columns as neededDima Kogan3-3/+94
* org-table.el (org-table-formula-create-columns): New variable. (org-table-recalculate): Use the new org-table-formula-make-new-cols customization to control whether org creates new columns when a formula explicitly targets them.
13 daysMerge branch 'maint'Bastien Guerry0-0/+0
13 daysorg.el (orgstruct-make-binding): Do not use loop in interpreted code.release_8.2.9Christopher Schmidt1-9/+12
* lisp/org.el (orgstruct-make-binding): Do not use loop in interpreted code.
13 daysorg.el (orgstruct-make-binding): Do not use loop in interpreted code.Christopher Schmidt1-9/+12
* lisp/org.el (orgstruct-make-binding): Do not use loop in interpreted code.
13 days[PATCH] Fix: Emacs 25 fancy diary inclusion in agendaMarco Wahl1-2/+1
* lisp/org-agenda.el (org-get-entries-from-diary): Use the suitable display function. Drop the usage of the obsolete diary-display-hook. fancy-diary-display has been dropped in Emacs 25. diary-fancy-display is the long known replacement of fancy-diary-display. diary-display-hook has been marked obsolete before Emacs 23.2.
13 daysorg-table: Fix :raw parameter in radio tablesNicolas Goaziou2-3/+18
* lisp/org-table.el (org-table--to-generic-cell): Use `org-element-interpret' data when parameter :raw is non-nil so pseudo elements and objects are not ignored. * testing/lisp/test-org-table.el (test-org-table/to-latex): Add test. Thanks to Giuseppe Lipari for reporting it.
2014-10-10ob-R: fix interaction with ESS for new sessionsAaron Ecay1-3/+4
* lisp/ob-R.el (org-babel-R-initiate-session): Properly wait on a new ESS process.
2014-10-10Merge branch 'maint'Nicolas Goaziou1-1/+1
2014-10-10ox: Fix "void-variable ignore" error when publishingNicolas Goaziou1-1/+1
* lisp/ox.el (org-export-async-start): Allow to use symbols as function. Thanks to Julien Cubizolles for reporting it.
2014-10-10ob-R.el: Add package name to read.table callRainer M. Krug1-2/+7
* lisp/ob-R.el: (ob-R-transfer-variable-table-with-header) (ob-R-transfer-variable-table-without-header): Add package name to call of R function `read.table'. Thus, it now reads `utils::read.table'. This clarifies the call as well as avoids "could not find function" error in R with the devtools package. See <>.
2014-10-09org-mac-link.el: Fix malformed message linksAlan Schmitt1-23/+11
* contrib/lisp/org-mac-link.el (org-mac-message-get-links): Fix and use the `org-mac-paste-applescript-links' helper. The existing code inserted links which should have been "[[message:ABC][the subject]]" as "[[essage:ABC][the subjec]]". Based on a patch by Steve Purcell <>.
2014-10-09org-mac-link.el: Fix multi-line file descriptionSteve Purcell1-2/+1
* contrib/lisp/org-mac-link.el: Shorten the file description, which shouldn't span lines. TINYCHANGE Signed-off-by: Alan Schmitt <>
2014-10-09org-mac-link.el: Don't fail on machines without Growl installedSteve Purcell1-30/+3
* contrib/lisp/org-mac-link.el (org-as-get-flagged-mail): Don't assume Growl is installed. Applescript can't run if it refers to uninstalled apps, so since Growl is not universally installed, references to it should be dropped. This change also provides a less cryptic message when `org-mac-mail-account' is unset at the time flagged messages are grabbed. TINYCHANGE Signed-off-by: Alan Schmitt <>
2014-10-08 orgguide.texi: break lines after @noindentDavid Arroyo Menéndez1-17/+34
* doc/orgguide.texi: to avoid troubles with po4a, I've added break lines after @noindent