emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Daniel Clemente <n142857@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Tasks under COMMENT section are added to appt
Date: Fri, 12 Dec 2008 10:46:39 +0100	[thread overview]
Message-ID: <7C0E49C4-7CD1-4E3C-963E-2A0D92407F8F@uva.nl> (raw)
In-Reply-To: <87y6ymtvjf.fsf@CPU107.opentrends.net>

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

  reply	other threads:[~2008-12-12  9:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-11 18:29 Tasks under COMMENT section are added to appt Daniel Clemente
2008-12-12  9:46 ` Carsten Dominik [this message]
2008-12-12 22:17   ` Daniel Clemente

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7C0E49C4-7CD1-4E3C-963E-2A0D92407F8F@uva.nl \
    --to=dominik@science.uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=n142857@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).