diff options
| author | Stephen Berman | 2014-07-25 18:01:05 +0200 |
|---|---|---|
| committer | Stephen Berman | 2014-07-25 18:01:05 +0200 |
| commit | 6dd006a86d401a494efd48a31c5fe6e511e42b52 (patch) | |
| tree | 643fc3b59f8b90fc7d8de4a766b10b1d842f8f19 /doc | |
| parent | c509a535a86acc8efc13df4d379ec09ef3659287 (diff) | |
| download | emacs-6dd006a86d401a494efd48a31c5fe6e511e42b52.tar.gz emacs-6dd006a86d401a494efd48a31c5fe6e511e42b52.zip | |
Fix code and doc involving marked items.
* todo-mode.texi (Marked Items): Correct omission of item deletion
from commands applying to both todo and done items.
* calendar/todo-mode.el: Fix handling of marked items and make
minor code improvements.
(todo-edit-item): If there are marked items, ensure user can only
invoke editing commands that work with marked items.
(todo-edit-item--text): When there are marked items, make it a
noop if invoked with point not on an item; otherwise, ensure it
applies only to item at point.
(todo-item-undone): If there are marked not-done items, return
point to its original position before signaling user error.
(todo--user-error-if-marked-done-item): New function.
(todo-edit-item--header, todo-edit-item--diary-inclusion)
(todo-item-done): Use it.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/misc/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/misc/todo-mode.texi | 9 |
2 files changed, 10 insertions, 4 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index 84dea26ca32..0ad35d3803a 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2014-07-25 Stephen Berman <stephen.berman@gmx.net> | ||
| 2 | |||
| 3 | * todo-mode.texi (Marked Items): Correct omission of item deletion | ||
| 4 | from commands applying to both todo and done items. | ||
| 5 | |||
| 1 | 2014-07-04 Stephen Berman <stephen.berman@gmx.net> | 6 | 2014-07-04 Stephen Berman <stephen.berman@gmx.net> |
| 2 | 7 | ||
| 3 | * todo-mode.texi (Levels of Organization): Comment out statement | 8 | * todo-mode.texi (Levels of Organization): Comment out statement |
diff --git a/doc/misc/todo-mode.texi b/doc/misc/todo-mode.texi index 092137268f7..9b0ec6e85a3 100644 --- a/doc/misc/todo-mode.texi +++ b/doc/misc/todo-mode.texi | |||
| @@ -1323,10 +1323,11 @@ If you use @kbd{m}, @kbd{d}, @kbd{A d} or @kbd{u} on multiple | |||
| 1323 | noncontiguous marked items, the relocated items retain their relative | 1323 | noncontiguous marked items, the relocated items retain their relative |
| 1324 | order but are now listed consecutively en bloc. | 1324 | order but are now listed consecutively en bloc. |
| 1325 | 1325 | ||
| 1326 | You can mark both todo and done items, but note that only @kbd{m} can apply | 1326 | You can mark both todo and done items, but note that only @kbd{m} and |
| 1327 | to both; other commands only affect either marked todo or marked done | 1327 | @kbd{k} can apply to both; other commands only affect either marked |
| 1328 | items, so if both types of items are marked, invoking these commands | 1328 | todo or marked done items, so if both types of items are marked, |
| 1329 | has no effect and informs you of your erroneous attempt. | 1329 | invoking these commands has no effect and informs you of your |
| 1330 | erroneous attempt. | ||
| 1330 | 1331 | ||
| 1331 | @node Todo Categories Mode, Searching for Items, Marked Items, Top | 1332 | @node Todo Categories Mode, Searching for Items, Marked Items, Top |
| 1332 | @chapter Todo Categories Mode | 1333 | @chapter Todo Categories Mode |