AgeCommit message (Collapse)AuthorFilesLines
5 hoursFix broken links in html publishingHEADmasterMatt Lundin1-1/+1
* lisp/ox-html.el: Fix incorrect property name in :options-alist of html backend definition.
16 hoursMerge branch 'maint'Bastien Guerry2-7/+17
16 hoursorg.el (org-refresh-category-properties): Enhance regexpAchim Gratz1-1/+1
* org.el (org-refresh-category-properties): Enhance regexp.
16 hoursProtect open buffers when publishing sitemaprelease_8.2.7cmaintMatt Lundin1-4/+14
* lisp/ox-publish.el: (org-publish-find-title) (org-publish-find-date) Make sure to call org-export-get-environment in copy of buffer if emacs is already visiting. Otherwise, #+bind variables meant for export can be set in live buffers. This patch also optimizes the above functions by inhibiting org-startup on buffers emacs visits temporarily.
16 hoursFix docstring of org-agenda-inhibit-startupMatt Lundin1-3/+3
* lisp/org.el: org-agenda-inhibit-startup: fix docstring to reflect default value
16 hoursMerge branch 'master' of Guerry13-782/+657
17 hoursMerge branch 'maint'Achim Gratz0-0/+0
17 hoursmk/ consider only release_* tags for constructing version stringsAchim Gratz1-2/+2
Cherry-picked from d1692902f1, which was dropped by force-pushing 79873390ed.
17 hoursFix 1f3fefcba5Achim Gratz1-1/+1
* testing/lisp/test-org.el: The title of the Emacs manual is "The Emacs Editor".
18 hoursFix 600d3bb56bAchim Gratz1-1/+1
* lisp/org-table.el: The reference has been saved in `formrpl', not `repl'.
20 hoursorg-table.el (org-table-eval-formula): Fix variable name typoYork Zhao1-1/+1
22 hoursFix code typo in 3af4949aBastien Guerry1-1/+1
23 hoursORG-NEWS: Deprecate `org-list-empty-line-terminates-plain-lists'Nicolas Goaziou1-1/+7
23 hoursORG-NEWS: Document changes relative to publishing optionsNicolas Goaziou1-0/+9
23 hoursox-html: Use options instead of hard-coded variablesNicolas Goaziou3-273/+233
* contrib/lisp/ox-s5.el (org-s5--format-toc-headline): Apply signature change. * lisp/ox-md.el (org-md-headline): Apply signature change. * lisp/ox-html.el (org-html-format-drawer-function, org-html-publish-to-html): Small reformatting. (org-html-infojs-install-script, org-html--build-meta-info, org-html--build-mathjax-config, org-html-format-spec, org-html--build-pre/postamble, org-html-template, org-html-toc, org-html--format-toc-headline, org-html-list-of-listings, org-html-list-of-tables, org-html-bold, org-html-drawer, org-html-headline, org-html-inlinetask, org-html-italic, org-html-checkbox, org-html-inline-image-p, org-html-link, org-html-section, org-html-strike-through, org-html-table-cell, org-html-table-row, org-html-underline, org-html-verbatim, org-html-final-function, org-html-export-to-html): Do not use hard-coded variable names. (org-html-format-headline-function, org-html-format-inlinetask-function): Change default value. Require an additional argument. (org-html-format-footnote-reference, org-html-format-footnotes-section, org-html-format-footnote-definition, org-html-format-headline, org-html-format-headline--wrap, org-html-format-section): Remove functions. (org-html-footnote-section, org-html-footnote-reference): Apply function removal. Do not use hard-coded variable names. (org-html--anchor, org-html--todo, org-html--tags): Change signature. Do not use hard-coded variable names. (org-html-radio-target, org-html-target): Apply signature change. (org-html-format-headline-default-function, org-html-format-inlinetask-default-function): New functions.
23 hoursox-odt: Use options instead of hard-coded variablesNicolas Goaziou1-102/+109
* lisp/ox-odt.el (org-odt-styles-dir, org-odt-create-custom-styles-for-srcblocks, org-odt-table-styles, org-odt-get-table-cell-styles): Fix docstring. (org-odt-format-headline-function, org-odt-format-inlinetask-function): Change default value. (org-odt-template, org-odt-drawer, org-odt-format-headline--wrap, org-odt-inlinetask, org-odt--enumerate, org-odt--image-size, org-odt--enumerable-image-p, org-odt--enumerable-latex-image-p, org-odt--enumerable-formula-p, org-odt-link, org-odt-table-style-spec, org-odt-timestamp): Use option instead of hard-coded variables. (org-odt-format-headline): Remove function. (org-odt-do-format-code): Change signature. Use options instead of hard-coded variables. (org-odt-fixed-width, org-odt-latex-environment, org-odt-link--inline-image, org-odt-format-code): Apply signature change. (org-odt-format-headline-default-function, org-odt-format-inlinetask-default-function): New functions. (org-odt-link--inline-image): Fix indentation.
23 hoursUse options instead of hard-coded variablesNicolas Goaziou4-177/+131
* lisp/ox-beamer.el (org-beamer--format-frame, org-beamer--format-block, org-beamer-template): Use options instead of hard-coded variables. * lisp/ox-man.el (org-man-inline-src-block, org-man-src-block, org-man-table, org-man-table-cell): Use options instead of hard-coded variables. * lisp/ox-md.el (org-md-headline): Use options instead of hard-coded variables. * lisp/ox-texinfo.el (org-texinfo-format-headline-function, org-texinfo-format-inlinetask-function): Change default value. (org-texinfo--text-markup, org-texinfo--format-menu): Change signature (org-texinfo--build-menu, org-texinfo-bold, org-texinfo-code, org-texinfo-comment, org-texinfo-italic, org-texinfo-verbatim): Apply signature change. (org-texinfo-template, org-texinfo-clock, org-texinfo-drawer, org-texinfo-link, org-texinfo-plain-list, org-texinfo-planning, org-texinfo-table, org-texinfo-table-cell, org-texinfo-timestamp): Use options instead of variable names. (org-texinfo-format-headline-default-function, org-texinfo-format-inlinetask-default-function): New functions. (org-texinfo-headline, org-texinfo-inlinetask): Use new functions.
23 hoursRemove some options associated to variablesNicolas Goaziou8-73/+15
* lisp/ox-html.el: Remove options. * lisp/ox-icalendar.el: Remove options. * lisp/ox-latex.el (org-latex-guess-inputenc, org-latex-compile, org-latex--collect-warnings): Use full variable name instead of an option. * lisp/ox-man.el: Remove options. * lisp/ox-odt.el: Remove options. * lisp/ox-texinfo.el: Remove options. * doc/org.texi (Publishing options): Update documentation accordingly. These variables are meant to be used outside (or on the fringe) of the export process, where information channel is not available. remove
23 hoursox-latex: Use options instead of hard-coded variablesNicolas Goaziou1-179/+176
* lisp/ox-latex.el (org-latex-format-inlinetask-function): Change default value. (org-latex-guess-inputenc, org-latex--text-markup, org-latex-template, org-latex-clock, org-latex-drawer, org-latex-footnote-reference, org-latex-headline, org-latex-inline-src-block, org-latex-keyword, org-latex--inline-image, org-latex-link, org-latex-planning, org-latex-src-block, org-latex-table, org-latex--org-table, org-latex--table, org-latex--math-table, org-latex-table-cell, org-latex-table-row, org-latex-timestamp, org-latex-compile, org-latex--collect-warnings): Use options instead of hard-coded variables. (org-latex-format-inlinetask-default-function): New function. (org-latex-inlinetask): Use new function. (org-latex--text-markup): Change signature. (org-latex-bold, org-latex-code, org-latex-italic, org-latex-strike-through, org-latex-underline, org-latex-verbatim): Apply signature change.
24 hoursorg.el (org-yank): Small docstring enhancementBastien Guerry1-5/+5
* org.el (org-yank): Small docstring enhancement.
24 hoursorg.el (org-refresh-category-properties): Regexp enhancementMalcolm Purvis1-1/+1
* org.el (org-refresh-category-properties): Regexp enhancement. TINYCHANGE
24 hoursMerge branch 'maint'Bastien Guerry1-4/+1
24 hoursRemove unnecessary invocations of org-modeMatt Lundin1-4/+1
* lisp/ox-publish.el: (org-publish-find-title) (org-publish-find-date) Fix unnecessary invocations of org-mode with org-inhibit-startup. The functions above call org-mode with org-inhibit-startup in org buffers that are already open. The result is that these open buffers lose some crucial local variables during publishing. For instance, an open buffer will lose its dir-local-variables-alist setting during publishing. There is no need to call org-mode here, because org-mode is a) either already initialized in the buffer or b) initialized via earlier call to find-file-no-select. This looks to me like a relic of some past time when these functions were called in temporary buffers that contained copies of the file's contents.
44 hoursMerge branch 'maint'Bastien Guerry1-0/+3
44 hoursorg-agenda.el (org-agenda-prepare): Reset preset filtersBastien Guerry1-0/+3
* org-agenda.el (org-agenda-prepare): Reset preset filters when using sticky agendas. Thanks to Thomas Morgan for reporting this.
44 hoursDon't use an overlay for src blocks backgroundsBastien Guerry2-15/+2
* org-faces.el (org-block-background): Delete. * org.el (org-fontify-meta-lines-and-blocks-1): Don't use an overlay for the block background. (org-in-src-block-p): Check against the `src-block' text property, not against an overlay. The overlay was introduced here: and fixed here But (1) it makes fontification slowler, (2) it makes `org-in-src-block-p' slower and it prevents correct ps-printing of Org buffers. If we want to use a different background color, we need another solution than using overlays.
45 hoursRemove useless declarationBastien Guerry1-1/+0
45 hoursMerge branch 'maint'Bastien Guerry1-2/+1
Conflicts: lisp/org-agenda.el
45 hoursorg-agenda.el (org-agenda-get-sexps): Don't add tags as text propertiesBastien Guerry1-1/+1
* org-agenda.el (org-agenda-get-sexps): Don't add tags as text properties. Thanks to Raimund Berger for reporting this.
45 hoursMerge branch 'maint'Bastien Guerry1-2/+2
45 hoursorg-capture.el (org-capture-fill-template): Small fixBastien Guerry1-2/+2
* org-capture.el (org-capture-fill-template): Take `org-extend-today-until' into account when setting the format time string.
45 hoursorg-clock.el: Various improvementsBastien Guerry1-24/+51
* org-clock.el (org-clock-display-default-range): New option. (org-clock-display): Use the new option. (org-clock-sum-custom): New parameters `range' and `propname'. (org-clock-special-range): Allow to enter a special range through the calendar.
46 hoursorg.el (org-self-insert-command): Use `yas-expand'Bastien Guerry1-1/+1
* org.el (org-self-insert-command): Use `yas-expand' as yas/expand is obsolete since Yasnippet 0.8. Thanks to Craig Tanis for reporting this.
47 hoursorg-agenda.el (org-agenda-insert-diary-make-new-entry): Fix orderingNikolai Weibull1-6/+7
* org-agenda.el (org-agenda-insert-diary-make-new-entry): Fix ordering. TINYCHANGE
47 hoursMake org-get-limited-outline-regexp usable outside of org.Nicolas Richard1-5/+10
This allows org-narrow-to-subtree to function in Outline mode. * lisp/org-macs.el (org-get-limited-outline-regexp): Use outline-regexp instead of org-outline-regexp when not in Org mode.
47 hoursorg.el (org-set-font-lock-defaults): Highlight COMMENTBastien Guerry1-0/+1
* org.el (org-set-font-lock-defaults): Highlight COMMENT in headlines with `org-special-keyword'.
47 hoursorg.el (org-comment-dwim): Fix docstring locationBastien Guerry1-1/+1
* org.el (org-comment-dwim): Fix docstring location.
48 hoursMerge branch 'master' of Guerry1-3/+3
48 hoursorg.el (org-open-at-point): Also open links in comment blocksBastien Guerry1-17/+20
* org.el (org-open-at-point): Also open links in comment blocks.
48 hoursMerge branch 'maint'Nicolas Goaziou1-3/+3
48 hoursox-latex: Fix defcustomsNicolas Goaziou1-3/+3
* lisp/ox-latex.el (org-latex-table-scientific-notation): Set appropriate value. (org-latex-listings-options): Fix docstring.
2 daysox-html.el (org-html-fontify-code): Possibly deactivate fci-modeBastien Guerry1-0/+4
* ox-html.el (org-html-fontify-code): Possibly deactivate fci-mode. Thanks to Kaushal for suggesting this.
3 daysComplete commit 9e006d11Bastien Guerry1-32/+35
* org.el (org-preview-latex-fragment): Remove LaTeX fragments overlays when they are displayed. Fix message.
3 daysMerge branch 'maint'Bastien Guerry1-1/+1
3 daysorg.el (org-paste-subtree): Fix match subexpressionBastien Guerry1-1/+1
* org.el (org-paste-subtree): Fix match subexpression. Thanks to Anders Johansson for reporting this.
3 daysorg-refile: Don't copy the refiled subtree to the clipboardBastien Guerry1-4/+7
* org.el (org-paste-subtree): New parameter `remove', to remove the pasted subtree from the `kill-ring'. (org-refile): Use the new parameter of `org-paste-subtree'. Thanks to Samuel Wales for suggesting this.
3 daysorg-src.el (org-src-font-lock-fontify-block): Do not use `font-lock-ensure'Bastien Guerry1-1/+1
* org-src.el (org-src-font-lock-fontify-block): Use `font-lock-fontify-buffer' instead of `font-lock-ensure', otherwise fonts are not displayed for src blocks. Thanks to Mathäus Meyer for reporting this.
3 daysFix trailing whitespace in previous commitBastien Guerry1-2/+2
3 daysMake transfer of values from R type awareRainer M. Krug1-31/+47
* lisp/ob-R.el (org-babel-R-assign-elisp): Add different cases for transfering integer, float, string and other variables to R so that integer values are transferred as integers (L) and stored in R as such. This change is backward compatible as integer values are numerical values in R. Moved definition of R functions for transfer of tables into defconst ob-R-transfer-variable-table-with-header and ob-R-transfer-variable-table-without-header.
3 dayslisp/ob-R.el: Fix tangling with tablesRainer M. Krug1-20/+32
* lisp/ob-R.el (org-babel-R-assign-elisp): Fix variable transfer of tables by using text connections in R instead of files. Variable transfer of tables does not depend on files anymore, i.e. works also when tangling.