From mboxrd@z Thu Jan 1 00:00:00 1970 From: Neilen Marais Subject: 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/)] Date: Fri, 15 Jan 2016 13:14:01 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50806) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aK2Kn-0003Ok-1P for emacs-orgmode@gnu.org; Fri, 15 Jan 2016 06:14:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aK2Kk-00016B-Qe for emacs-orgmode@gnu.org; Fri, 15 Jan 2016 06:14:24 -0500 Received: from mail-lb0-x231.google.com ([2a00:1450:4010:c04::231]:36659) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aK2Kk-000167-DV for emacs-orgmode@gnu.org; Fri, 15 Jan 2016 06:14:22 -0500 Received: by mail-lb0-x231.google.com with SMTP id oh2so313568014lbb.3 for ; Fri, 15 Jan 2016 03:14:21 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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 If I do a month display, a properly formatted 'deadline' entry is also shown for the 19th: Tuesday 19 January 2016 SKA-indo-SA:Deadline: TODO Prepare Goals of Internship talk but the spurious entry remains at today's date. This is happening for all my tasks with future deadlines, making my agenda display quite cluttered. Emacs : GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, GTK+ Version 3.14.9) of 2015-03-21 on kissel, modified by Debian Package: Org-mode version 8.3.3 (8.3.3-2-g6bc48c-elpa @ /home/nmarais/.emacs.d/elpa/org-20160111/) Cheers Neilen current state: ============== (setq org-tab-first-hook '(org-hide-block-toggle-maybe org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-occur-hook '(org-first-headline-recenter) org-metaup-hook '(org-babel-load-in-session-maybe) org-log-done 'time org-confirm-shell-link-function 'yes-or-no-p org-agenda-custom-commands '(("c" "Context Next Tasks" tags-todo (concat "SCHEDULED=\"\"+{" (mapconcat (quote car) my-org-context-tag-alist "\\|") "}|SCHEDULED<=\"\"+{" (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-ndays 3) (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)) (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")) org-after-todo-state-change-hook '(org-clock-out-if-current) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-babel-pre-tangle-hook '(save-buffer) org-mode-hook '(#[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-show-block-all append local] 5] #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes org-better-keybindings) org-archive-hook '(org-attach-archive-delete-maybe) org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-todo-keywords '((sequence "TODO(t)" "NEXT(n)" "WAITING(w)" "DONE(d)")) org-confirm-elisp-link-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-agenda-mode-hook '((lambda nil (setq org-agenda-files (cons (expand-file-name "~/Dropbox/scratchpad/work/work_notebook.org") (cons (expand-file-name "~/Dropbox/scratchpad/notebook.org") (find-lisp-find-files "~/Dropbox/GTD/ActiveProjects" ".org$"))) ) ) ) org-agenda-files '("/home/nmarais/Dropbox/scratchpad/work/work_notebook.org" "/home/nmarais/Dropbox/scratchpad/notebook.org" "/home/nmarais/Dropbox/GTD/ActiveProjects/Work.org" "/home/nmarais/Dropbox/GTD/ActiveProjects/SKA-indo-SA/SKA-indo-SA.org" "/home/nmarais/Dropbox/GTD/ActiveProjects/SKA-learn-TANGO/SKA-learn-TANGO.org" "/home/nmarais/Dropbox/GTD/ActiveProjects/ICALEPCS2015/ICALEPCS2015.org" "/home/nmarais/Dropbox/GTD/ActiveProjects/SKA-katcp-talk.org" "/home/nmarais/Dropbox/GTD/ActiveProjects/SKA-github-talk.org" "/home/nmarais/Dropbox/GTD/ActiveProjects/None.org" "/home/nmarais/Dropbox/GTD/ActiveProjects/BladleesProgramMasterProject.org" "/home/nmarais/Dropbox/GTD/ActiveProjects/StockTrackingSoftware/StockTrackingSoftware.org" "/home/nmarais/Dropbox/GTD/ActiveProjects/StockStrategy1/StockStrategy1.org" "/home/nmarais/Dropbox/GTD/ActiveProjects/StockNewsScraper/StockNewsScraper.org" "/home/nmarais/Dropbox/GTD/ActiveProjects/SpeelGlassI/SpellGlassI.org" "/home/nmarais/Dropbox/GTD/ActiveProjects/SightNotesMaster/SightNotesMaster.org" "/home/nmarais/Dropbox/GTD/ActiveProjects/SightNotes0.1/SightNotes0.1.org" "/home/nmarais/Dropbox/GTD/ActiveProjects/OrgGTD/OrgGTD.org" "/home/nmarais/Dropbox/GTD/ActiveProjects/Glatal16/Glatal16.org" "/home/nmarais/Dropbox/GTD/ActiveProjects/DimmerAlarm/DimmerAlarm.org" "/home/nmarais/Dropbox/GTD/ActiveProjects/Budgeting2011/Budgeting2011.org") org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-tag-alist '(("@work" . 119) ("@home" . 104) ("@UCT" . 117) ("@errands" . 101) ("@internet" . 105) ("@computer" . 99) ("leaving" . 108) ("MorningHour" . 109) ("Reading" . 114) ("SometimeMaybe" . 115) ("@Phone" . 112) ("@Janneke" . 106) ("WeeklyReview" . 118) ("Waiting" . 97)) )