From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: orgmode git: Org agenda todo list headers broken Date: Fri, 02 Oct 2009 11:52:46 +0100 Message-ID: <87ocoqqd8h.wl%ucecesf@ucl.ac.uk> References: <20091002084443.GA31362@taupan.ath.cx> <0F9000D3-6E0B-4324-A2E4-C212796A033B@gmail.com> <20091002100807.GA2091@taupan.ath.cx> Reply-To: Eric S Fraga Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mtfl2-0000UZ-HH for emacs-orgmode@gnu.org; Fri, 02 Oct 2009 06:53:04 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mtfkx-0000RM-Gn for emacs-orgmode@gnu.org; Fri, 02 Oct 2009 06:53:04 -0400 Received: from [199.232.76.173] (port=55615 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mtfkx-0000RF-7m for emacs-orgmode@gnu.org; Fri, 02 Oct 2009 06:52:59 -0400 Received: from vscane-b.ucl.ac.uk ([144.82.108.141]:40136) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mtfkw-0007NM-Sl for emacs-orgmode@gnu.org; Fri, 02 Oct 2009 06:52:59 -0400 In-Reply-To: <20091002100807.GA2091@taupan.ath.cx> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Emacs-orgmode mailing list 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