From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: Org-mode version 5.01 Date: Wed, 4 Jul 2007 11:21:54 +0200 Message-ID: <4da6da26c3318fa892e2c4d745d9392b@science.uva.nl> References: <02fd7c0eda862268ec5e7b120b793663@science.uva.nl> <87hcolrrb4.fsf@adboyd.com> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I62ui-0000wq-C5 for emacs-orgmode@gnu.org; Wed, 04 Jul 2007 07:20:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I62uh-0000w6-Eg for emacs-orgmode@gnu.org; Wed, 04 Jul 2007 07:20:51 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I62ug-0000vr-OH for emacs-orgmode@gnu.org; Wed, 04 Jul 2007 07:20:50 -0400 Received: from hotmail1.netcop.nl ([194.109.204.36]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I62uf-0002V0-CV for emacs-orgmode@gnu.org; Wed, 04 Jul 2007 07:20:49 -0400 In-Reply-To: <87hcolrrb4.fsf@adboyd.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "J. David Boyd" Cc: emacs-orgmode@gnu.org Much better, thank you. The error happens for you and not for me because you have set org-agenda-start-on-weekday to nil. This will work again in the next version. - Carsten On Jul 4, 2007, at 1:38, J. David Boyd wrote: > Carsten Dominik writes: > >> Hi, >> >> I am releasing Org-mode 5.01. It is available at my website >> > > > So, if I'm in the agenda, and I hit 'd' to go to daily mode, then 'w' > to back to week mode, I get: > > > Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p > nil) > -(2 nil) > (let* ((nt ...) (n1 org-agenda-start-on-weekday) (d ...)) (setq sd > (- sd ...)) (setq nd 7)) > (cond ((eq span ...) (setq nd 1)) ((eq span ...) (let* ... ... ...)) > ((eq span ...) (setq sd ... nd ...)) ((eq span ...) (setq sd ... nd > ...))) > (let* ((greg ...) nd) (cond (... ...) (... ...) (... ...) (... ...)) > (cons sd nd)) > org-agenda-compute-time-span(732860 week) > (let* ((sd ...) (computed ...) (org-agenda-overriding-arguments > ...)) (org-agenda-redo) (org-agenda-find-today-or-agenda)) > org-agenda-change-time-span(week) > org-agenda-week-view() > call-interactively(org-agenda-week-view) > > > which is the same thing I get with > > M-S : (org-agenda-week-view) > > Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p > nil) > -(2 nil) > (let* ((nt ...) (n1 org-agenda-start-on-weekday) (d ...)) (setq sd > (- sd ...)) (setq nd 7)) > (cond ((eq span ...) (setq nd 1)) ((eq span ...) (let* ... ... ...)) > ((eq span ...) (setq sd ... nd ...)) ((eq span ...) (setq sd ... nd > ...))) > (let* ((greg ...) nd) (cond (... ...) (... ...) (... ...) (... ...)) > (cons sd nd)) > org-agenda-compute-time-span(732860 week) > (let* ((sd ...) (computed ...) (org-agenda-overriding-arguments > ...)) (org-agenda-redo) (org-agenda-find-today-or-agenda)) > org-agenda-change-time-span(week) > org-agenda-week-view() > eval((org-agenda-week-view)) > eval-expression((org-agenda-week-view) nil) > call-interactively(eval-expression) > > > > Hope that helps more! > > I wonder how to get the ...'s to be replaced with real data? > > Dave > > > > _______________________________________________ > Emacs-orgmode mailing list > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > -- Carsten Dominik Sterrenkundig Instituut "Anton Pannekoek" Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477