From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Re: Problem with agenda and diary Date: Fri, 18 Mar 2011 10:04:22 -0400 Message-ID: <26632.1300457062@alphaville.dokosmarshall.org> References: <87sjul50xb.fsf@rochester.rr.com> <8762rhg8o8.fsf@member.fsf.org> <87vczhep74.fsf@member.fsf.org> <9609.1300382878@alphaville.dokosmarshall.org> Reply-To: nicholas.dokos@hp.com Return-path: Received: from [140.186.70.92] (port=35587 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q0aIR-0004xf-Rc for emacs-orgmode@gnu.org; Fri, 18 Mar 2011 10:04:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q0aIQ-0007Sk-M0 for emacs-orgmode@gnu.org; Fri, 18 Mar 2011 10:04:55 -0400 Received: from vms173003pub.verizon.net ([206.46.173.3]:57674) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q0aIQ-0007SY-HR for emacs-orgmode@gnu.org; Fri, 18 Mar 2011 10:04:54 -0400 Received: from alphaville.dokosmarshall.org ([unknown] [173.76.32.106]) by vms173003.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LI90046PB3AUI60@vms173003.mailsrvcs.net> for emacs-orgmode@gnu.org; Fri, 18 Mar 2011 09:04:35 -0500 (CDT) In-reply-to: Message from Julien Danjou of "Fri, 18 Mar 2011 11:36:06 BST." 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: Tassilo Horn , emacs-orgmode@gnu.org Cc: nicholas.dokos@hp.com Julien Danjou wrote: > --=-=-= > Content-Type: text/plain; charset=utf-8 > Content-Transfer-Encoding: quoted-printable > > On Thu, Mar 17 2011, Nick Dokos wrote: > > > I can reproduce it just by setting org-agenda-include-diary to t > > (Org-mode version 7.5 (release_7.5.60.g706a.dirty)) > > Well, I can't. :( > > > x is the St.Patrick's Day entry: #(" Diary: St. Patrick's Day" 0 2 > > (org-category #5=3D"diary" tags nil org-highest-priority 65 > > org-lowest-priority 67 time-of-day nil duration nil effort nil > > effort-minutes nil txt #4=3D#("St. Patrick's Day" 0 17 (org-heading t)) t= > ime > > #1=3D"" extra #1# dotime time org-heading t type #3=3D"diary" date #2=3D(= > 3 17 > > 2011) face org-todo) 2 14 (org-category #5# tags nil org-highest-priority= > 65 > > org-lowest-priority 67 time-of-day nil duration nil effort nil > > effort-minutes nil txt #4# time #1# extra #1# dotime time org-heading t t= > ype > > #3# date #2# face org-agenda-diary) 14 31 (org-heading t org-category #5# > > tags nil org-highest-priority 65 org-lowest-priority 67 time-of-day nil > > duration nil effort nil effort-minutes nil txt #4# time #1# extra #1# dot= > ime > > time type #3# date #2# face org-agenda-diary)) > > > > re is the empty string so indeed it is not nil: "" > > Well, I do not see how re can be "" since: > (setq re (get-text-property 0 'org-todo-regexp x)) > > And x has no 'org-todo-regexp property. > > Since you seems familiar with the debugger, could you try to see what's > happening? > That was of course before you took out the concat in 9216453a388 - after that change, there is no problem: it was doing (concat nil) ==> "" Nick