emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Tasks under COMMENT section are added to appt


From: Carsten Dominik
Subject: Re: [Orgmode] Tasks under COMMENT section are added to appt
Date: Fri, 12 Dec 2008 10:46:39 +0100

Hi Daniel,

could you please try if the following patch fixes this problem?

Thanks.

- Carsten


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

On Dec 11, 2008, at 7:29 PM, Daniel Clemente wrote:


Hi,
the agenda view ignores tasks which have a COMMENT keyword in the headline (or are children of a such headline):

* COMMENT Past activities
** DONE Go do something, <2007-10-25 Do 18:00 +1w>
...
** DONE Something else I did
  SCHEDULED: <2008-12-11 dj 19:45>


But I was surprised to find them added as appointments to appt after an (org-agenda-to-appt). Both were added (you can check it with appt-delete) and they will be displayed from now on.
 I think they should be always be ignored by default.


 Thanks,

Daniel


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode





reply via email to

[Prev in Thread] Current Thread [Next in Thread]