Bastien
f89189c618
Merge branch 'master' of code.orgmode.org:bzg/org-mode
2018-12-15 17:16:47 +01:00
Nicolas Goaziou
dc74770706
org-manual: Fix typos
...
* doc/org-manual.org (Using Emacs packaging system):
(Formula syntax for Calc):
(Lookup functions):
(Weekly/daily agenda):
(Setting limits for the agenda):
(Export Settings):
(Other Built-in Back-ends):
(Structure Templates):
(Adding Hyperlink Types): Use correct markup for sexps.
(Using the Mapping API): Fix typo. Use correct markup.
2018-12-14 14:37:01 +01:00
Nicolas Goaziou
b3afd71a06
org-manual: Small fixes
...
* doc/org-manual.org (A LaTeX example of radio tables): Use correct
markup, improve wording, fix typo.
2018-12-14 14:22:07 +01:00
Nicolas Goaziou
8fc4fcb8a7
org-manual: Fix markup
...
* doc/org-manual.org (Special Agenda Views): Use = markup for sexps.
2018-12-14 14:18:01 +01:00
Bastien
4cc10166d7
Merge branch 'master' of code.orgmode.org:bzg/org-mode
2018-12-14 11:08:13 +01:00
Nicolas Goaziou
a86b14253b
Fix fontification of LaTeX environments
...
* lisp/org.el (org-compute-latex-and-related-regexp):
(org-do-latex-and-related): Fix fontification of LaTeX environments.
2018-12-13 21:28:14 +01:00
Kaushal Modi
a60a0edc6f
Add :no-save keyword for Org capture templates
...
* lisp/org-capture.el (org-capture-finalize): Do not save the target
capture file if :no-save keyword is non-nil in the capture template.
* doc/org-manual.org (Template elements),
lisp/org-capture.el (org-capture-templates): Document :no-save.
Ref: https://lists.gnu.org/r/emacs-orgmode/2018-09/msg00325.html
2018-12-13 14:09:39 -05:00
Kaushal Modi
54123cd7f2
Revert "org-capture: Do not save buffer when running `org-capture-finalize'"
...
This reverts commit b4422add37
.
Revert the regression in Org capture + auto-saving behavior.
Ref: https://lists.gnu.org/r/emacs-orgmode/2018-09/msg00325.html
2018-12-13 10:11:25 -05:00
Bastien
6423f391e0
Merge branch 'master' of code.orgmode.org:bzg/org-mode
2018-12-11 22:27:45 +01:00
Nicolas Goaziou
adec504d5b
org-manual: Improve %(sexp) capture template placeholder documentation
...
* doc/org-manual.org (Template expansion): Improve documentation for
%(sexp) documentation.
2018-12-09 23:36:04 +01:00
Allen Li
601f373e3f
Document %i prefix in capture templates
...
* doc/org-manual.org (Template expansion): Fix documentation.
* lisp/org-capture.el (org-capture-templates): Fix docstring.
2018-12-09 23:34:20 +01:00
Nicolas Goaziou
2f00151020
org-manual: Small markup fixes
...
* doc/org-manual.org (Template elements):
(Template expansion):
(Attachments): Replace ~ with =.
2018-12-09 12:34:05 +01:00
Jens Lechtenboerger
3b5e26651b
ox-html: Export attributes specified with :attr_html for links
...
* lisp/ox-html.el (org-html-link): Export :attr_html from link.
2018-12-08 21:20:18 +01:00
Bastien
40111597c1
Merge branch 'master' of code.orgmode.org:bzg/org-mode
2018-12-08 14:54:48 +01:00
Nicolas Goaziou
e9108043e1
org-capture: Fix %i with prefix containing "\\"
...
* lisp/org-capture.el (org-capture-fill-template): Fix %i with prefix
containing "\\".
* testing/lisp/test-org-capture.el (test-org-capture/fill-template):
Add test.
2018-12-08 11:49:10 +01:00
Bastien
094cb8ecdc
Merge branch 'master' of code.orgmode.org:bzg/org-mode
2018-12-07 07:40:35 +01:00
Nicolas Goaziou
4c23d83eed
manual: Tiny rewording
...
* doc/org-manual.org (LaTeX math snippets): Tiny rewording.
2018-12-06 23:18:36 +01:00
Nicolas Goaziou
fc464d7a72
manual: Fix footnote location
...
* doc/org-manual.org (Customizing tables in ODT export): Fix footnote location.
2018-12-06 23:11:14 +01:00
Emmanuel Charpentier
e30aed8f0c
manual: document the need for babel when setting LANGUAGE keyword
...
* doc/org-manual.org (Export Settings): Add a note to Export
Variables.
(LaTeX specific export settings): Describe the use of
org-latex-packages-alist for loading babel (or polyglossia) with the
right argument in LaTeX specific export settings.
2018-12-06 23:09:28 +01:00
Nicolas Goaziou
1d60d5ee03
org-capture: Correctly store position of captured entry
...
* lisp/org-capture.el (org-capture-place-entry): Store position at the
beginning of the capture entry, not at its end.
* testing/lisp/test-org-capture.el (test-org-caputre/entry): Add test.
2018-12-06 15:07:03 +01:00
Nicolas Goaziou
503ede74bc
org-clock: Fix resolving clocks
...
* lisp/org-clock.el (org-clock-resolve-clock): Fix resolving clocks
when the entry is empty barring the clock itself and possibly the
clock drawer, and `org-clock-out-remove-zero-time-clocks' is
non-nil.
2018-12-06 00:24:14 +01:00
Bastien
a484c67586
Merge branch 'master' of code.orgmode.org:bzg/org-mode
2018-12-01 13:30:40 +01:00
Nicolas Goaziou
04641c4bbe
org-pcomplete: Silence byte-compiler
2018-11-30 21:20:39 +01:00
Nicolas Goaziou
d3f9cd0eef
ox-latex: Use "french" instead of "frenchb" Babel language
...
* lisp/ox-latex.el (org-latex-babel-language-alist): Use "french"
instead of obsolete "frenchb".
2018-11-28 15:12:56 +01:00
Bastien
d9ab07042a
Merge branch 'master' of code.orgmode.org:bzg/org-mode
2018-11-28 13:05:47 +01:00
Nicolas Goaziou
e3fdef74b9
Improve docstrings
...
* lisp/org.el (org-latex-default-packages-alist):
(org-latex-packages-alist): Improve docstring.
* lisp/ox-latex.el (org-latex--remove-packages): Small refactoring.
2018-11-28 00:26:24 +01:00
Nicolas Goaziou
3216cbe776
ox: Preserve properties when duplicating buffer before exporting
...
* lisp/ox.el (org-export--generate-copy-script): Preserve properties
when duplicating buffer before exporting.
Reported-by: John Kitchin <jkitchin@andrew.cmu.edu>
<http://lists.gnu.org/r/emacs-orgmode/2018-11/msg00329.html >
2018-11-27 23:42:16 +01:00
Nicolas Goaziou
b16feed40c
Normalize blank lines with <C-RET>
...
* lisp/org.el (org-insert-heading): Make C-RET more predictable. In
particular, it should not eat all the blank lines at the end of the
tree.
Reported-by: David Masterson <dsmasterson@outlook.com>
<http://lists.gnu.org/r/emacs-orgmode/2018-11/msg00275.html >
2018-11-27 23:21:06 +01:00
Nicolas Goaziou
d6e20dbcff
ox-latex: Gracefully handle export of source blocks without lang
...
* lisp/ox-latex.el (org-latex-src-block): Handle export of source
blocks without language.
Reported-by: John Ciolfi <ciolfi@mathworks.com>
<http://lists.gnu.org/r/emacs-orgmode/2018-11/msg00321.html >
2018-11-27 21:46:18 +01:00
Bastien
32b16bceb6
Merge branch 'master' of code.orgmode.org:bzg/org-mode
2018-11-27 09:22:31 +01:00
Nicolas Goaziou
cd60a35fe1
Fix opening custom ID links with percent escaped syntax
...
* lisp/org.el (org-open-at-point): Un-escape percent escaped path.
* testing/lisp/test-org.el (test-org/custom-id): Add test.
Reported-by: stardiviner <numbchild@gmail.com>
<http://lists.gnu.org/r/emacs-orgmode/2018-11/msg00303.html >
2018-11-26 23:56:17 +01:00
Nicolas Goaziou
32a7305dda
Fix <RET> on table.el tables
...
* lisp/org.el (org-return): Prevent wrong type error when on
a table.el table.
2018-11-26 19:51:51 +01:00
Nicolas Goaziou
d228909d15
org-element: Be more strict when looking for table.el tables
...
* lisp/org-element.el (org-element--current-element): Increase number
of checks to avoid more false positive.
In particular "+-+" is not recognized anymore as a table.el table.
2018-11-26 19:50:08 +01:00
Aaron Jensen
f33fa994b9
org-mac-link: Add support for Brave
...
* contrib/lisp/org-mac-link.el (org-mac-grab-Brave-app-p)
(org-mac-grab-link, org-as-mac-brave-get-frontmost-url)
(org-mac-brave-get-frontmost-url)
(org-mac-brave-insert-frontmost-url): Add support for Brave
2018-11-25 10:07:06 +01:00
Nicolas Goaziou
8b7ba29b60
org-pcomplete: Fix tag completion
...
* lisp/org-pcomplete.el (org-thing-at-point): Only complete where tags
could be located.
(pcomplete/org-mode/tag): Add paring argument to avoid looking at
other arguments on the same line.
* testing/lisp/test-org-pcomplete.el (test-org-pcomplete/tag): New test.
Reported-by: Alain.Cochard@unistra.fr
<http://lists.gnu.org/r/emacs-orgmode/2018-11/msg00154.html >
2018-11-25 02:01:41 +01:00
Bastien
c24fa93c79
Merge branch 'master' of code.orgmode.org:bzg/org-mode
2018-11-20 09:30:02 +01:00
Nicolas Goaziou
4aa6a37d24
org-manual: Document "format" parameter for colview blocks
...
* doc/org-manual.org (Capturing column view): Document "format"
parameter for colview blocks.
2018-11-19 23:23:52 +01:00
Bastien
9a4a329376
Merge branch 'master' of code.orgmode.org:bzg/org-mode
2018-11-18 09:32:41 +01:00
Nicolas Goaziou
fc9cf62bf3
org-clock: Fix special strings in :tstart and :tend
...
* lisp/org-clock.el (org-clocktable-steps): Handle relative time
strings like "<-1w>".
2018-11-17 21:45:16 +01:00
Nicolas Goaziou
7bf3c10819
Fix speed regression introduced in change about repeated timestamps
...
* lisp/org.el (org-auto-repeat-maybe): Fix speed regression introduced
in "Also obey to repeaters in inactive time stamps".
Reported-by: Marco Wahl <marcowahlsoft@gmail.com>
<http://lists.gnu.org/r/emacs-orgmode/2018-11/msg00078.html >
2018-11-17 16:33:04 +01:00
Bastien
7be6760599
Merge branch 'master' of code.orgmode.org:bzg/org-mode
2018-11-16 07:47:17 +01:00
Marco Wahl
feb44212b5
org-agenda: slightly changed hints for user about searching again
2018-11-12 12:47:40 +01:00
Bastien
eb57221e5d
Merge branch 'master' of code.orgmode.org:bzg/org-mode
2018-11-12 07:03:45 +01:00
Nicolas Goaziou
afcb1d3899
Fix typo
...
* lisp/org.el (org-get-tags): Fix typo in docstring.
2018-11-11 22:24:00 +01:00
Nicolas Goaziou
5dfbe46b1e
ox-odt: Fix typo
...
* lisp/ox-odt.el (org-odt-template): Fix typo.
2018-11-10 21:59:52 +01:00
Nicolas Goaziou
9056d2b706
ox-odt: Fix last commit
...
* lisp/ox-odt.el (org-odt-template): Add missing `org-strip-quote'
call.
2018-11-10 21:56:10 +01:00
Nicolas Goaziou
bea916d9f6
ox-odt: Improve styles file handling
...
* lisp/ox-odt.el (org-odt-template): Allow double quotes around file
name. Better error handling. Small refactoring.
2018-11-10 20:00:02 +01:00
Nicolas Goaziou
af81211fdc
Also obey to repeaters in inactive time stamps
...
* lisp/org.el (org-repeat-re): Accept inactive time stamps.
(org-auto-repeat-maybe): Small refactoring. Find additional repeaters
also in inactive time stamps.
* testing/lisp/test-org.el (test-org/auto-repeat-maybe): Add test.
Reported-by: Leo Gaspard <orgmode@leo.gaspard.io>
<http://lists.gnu.org/r/emacs-orgmode/2018-11/msg00078.html >
2018-11-10 19:59:48 +01:00
Nicolas Goaziou
88ef9f26de
ox-texinfo: Allow quotes around value in TEXINFO_FILENAME keyword
...
* lisp/ox-texinfo.el (org-texinfo-template): Allow quotes around value
in TEXINFO_FILENAME keyword.
This is consistent with usual Org behavior: file names can optionally
be enclosed within quotes.
2018-11-10 09:00:45 +01:00
Nicolas Goaziou
f5c2659bb8
Use `org-strip-quote' when possible
...
* lisp/org-macs.el (org-unbracket-string):
(org-strip-quotes): Allow nil values.
* lisp/org-lint.el (org-lint-wrong-include-link-parameter):
* lisp/org-macro.el (org-macro--collect-macros):
* lisp/org.el (org--setup-collect-keywords):
(org-edit-special):
* lisp/ox.el (org-export--get-inbuffer-options):
(org-export--list-bound-variables):
(org-export-expand-include-keyword): Use `org-strip-quote' instead of
`org-unbracket-string' whenever possible.
2018-11-10 08:58:31 +01:00