Bastien
4843030b45
Merge branch 'maint'
2020-02-02 20:08:53 +01:00
Bastien
5c72d60d44
Silent compiler warning
2020-02-02 20:07:18 +01:00
Bastien
9ece54ee64
Merge branch 'maint'
2020-02-02 19:39:40 +01:00
Bastien
a2b69c58f8
org-agenda.el: Add `org-agenda-end-of-line'
...
* lisp/org-agenda.el (org-agenda-mode-map): Remap
'move-end-of-line to 'org-agenda-end-of-line.
(org-agenda-end-of-line): New command.
This fixes this bug: when moving to the end of line, if the next
line is hidden, changing the timestamp of the current headline would
not display the new time. This is also safer when archiving subtrees
and when performing actions on agenda headlines in general.
2020-02-02 19:39:26 +01:00
Bastien
8aa206583b
org-agenda.el: Fix `org-agenda-filter-hide-line'
...
* lisp/org-agenda.el (org-agenda-filter-hide-line):
Temporarily set `buffer-invisibility-spec' to `nil'.
2020-02-02 19:30:25 +01:00
Bastien
f7bb9ec9b3
Merge branch 'maint'
2020-02-02 17:38:37 +01:00
Bastien
efbf96389a
org-agenda.el: Fix display of agenda new time
...
* lisp/org-agenda.el (org-agenda-show-new-time): Compute the
width relatively to the text scale.
2020-02-02 17:38:09 +01:00
Bastien
34b6b425ed
Merge branch 'maint'
2020-02-02 14:04:03 +01:00
Bastien
2a5f879c81
org-table.el: Fix message
...
* lisp/org-table.el (org-table-toggle-coordinate-overlays):
Fix the message sent when coordinates are not displayed.
2020-02-02 14:03:20 +01:00
Bastien
eb5ff71c16
org-table.el: Enhance `org-table-set-header-line-format'
...
* lisp/org-table.el (org-table-set-header-line-format): Skip
lines setting column widths with <[0-9]+>.
Thanks to Bernard Hugueney for suggesting this.
2020-02-02 12:54:06 +01:00
Bastien
eaf8b78a74
org-manual.org: Precision on the priority cookie syntax
...
* doc/org-manual.org (Priorities): Indicate that the priority
cookie should be placed right after the TODO keyword.
2020-02-02 08:39:12 +01:00
Bastien
4885ce02c6
Merge branch 'maint'
2020-02-02 08:35:55 +01:00
Bastien
151a31917b
doc/org-manual.org: Don't document deleted command
...
* doc/org-manual.org (Remote editing): Don't document deleted command.
2020-02-02 08:35:43 +01:00
Bastien
80fc678acd
doc/org-manual.org: Don't document deleted command
...
* doc/org-manual.org (Remote editing): Don't document deleted command.
2020-02-02 08:34:33 +01:00
Bastien
d303b6af29
org-table.el: Don't use `if-let' to avoid requiring subr-x.el
...
* lisp/org-table.el (org-table-row-get-visible-string): Don't
use `if-let' to avoid requiring subr-x.el.
2020-02-01 21:58:28 +01:00
Kisaragi Hiu
4d5731bb33
org.el: Correct docstring
...
* lisp/org.el (org-effort-property): Correct docstring, as the
previous description of the format was inaccurate.
TINYCHANGE
2020-02-01 17:44:17 +01:00
Kisaragi Hiu
2062761f5c
org-manual.org: Mention the format of effort estimates
...
* doc/org-manual.org (Effort Estimates): Mention the format of effort
estimates.
TINYCHANGE
2020-02-01 17:44:13 +01:00
Bastien
2ba8430b93
Fix previous commit
2020-02-01 17:34:33 +01:00
Bastien
fbd8aea6d2
org-table.el: Fixes to `org-table-set-header-line-format'
...
* lisp/org-table.el (org-table-row-get-visible-string): New
function.
(org-table-set-header-line-format): Use it to handle shrunk
columns. Also fix handling of `display-line-numbers-mode'.
2020-02-01 17:21:34 +01:00
Bastien
4dcfd7e9db
Fix previous commit
2020-02-01 13:18:15 +01:00
Bastien
340bd61777
org-table.el: Check `display-line-numbers-mode' availability
...
* lisp/org-table.el (org-table-set-header-line-format): Check
whether the `display-line-numbers-mode' command is available.
2020-02-01 13:14:26 +01:00
Jack Kamm
dcdb470177
Add inline remote image display
...
* lisp/org.el (org-display-inline-images): Add inline remote image
display. Remote image display is controlled by the new option
`org-display-remote-inline-images'.
2020-02-01 11:50:08 +01:00
Bastien
f704904737
Merge branch 'maint'
2020-02-01 10:16:13 +01:00
No Wayman
f33167a0e5
lisp/org-macs.el (org-mks): Respect case
...
* lisp/org-macs.el (org-mks): Respect case.
This fixes a bug regarding the selection of capture templates.
TINYCHANGE
2020-02-01 10:15:20 +01:00
Bastien
110b034151
Replace "org-table-electric-header" by "org-table-header-line"
...
* lisp/org-table.el (org-table-header-line-p)
(org-table-header-line-mode): Replace
"org-table-electric-header" by "org-table-header-line".
* doc/org-manual.org (Miscellaneous): Ditto.
Thanks to Samuel Wales for suggesting this name.
2020-02-01 09:52:57 +01:00
Bastien
8651e3ff15
Merge branch 'maint'
2020-02-01 09:45:38 +01:00
Bastien
39c656870c
org-agenda.el: Fix handling of one-time delays
...
* lisp/org-agenda.el (org-agenda-get-scheduled): Fix handling
of one-time delays.
Thanks to hhkg for reporting this.
2020-02-01 09:44:14 +01:00
Bastien
c83f889826
org-table.el: Adapt `org-table-set-header-line-format' again
...
* lisp/org-table.el (org-table-set-header-line-format): Adapt
to `display-line-numbers-mode'.
2020-01-31 21:24:12 +01:00
Bastien
fb9eb697d6
org-table.el: Fix `org-table-set-header-line-format' for org-indent-mode
...
* lisp/org-table.el (org-table-set-header-line-format): When
`org-indent-mode' is turned on, adapt the header's left space
to size of the line prefix.
2020-01-31 21:19:45 +01:00
Bastien
6e944086fb
org.el: Tiny formatting fix
2020-01-31 21:17:15 +01:00
Bastien
499cff10ef
Merge branch 'maint'
2020-01-31 17:22:01 +01:00
Bastien
04bd110b2b
Small fixes
...
* lisp/ox-odt.el (org-odt--format-timestamp): Fix timestamp
display.
* lisp/org-agenda.el (org-agenda-show-and-scroll-up): Remove
useless code.
2020-01-31 17:21:43 +01:00
Bastien
5e9c3c0794
org.el: Enhance docstrings
...
* lisp/org.el (org-get-priority)
(org-priority-get-priority-function): Enhance docstring.
2020-01-31 17:12:46 +01:00
Bastien
3d0282ef87
New option `org-archive-subtree-save-file-p'
...
* lisp/org-agenda.el (org-agenda-archive-with): Bind
`org-archive-from-agenda' to `t' when archiving from agenda.
* lisp/org-archive.el (org-archive-subtree-save-file-p): New option.
(org-archive-subtree): Use the new option.
* doc/org-manual.org (Moving a tree to an archive file):
Mention the new option.
Thanks to Russ Allbery for suggesting a similar idea.
2020-01-31 10:42:40 +01:00
Bastien
c9d2f12094
org-agenda.el: Use `user-error'
...
* lisp/org-agenda.el (org-agenda-priority): Use `user-error'.
2020-01-31 08:36:00 +01:00
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
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