0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-08-26 13:02:52 +00:00
org-mode/lisp
Carsten Dominik 70b975f89c Agenda: Fix bugs with FILETAGS
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.
2009-03-25 09:20:12 +01:00
..
ChangeLog Agenda: Fix bugs with FILETAGS 2009-03-25 09:20:12 +01:00
ChangeLog.01 Split ChangeLog file into parts. 2008-05-08 08:16:38 +02:00
org-agenda.el Agenda: Fix bugs with FILETAGS 2009-03-25 09:20:12 +01:00
org-archive.el Version number to 6.24trans 2009-03-14 08:03:10 +01:00
org-attach.el Version number to 6.24trans 2009-03-14 08:03:10 +01:00
org-bbdb.el Incorporate changes from downstream Emacs 2009-03-14 08:50:11 +01:00
org-bibtex.el Version number to 6.24trans 2009-03-14 08:03:10 +01:00
org-clock.el Clock: Clock out when done also in indirect buffers 2009-03-23 21:02:23 +01:00
org-colview-xemacs.el Column view: Force truncate-lines while column view is active 2009-03-21 18:25:03 +01:00
org-colview.el Column view: Force truncate-lines while column view is active 2009-03-21 18:25:03 +01:00
org-compat.el Version number to 6.24trans 2009-03-14 08:03:10 +01:00
org-exp.el preparatory work 2009-03-25 08:57:32 +01:00
org-export-latex.el Fix typos 2009-03-21 23:37:48 +01:00
org-faces.el New face for items switched in agenda to DONE. 2009-03-21 18:25:01 +01:00
org-feed.el Org-feed.el: Make node creation template-based. 2009-03-24 23:39:21 +01:00
org-footnote.el Version number to 6.24trans 2009-03-14 08:03:10 +01:00
org-gnus.el Version number to 6.24trans 2009-03-14 08:03:10 +01:00
org-id.el Version number to 6.24trans 2009-03-14 08:03:10 +01:00
org-info.el Version number to 6.24trans 2009-03-14 08:03:10 +01:00
org-irc.el Version number to 6.24trans 2009-03-14 08:03:10 +01:00
org-jsinfo.el Version number to 6.24trans 2009-03-14 08:03:10 +01:00
org-list.el Version number to 6.24trans 2009-03-14 08:03:10 +01:00
org-mac-message.el org-mac-message.el: New functions to access flagged mail 2009-03-22 16:02:54 +01:00
org-macs.el Version number to 6.24trans 2009-03-14 08:03:10 +01:00
org-mew.el Version number to 6.24trans 2009-03-14 08:03:10 +01:00
org-mhe.el Version number to 6.24trans 2009-03-14 08:03:10 +01:00
org-mouse.el Mouse: Create better TODO menu 2009-03-21 19:39:17 +01:00
org-plot.el Version number to 6.24trans 2009-03-14 08:03:10 +01:00
org-publish.el org-publish: Improve documentation strings of hooks 2009-03-24 15:28:08 +01:00
org-remember.el Remember: Remove backup file name after successful storage 2009-03-24 07:03:11 +01:00
org-rmail.el Version number to 6.24trans 2009-03-14 08:03:10 +01:00
org-table.el Tables: Make M-a and M-e go to beginning and end of table field 2009-03-21 18:25:11 +01:00
org-timer.el Version number to 6.24trans 2009-03-14 08:03:10 +01:00
org-vm.el Version number to 6.24trans 2009-03-14 08:03:10 +01:00
org-w3m.el Version number to 6.24trans 2009-03-14 08:03:10 +01:00
org-wl.el Version number to 6.24trans 2009-03-14 08:03:10 +01:00
org.el Agenda: Fix bugs with FILETAGS 2009-03-25 09:20:12 +01:00