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
e1dfda96fd
etc/ORG-NEWS: Various rephrasing
2020-01-30 00:38:32 +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
5c1b3e648c
Revert "Fix test"
...
This reverts commit 4e322f25bc
.
2020-01-27 23:43:14 +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
Marco Wahl
4e322f25bc
Fix test
...
* testing/lisp/test-org-agenda.el (test-org-agenda/rescale): Remove
the check against text-scale-mode. This follows the current
implementation.
2020-01-27 23:32:35 +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
1ebb6f8beb
README: Add a link to the license
2020-01-27 17:03:33 +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
605b6a6b53
README: Use org-mode formatting
2020-01-27 15:49:13 +01:00
Bastien
5f241b134c
README_maintainer: Delete
...
Information about Org maintainance has been move to Worg:
https://orgmode.org/worg/org-maintainance.html
If this information seems necessary within Org's repository,
let's add it to README and not make a dedicated file.
2020-01-27 15:47:56 +01:00
Bastien
54118d2dac
README_git: Delete file
...
This file is not used during Org packaging as a tar/zip archive or as
an ELPA package. It is largely redondant with the main README.
2020-01-27 15:46:46 +01:00
Bastien
06a8bbb030
CONTRIBUTE: Small updates
2020-01-27 15:45:32 +01:00
Bastien
a239632945
Move contents of README_contribute to a new file CONTRIBUTE
2020-01-27 15:31:27 +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
910bf48a14
org-manual.org: Mention the GNU Kind Communications Guidelines
...
* doc/org-manual.org (Feedback): Mention the GNU Kind
Communications Guidelines.
2020-01-27 12:04:03 +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
8237a5d33b
org-manual.org (Org Mobile): Mention `org-tag-persistent-alist'
...
* doc/org-manual.org (Org Mobile): Mention `org-tag-persistent-alist'.
Thanks to Jorge P. de Morais Neto for mentioning this.
2020-01-26 17:57:46 +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