From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: filetags and org-todo-list Date: Wed, 25 Mar 2009 10:17:40 +0100 Message-ID: References: <20090325.092133.176664718.harri.kiiskinen@utu.fi> Mime-Version: 1.0 (Apple Message framework v930.3) 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 1LmPF6-0005df-3l for emacs-orgmode@gnu.org; Wed, 25 Mar 2009 05:17:48 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LmPF1-0005c4-Cy for emacs-orgmode@gnu.org; Wed, 25 Mar 2009 05:17:47 -0400 Received: from [199.232.76.173] (port=42659 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LmPF1-0005c1-6P for emacs-orgmode@gnu.org; Wed, 25 Mar 2009 05:17:43 -0400 Received: from ey-out-1920.google.com ([74.125.78.150]:21239) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LmPF0-0001nQ-QW for emacs-orgmode@gnu.org; Wed, 25 Mar 2009 05:17:43 -0400 Received: by ey-out-1920.google.com with SMTP id 13so458288eye.24 for ; Wed, 25 Mar 2009 02:17:42 -0700 (PDT) In-Reply-To: <20090325.092133.176664718.harri.kiiskinen@utu.fi> 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: Harri Kiiskinen Cc: emacs-orgmode@gnu.org Yes, a bug. Fixed, thanks. - Carsten On Mar 25, 2009, at 8:21 AM, Harri Kiiskinen wrote: > Hello! > > It seems that org-use-tag-inheritance set to regexp, the use of > #+FILETAGS: and org-todo-list do not work together. It seems, that a > regexp in org-use-tag-inheritance matching a tag set in #+FILETAGS > causes this error: > > Debugger entered--Lisp error: (wrong-type-argument stringp nil) > string-match("^ +" nil) > org-format-agenda-item("" nil "org_filetag" ("tea" "test")) > byte-code("=C6 =18=C7=8E=C8 =88`=11=8A=C9 =88`)=12=CA\n!=83( Tb=88=0B= =84#=CB=CC!=88=CD=CE=CF\"=88* b=88=D0 =88=D1=94b=88=D2=D3=94!=14=20 > =D4 =15=D5`!=16#=D6=D7=D8=D1! > =0E#$=16$=D9=0E$!T=16=1E=DA =16\"=DB=0E$=0E%=DC\f=DD\f=DE=0E=1E=DF > =E0=E1=E2=0E\"&=0E=88=0E$=0E&B=16&=0B=83~=D1=95b=88=82=82=CB=CC!=88=CF=87= " [save-match-data-internal beg end =20 > org-agenda-todo-list-sublevels marker category match-data ((byte-=20 > code "=C1=08=C2\"=87" [save-match-data-internal set-match-data = evaporate] =20 > 3)) beginning-of-line outline-next-heading org-agenda-check-for-=20 > timestamp-as-reason-to-ignore-todo-item org-end-of-subtree invisible =20= > throw :skip nil org-agenda-skip 1 org-agenda-new-marker 0 org-get-=20 > category org-get-tags-at org-format-agenda-item "" match-string org-=20= > get-priority org-get-todo-state org-add-props org-marker org-hd-=20 > marker priority org-category type "todo" todo-state tags txt props =20 > ee] 15) > org-agenda-get-todos() > org-agenda-get-day-entries("~/org_filetag.org" (3 24 2009) :todo) > byte-code("=C4=08!=88=C5=08 =C6#=12=C7=0B\n\"=13=C4=87" [file date = rtn rtnall org-check-=20 > agenda-file org-agenda-get-day-entries :todo append] 4) > org-todo-list(nil) > call-interactively(org-todo-list) > execute-extended-command(nil) > call-interactively(execute-extended-command) > > when org-use-tag-inheritance is set to regexp "te" > with this file: > > -------- > #+STARTUP: > #+FILETAGS: tea > * TODO testing = :test: > ** TODO too = :data: > ----- > > When the regexp is "tes", so that the FILETAG does not match, > org-todo-list produces a correct list. > > (org-mode 6.24trans, updated from git 2009/03/25) > > Harri > > -- > Harri Kiiskinen (harkiisk[at]gmail.com) > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode