Marco Wahl
842002f9f7
org-archive: Fix insert of extra blank line at archiving
...
* lisp/org-archive.el (org-archive-subtree): Remove insertion of extra
blank line in case of org-archive-reversed-order.
2018-06-07 15:52:26 +02:00
Kyle Meyer
cecbe4ec8f
org-manual: Fix typos
...
* doc/org-manual.org (Tag Hierarchy, ASCII specific attributes): Fix
typos.
These correspond to the org.texi typos in 89859f2bd
.
2018-06-06 17:59:23 -04:00
Kyle Meyer
1a1e1ab1d2
Merge branch 'maint'
2018-06-06 17:57:41 -04:00
Ville Skyttä
89859f2bde
Backport commit 6d2352594 from Emacs
...
Fix typos in several manuals (Bug#31610)
6d2352594f4e4e17965834851547df3adaa6cd6f
Ville Skyttä
Fri Jun 1 16:33:58 2018 +0300
2018-06-06 17:55:53 -04:00
Marco Wahl
13a09b3ba5
Merge branch 'maint'
2018-06-06 16:05:26 +02:00
Marco Wahl
2b76aebfc6
org-element: Fix interpretation as todo kwd when prefix of headline
...
* lisp/org-element.el (org-element-headline-parser): Check for space
after todo-kwd.
* testing/lisp/test-org-element.el (test-org-element/headline-todo-keyword):
Respective tests.
2018-06-06 15:58:20 +02:00
Nicolas Goaziou
8b9c1e15df
ob-tangle: Fix `org-babel-detangle'
...
* lisp/ob-tangle.el (org-babel-tangle-jump-to-org): Preserve position
in source block only if it doesn't put point outside of the block.
Reported-by: Frederick Giasson <fred@curbside.com>
<http://lists.gnu.org/r/emacs-orgmode/2018-06/msg00008.html >
2018-06-05 11:55:55 +02:00
Nicolas Goaziou
ed7d1dc6d7
Fix quirks in `org-insert-structure-template'
...
* lisp/org.el (org-insert-structure-template): Fix some issues.
Refactor code.
* testing/lisp/test-org.el (test-org/insert-structure-template):
Update tests.
Reported-by: stardiviner <numbchild@gmail.com>
<http://lists.gnu.org/r/emacs-orgmode/2018-05/msg00553.html >
2018-06-02 23:41:56 +02:00
Nicolas Goaziou
97fac41194
Revert "ob-C: Provide `ob-C++' and `ob-D'"
...
This reverts commit f35994b314
.
2018-05-30 12:57:21 +02:00
Nicolas Goaziou
b0e28fa4c6
org-manual: Document how to activate C++ and D languages
...
* doc/org-manual.org (Languages): Document how to activate C++ and
D languages.
2018-05-30 12:46:55 +02:00
Rasmus
7ac46c52b7
Check format of org-structure-template-alist
...
* org.el (org--check-org-structure-template-alist): New function
yielding user-error if using old org-structure-template-alist
format.
(org--insert-structure-template-mks):
* org-tempo.el (org-tempo-add-templates): Use new function
2018-05-28 23:44:51 +02:00
Nicolas Goaziou
dac180ea0d
org-footnote: Improve :safe values
...
* lisp/org-footnote.el (org-footnote-auto-label):
(org-footnote-auto-adjust): Use simpler :safe value.
The point of the :safe value is to determine if the variable is safe,
not to check correctness of its value. Besides, lambda functions
appear as the following in *Help* buffer:
This variable is safe as a file local variable if its value
satisfies the predicate which is a byte-compiled expression.
which is not particularly clear. Let's keep :safe values simple.
2018-05-28 21:18:28 +02:00
Aaron Ecay
c32938b7fd
Revert "Un-fontlock sub/superscripts when point enters them"
...
This reverts commit 102832e66f
.
See <https://lists.gnu.org/archive/cgi-bin/namazu.cgi?query=%2Bmessage-id%3A%3C87y3g43mjy.fsf%40nicolasgoaziou.fr%3E&submit=Search&idxname=emacs-orgmode >
2018-05-27 21:29:57 +01:00
Nicolas Goaziou
f35994b314
ob-C: Provide `ob-C++' and `ob-D'
...
Reported-by: Van L <van@scratch.space>
<http://lists.gnu.org/r/emacs-orgmode/2018-05/msg00492.html >
2018-05-27 22:21:15 +02:00
Nicolas Goaziou
c698c8e959
Fix tags completion
...
* lisp/org.el (org-tags-completion-function): Refactor function. Fix
tag completion.
Reported-by: Alain.Cochard@unistra.fr
<http://lists.gnu.org/r/emacs-orgmode/2018-05/msg00450.html >
2018-05-27 22:13:00 +02:00
Nicolas Goaziou
97fb642a64
org-manual: Fix titlecase in second level section
...
* doc/org-manual.org (The Spreadsheet): Use titlecase.
2018-05-27 22:06:36 +02:00
Nicolas Goaziou
6bfa32eb58
org-manual: Fix footnote location
...
* doc/org-manual.org (Summary of In-Buffer Settings): Fix footnote
location.
2018-05-27 22:05:25 +02:00
Nicolas Goaziou
e43c7a3575
org-manual: Auto-adjust footnotes upon insertion
...
* doc/org-manual.org: Re-order footnotes.
* .dir-locals.el (org-mode): Auto-adjust footnotes.
2018-05-27 22:03:42 +02:00
Nicolas Goaziou
2086ea42cf
org-footnote: Tiny refactoring
...
* lisp/org-footnote.el (org-footnote-section): Tiny refactoring.
2018-05-27 21:59:19 +02:00
Nicolas Goaziou
1f0561b63c
org-manual: Use .dir-locals instead of file local variables
...
* .dir-locals.el (org-mode): Update settings.
* doc/org-manual.org (Local variables): Remove.
2018-05-27 21:41:18 +02:00
Nicolas Goaziou
4fde09061e
org-manual: Fix last modification
...
* doc/org-manual.org (Results of Evaluation): Fix footnote reference.
Use regular quotes so smart quotes can kick in, rewrite "header arg"
to "header argument". Use present tense instead of future.
2018-05-27 21:37:20 +02:00
Aaron Ecay
1643f70d30
org-manual.org: Add a footnote about :file-ext
...
As suggested by Alex Fenton in
<https://lists.gnu.org/archive/cgi-bin/namazu.cgi?query=%2Bmessage-id%3A%3C6427e745-9ca4-2356-a262-ef257082a9ce%40pressure.to%3E&submit=Search&idxname=emacs-orgmode >.
2018-05-27 17:35:00 +01:00
Aaron Ecay
87c70f8101
org-manual.org: add file-local variables controlling footnotes
...
So that this fileʼs style remains consistent even if editors have
customized orgʼs footnote variables for their own use.
2018-05-27 17:34:10 +01:00
Aaron Ecay
c56bb9d59a
org-footnote: add :safe properties to the defcustoms
2018-05-27 17:33:44 +01:00
Aaron Ecay
102832e66f
Un-fontlock sub/superscripts when point enters them
...
* lisp/org.el (org-remove-font-lock-display-properties): Rename to
‘org-remove-font-lock-display-properties’. It is a more
specific/accurate name.
(org-match-substring-with-braces-regexp):
(org-match-substring-regexp): Add a note to docstrings about what the
match groups are.
(org-raise-scripts--post-command-hook): New function, modeled on
‘prettify-symbols--post-command-hook’.
(org-raise-scripts): Use the above.
Inspired by
<https://lists.gnu.org/archive/cgi-bin/namazu.cgi?query=%2Bmessage-id%3A%3C518DCC34-E435-42F7-A15E-FAE7727033F8%40scratch.space%3E&submit=Search&idxname=emacs-orgmode >
2018-05-27 17:13:59 +01:00
Aaron Ecay
5192e810ae
Add “summary” to ‘org-html-html5-elements’
...
* lisp/ox-html.el (org-html-html5-elements): Add “summary”
As suggested by Kaushal Modi in
<https://lists.gnu.org/archive/cgi-bin/namazu.cgi?query=%2Bmessage-id%3A%3CCAFyQvY2YoLDpM9PWLV86FwvPOVkuxg9O8KdryG3z%3D5QRm7Aujg%40mail.gmail.com%3E&submit=Search&idxname=emacs-orgmode >
2018-05-27 16:59:15 +01:00
Aaron Ecay
1117d65622
org.el: remove trailing whitespace
2018-05-27 16:58:39 +01:00
Nicolas Goaziou
2c5a8740ad
Remove spurious colon in tags view
...
* lisp/org.el (org-scan-tags): Remove spurious colon in tags view.
Small refactoring.
The regression was introduced in
be31a0c459
.
Reported-by: Rainer Stengele <rainer.stengele@online.de>
<http://lists.gnu.org/r/emacs-orgmode/2018-05/msg00478.html >
2018-05-26 12:30:46 +02:00
Nicolas Goaziou
2621db3ac2
Merge branch 'maint'
2018-05-22 11:29:36 +02:00
Nicolas Goaziou
8fbdf0ce1a
orgguide.texi: Fix code and verbatim markup
...
* doc/orgguide.texi (Emphasis and monospace): Fix code and verbatim
markup.
Reported-by: aldo ridhoni <aldoridhoni@gmail.com>
<http://lists.gnu.org/r/emacs-orgmode/2018-05/msg00429.html >
2018-05-22 11:22:11 +02:00
Nicolas Goaziou
2918894f36
org-table: Tiny refactoring
...
* lisp/org-table.el (org-table-get-formula): Tiny refactoring.
(org-table-get-stored-formulas): Fix string.
2018-05-22 10:46:57 +02:00
Nicolas Goaziou
8def68b723
org-manual: Document `org-complete-tags-always-offer-all-agenda-tags'
...
* doc/org-manual.org (Setting Tags): Document
`org-complete-tags-always-offer-all-agenda-tags'.
2018-05-19 13:51:29 +02:00
Nicolas Goaziou
9d51a8b5a0
org-capture: Fix table line capture with custom location
...
* lisp/org-capture.el (org-capture-place-table-line): Fix error when
a precise location is given, e.g. with `file+function' target.
* testing/lisp/test-org-capture.el (test-org-capture/table-line): Add
test.
Reported-by: Thomas Holst <thomas_holst@gmx.de>
<http://lists.gnu.org/r/emacs-orgmode/2018-05/msg00359.html >
2018-05-17 22:57:49 +02:00
Nicolas Goaziou
1cfd5d04e3
Fix a docstring
...
* lisp/org.el (org-store-link): Use "link" instead of puzzling
"org-link".
2018-05-17 16:55:31 +02:00
Nicolas Goaziou
463664bdd0
Merge branch 'maint'
2018-05-16 22:07:33 +02:00
Nicolas Goaziou
2b26644b3a
Fix `org-skip-over-state-notes'
...
* lisp/org.el (org-skip-over-state-notes): Allow empty TODO states.
Reported-by: Michael Brand <michael.ch.brand@gmail.com>
<http://lists.gnu.org/r/emacs-orgmode/2018-05/msg00337.html >
2018-05-16 22:06:39 +02:00
Nicolas Goaziou
c46fcd9874
org-lint: Add checker for spurious colons in tags
...
* lisp/org-lint.el (org-lint--checkers): Add checker.
(org-lint-spurious-colons): New function.
* testing/lisp/test-org-lint.el (test-org/spurious-colons): New test.
2018-05-14 17:41:04 +02:00
Nicolas Goaziou
7143ae0355
Fix typo
...
* lisp/org.el (org-tag-alist): Fix typo in docstring.
2018-05-14 15:38:05 +02:00
Nicolas Goaziou
2ec5d36ecc
org-manual: Use "source code block" instead of "src code block"
...
* doc/org-manual.org (Code Evaluation and Security Issues): Replace
"src" with "source".
2018-05-13 22:47:44 +02:00
Nicolas Goaziou
ac21151c4a
Fix typo in docstring
...
* lisp/org.el (org-tag-persistent-alist): Fix typo.
Reported-by: Bernt Hansen <bernt@norang.ca>
<http://lists.gnu.org/r/emacs-orgmode/2018-05/msg00293.html >
2018-05-13 22:36:09 +02:00
Marco Wahl
9dcc522df6
Merge remote-tracking branch 'origin/master'
2018-05-11 22:08:10 +02:00
Marco Wahl
eb49917bc4
org-manual: Fix a macro call
2018-05-11 22:01:18 +02:00
Marco Wahl
47dfa0e545
org-manual: Remove one trailing whitespace
2018-05-11 21:57:41 +02:00
Nicolas Goaziou
640e05523a
org-agenda: Fix the last fix...
...
* lisp/org-agenda.el (org-tags-view): Fix last commit.
2018-05-11 21:55:23 +02:00
Nicolas Goaziou
68b376dee0
org-agenda: Fix "org-agenda: one-armed “if” -> “when”"
...
* lisp/org-agenda.el (org-tags-view): Re-instate delete `else' part.
Reported-by: Bernt Hansen <bernt@norang.ca>
<http://lists.gnu.org/r/emacs-orgmode/2018-05/msg00286.html >
2018-05-11 21:49:25 +02:00
Nicolas Goaziou
4fe6891cdf
org-manual: Add non-breaking spaces
...
* doc/org-manual.org (Weekly/daily agenda):
* doc/org-manual.org (History and Acknowledgments): Add non-breaking
spaces in names.
2018-05-11 19:53:33 +02:00
Nicolas Goaziou
92b03d161a
ox-texinfo: Change sentence ending
...
* lisp/ox-texinfo.el (org-texinfo-plain-text): Sentences can end with
a capital letter without a special symbol in Org.
It is simpler to provide a non-breaking space when a capital letter
followed by a period should not end than providing a way to force
ending a sentence.
2018-05-11 19:40:10 +02:00
Nicolas Goaziou
13fb6a3fae
Move obsolete declarations into "org-compat.el"
2018-05-10 15:41:50 +02:00
Aaron Ecay
d94d52489d
test files: use cl- prefixed functions, and require cl-lib
2018-05-10 04:22:30 +01:00
Aaron Ecay
7fb3328db8
testing/README: update to new header arg property format
2018-05-10 04:22:30 +01:00