When you are in agenda view and limit the items that are visible,
 such as with a tag restriction, marking and unmarking behaves
 incorrectly.  After the item is marked or unmarked for bulk action,
 the point is moved to the next item, regardless of whether the next item
 is visible.


-- 
Paul Holcomb                               *pholcomb    \@      cpoint  net*
GPG key fingerprint          2B62 05AE EE74 845A 705F  D716 28C4 FE1C 088F CFAC
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index da60310..670b4b0 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -7057,7 +7057,7 @@ This is a command that has to be installed in 
`calendar-mode-map'."
                           (org-get-todo-face "TODO")
                           'evaporate)
       (org-overlay-put ov 'type 'org-marked-entry-overlay))
-    (beginning-of-line 2)
+    (org-agenda-next-line)
     (message "%d entries marked for bulk action"
             (length org-agenda-bulk-marked-entries))))
 
@@ -7070,8 +7070,8 @@ This is a command that has to be installed in 
`calendar-mode-map'."
     (setq org-agenda-bulk-marked-entries
          (delete (org-get-at-bol 'org-hd-marker)
                  org-agenda-bulk-marked-entries)))
-  (beginning-of-line 2)
-  (message "%d entries marked for bulk action"
+  (org-agenda-next-line)
+(message "%d entries marked for bulk action"
           (length org-agenda-bulk-marked-entries)))
 
 (defun org-agenda-bulk-toggle ()
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to