From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Lawrence Subject: Bug: Agenda filtering by DEADLINE, SCHEDULED broken [8.3beta (release_8.3beta-575-g1dfa77 @ /home/rwl/src/org-mode/lisp/)] Date: Mon, 17 Nov 2014 10:17:58 -0800 Message-ID: <87egt17ktl.fsf@berkeley.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33066) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqQtG-0003ZC-Fm for emacs-orgmode@gnu.org; Mon, 17 Nov 2014 13:19:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XqQtA-0006tt-M0 for emacs-orgmode@gnu.org; Mon, 17 Nov 2014 13:19:06 -0500 Received: from mail-pd0-f169.google.com ([209.85.192.169]:52501) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqQtA-0006tK-Cz for emacs-orgmode@gnu.org; Mon, 17 Nov 2014 13:19:00 -0500 Received: by mail-pd0-f169.google.com with SMTP id fp1so4339353pdb.0 for ; Mon, 17 Nov 2014 10:18:58 -0800 (PST) Received: from aquinas (c-67-169-117-151.hsd1.ca.comcast.net. [67.169.117.151]) by mx.google.com with ESMTPSA id vf10sm35686133pbc.11.2014.11.17.10.18.57 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 17 Nov 2014 10:18:57 -0800 (PST) Received: from rwl by aquinas with local (Exim 4.80) (envelope-from ) id 1XqQsA-0004pg-MW for emacs-orgmode@gnu.org; Mon, 17 Nov 2014 10:17:58 -0800 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 Hi all, I'm on master, and after updating recently (to a version after the switch to the new property drawer syntax), some of my agenda views seem to be broken. Specifically, I cannot get any agenda views that compare a timestamp with the SCHEDULED and DEADLINE properties to work. My complete config is below, but the relevant agenda commands are: ("Rw" "School: next 7 days" tags-todo "reading-life&DEADLINE<=\"<+1w>\"") ("X." "Today's exercise" tags-todo "EXERCISE&SCHEDULED=\"\"") ("X+" "Tomorrow's exercise" tags-todo "EXERCISE&SCHEDULED=\"\"") These all use relative timestamps, but it also seems to be broken if I try to build an agenda using an absolute timestamp, e.g. via C-c a m SCHEDULED="<2014-11-17>" I don't see any error when running these agenda commands, but the commands are fairly slow, and the resulting agenda view is always empty. (Also, I did run the org-repair-property-drawers function in etc/ORG-NEWS on my agenda files, so all the property drawers in my agenda files should conform to the new syntax.) I just updated again to the most recent master and I'm still seeing this behavior. Any ideas? Thanks! Best, Richard Emacs : GNU Emacs 23.4.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10) of 2012-09-08 on trouble, modified by Debian Package: Org-mode version 8.3beta (release_8.3beta-575-g1dfa77 @ /home/rwl/src/org-mode/lisp/) current state: ============== (setq org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default org-todo-keyword-faces '(("WAITING" . "orange")) org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-agenda-custom-commands '(("." "Just today" agenda*) ("W" . "Writing") ("Wt" "Todo list" tags-todo "+writing-life-FREETIME") ("R" . "Reading") ("Rw" "School: next 7 days" tags-todo "reading-life&DEADLINE<=\"<+1w>\"") ("Rd" "School: research only" tags-todo "+reading-life-teaching-FREETIME") ("Rt" "School: teaching only" tags-todo "+reading+teaching") ("Rs" "School: all" tags-todo "+reading-life") ("Rl" "Life" tags-todo "+reading-school-dissertation-ERRAND") ("E" . "Teaching") ("Er" "Reading" tags-todo "+teaching+reading") ("Ep" "Prep" tags-todo "+teaching+prep") ("Ea" "Appointments" tags "+teaching+appointment") ("Et" "Other +teaching TODOs" tags-todo "+teaching-reading-appointment") ("A" . "Administrative") ("A#" "Phone calls" tags-todo "+PHONE") ("Am" "Emails" tags-todo "+mail-programming") ("F" . "Free/unstructured time") ("Fs" "School" tags-todo "+FREETIME-life-MAYBE") ("Fl" "Life/other" tags-todo "+FREETIME+life-MAYBE") ("Fc" "Computing projects" tags-todo "+FREETIME+COMPUTER") ("Fw" "Weekend projects" tags-todo "+WEEKEND") ("P" . "Campus") ("Pf" "Find" todo "FIND") ("Pp" "Print" todo "PRINT") ("Po" "Other +CAMPUS TODOs" tags-todo "+CAMPUS") ("X" . "Exercise") ("X." "Today's exercise" tags-todo "EXERCISE&SCHEDULED=\"\"") ("X+" "Tomorrow's exercise" tags-todo "EXERCISE&SCHEDULED=\"\"") ("Xt" "All exercise entries" tags "EXERCISE") ("$" . "Money stuff") ("$b" "Things to buy soon" tags-todo "+BUY-MAYBE") ("$p" "Bills to pay soon" tags-todo "+money+bill") ("$w" "Wishlist/things to buy later" tags-todo "+BUY+MAYBE") ("%" . "Maintenance") ("%M" "MAYBE items" tags "MAYBE&TODO<>\"DONE\"&TODO<>\"CANCELED\"") ("%W" "WAITING items" todo "WAITING") ("%r" "Full reading list" tags-todo "+reading") ("Z" "Export to iCalendar file" tags "+event|+appointment" nil ("~/Documents/website/public_html/lib/attachments/calendar.ics")) ) org-agenda-files '("~/Documents/philosophy/dissertation/tasks.org" "~/Documents/philosophy/reading/readings.org" "~/org/school.org" "~/org/life.org" "~/org/beer.org" "~/org/food.org") org-metaup-hook '(org-babel-load-in-session-maybe) org-capture-templates '(("r" "Reading") ("rr" "Reading (standard)" entry (file+olp "~/Documents/philosophy/reading/readings.org" "Reading list") (file "~/org/templates/reading.txt") :prepend t) ("rl" "Reading (long)" entry (file+olp "~/Documents/philosophy/reading/readings.org" "Reading list") (file "~/org/templates/reading-long.txt") :prepend t) ("s" "School") ("st" "Todo" entry (file+olp "~/org/school.org" "Tasks" "Fall 2014") (file "~/org/templates/todo.txt") :prepend t) ("sy" "Todo (from active region or kill ring)" entry (file+olp "~/org/school.org" "Tasks" "Fall 2014") (file "~/org/templates/todo-with-yank.txt") :prepend t) ("sl" "Todo (with link)" entry (file+olp "~/org/school.org" "Tasks" "Fall 2014") (file "~/org/templates/todo-with-link.txt") :prepend t) ("se" "Event" entry (file+headline "~/org/school.org" "Events") (file "~/org/templates/event.txt") :prepend t) ("sa" "Appointment" entry (file+olp "~/org/school.org" "Tasks" "Fall 2014") (file "~/org/templates/appointment.txt") :prepend t) ("sb" "Bookmark" entry (file+olp "~/org/school.org" "Bookmarks") (file "~/org/templates/bookmark-school.txt")) ("sc" "Class" entry (file+olp "~/org/school.org" "Semester Schedule" "Fall 2014" "Classes") (file "~/org/templates/class.txt")) ("ss" "Semester" entry (file+olp "~/org/school.org" "Semester Schedule") (file "~/org/templates/semester.txt") :prepend t) ("d" "Dissertation") ("dt" "Todo" entry (file+olp "~/Documents/philosophy/dissertation/tasks.org" "Tasks") (file "~/org/templates/todo.txt") :prepend t) ("de" "Event" entry (file+headline "~/Documents/philosophy/dissertation/tasks.org" "Events") (file "~/org/templates/event.txt") :prepend t) ("da" "Appointment" entry (file+olp "~/Documents/philosophy/dissertation/tasks.org" "Tasks") (file "~/org/templates/appointment.txt") :prepend t) ("db" "Bookmark" entry (file+olp "~/Documents/philosophy/dissertation/tasks.org" "Bookmarks") (file "~/org/templates/bookmark-school.txt")) ("l" "Life") ("lt" "Todo" entry (file+headline "~/org/life.org" "Tasks") (file "~/org/templates/todo.txt") :prepend t) ("ly" "Todo (from active region or kill ring)" entry (file+headline "~/org/life.org" "Tasks") (file "~/org/templates/todo-with-yank.txt") :prepend t) ("ll" "Todo (with link)" entry (file+headline "~/org/life.org" "Tasks") (file "~/org/templates/todo-with-link.txt") :prepend t) ("le" "Event" entry (file+headline "~/org/life.org" "Events") (file "~/org/templates/event.txt") :prepend t) ("la" "Appointment" entry (file+headline "~/org/life.org" "Tasks") (file "~/org/templates/appointment.txt") :prepend t) ("lr" "Reading" entry (file+headline "~/org/life.org" "Reading list") (file "~/org/templates/reading-life.txt")) ("lb" "Bookmark" entry (file+olp "~/org/life.org" "Bookmarks" "Misc.") (file "~/org/templates/bookmark-life.txt")) ("l$" "Bill" entry (file+olp "~/org/life.org" "Finances" "Bills") (file "~/org/templates/bill.txt") :prepend t) ("f" "Food") ("fr" "Recipe" entry (file+headline "~/org/food.org" "Recipes") (file "~/org/templates/recipe.txt") :prepend t) ("fb" "Bar or Restaurant" entry (file+headline "~/org/food.org" "Restaurants and bars") (file "~/org/templates/restaurant.txt") :prepend t) ("b" "Beer") ("br" "Recipe" entry (file+headline "~/org/beer.org" "Homebrews") (file "~/org/templates/beer-recipe.txt")) ("c" "Contacts") ("cp" "Personal" entry (file "~/org/contacts.org") (file "~/org/templates/contact-personal.txt")) ("cs" "School" entry (file "~/org/contacts.org") (file "~/org/templates/contact-school.txt")) ("co" "Organization" entry (file "~/org/contacts.org") (file "~/org/templates/contact-organization.txt")) ("a" "[Automated]") ("ap" "100 Paper" entry (file+olp "~/Documents/philosophy/teaching/100/papers/papers.org" "New") (file "~/org/templates/paper-100.txt")) ) org-latex-custom-id-as-label t org-html-head-include-default-style nil org-after-todo-state-change-hook '(org-clock-out-if-current) org-latex-classes '(("memoir" "\\documentclass{memoir}\n [DEFAULT-PACKAGES]\n [PACKAGES]\n [EXTRA]\n\n% number down to subsections: \n\\setsecnumdepth{subsection}\n" ("\\part{%s}" . "\\part*{*s}") ("\\chapter{%s}" . "\\chapter*{*s}") ("\\section{%s}" . "\\section*{*s}") ("\\subsection{%s}" . "\\subsection*{*s}") ("\\subsubsection{%s}" . "\\subsubsection*{*s}")) ("article" "\\documentclass[11pt]{article}" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparagraph{%s}" . "\\subparagraph*{%s}")) ("report" "\\documentclass[11pt]{report}" ("\\part{%s}" . "\\part*{%s}") ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}")) ("book" "\\documentclass[11pt]{book}" ("\\part{%s}" . "\\part*{%s}") ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}")) ) org-archive-hook '(org-attach-archive-delete-maybe) org-icalendar-timezone "America/Los_Angeles" org-footnote-auto-label 'confirm org-list-empty-line-terminates-plain-lists t org-agenda-sorting-strategy '((agenda time-up deadline-up priority-down todo-state-up category-keep) (todo deadline-up time-down priority-down category-keep) (tags priority-down todo-state-down tag-down category-keep) (search time-up priority-down todo-state-up)) org-format-latex-options '(:foreground "Black" :background "White" :scale 1.5 :html-foreground "Black" :html-background "Transparent" :html-scale 1.0 :matchers ("begin" "$1" "$" "$$" "\\(" "\\[")) org-stuck-projects '("CATEGORY<>\"food\"&CATEGORY<>\"beer\"&TODO<>\"DONE\"&TODO<>\"CANCELED\"&TODO<>\"\"&DEADLINE=\"\"&SCHEDULED=\"\"-reading-writing-MAYBE-FREETIME-WEEKEND" nil ("unstuck") "") org-latex-format-drawer-function '(lambda (name contents) contents) org-capture-before-finalize-hook '((lambda nil (add-bibliographic-data))) org-tab-first-hook '(org-hide-block-toggle-maybe org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-confirm-shell-link-function 'yes-or-no-p org-todo-keywords '((sequence "TODO" "INPROGRESS" "WAITING" "|" "DONE" "CANCELED") (sequence "FIND" "PRINT" "READ" "NOTES" "|" "DONE" "CANCELED") (sequence "PRIMARY" "SECONDARY" "|" "BOTTLED")) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-latex-packages-alist '(("" "natbib" nil)) org-babel-pre-tangle-hook '(save-buffer) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-hide-inline-tasks org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-publish-project-alist '(("orgfiles" :base-directory "~/Documents/website/src" :publishing-directory "~/Documents/website/public_html" :publishing-function org-html-publish-to-html :base-extension "org$") ("css" :base-directory "~/Documents/website/src/lib/css" :publishing-directory "~/Documents/website/public_html/lib/css" :publishing-function org-publish-attachment :base-extension "css$") ("images" :base-directory "~/Documents/website/src/lib/img" :publishing-directory "~/Documents/website/public_html/lib/img" :publishing-function org-publish-attachment :base-extension "png\\|jpe?g") ("12aworksheets-build" :base-directory "~/Documents/philosophy/teaching/12A/worksheets" :publishing-directory "~/Documents/philosophy/teaching/12A/worksheets" :publishing-function org-latex-publish-to-pdf :base-extension "xxxx" :include ("worksheets.org")) ("12aworksheets-attach" :base-directory "~/Documents/philosophy/teaching/12A/worksheets" :publishing-directory "~/Documents/website/public_html/lib/attachments/teaching/12A" :publishing-function org-publish-attachment :base-extension "pdf") ("12asyllabus-build" :base-directory "~/Documents/philosophy/teaching/12A/syllabus" :publishing-directory "~/Documents/philosophy/teaching/12A/syllabus" :publishing-function org-latex-publish-to-pdf :base-extension "xxxx" :include ("section-syllabus.org")) ("12asyllabus-attach" :base-directory "~/Documents/philosophy/teaching/12A/syllabus" :publishing-directory "~/Documents/website/public_html/lib/attachments/teaching/12A" :publishing-function org-publish-attachment :base-extension "pdf") ("12apdfs" :components ("12aworksheets-build" "12aworksheets-attach" "12asyllabus-build" "12asyllabus-attach") ) ("25asyllabus-build" :base-directory "~/Documents/philosophy/teaching/25A/syllabus" :publishing-directory "~/Documents/philosophy/teaching/25A/syllabus" :publishing-function org-latex-publish-to-pdf :base-extension "xxxx" :include ("course-syllabus.org")) ("25asyllabus-attach" :base-directory "~/Documents/philosophy/teaching/25A/syllabus" :publishing-directory "~/Documents/website/public_html/lib/attachments/teaching/25A" :publishing-function org-publish-attachment :base-extension "pdf") ("25ahandouts-attach" :base-directory "~/Documents/philosophy/teaching/25A/handouts" :publishing-directory "~/Documents/website/public_html/lib/attachments/teaching/25A" :publishing-function org-publish-attachment :base-extension "pdf" :exclude "lec.*") ("25apdfs" :components ("25asyllabus-build" "25asyllabus-attach" "25ahandouts-attach")) ("100pdfs-build" :base-directory "~/Documents/philosophy/teaching/100" :publishing-directory "~/Documents/philosophy/teaching/100" :publishing-function org-latex-publish-to-pdf :base-extension "xxxx" :include ("syllabus.org" "paper-guidelines.org")) ("100pdfs-attach" :base-directory "~/Documents/philosophy/teaching/100" :publishing-directory "~/Documents/website/public_html/lib/attachments/teaching/100" :publishing-function org-publish-attachment :base-extension "pdf") ("100pdfs" :components ("100pdfs-build" "100pdfs-attach")) ("146syllabus-build" :base-directory "~/Documents/philosophy/teaching/146/syllabus" :publishing-directory "~/Documents/philosophy/teaching/146/syllabus" :publishing-function org-latex-publish-to-pdf :base-extension "xxxx" :include ("section-syllabus.org")) ("146syllabus-attach" :base-directory "~/Documents/philosophy/teaching/146/syllabus" :publishing-directory "~/Documents/website/public_html/lib/attachments/teaching/146" :publishing-function org-publish-attachment :base-extension "pdf") ("146handouts-attach" :base-directory "~/Documents/philosophy/teaching/146/handouts" :publishing-directory "~/Documents/website/public_html/lib/attachments/teaching/146" :publishing-function org-publish-attachment :base-extension "pdf") ("146pdfs" :components ("146syllabus-build" "146syllabus-attach")) ("161syllabus-build" :base-directory "~/Documents/philosophy/teaching/161/syllabus" :publishing-directory "~/Documents/philosophy/teaching/161/syllabus" :publishing-function org-latex-publish-to-pdf :base-extension "xxxx" :include ("section-syllabus.org")) ("161syllabus-attach" :base-directory "~/Documents/philosophy/teaching/161/syllabus" :publishing-directory "~/Documents/website/public_html/lib/attachments/teaching/161" :publishing-function org-publish-attachment :base-extension "pdf") ("161pdfs" :components ("161syllabus-build" "161syllabus-attach")) ("website" :components ("orgfiles" "css" "images" "161pdfs"))) org-agenda-span 1 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-refile-targets '((nil :maxlevel . 4)) org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-confirm-elisp-link-function 'yes-or-no-p org-refile-use-outline-path t org-html-format-headline-function 'org-html-format-headline-default-function org-log-into-drawer t org-export-with-archived-trees nil org-highlight-latex-and-related '(latex) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-occur-hook '(org-first-headline-recenter) org-from-is-user-regexp "\\" org-ascii-format-drawer-function '(lambda (name contents width) contents) org-mobile-directory "/media/nexus/mobileorg" org-latex-pdf-process '("pdflatex -interaction nonstopmode -output-directory=%o %f" "BIBINPUTS=%o:$BIBINPUTS bibtex %o/%b" "pdflatex -interaction nonstopmode -output-directory=%o %f" "pdflatex -interaction nonstopmode -output-directory=%o %f") org-latex-format-inlinetask-function 'org-latex-format-inlinetask-default-function org-modules '(org-habit org-w3m org-bbdb org-bibtex org-docview org-gnus org-info org-irc org-mhe org-rmail) org-latex-format-headline-function 'org-latex-format-headline-default-function org-html-format-drawer-function '(lambda (name contents) contents) org-metadown-hook '(org-babel-pop-to-session-maybe) org-html-format-inlinetask-function 'org-html-format-inlinetask-default-function )