Bastien
4f98694bf7
Allow numeric values for priorities
...
* lisp/org.el (org-priority-highest, org-priority-default):
Allow integer.
(org-priority-get-priority-function): Tiny docstring change.
(org-priority-to-value): New defsubst.
(org--setup-collect-keywords, org-priority-regexp)
(org-priority, org-get-priority): Allow numeric values.
* doc/org-manual.org (Priorities): Illustrate the use of
numeric values for priorities.
2020-01-30 23:01:29 +01:00
Bastien
3942ccec87
ob-screen.el: Silence compiler warning
...
* lisp/ob-screen.el (org-babel-screen-test): Use `message'.
2020-01-30 18:29:26 +01:00
Bastien
11734ba22a
Merge branch 'maint'
2020-01-30 15:41:22 +01:00
Bastien
1d97b730d2
Delete unused variable
2020-01-30 15:40:22 +01:00
Bastien
e11f506484
Continue previous commit and document it in etc/ORG-NEWS
...
* lisp/org.el (org-priority-enable-commands)
(org-priority-highest, org-priority-get-priority-function):
Define aliases.
(org-priority): Use `org-priority-show'.
* lisp/org-agenda.el (org-agenda-priority, org-agenda-menu):
Ditto.
2020-01-30 15:16:44 +01:00
Bastien
1de5e80adf
Rename org-x-priority' functions and variables to
org-priority-x'
...
* lisp/org.el (org-priority-enable-commands)
(org-priority-start-cycle-with-default)
(org-set-regexps-and-options, org-sort-entries, org-priority)
(org-get-priority, org-entry-properties)
(org-property-get-allowed-values, org-shiftup, org-shiftdown):
Rename `org-[x]-priority' functions and variables to
`org-priority-[x]'.
* lisp/org-pcomplete.el (org-priority-default)
(org-priority-highest)
(pcomplete/org-mode/file-option/priorities): Ditto.
* lisp/org-mouse.el (org-mouse-get-priority)
(org-mouse-priority-list): Ditto.
* lisp/org-agenda.el (org-agenda-fontify-priorities)
(org-agenda-format-item, org-agenda-priority): Ditto.
* lisp/ox-icalendar.el (org-icalendar--vtodo): Ditto.
* doc/org-manual.org (Priorities, Summary of In-Buffer Settings): Ditto.
* testing/lisp/test-org.el (test-org/set-regexps-and-options)
(test-org/entry-properties): Ditto.
2020-01-30 14:56:38 +01:00
Bastien
7b1077def7
Tiny enhancements to priority handling
...
* lisp/org.el (org-font-lock-add-priority-faces): Use
`org-priority-regexp'.
(org-priority-regexp): Match multiple characters.
* lisp/org-agenda.el (org-agenda-fontify-priorities): Use
`org-priority-regexp'.
This commit paves the way for more flexibility in priority handling.
For example, `org-priority-[up/down]' could deal with priorities as
numbers (e.g. [#1 ]) instead of letters.
2020-01-30 12:05:07 +01:00
Bastien
759c1567b1
org-table.el: Silence compiler warnings
2020-01-30 11:54:51 +01:00
Bastien
8c943b8403
org-agenda.el: Don't always display a message when removing filters
...
* lisp/org-agenda.el (org-agenda-filter-remove-all): Only display
a message when called interactively.
2020-01-30 10:24:42 +01:00
Bastien
9fe7dbfd15
org-agenda.el: Small `org-agenda-filter' enhancement
...
* lisp/org-agenda.el (org-agenda-filter): Use existing filters as
the initial prompt input.
2020-01-29 22:12:55 +01:00
Bastien
a7770e6333
Merge branch 'maint'
2020-01-29 21:49:22 +01:00
Bastien
2820c2c4aa
org-agenda.el: Minor fixes
...
* lisp/org-agenda.el (org-agenda-filter): Tiny formatting fix.
(org-agenda-filter-completion-function): Fix docstring typo.
2020-01-29 21:48:58 +01:00
Bastien
db3758da92
Merge branch 'maint'
2020-01-29 21:44:05 +01:00
Bastien
c2aebcee27
org.el: Fix bug about visibility cycling
...
* lisp/org.el (org-cycle-internal-local): When cycling visibility
on a subtree, don't take a list has a child.
These two subtrees should cycle the same way:
* A subtree
A Paragraph.
* A subtree
- A list.
Before the fix, the second subtree would cycle through three steps
instead of two.
Thanks to Samuel Wales for reporting this.
2020-01-29 21:39:52 +01:00
Bastien
0aff90f499
Run `org-table-electric-header-mode' with a tiny timer
...
* lisp/org-table.el (org-table-electric-header-mode): Autoload and
run with timer.
2020-01-29 21:35:04 +01:00
Bastien
57721a1cb0
Handle header line scaling for `org-table-electric-header-mode'
...
* lisp/org-table.el (org-table-temp-header-remapping): New variable.
(org-table-set-header-line-format): Scale the header line properly.
(org-table-electric-header-mode): Don't run outside `org-mode'.
2020-01-29 17:14:12 +01:00
Bastien
b476ffd266
Implement the `org-table-electric-header-mode' minor mode
...
* lisp/org-table.el (org-table-electric-header-p): New option.
(org-table-temp-header-line, org-table-electric-header-mode): New
variables.
(org-table-set-header-line-format)
(org-table-electric-header-mode): New minor mode to display the
table's current first row as the header line when this first row
is not visible anymore.
* doc/org-manual.org (Miscellaneous): Document
`org-table-electric-header-mode'.
2020-01-29 15:17:32 +01:00
Bastien
0f86a14af3
Silence compiler warning
2020-01-29 15:10:19 +01:00
Bastien
70ef811001
Silence compiler warning
2020-01-29 15:08:33 +01:00
Bastien
241750b3c2
Use number-to-string' instead of
int-to-string'
...
* lisp/org.el (org-end-of-subtree): Use `number-to-string' instead
of `int-to-string'.
* lisp/org-table.el (org-table-edit-field)
(org-table-fix-formulas, org-table-analyze, orgtbl-make-binding)
(org-table-field-info): Ditto.
* lisp/org-macs.el (org-shorten-string): Ditto.
* lisp/org-agenda.el (org-get-time-of-day): Ditto.
2020-01-28 20:19:24 +01:00
Bastien
e9526b5a79
Enhance C-c C-c in agenda buffers
...
* lisp/org-agenda.el (org-agenda-ctrl-c-ctrl-c): Don't try to
deactivate columns as `org-columns-toggle-or-columns-quit' is
already bound to `C-c C-c' when the column view is active.
* lisp/org.el (org-ctrl-c-ctrl-c): Update docstring.
2020-01-28 12:44:27 +01:00
Marco Wahl
82ebc73b92
agenda: Refactor key defining section towards more consitency
...
Unify spaces and use the function quote.
2020-01-28 09:53:15 +01:00
Marco Wahl
be0865603a
Merge remote-tracking branch 'origin/master'
2020-01-28 09:38:08 +01:00
Kyle Meyer
95a91df825
org-clock: Fix typos in org-show-notification-timeout's docstring
...
* lisp/org-clock.el (org-show-notification-timeout): Fix docstring
typos.
2020-01-27 23:25:37 -05:00
Marco Wahl
4a43cd983b
agenda: Refactor use uniform key definition
2020-01-28 00:38:51 +01:00
Marco Wahl
45a0fe531c
agenda: C-c C-c deactivates columns
...
* lisp/org-agenda.el (org-agenda-ctrl-c-ctrl-c): New function.
This is to unify and thereby harmonize the behavior of C-c C-c with
regard to Org files and columns.
2020-01-28 00:00:05 +01:00
Marco Wahl
b3d1e54877
Merge remote-tracking branch 'origin/master'
2020-01-27 23:46:10 +01:00
Bastien
32eba0f0a6
Merge branch 'maint'
2020-01-27 23:41:56 +01:00
Marco Wahl
1e55b18198
org-colview: Fix org-agenda-columns-active
...
* lisp/org-colview.el (org-agenda-columns): Set
org-agenda-columns-active when columns get activated.
2020-01-27 23:39:25 +01:00
Marco Wahl
42ad656436
org: Extend documentation some
...
* lisp/org.el (org-ctrl-c-ctrl-c): Document more cases.
2020-01-27 23:35:47 +01:00
Bastien
6d0b866637
org-agenda.el: Fix 1f6bacf88
properly
...
* lisp/org-agenda.el (org-agenda-mode): Make `text-scale-mode' usable
before any call to `org-agenda-redo'.
2020-01-27 18:42:11 +01:00
Bastien
1930f10b6f
Silence compiler warning
...
* lisp/org.el (org-open-at-point): Delete unused let binding.
2020-01-27 16:12:19 +01:00
Bastien
53acdfaa03
Revert "org-agenda.el: don't prevent the use of M-x text-scale-mode RET"
...
This reverts commit 1f6bacf88c
.
2020-01-27 16:10:24 +01:00
Bastien
3b87d4ab4f
Fix compiler warning
...
* lisp/org-clock.el (w32-notification-notify): Declare.
2020-01-27 15:17:42 +01:00
Bastien
6f02fa596a
Merge branch 'maint'
2020-01-27 14:55:50 +01:00
Bastien
e982108445
Fix "Maintainer: " entry in the header
...
* lisp/org.el:
* lisp/org-table.el:
* lisp/org-list.el:
* lisp/org-attach.el:
* lisp/org-agenda.el: Fix "Maintainer: " entry in the header.
2020-01-27 14:55:15 +01:00
Bastien
8a12b125a8
org.el: New default value for `org-file-apps'
...
* lisp/org.el (org-file-apps): Add emacs as the application for
opening directories.
2020-01-26 19:33:53 +01:00
Bastien
f603039884
Merge branch 'maint'
2020-01-26 19:16:18 +01:00
Bastien
47b1042c4c
org-attach.el: Tiny formatting fix
...
* lisp/org-attach.el (org-attach-attach): Tiny formatting fix.
2020-01-26 19:16:01 +01:00
Bastien
933a9ee993
org-attach.el: Enhance dispatch buffer navigation
...
* lisp/org-attach.el (org-attach): Enhance dispatch buffer
navigation.
Thanks to Vladimir Nikishkin for raising this issue.
2020-01-26 19:05:08 +01:00
Bastien
081d571a3d
org.el: Use user-error' in
org-back-to-heading'
...
* lisp/org.el (org-back-to-heading): Use `user-error'.
2020-01-26 17:50:27 +01:00
Bastien
f9c34a7d51
org-clock.el: New option `org-show-notification-timeout'
...
* lisp/org-clock.el (org-show-notification-timeout): New option.
(org-show-notification): Use `w32-notification-notify' and the new
option.
2020-01-26 17:35:18 +01:00
Bastien
b6fc8396a6
Merge branch 'maint'
2020-01-26 17:03:21 +01:00
Bastien
a3c373a1bf
org-clock.el: Explicitely require 'notifications
...
* lisp/org-clock.el (org-show-notification): Explicitely require
'notifications and remove w32-related code.
2020-01-26 16:49:11 +01:00
Bastien
389875c495
Merge branch 'maint'
2020-01-26 16:33:29 +01:00
Bastien
3399918691
Add maintainer
2020-01-26 12:59:55 +01:00
Bastien
360c8225ff
Add maintainer
2020-01-26 12:59:23 +01:00
Bastien
3b3d577ee7
Add maintainer
...
(Continue testing post-receive hook.)
2020-01-26 12:57:53 +01:00
Bastien
f828a27323
Adding maintainer
...
(Testing post-receive hook.)
2020-01-26 12:07:01 +01:00
Bastien
da18a958f1
org.el: Adding maintainer
...
(Testing post-receive hook to trigger a release on the server.)
2020-01-26 12:05:02 +01:00