* Tasks under COMMENT section are added to appt
@ 2008-12-11 18:29 Daniel Clemente
2008-12-12 9:46 ` Carsten Dominik
0 siblings, 1 reply; 3+ messages in thread
From: Daniel Clemente @ 2008-12-11 18:29 UTC (permalink / raw
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Tasks under COMMENT section are added to appt
2008-12-11 18:29 Tasks under COMMENT section are added to appt Daniel Clemente
@ 2008-12-12 9:46 ` Carsten Dominik
2008-12-12 22:17 ` Daniel Clemente
0 siblings, 1 reply; 3+ messages in thread
From: Carsten Dominik @ 2008-12-12 9:46 UTC (permalink / raw
To: Daniel Clemente; +Cc: emacs-orgmode
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.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: Tasks under COMMENT section are added to appt
2008-12-12 9:46 ` Carsten Dominik
@ 2008-12-12 22:17 ` Daniel Clemente
0 siblings, 0 replies; 3+ messages in thread
From: Daniel Clemente @ 2008-12-12 22:17 UTC (permalink / raw
To: Carsten Dominik; +Cc: emacs-orgmode
Carsten Dominik <dominik@science.uva.nl> 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
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-12-12 22:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-11 18:29 Tasks under COMMENT section are added to appt Daniel Clemente
2008-12-12 9:46 ` Carsten Dominik
2008-12-12 22:17 ` Daniel Clemente
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.