emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Neilen Marais <nmarais@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Bug: Spurious entries in agenda if tasks have a deadline [8.3.3 (8.3.3-2-g6bc48c-elpa <at> /home/nmarais/.emacs.d/elpa/org-20160111/)]
Date: Mon, 18 Jan 2016 08:15:08 +0000 (UTC)	[thread overview]
Message-ID: <loom.20160118T091240-106@post.gmane.org> (raw)
In-Reply-To: 5698EE40.5050103@verizon.net

Charles Millar <millarc <at> verizon.net> writes:

Charles,

> 
> Hi Neilen,
> 
> On 01/15/2016 06:14 AM, Neilen Marais wrote:
> > I tested this with both the packaged org-mode that came with my ubuntu
> > 15.04 emacs24 install and with the latest org version on elpa.
> >
> > Tasks with deadlines in the future spuriously show up under today's
> > schedule. E.g. Today is 2016-01-15 and I have a task with a deadline set
> > as 2016-01-19:
> >
> > ** TODO Prepare Goals of Internship talk
> >     DEADLINE: <2016-01-19 Tue>
> >
> > If I do an org-agenda week display (M-x orga-agenda a), I see a spurious
> > entry for that task:
> >
> > ...
> > Friday     15 January 2016
> > ...
> >    SKA-indo-SA:In   4 d.:  TODO Prepare Goals of Internship talk


> I am not a programmer, coder, whatever, but you have 
> org-deadline-warning-days set to two different values. Is this the problem?
> 
> current state:
> ==============
> 
> snip
> 
> (org-deadline-warning-days 1)))
>                  (agenda ""
>                   ((org-agenda-time-grid nil)
> (org-deadline-warning-days 365) (org-agenda-entry-types (quote
> (:deadline))) (org-agenda-skip-entry-if (quote scheduled))

Thanks for taking a look. I removed the redundant org-deadline-warning-days
definition, but it does not seem to change anything. The relevant bit of
config is now:

 org-agenda-custom-commands '(("c" "Context Next Tasks" tags-todo
			       (concat "SCHEDULED=\"\"+{"
				(mapconcat (quote car) my-org-context-tag-alist "\\|")
				"}|SCHEDULED<=\"<today>\"+{"
				(mapconcat (quote car) my-org-context-tag-alist "\\|") "}/NEXT")
			       ((org-agenda-sorting-strategy (quote (tag-up)))
				(org-agenda-overriding-header "Context Next Tasks"))
			       )
			      ("s" "Startup View"
			       ((agenda ""
				 ((org-agenda-time-grid nil) (org-deadline-warning-days 365)
				  (org-agenda-entry-types (quote (:deadline)))
				  (org-agenda-skip-entry-if (quote scheduled)) (org-agenda-ndays 1)
				  (org-agenda-overriding-header "Unscheduled upcoming deadlines:"))
				 )
				(todo ""
				 (quote
				  (org-agenda-overriding-header "Unscheduled No Deadline TODO:"))
				 )
				)
			       )
			      ("o" "Context Next or Todo Tasks" tags-todo
			       (mapconcat (quote car) my-org-context-tag-alist "|")
			       ((org-agenda-skip-function
				 (quote (org-agenda-skip-entry-if (quote todo) (quote ("DONE")))))
				(org-agenda-sorting-strategy (quote (tag-up)))
				(org-agenda-overriding-header "Context Next or Todo Tasks"))
			       )
			      ("w" todo "WAITING"))



Cheers
Neilen

  reply	other threads:[~2016-01-18  8:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-15 11:14 Bug: Spurious entries in agenda if tasks have a deadline [8.3.3 (8.3.3-2-g6bc48c-elpa @ /home/nmarais/.emacs.d/elpa/org-20160111/)] Neilen Marais
2016-01-15 13:04 ` Charles Millar
2016-01-18  8:15   ` Neilen Marais [this message]
2016-01-18  9:42   ` Bug: Spurious entries in agenda if tasks have a deadline [8.3.3 (8.3.3-2-g6bc48c-elpa <at> /home/nmarais/.emacs.d/elpa/org-20160111/)] Neilen Marais

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=loom.20160118T091240-106@post.gmane.org \
    --to=nmarais@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).