From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Clemente Subject: Re: Tasks under COMMENT section are added to appt Date: Fri, 12 Dec 2008 23:17:25 +0100 Message-ID: <87wse56nt6.fsf@gmail.com> References: <87y6ymtvjf.fsf@CPU107.opentrends.net> <7C0E49C4-7CD1-4E3C-963E-2A0D92407F8F@uva.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LBGJv-00006o-Qx for emacs-orgmode@gnu.org; Fri, 12 Dec 2008 17:17:15 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LBGJt-0008U9-Ke for emacs-orgmode@gnu.org; Fri, 12 Dec 2008 17:17:14 -0500 Received: from [199.232.76.173] (port=51989 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LBGJt-0008U2-Dx for emacs-orgmode@gnu.org; Fri, 12 Dec 2008 17:17:13 -0500 Received: from mail-ew0-f13.google.com ([209.85.219.13]:57789) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LBGJt-0005RZ-3G for emacs-orgmode@gnu.org; Fri, 12 Dec 2008 17:17:13 -0500 Received: by ewy6 with SMTP id 6so2127259ewy.18 for ; Fri, 12 Dec 2008 14:17:12 -0800 (PST) In-Reply-To: <7C0E49C4-7CD1-4E3C-963E-2A0D92407F8F@uva.nl> (Carsten Dominik's message of "Fri, 12 Dec 2008 10:46:39 +0100") 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: Carsten Dominik Cc: emacs-orgmode@gnu.org Carsten Dominik writes: > could you please try if the following patch fixes this problem? A simple patch, and it works! Thanks for commiting it. -- Daniel > > diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el > index ffcabde..25f2baa 100644 > --- a/lisp/org-agenda.el > +++ b/lisp/org-agenda.el > @@ -5627,6 +5627,7 @@ belonging to the \"Work\" category." > (time-to-days (current-time)))) > (files (org-agenda-files 'unrestricted)) entries file) > ;; Get all entries which may contain an appt > + (org-prepare-agenda-buffers files) > (while (setq file (pop files)) > (setq entries > (append entries >