aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorStephen Berman2014-07-25 18:01:05 +0200
committerStephen Berman2014-07-25 18:01:05 +0200
commit6dd006a86d401a494efd48a31c5fe6e511e42b52 (patch)
tree643fc3b59f8b90fc7d8de4a766b10b1d842f8f19 /doc
parentc509a535a86acc8efc13df4d379ec09ef3659287 (diff)
downloademacs-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/ChangeLog5
-rw-r--r--doc/misc/todo-mode.texi9
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 @@
12014-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
12014-07-04 Stephen Berman <stephen.berman@gmx.net> 62014-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
1323noncontiguous marked items, the relocated items retain their relative 1323noncontiguous marked items, the relocated items retain their relative
1324order but are now listed consecutively en bloc. 1324order but are now listed consecutively en bloc.
1325 1325
1326You can mark both todo and done items, but note that only @kbd{m} can apply 1326You can mark both todo and done items, but note that only @kbd{m} and
1327to both; other commands only affect either marked todo or marked done 1327@kbd{k} can apply to both; other commands only affect either marked
1328items, so if both types of items are marked, invoking these commands 1328todo or marked done items, so if both types of items are marked,
1329has no effect and informs you of your erroneous attempt. 1329invoking these commands has no effect and informs you of your
1330erroneous 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