From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Agenda column view conflicts with diary inclusion Date: Tue, 6 Jan 2009 16:32:00 +0100 Message-ID: References: Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LKDuZ-0003nb-5Q for emacs-orgmode@gnu.org; Tue, 06 Jan 2009 10:32:07 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LKDuY-0003nP-8e for emacs-orgmode@gnu.org; Tue, 06 Jan 2009 10:32:06 -0500 Received: from [199.232.76.173] (port=59911 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LKDuY-0003nM-4h for emacs-orgmode@gnu.org; Tue, 06 Jan 2009 10:32:06 -0500 Received: from ug-out-1314.google.com ([66.249.92.174]:39258) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LKDuX-0001kx-IX for emacs-orgmode@gnu.org; Tue, 06 Jan 2009 10:32:05 -0500 Received: by ug-out-1314.google.com with SMTP id 36so2168592uga.17 for ; Tue, 06 Jan 2009 07:32:04 -0800 (PST) In-Reply-To: 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: Matthew Lundin Cc: emacs-orgmode@gnu.org fixed, thanks. - Carsten On Jan 6, 2009, at 4:01 PM, Matthew Lundin wrote: > > Hi Carsten, > > Carsten Dominik writes: > >> Hi Matt, how about a backtrace, and maybe you can try >> to figure out which line in your diary file causes the problem? >> >> - Carsten > > Absolutely. I've put the results below, along with a sample diary file > I ran the test on and my configuration. I'm copying a backtrace for > the first time, so feel free to tell me if I've failed to include > something. > > First, before I include the results, I believe I've identified the > culprit: it's the syntax for generic monthly events in the diary, > e.g., > > */3 Monthly meeting > > When I remove this line from the sample diary file, agenda column view > works fine. > > (By the way, this was the impetus I needed to switch all my > appointments to org-mode, since it's so nice to be able to add notes > to events in org-mode files.) > > Best, > Matt > > ---begin Backtrace--- > > Debugger entered--Lisp error: (wrong-type-argument stringp nil) > looking-at(nil) > org-entry-properties(#) > byte-code("=C6=C7!=88=C8 =88=08`=C9=93=88=C9=89=89=89=89=89=89=19=1A=1B= =1C=1D=1E1=1E2=CA=CB!=83>=0E=0B=83>=0E=0B=162=CB=0E2=1E3=1E4=CC=0E4!=0E=20= > 3L=88*=82=97=CD=CE = =CF\"=89=14=83^=D0\f=D1=D2#=86Yr=D3\f!q=88=0E5)=162=82=97=CA=D4!=83v=D5=D4= !=83v=0E=14=83v=0E=14=162=82=97=D6e=CF\"=89=14=83=97=CD=20 > \f=CF\"=14=D0\f=D1=D2#=86=95r=D3\f!q=88=0E5)=162=0E2=86=9E=0E5=162=D4=0E= 2=1E3=1E4=CC=0E4!=0E3L=88*=D7=0E2!=88=0E6=83=BF=D8=0E7!=88=8A=20 > eb=88m=84=3D=01=CD`=CF\"=86=D2=CD`=D9\"=89=14=836=01=DA\f!=13=DB=0E8=0B= \"=89=12=83=F1=DC=DD\nA=86=ED=DE\"=84=13=01=0E9=83=13=01=CD`=DF=20 > \"=89=11=83=13=01=E0 !=11=E1=E2 G=E3=E4 %=88=0E8 B=0B= B=13=C9=1E:=8A=0E:=83 =01=0E:b=88n=83(=01=E5=82)=01=E2=E6=E5`\"\\*=0B= B=0E1B=161=E7=E8!=88=82=20 > =C3=0E1 > =86=01=E9=0E2=0E1\"=15=EA > =1E3=1E4=CC=0E4!=0E3L=88*=EB =88=EC=CA=ED! > d=01=0E-=1E3=1E4=CC=0E4!=0E3L*=83w=01=ED=E2!=88=EE=EF=0E1\"=88=0E; > =86=01=F0=0E1!.=08=87" [org-columns-begin-marker d a p m maxwidths = org-verify-=20 > version columns org-columns-remove-overlays nil boundp org-agenda-=20 > overriding-columns-format make-variable-buffer-local get-text-=20 > property point-at-bol org-hd-marker org-entry-get "COLUMNS" t marker-=20= > buffer org-columns-current-fmt local-variable-p next-single-property-=20= > change org-columns-compile-format org-agenda-colview-compute org-=20 > marker org-entry-properties assoc string-match "\\S-" "" duration =20 > org-minutes-to-hh:mm-string put-text-property 0 face org-warning 1 =20 > count-lines beginning-of-line 2 org-columns-get-autowidth-alist org-=20= > columns-current-maxwidths org-columns-display-here-title org-columns-=20= > flyspell-was-active flyspell-mode mapc #[(x) "=C1=08@!=88=C2=08A!=87" = [x goto-=20 > line org-columns-display-here] 2] org-agenda-colview-summarize =20 > cache ...] 7) > * org-agenda-columns() > call-interactively(org-agenda-columns) > > ---end Backtrace--- > > ---begin diary file--- > > */6 Monthly meeting > Thursday Weekly discussion > %%(and (=3D 1 (calendar-day-of-week date)) (diary-block 1 12 2009 2 28 = =20 > 2009)) 3:30pm-5:00pm Weekly meeting > %%(diary-anniversary 3 5 1975) James turns %d > %%(diary-block 1 19 2009 1 22 2009) Chicago trip > Jan 7, 2009 2:00pm meeting > > ---end diary file---- > > ---begin diary configuration--- > > (setq diary-file "~/diary") > (setq cal-tex-diary t) > (setq cal-tex-holidays nil) > > (setq view-diary-entries-initially t) > (setq mark-diary-entries-in-calendar t) > (setq number-of-diary-entries 1) > (add-hook 'diary-display-hook 'fancy-diary-display) > (add-hook 'list-diary-entries-hook 'sort-diary-entries t) > (add-hook 'today-visible-calendar-hook 'calendar-mark-today) > > ---end diary configuration---