Added agenda binding: ! shows/hides deadline tasks
commit3a3a1023486111ef4e986de9f22e94ea9c05d890
authorJohn Wiegley <johnw@newartisans.com>
Mon, 15 Mar 2010 01:00:59 +0000 (14 21:00 -0400)
committerJohn Wiegley <johnw@newartisans.com>
Mon, 15 Mar 2010 01:03:56 +0000 (14 21:03 -0400)
tree020902a3937483077fa25e3f4f72f050c6a259cc
parent11e2116e1813ae4fb6f36c30efea080c76ab01c2
Added agenda binding: ! shows/hides deadline tasks

org-agenda.el (org-agenda-include-deadlines): Added new
customization variable to determine whether unscheduled tasks
should appear in the agenda solely because of their deadline.
Default to true, which was the previous behavior (it just wasn't
configurable).
(org-agenda-mode-map, org-agenda-view-mode-dispatch): Bind ! in
the agenda to show/hide deadline tasks.
(org-agenda-menu): Added menu option for show/hide deadlines.
(org-agenda-list): Make the agenda list sensitive to the value of
`org-agenda-include-deadlines'.
(org-agenda-toggle-deadlines): New function to toggle the value of
`org-agenda-include-deadlines' and repaint the modeline
indicators.
(org-agenda-set-mode-name): Show "Deadlines" in the agenda
modeline if deadline tasks are being displayed.
lisp/ChangeLog
lisp/org-agenda.el