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("Æ ÇÈ `É `)Ê\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)
_______________________________________________
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
_______________________________________________
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