* Bug: Agenda filtering by DEADLINE, SCHEDULED broken [8.3beta (release_8.3beta-575-g1dfa77 @ /home/rwl/src/org-mode/lisp/)]
@ 2014-11-17 18:17 Richard Lawrence
2014-11-18 9:31 ` Nicolas Goaziou
0 siblings, 1 reply; 3+ messages in thread
From: Richard Lawrence @ 2014-11-17 18:17 UTC (permalink / raw)
To: emacs-orgmode
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=\"<today>\"")
("X+" "Tomorrow's exercise" tags-todo "EXERCISE&SCHEDULED=\"<tomorrow>\"")
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=\"<today>\"")
("X+" "Tomorrow's exercise" tags-todo
"EXERCISE&SCHEDULED=\"<tomorrow>\"")
("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 "\\<Richard Lawrence\\>"
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
)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Bug: Agenda filtering by DEADLINE, SCHEDULED broken [8.3beta (release_8.3beta-575-g1dfa77 @ /home/rwl/src/org-mode/lisp/)]
2014-11-17 18:17 Bug: Agenda filtering by DEADLINE, SCHEDULED broken [8.3beta (release_8.3beta-575-g1dfa77 @ /home/rwl/src/org-mode/lisp/)] Richard Lawrence
@ 2014-11-18 9:31 ` Nicolas Goaziou
2014-11-18 15:30 ` Richard Lawrence
0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2014-11-18 9:31 UTC (permalink / raw)
To: Richard Lawrence; +Cc: emacs-orgmode
Hello,
Richard Lawrence <richard.lawrence@berkeley.edu> writes:
> 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=\"<today>\"")
> ("X+" "Tomorrow's exercise" tags-todo "EXERCISE&SCHEDULED=\"<tomorrow>\"")
>
> 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.
This should be fixed. Thank you for reporting it.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-11-18 15:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-17 18:17 Bug: Agenda filtering by DEADLINE, SCHEDULED broken [8.3beta (release_8.3beta-575-g1dfa77 @ /home/rwl/src/org-mode/lisp/)] Richard Lawrence
2014-11-18 9:31 ` Nicolas Goaziou
2014-11-18 15:30 ` Richard Lawrence
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).