[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] orgmode git: Org agenda todo list headers broken
From: |
Eric S Fraga |
Subject: |
Re: [Orgmode] orgmode git: Org agenda todo list headers broken |
Date: |
Fri, 02 Oct 2009 11:52:46 +0100 |
User-agent: |
Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.7 Emacs/23.1 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
At Fri, 2 Oct 2009 12:08:07 +0200,
Friedrich Delgado Friedrichs wrote:
> The problem was that I wanted to add appointments for the day
> automatically, so I added
>
> (add-hook 'org-agenda-mode-hook 'org-agenda-to-appt)
>
> to my org config very recently.
>
> Probably that was the wrong way to do this. I think I found this on
> the mailing list.
I use:
--8<---------------cut here---------------start------------->8---
(when window-system
(setq appt-display-format 'window)
;; ... (other stuff deleted)
;; Run once, activate and schedule refresh
(run-at-time nil 3600 'org-agenda-to-appt)
(appt-activate t))
(setq appt-time-msg-list nil)
(org-agenda-to-appt)
(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)))
(ad-activate 'org-agenda-redo)
--8<---------------cut here---------------end--------------->8---
in my .emacs (or equivalent). The appointment list is set initially
when starting emacs, automatically updated every hour and also
whenever you update the agenda (r). Works perfectly for me.
HTH!
eric