Bastien
2b6004f57e
org-agenda.el: Update the logic of regexp filters
...
* lisp/org-agenda.el (org-agenda-filter-by-regexp): Remove
existing regexp filter. Only cumulate filters when called
with two prefix arguments.
It seems more common and reasonable to hit "=" to filter
then hit "=" again to remove the filter. Cumulative filters
are still accessible through hitting `C-u C-u ='.
2018-04-28 14:12:37 +02:00
Bastien
2debcd5b22
org.el: New command `org-toggle-narrow-to-subtree'
...
* lisp/org.el (org-toggle-narrow-to-subtree): New command.
(org-speed-commands-default): Use the new command for the "s"
speed command.
2018-04-28 14:00:25 +02:00
Bastien
f2af4a37a6
Fix commit 011f1c6
2018-04-28 13:53:06 +02:00
Bastien
0f83eac078
org.el: Enhance messages when (un)setting timestamps
...
* lisp/org.el (org--deadline-or-schedule): Enhance messages.
2018-04-28 13:31:45 +02:00
Bastien
ed50e13e91
org-agenda.el: Only remove agenda restriction if it exists
...
* lisp/org-agenda.el (org-agenda-remove-restriction-lock):
Only remove agenda restriction if it exists.
2018-04-28 13:02:45 +02:00
Bastien
4c14e0d1f2
org.el: New speed command "k" to kill the subtree at point
...
* lisp/org.el (org-speed-commands-default): Add "k" to kill
the subtree at point.
2018-04-28 12:57:15 +02:00
Bastien
5c8cb1e733
Add messages for `org-table-copy-region' and `org-copy-visible'
...
* lisp/org-table.el (org-table-copy-region):
* lisp/org.el (org-copy-visible): Add a message.
2018-04-28 12:52:20 +02:00
Bastien
b5b7bb8446
org.el: Display a message when a checkbox could not be updated
...
* lisp/org.el (org-ctrl-c-ctrl-c): Display a message when the
checkbox item at point could not be updated.
* lisp/org-list.el (org-list-write-struct): Return the updated
structure.
2018-04-28 12:43:14 +02:00
Bastien
1933d9ef26
org-clock.el (org-clock-jump-to-current-clock): Tiny enhancements
...
* lisp/org-clock.el (org-clock-jump-to-current-clock): Add a
docstring, do not use as a command and throw a user error
instead of an error when no clock is active.
2018-04-28 12:23:26 +02:00
Bastien
65d70388ab
.dir-locals.el: Don't hide emphasis markers
...
This is needed so that e.g. emphasis markers in org-manual.org tables
don't create text changes that should be ignored.
2018-04-28 12:15:28 +02:00
Bastien
8f572aa23b
Merge branch 'master' of code.orgmode.org:bzg/org-mode
2018-04-28 12:11:08 +02:00
Bastien
011f1c6181
Let `org-agenda-set-restriction-lock' remove restriction at point
...
* lisp/org-compat.el (org-speedbar-set-agenda-restriction):
* lisp/org-agenda.el (org-agenda-set-restriction-lock):
If there is an agenda restriction at point, remove it.
* doc/org-manual.org:
* etc/ORG-NEWS: Document the new feature.
2018-04-28 12:09:56 +02:00
Marco Wahl
2e2b083024
org-faces: Complete docstring for org-quote, org-verse
...
* lisp/org-faces.el (org-quote, org-verse): Note dependency on
`org-fontify-quote-and-verse-blocks' in docstring.
* lisp/org-faces.el (org-block): Remove non-existant dependency on
`org-fontify-quote-and-verse-blocks' from docstring.
This change emerged from question
https://emacs.stackexchange.com/questions/41182/change-background-color-of-quote-block/41260
2018-04-28 09:50:51 +02:00
Grant Rettke
bc37b32580
ox-koma-letter.el Adds from-logo variable
...
* ox-koma-letter.el (org-export-define-derived-backend, org-koma-letter--build-settings): Adds
from-logo handling and supporting variables
`org-koma-letter-from-logo' and `org-koma-letter-use-from-logo'.
TINYCHANGE
2018-04-28 08:31:14 +02:00
Bastien
ff12c29338
etc/ORG-NEWS: Advertize solutions for complex templates
2018-04-28 08:15:10 +02:00
Bastien
26f54050b6
Merge branch 'master' of code.orgmode.org:bzg/org-mode
2018-04-28 08:06:20 +02:00
Bastien
39b9a12bab
org.el: Enhance a few docstrings
...
* lisp/org.el (org-structure-template-alist)
(org--insert-structure-template-mks)
(org--insert-structure-template-unique-keys)
(org-insert-structure-template): Enhance docstrings.
2018-04-28 08:05:54 +02:00
Nicolas Goaziou
c7c8370dfb
Fix clock-related failing tests
...
* testing/lisp/test-org-clock.el (test-org-clock/clocktable/match):
(test-org-clock/clocktable/tags): Fix test.
2018-04-28 02:47:35 +02:00
Nicolas Goaziou
eab65c9cf8
Fix colview-related failing tests
...
* lisp/org-compat.el (org-line-number-display-width): New function.
* lisp/org-colview.el (org-columns--display-here-title): Use new
function.
2018-04-28 02:17:44 +02:00
Nicolas Goaziou
031f362352
Fix `org-toggle-tag'
...
* lisp/org.el (org-toggle-tag): Fix weird behavior with inherited tags.
* testing/lisp/test-org.el (test-org/toggle-tag): Add test.
Reported-by: Bernt Hansen <bernt@norang.ca>
<http://lists.gnu.org/r/emacs-orgmode/2018-04/msg00537.html >
2018-04-28 02:10:44 +02:00
Bastien
d48bff37ad
Merge branch 'master' of code.orgmode.org:bzg/org-mode
2018-04-28 00:59:25 +02:00
Bastien
f42f15a2a1
etc/ORG-NEWS: Explicit a few incompatible changes
2018-04-28 00:59:07 +02:00
Bastien
5071776f97
etc/ORG-NEWS: Mention orgalist.el
2018-04-28 00:49:47 +02:00
Bastien
4e97d8621e
org-tempo.el: Enhance a few docstrings
...
* lisp/org-tempo.el (org-tempo, org-tempo-keywords-alist)
(org-tempo-setup, org-tempo-add-templates)
(org-tempo--include-file): Enhance docstrings.
2018-04-28 00:46:25 +02:00
Nicolas Goaziou
9a1f208223
Merge branch 'maint'
2018-04-27 17:13:40 +02:00
Nicolas Goaziou
388254e0d0
Revert "org.el: Fix bug when links contain special characters"
...
This reverts commit b1d084c1ab
.
The fix introduces a bug where `org-edit-special' throws an error on
INCLUDE keywords.
2018-04-27 17:12:18 +02:00
Nicolas Goaziou
2a8d944c85
org-manual: Fix typo
...
* doc/org-manual.org (Org Crypt): Use correct environment for Org
example.
2018-04-27 16:13:41 +02:00
Nicolas Goaziou
28866449d9
Merge branch 'master' of code.orgmode.org:bzg/org-mode
2018-04-27 15:12:19 +02:00
Gregor Zattler
5d8b85e280
org-manual: Document CRYPTKEY property
...
doc/org-manual.org: Document CRYPTKEY property.
TINYCHANGE
2018-04-27 15:11:29 +02:00
Bastien
b08245a74e
Merge branch 'maint'
2018-04-27 12:32:30 +02:00
Bastien
e8c40b7a07
org.el: Update version keyword to 9.1.12
...
Thanks to Nicolas for reminding me.
2018-04-27 12:31:13 +02:00
Bastien
1a5ca5fa83
Merge branch 'maint'
2018-04-27 03:17:44 +02:00
Bastien
5d0792057d
Fix commit f21fb8a
2018-04-27 03:17:12 +02:00
Bastien
8b6e5d5f2e
Revert "org-agenda.el: Fix bug when getting the warning delay of a deadline"
...
This reverts commit f21fb8ad3b
.
2018-04-27 03:09:28 +02:00
Bastien
67f1a33b45
Merge branch 'master' of code.orgmode.org:bzg/org-mode
2018-04-27 01:27:40 +02:00
Bastien
6cd224e833
Merge branch 'maint' of code.orgmode.org:bzg/org-mode into maint
2018-04-27 01:27:15 +02:00
Bastien
8fd176ee76
Merge branch 'maint' into wip
2018-04-27 01:09:51 +02:00
Marco Wahl
a0a40a4651
org: Remove special whitespace treatment when moving subtree
...
* lisp/org.el (org-move-subtree-down): Remove special whitespace treatment.
* testing/lisp/test-org.el (test-org/drag-element-backward):
Accommodate test.
2018-04-27 01:08:29 +02:00
Bastien
8cdefed80b
org-colview.el: Possibly take linum-offset into account
...
* lisp/org-colview.el (org-columns--display-here-title):
Possibly take linum-offset into account.
Thanks to Eric S Fraga for reporting this.
2018-04-27 00:44:55 +02:00
Bastien
25f99522ad
org-src.el: Don't set `buffer-file-name'
...
* lisp/org-src.el (org-src-mode-configure-edit-buffer): Don't
set `buffer-file-name'.
Thanks to Clément Pit-Claudel for reporting this.
2018-04-27 00:25:15 +02:00
Bastien
f21fb8ad3b
org-agenda.el: Fix bug when getting the warning delay of a deadline
...
* lisp/org-agenda.el (org-agenda-get-deadlines): Fix bug when
getting the warning delay of a deadline.
Thanks to Alex Branham for reporting this.
2018-04-26 22:59:36 +02:00
Bastien
b1d084c1ab
org.el: Fix bug when links contain special characters
...
* lisp/org.el (org-open-link-from-string): Fix bug when links
contain special characters.
Thanks to Joon Ro for reporting this.
2018-04-26 21:52:39 +02:00
Bastien
b64f31abd2
org.el: Tiny enhancements for `org-open-at-point-global'
...
* lisp/org.el (org-open-at-point-global): Use `thing-at-point'
to match possibly more urls and emails. Enhance docstring.
2018-04-26 21:50:37 +02:00
Bastien
d561b3d0b9
org.el: Add org-eww to the list of default modules
...
* lisp/org.el (org-modules): Add org-eww to the list of
default modules.
2018-04-26 21:30:37 +02:00
Bastien
71ad7d19ea
org.el: Add org-tempo to the list of default modules
...
* lisp/org.el (org-modules): Add org-tempo to the list of
default modules.
Template expansion is likely to be expected by many users, as it was
on by default in previous releases. Let's load org-tempo by default
and let users remove it. If needed, we can remove this in future
releases.
2018-04-26 21:29:48 +02:00
Matt Lundin
407014e068
Fix default directory for git-annex checks
...
* lisp/org-attach.el: (org-attach-annex-get-maybe) Ensure shell
command that checks whether a git-annex file exists is called from
within the git-annex repository. Otherwise, it will result in an
error.
2018-04-26 21:17:55 +02:00
Bastien
877617d467
org-agenda: Act on the current entry if there is no mark
...
* lisp/org-agenda.el (org-agenda-bulk-action): When there is
no mark, act on the agenda entry at point.
Thanks to Marco Wahl for suggesting this.
2018-04-26 21:12:20 +02:00
Bastien
f80f7ed98b
org-clock.el: New option :tags to insert tags in clock reports
...
* lisp/org-clock.el (org-clocktable-defaults)
(org-clocktable-write-default, org-clock-get-table-data):
Rename :tags to :match and use :tags to insert a column with
the headline's tags.
Thanks to Raymond Zeitler for suggesting this.
2018-04-26 20:55:27 +02:00
Bastien
8ebe4aa678
etc/ORG-NEWS: Document a new feature for 9.2
2018-04-26 20:51:26 +02:00
Bastien
2742211ec6
org-agenda.el: Fix bug when keyboard-quitting the match prompt
...
* lisp/org-agenda.el (org-tags-view): Don't leave an empty
*Org agenda* buffer when keyboard-quitting the match prompt.
Thanks to Xu Chunyang for reporting this.
2018-04-26 18:44:58 +02:00