emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Small patch: org-agenda-bulk-toggle


From: Paul Holcomb
Subject: [Orgmode] Small patch: org-agenda-bulk-toggle
Date: Thu, 6 Aug 2009 22:04:13 -0500
User-agent: Mutt/1.4.2i

 Can we add the behavoir of org-agenda-bulk-select back?  I far prefer
 the toggle action rather than having a key for "mark" and one for
 "unmark"

 This seems to work:

--
(defun org-agenda-bulk-toggle ()
  "Support behavoir of org-agenda-bulk-select"
  (interactive)
  (if (eq (get-char-property (point-at-bol) 'type)
    'org-marked-entry-overlay)
      (org-agenda-bulk-unmark)
    (org-agenda-bulk-mark)))
--

 Although it would probably be better to refactor the bulk checker
 rather than copying the code here.

-- 
Paul Holcomb                               *pholcomb    \@      cpoint  net*
GPG key fingerprint          2B62 05AE EE74 845A 705F  D716 28C4 FE1C 088F CFAC




reply via email to

[Prev in Thread] Current Thread [Next in Thread]