From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kyle Machulis Subject: Re: sexp timestamp causing agenda compilation issues as of 8517be79b5c1 Date: Thu, 7 Feb 2013 10:17:29 -0800 Message-ID: References: <87a9rg1n9v.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:49570) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3W2O-000314-8b for emacs-orgmode@gnu.org; Thu, 07 Feb 2013 13:17:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U3W2M-0005oY-FH for emacs-orgmode@gnu.org; Thu, 07 Feb 2013 13:17:32 -0500 Received: from mail-ve0-f169.google.com ([209.85.128.169]:59192) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3W2M-0005oQ-Aj for emacs-orgmode@gnu.org; Thu, 07 Feb 2013 13:17:30 -0500 Received: by mail-ve0-f169.google.com with SMTP id 15so2660367vea.28 for ; Thu, 07 Feb 2013 10:17:29 -0800 (PST) In-Reply-To: <87a9rg1n9v.fsf@bzg.ath.cx> 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: Bastien Cc: emacs-orgmode Updated to 25a481d8, still getting the same error and backtrace when generating agendas where the memq block evaluates non-nil. :/ On Thu, Feb 7, 2013 at 1:33 AM, Bastien wrote: > Hi Kyle, > > Kyle Machulis writes: > >> As of commit 8517be79b5c1fe165d23ea65ad70a282e9c595bb (bisected to >> find this), agenda compilation died with the following backtrace for >> me: >> >> Debugger entered--Lisp error: (error "Bad timestamp `' >> Error was: (Not a standard Org-mode time string: )") >> signal(error ("Bad timestamp `'\nError was: (Not a standard Org-mode >> time string: )")) >> error("Bad timestamp `%s'%s\nError was: %s" "" "" ("Not a standard >> Org-mode time string: ")) >> byte-code(...) >> org-time-string-to-absolute("") >> byte-code(...) >> org-agenda-get-timestamps(nil) >> org-agenda-get-day-entries("~/emacs_org/mozilla/mozilla.org" (2 6 >> 2013) :deadline :scheduled :timestamp :sexp) >> apply(org-agenda-get-day-entries "~/emacs_org/mozilla/mozilla.org" >> (2 6 2013) (:deadline :scheduled :timestamp :sexp)) >> byte-code(...) >> byte-code(...) >> org-agenda-list(nil) >> call-interactively(org-agenda-list) >> byte-code(...) >> org-agenda(nil) >> call-interactively(org-agenda nil nil) >> >> It's dying when it hits a headline as follows: >> >> * Meeting 13:30 >> , <%%(memq (calendar-day-of-week date) '(3))> >> >> I'm guessing this has something to do with the agenda sorting updates >> in the commit not liking the fact that the sexp evaluates to true. If >> the sexp evaluates nil for the day the agenda is trying to parse, >> nothing happens. If it evaluates to something other than nil (t if I >> use (= 3 (calendar-day-of-week date)), 3 if I use memq on a wednesday, >> etc...), I get the above error. > > Thanks for reporting this. Yes, diary sexp are special and can't > really be handled here. I fixed this in master, please confirm this > is okay. > > -- > Bastien