Re: [Orgmode] org-scan-tags

2011-02-04 Thread Ilya Shlyakhter
Thanks for catching this, Carsten! This could perhaps be fixed by doing a full lookup of the tags up the hierarchy, rather than relying on the cached tags. This is more expensive, but if fewer entries actually have to be looked at (because the search only stops at TODO entries), it might be

Re: [Orgmode] org-scan-tags

2011-02-03 Thread Carsten Dominik
On Feb 3, 2011, at 6:32 AM, Carsten Dominik wrote: On Sep 15, 2010, at 5:19 AM, Ilya Shlyakhter wrote: In org-scan-tags, if todo-only is t, would it be possible to speed things up by changingthe regexp go to just the lines with a TODO keyword? I believe this may cause a problem. The

Re: [Orgmode] org-scan-tags

2011-02-03 Thread Bastien
Carsten Dominik carsten.domi...@gmail.com writes: OK, here is an example where it really does fail: * heading ** one:tag1: *** two *** two :tag2: *** TODO two

Re: [Orgmode] org-scan-tags

2011-02-03 Thread Carsten Dominik
Thanks for the fast reaction, Bastioen! - Carsten On Feb 3, 2011, at 5:37 PM, Bastien wrote: Carsten Dominik carsten.domi...@gmail.com writes: OK, here is an example where it really does fail: * heading ** one:tag1: *** two *** two

Re: [Orgmode] org-scan-tags

2011-02-02 Thread Bastien
Hi Ilya, Ilya Shlyakhter ilya_...@alum.mit.edu writes: In org-scan-tags, if todo-only is t, would it be possible to speed things up by changingthe regexp go to just the lines with a TODO keyword? I.e. in (let* ((re (concat ^ outline-regexp *\\(( (mapconcat

Re: [Orgmode] org-scan-tags

2011-02-02 Thread Carsten Dominik
On Sep 15, 2010, at 5:19 AM, Ilya Shlyakhter wrote: In org-scan-tags, if todo-only is t, would it be possible to speed things up by changingthe regexp go to just the lines with a TODO keyword? I believe this may cause a problem. The scanner needs to see at least every parent node to be able