From 6d282a192f8cc21e1b6d7f55f06dd4173a135b6a Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Sat, 15 Jan 2011 13:12:19 +0100 Subject: [PATCH] org-hacks.org: reschedule agenda items to today with a single command --- org-hacks.org | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/org-hacks.org b/org-hacks.org index 9965083..fd93e01 100644 --- a/org-hacks.org +++ b/org-hacks.org @@ -1101,6 +1101,17 @@ Hack sent by Kiwon Um: (run-at-time nil 300 'kiwon/org-agenda-redo-in-other-window) #+end_src +*** Reschedule agenda items to today with a single command + +This was suggested by Carsten in reply to David Abrahams: + +#+begin_example emacs-lisp +(defun org-agenda-reschedule-to-today () + (interactive) + (flet ((org-read-date (&rest rest) (current-time))) + (call-interactively 'org-agenda-schedule))) +#+end_example + * Hacking Org: Working with Org-mode and other Emacs Packages. ** org-remember-anything -- 2.11.4.GIT