Agenda: Fix bug with tag inheritance
commit3a959f9d30250005c65e28292bc619b5488c4e3d
authorCarsten Dominik <carsten.dominik@gmail.com>
Wed, 4 Mar 2009 08:11:39 +0000 (4 09:11 +0100)
committerCarsten Dominik <carsten.dominik@gmail.com>
Wed, 4 Mar 2009 08:11:39 +0000 (4 09:11 +0100)
tree007a07586a7315bf90383ff67ec71745f05f4f7f
parent3b396b0e77674454b0e9c8846b8cf682f6b54f6d
Agenda: Fix bug with tag inheritance

Jeff Mickey writes:

>  Hey all,
>
>  To reproduce:
>
>  * TODO Make Bicycle :project:workshop:
>  ** TODO Buy stuff
>  ** TODO Build stuff
>  ** TODO Test stuff
>
>  (setq org-use-tag-inheritance t)
>  (setq org-tags-exclude-from-inheritance '("project"))
>
>  <C-a m> to type in a match string to search, I type in "project"
>
>  I expected to see:
>  TODO Make Bicycle
>
>  I saw:
>  TODO Make Bicycle
>  .TODO Buy stuff
>  .TODO Build stuff
>  .TODO Test stuff
>
>  I assume this isn't what is supposed to happen.  I'm currently at work
>  so I can't investigate and provide a diff, but it seems like there
>  needs to be a check in org.el:10144:org-get-tags-at to remove tags
>  that are explicitly excluded from inheritance.

This commit fixes the bug.
lisp/ChangeLog
lisp/org.el