emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* filetags and org-todo-list
@ 2009-03-25  7:21 Harri Kiiskinen
  2009-03-25  9:17 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Harri Kiiskinen @ 2009-03-25  7:21 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: Text/Plain, Size: 1942 bytes --]

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("Æ \x18ÇŽÈ ˆ`\x11ŠÉ ˆ`)\x12Ê\n!ƒ(\0	Tbˆ\v„#\0ËÌ!ˆÍÎÏ\"ˆ*	bˆÐ ˆÑ”bˆÒÓ”!\x14Ô \x15Õ`!\x16#Ö×ØÑ!\r\x0e#$\x16$Ù\x0e$!T\x16\x1eÚ \x16\"Û\x0e$\x0e%Ü\fÝ\fÞ\x0e\x1eß\ràáâ\x0e\"&\x0eˆ\x0e$\x0e&B\x16&\vƒ~\0Ñ•bˆ‚‚\0ËÌ!ˆÏ‡" [save-match-data-internal beg end org-agenda-todo-list-sublevels marker category match-data ((byte-code "Á\bÂ\"‡" [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("Ä\b!ˆÅ\b	Æ#\x12Ç\v\n\"\x13ć" [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)

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: filetags and org-todo-list
  2009-03-25  7:21 filetags and org-todo-list Harri Kiiskinen
@ 2009-03-25  9:17 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2009-03-25  9:17 UTC (permalink / raw)
  To: Harri Kiiskinen; +Cc: emacs-orgmode

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("Æ \x18ÇŽÈ ˆ`\x11ŠÉ ˆ`)\x12Ê\n!ƒ(	Tbˆ\v„#ËÌ!ˆÍÎÏ\"ˆ*	bˆÐ ˆÑ”bˆÒÓ”!\x14 
> Ô \x15Õ`!\x16#Ö×ØÑ!
> \x0e#$\x16$Ù\x0e$!T\x16\x1eÚ \x16\"Û\x0e$\x0e%Ü\fÝ\fÞ\x0e\x1eß
> àáâ\x0e\"&\x0eˆ\x0e$\x0e&B\x16&\vƒ~Ñ•bˆ‚‚ËÌ!ˆÏ‡" [save-match-data-internal beg end  
> org-agenda-todo-list-sublevels marker category match-data ((byte- 
> code "Á\bÂ\"‡" [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("Ä\b!ˆÅ\b	Æ#\x12Ç\v\n\"\x13ć" [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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-25  9:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-25  7:21 filetags and org-todo-list Harri Kiiskinen
2009-03-25  9:17 ` Carsten Dominik

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).