mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-26 13:02:52 +00:00
Harri Kiiskinen writes: > 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) > [...] > 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. This is indeed a bug. The all to `org-get-tags-at' does change the match data if there is a match for the inheritance regexp. This problem is now avoided by first extracting (match-string 1), and then getting the tags. Studying this bug also exposed another one, namely that file tags are not marked as inherited tags. This is now fixed, immediately when the #+FILETAGS line is parsed. |
||
---|---|---|
.. | ||
ChangeLog | ||
ChangeLog.01 | ||
org-agenda.el | ||
org-archive.el | ||
org-attach.el | ||
org-bbdb.el | ||
org-bibtex.el | ||
org-clock.el | ||
org-colview-xemacs.el | ||
org-colview.el | ||
org-compat.el | ||
org-exp.el | ||
org-export-latex.el | ||
org-faces.el | ||
org-feed.el | ||
org-footnote.el | ||
org-gnus.el | ||
org-id.el | ||
org-info.el | ||
org-irc.el | ||
org-jsinfo.el | ||
org-list.el | ||
org-mac-message.el | ||
org-macs.el | ||
org-mew.el | ||
org-mhe.el | ||
org-mouse.el | ||
org-plot.el | ||
org-publish.el | ||
org-remember.el | ||
org-rmail.el | ||
org-table.el | ||
org-timer.el | ||
org-vm.el | ||
org-w3m.el | ||
org-wl.el | ||
org.el |