emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] filetags and org-todo-list


From: Harri Kiiskinen
Subject: [Orgmode] filetags and org-todo-list
Date: Wed, 25 Mar 2009 09:21:33 +0200 (EET)

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("Æ ÇŽÈ ˆ`ŠÉ ˆ`)Ê\n!ƒ(   Tbˆ„#ËÌ!ˆÍÎÏ\"ˆ*      bˆÐ ˆÑ”bˆÒӔ!Ô 
Õ`!#Ö×ØÑ!
#$$Ù$!TÚ \"Û$%Ü\fÝ\fÞß
àáâ\"&ˆ$&B&ƒ~ѕbˆ‚‚ËÌ!ˆÏ‡" [save-match-data-internal beg end 
org-agenda-todo-list-sublevels marker category match-data ((byte-code "ÁÂ\"‡" 
[save-match-data-internal set-match-data evaporate] 3)) beginning-of-line 
outline-next-heading 
org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item org-end-of-subtree 
invisible throw :skip nil org-agenda-skip 1 org-agenda-new-marker 0 
org-get-category org-get-tags-at org-format-agenda-item "" match-string 
org-get-priority org-get-todo-state org-add-props org-marker org-hd-marker 
priority org-category type "todo" todo-state tags txt props ee] 15)
  org-agenda-get-todos()
  org-agenda-get-day-entries("~/org_filetag.org" (3 24 2009) :todo)
  byte-code("Ä!ˆÅ     Æ#Ç\n\"ć" [file date rtn rtnall 
org-check-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)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]