Peter Münster
1fd92b6637
Replace calls to obsolete macros
...
* contrib/lisp/org-notify.el: Replace flet with cl-letf and macrolet
with cl-macrolet.
2018-01-15 23:02:23 +01:00
Nicolas Goaziou
c3fffcd8d2
Fix C-<return> binding
2018-01-15 22:59:40 +01:00
Bastien
0aeb66f64d
Merge branch 'master' of code.orgmode.org:bzg/org-mode
2018-01-15 16:39:37 +01:00
Bastien
ebb67cebe5
Merge branch 'maint'
2018-01-15 16:39:11 +01:00
Bastien
ad390e895a
ox-html.el (org-html-head): Fix docstring
...
* ox-html.el (org-html-head): Fix docstring.
Thanks to Adam Porter for reporting this.
2018-01-15 16:38:33 +01:00
Xu Chunyang
9f181d4404
org-agenda: Disable message logging for some messages
...
* lisp/org-agenda.el (org-agenda-filter-by-tag):
(org-agenda-view-mode-dispatch):
(org-agenda-diary-entry):
(org-agenda-bulk-action): Disable message logging for some messages.
TINYCHANGE
2018-01-15 16:34:25 +01:00
Jay Kamat
57a1ece335
Respect :urgency tags for org-notify windows
...
* contrib/lisp/org-notify.el (org-notify-action-notify): pass :urgency
to notifications-notify.
2018-01-15 16:23:15 +01:00
Nicolas Goaziou
6965098a53
Use a single keybinding representation
...
* lisp/org.el (org-replace-disputed-keys): Fix docstring.
Use `kbd' macro everywhere. Also add missing "ESC" equivalents for
"M-" bindings.
2018-01-15 16:13:37 +01:00
Nicolas Goaziou
a8a04348fd
org-timer: Add missing autoload cookies
...
* lisp/org-timer.el (org-timer-pause-or-continue):
(org-timer-stop): Add missing autoload cookies.
2018-01-15 16:13:19 +01:00
Marco Wahl
1062c63ee1
test-ob-sed: Activate testing ob-sed
2018-01-14 18:34:49 +01:00
Nicolas Goaziou
34d1ec4290
Merge branch 'maint'
2018-01-14 17:46:49 +01:00
Nicolas Goaziou
86a3820c8c
Fix typos in README
2018-01-14 17:46:14 +01:00
Marco Wahl
75be0362da
test-org-tempo: Fix typo which activates the org-tempo tests
2018-01-14 13:59:24 +01:00
Nicolas Goaziou
d5b70fa68b
Silence byte-compiler
2018-01-13 14:19:50 +01:00
Nicolas Goaziou
000b943ebd
Re-order visibility functions in "org.el"
...
* lisp/org-macs.el (org-outline-overlay-data):
(org-set-outline-overlay-data): Moved from "org.el".
* lisp/org.el (org-remove-empty-overlays-at):
(org-show-empty-lines-in-parent):
(org-files-list):
(org-entry-beginning-position):
(org-entry-end-position):
(org-subtree-end-visible-p):
(org-first-headline-recenter):
(org-flag-region):
(org-show-entry):
(org-show-children):
(org-show-subtree):
(org-hide-block-toggle-maybe):
(org-hide-block-toggle):
(org-hide-block-toggle-all):
(org-hide-block-all):
(org-cycle-hide-drawers):
(org-flag-drawer):
(org-previous-block):
(org-next-block): Move functions.
2018-01-13 14:15:53 +01:00
Nicolas Goaziou
a8ee20d23d
Replace `outline-flag-region' with `org-flag-region'
...
* lisp/org-inlinetask.el (org-inlinetask-toggle-visibility):
* lisp/org-list.el (org-list-set-item-visibility):
* lisp/org.el (org-flag-subtree):
(org-cycle-internal-local):
(org-cycle-show-empty-lines):
(org-set-outline-overlay-data):
(org-move-subtree-down):
(org-set-tags):
(org-flag-heading):
(org-show-children):
(org-show-subtree):
(org-show-entry): Replace `outline-flag-region' with
`org-flag-region'.
2018-01-10 15:58:21 +01:00
Nicolas Goaziou
4dbb4a76a7
Implement `org-show-all'
...
* lisp/org.el (org-show-all): New function.
(org-cycle):
(org-cycle-internal-global):
(org-global-cycle):
(org-set-startup-visibility):
(org-set-outline-overlay-data):
(org-hide-block-all):
(org-mode-hook):
(org-tree-to-indirect-buffer):
(org-sort-entries):
(org-mode-map):
(org-org-menu):
* lisp/ob-lilypond.el (org-babel-lilypond-mark-error-line):
* lisp/org-archive.el (org-archive-subtree):
* lisp/org-capture.el (org-capture-place-template):
* lisp/org-mouse.el (org-mouse-popup-global-menu):
* lisp/ox-org.el (org-org-publish-to-org):
* testing/org-test.el (org-test-at-id):
(org-test-in-example-file): Use new function.
* lisp/org-compat.el (org-show-block-all): Mark as obsolete.
2018-01-10 15:58:21 +01:00
Nicolas Goaziou
d30bea7cee
Fold CLOCK and LOGBOOK drawers upon creating them
...
* lisp/org-clock.el (org-clock-find-position): Use a faster call to hide
clock drawer.
* lisp/org.el (org-log-beginning): Make sure logbook drawer is folded as
soon as inserted.
(org-store-log-note): Remove unnecessary call to
`org-cycle-hide-drawers'.
2018-01-10 15:58:21 +01:00
Nicolas Goaziou
4403d4685e
Give drawers their own invisibility spec
...
* lisp/org.el (org-mode): Add special invisibility spec for drawers.
(org-show-set-visibility): Handle new invisibility spec.
(org-clean-visibility-after-subtree-move): Fix argument for
`org-cycle-hide-drawers'. `overview' is a no-op.
(org-cycle-hook):
(org-cycle-internal-local):
(org-flag-drawer):
(org-move-subtree-down):
(org-show-entry):
* lisp/org-agenda.el (org-agenda-clock-in):
* lisp/org-clock.el (org-clock-goto):
* lisp/org-feed.el (org-feed-update):
* lisp/org-inlinetask.el (org-inlinetask-toggle-visibility): Do not hide
drawers when expanding a headline.
Drawers and headlines visibility are now unrelated. As a consequence,
there is no need to hide drawers every time a headline is expanded.
2018-01-10 15:58:21 +01:00
Nicolas Goaziou
4f74aa4c0e
Change signature for `org-set-visibility-according-to-property'
...
* lisp/org.el (org-set-visibility-according-to-property): Remove unused
argument.
(org-set-startup-visibility):
(org-overview): Apply signature change.
2018-01-10 15:58:21 +01:00
Nicolas Goaziou
e886d1566d
Implement `org-flag-region'
...
* lisp/org.el (org-flag-region): New function.
(org-hide-block-toggle): Use new function.
Unlike `outline-flag-region', this function handles multiple invisible
specs.
2018-01-10 15:55:46 +01:00
Nicolas Goaziou
bbf1c26aaf
Remove `org-hide-block-overlays' variable
...
* lisp/org.el (org-hide-block-overlays): Remove variable.
(org-show-block-all): Use `remove-overlays' to remove block-related
overlays instead of relying on a global state.
(org-hide-block-toggle): Do not update removed variable. Tiny
refactoring.
2018-01-10 15:55:46 +01:00
Nicolas Goaziou
728920a8ed
Rename `org-timestamp--to-internal-time' into `org-timestamp-to-time'
...
* lisp/org.el (org-timestamp-to-time): New function.
(org-timestamp--to-internal-time): Remove function.
(org-timestamp-format): Use new function.
* testing/lisp/test-org.el (test-org/timestamp-to-time): New test.
2018-01-10 15:05:11 +01:00
Nicolas Goaziou
ee27fb010e
Fix docstring
...
* lisp/org.el (org-timestamp-from-time): Fix docstring.
2018-01-10 14:37:02 +01:00
Nicolas Goaziou
d3cdc35e06
Implement `org-timestamp-from-string', `org-timestamp-from-time'
...
* lisp/org.el (org-timestamp-from-string):
(org-timestamp-from-time): New functions.
* testing/lisp/test-org.el (test-org/timestamp-from-string):
(test-org/timestamp-from-time): New tests.
2018-01-10 14:35:32 +01:00
Nicolas Goaziou
0c409d64d0
Merge branch 'maint'
2018-01-10 12:49:23 +01:00
Aliaksey Artamonau
0a8711a0a5
org-clock.el: Fix one time continuous clock in
...
* org-clock.el (org-clock-in): Abort after calling `org-clock-in'
recursively with `org-clock-continuously' set.
Without the change the recursive call to `org-clock-in' would
insert a clock of last clock-out, but then the original call
would continue by inserting another clock at
current-time. As a result of that, clocking out uses the latter
of the two clocks and leaves the other one dangling.
TINYCHANGE
2018-01-10 12:48:28 +01:00
Marc Ihm
8f3156c945
Version 5.7.4 or org-index.el
2018-01-09 21:07:21 +01:00
Nicolas Goaziou
46e24f6830
Merge branch 'maint'
2018-01-09 19:51:17 +01:00
Nicolas Goaziou
8c7a14a850
org-clock: Consider hours when splitting the table with :steps
...
* lisp/org-clock.el (org-clocktable-steps): Check time when :tstart
and :tend are defined.
* testing/lisp/test-org-clock.el (test-org-clock/clocktable/step): Add
tests.
Reported-by: savoie@nsidc.org
<http://lists.gnu.org/r/emacs-orgmode/2018-01/msg00227.html >
2018-01-09 19:47:39 +01:00
Nicolas Goaziou
c82c21c7ac
Merge branch 'maint'
2018-01-08 20:40:16 +01:00
Nicolas Goaziou
ed2bcab0ea
ox: Fix typo in docstring
...
* lisp/ox.el (org-export-search-cells): Fix typo.
2018-01-08 20:39:31 +01:00
Nicolas Goaziou
9096ea4f3b
manual: Tiny fix
...
* contrib/manual.org: Add missing explaination about `untilnow'.
2018-01-08 15:42:01 +01:00
Nicolas Goaziou
857425e184
ox-org: Obey to `org-display-custom-times'
...
* lisp/ox-org.el (org-org-timestamp): New function.
(org): Use new function.
2018-01-08 15:39:01 +01:00
Nicolas Goaziou
c0a1fb4138
Merge branch 'maint'
2018-01-08 15:24:21 +01:00
Nicolas Goaziou
3566a3eeee
org-clock: Fix `org-clock-display' called with `C-u C-u C-u'
...
* lisp/org-clock.el (org-clock-display): Compute H and M when
necessary.
2018-01-08 15:22:33 +01:00
Nicolas Goaziou
7544f2b6d7
Merge branch 'maint'
2018-01-08 15:00:28 +01:00
Nicolas Goaziou
9c675b0727
org-clock: Small fixes
...
* lisp/org-clock.el (org-clock-display-default-range): Improve
docstring. Add :safe keyword.
(org-clock-display): Fix comparison function.
2018-01-08 14:59:53 +01:00
Nicolas Goaziou
b65fe0f7a2
Merge branch 'maint'
2018-01-07 10:56:02 +01:00
Nicolas Goaziou
0c93296f83
org-table: Obey to `org-table-formula-create-columns'
...
* lisp/org-table.el (org-table-recalculate): Return an error when the
formula cannot create a necessary column.
(org-table-formula-create-columns): Fix docstring.
* testing/lisp/test-org-table.el (test-org-table/field-formula-outside-table):
Fix tests.
2018-01-07 10:55:30 +01:00
Kyle Meyer
34bb61bf81
Update master-only copyright years
2018-01-07 00:28:44 -05:00
Kyle Meyer
d94f7024bc
Merge branch 'maint'
2018-01-07 00:28:35 -05:00
Kyle Meyer
3e1641ef0a
Update copyright years
2018-01-07 00:27:54 -05:00
Nicolas Goaziou
e4b47699fe
manual: Fix typo
2018-01-07 02:35:20 +01:00
Nicolas Goaziou
6d0e2f2cc3
manual: Improve "The clock table" section
2018-01-07 02:34:17 +01:00
Nicolas Goaziou
9bc6e644e9
Merge branch 'maint'
2018-01-07 01:34:59 +01:00
Ian Dunn
b306aa2245
org-agenda: Fix lprops when recreating sticky agendas
...
* lisp/org-agenda.el (org-agenda-lprops): New variable.
(org-agenda-local-vars): Add it.
(org-agenda-prepare): Set lprops from symbol property.
(org-agenda-redo): Get lprops from variable, not property.
2018-01-07 01:34:13 +01:00
Nicolas Goaziou
6b06a6238b
Merge branch 'maint'
2018-01-06 10:19:37 +01:00
Alex Branham
5dfab7957d
org-agenda: documentation addition
...
* lisp/org-agenda.el: Add docstring to `org-agenda-show-log'
2018-01-06 10:19:01 +01:00
Nicolas Goaziou
8a2914f458
Merge branch 'maint'
2018-01-06 10:09:39 +01:00