From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Subject: Re: Problem with agenda and diary Date: Thu, 17 Mar 2011 21:28:38 +0100 Message-ID: <808vwdtrt5.fsf@somewhere.org> References: <87sjul50xb.fsf@rochester.rr.com> <8762rhg8o8.fsf@member.fsf.org> <87vczhep74.fsf@member.fsf.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: 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-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Tassilo, Tassilo Horn wrote: >> It may has been introduced by one of my latest commit. Could you load >> org-agenda.el (not compiled) and give me the full backtrace (in >> private)? > > Sure, here it is. There' nothing private in it, so we can stay on list. > > Debugger entered--Lisp error: (wrong-type-argument integerp nil) > substring(#(" Diary: St. Patrick's Day" 0 2 (org-category "diary"= tags nil org-highest-priority 65 org-lowest-priority 67 time-of-day nil du= ration nil effort nil effort-minutes nil txt #("St. Patrick's Day" 0 17 (fo= ntified nil org-heading t)) time "" extra "" dotime time fontified nil org-= heading t type "diary" date (3 17 2011) face org-todo) 2 14 (org-category "= diary" tags nil org-highest-priority 65 org-lowest-priority 67 time-of-day = nil duration nil effort nil effort-minutes nil txt #("St. Patrick's Day" 0 = 17 (fontified nil org-heading t)) time "" extra "" dotime time fontified ni= l org-heading t type "diary" date (3 17 2011) face org-agenda-diary) 14 31 = (org-heading t fontified nil org-category "diary" tags nil org-highest-prio= rity 65 org-lowest-priority 67 time-of-day nil duration nil effort nil effo= rt-minutes nil txt #("St. Patrick's Day" 0 17 (fontified nil org-heading t)= ) time "" extra "" dotime time type "diary" date (3 17 2011) face org-agend= a-diary)) nil) > (concat (substring x 0 (match-end 1)) (format org-agenda-todo-keyword-f= ormat (match-string 2 x)) (org-add-props #(" " 0 1 (done-face org-agenda-do= ne undone-face org-warning face org-todo date (3 17 2011) type "diary" todo= -state #("STARTED" 0 7 (fontified nil org-category "uni")) priority 1002 or= g-hd-marker # org-marker # help-echo "mouse-2 or RET jump to org file ~/repos/org/uni.org" org= -complex-heading-regexp "^\\(\\*+\\)[ ]+\\(?:\\(TODO\\|STARTED\\|DELEGATED= \\|IDEA\\|DONE\\|CANCELLED\\)\\>\\)?\\(?:[ ]*\\(\\[#.\\]\\)\\)?[ ]*\\(.*?= \\)\\(?:[ ]+\\(:[[:alnum:]_@#%:]+:\\)\\)?[ ]*$" org-todo-regexp "\\<\\(TO= DO\\|STARTED\\|DELEGATED\\|IDEA\\|DONE\\|CANCELLED\\)\\>" org-not-done-rege= xp "\\<\\(TODO\\|STARTED\\|DELEGATED\\|IDEA\\)\\>" mouse-face highlight dot= ime time extra "" time "" txt #("St. Patrick's Day" 0 17 (fontified nil org= -heading t)) effort-minutes nil effort nil duration nil time-of-day nil org= -lowest-priority 67 org-highest-priority 65 tags nil ...)) (text-properties= -at 0 x)) (substring x (match-end 3))) > [...] > org-agenda(nil) > call-interactively(org-agenda nil nil) Side question: how do you do to see a really full backtrace? My backtraces always are elided with ellipsis inside the lines... Best regards, Seb --=20 S=C3=A9bastien Vauban