From 2047a66806d42b552a96b8495289e55537aed200 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Wed, 30 Nov 2016 10:44:48 -0600 Subject: [PATCH] add automatic reminders for appointments --- emacs_el/configuration/org-mode-configuration.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/emacs_el/configuration/org-mode-configuration.el b/emacs_el/configuration/org-mode-configuration.el index 8e434d1..bd1d036 100644 --- a/emacs_el/configuration/org-mode-configuration.el +++ b/emacs_el/configuration/org-mode-configuration.el @@ -122,6 +122,13 @@ (setq org-global-properties '(("Effort_ALL 0 0:10 0:30 1:00 2:00 3:00 4:00 5:00 6:00 7:00"))) (setq org-columns-default-format "%40ITEM(Task) %6Effort{:} %CLOCKSUM %PRIORITY %TODO %13SCHEDULED %13DEADLINE %TAGS") +;; add automatic reminders for appointments +(defadvice org-agenda-redo (after org-agenda-redo-add-appts) + "Pressing `r' on the agenda will also add appointments." + (progn + (setq appt-time-msg-list nil) + (org-agenda-to-appt))) + (setq org-default-notes-file "~/projects/org-notes/notes.org") (setq org-id-link-to-org-use-id t) (setq org-capture-templates ;; mail-specific note template, identified by "m" -- 2.39.2