Re: [Orgmode] A puzzle to solve: saved categories vs. tags

2007-10-08 Thread Carsten Dominik
On Oct 7, 2007, at 11:14, John Wiegley wrote: Ok, I have 147k of archived todos and notes now. Some are tagged, some are not. Most have an ARCHIVE_CATEGORY property (ever since Carsten so kindly implemented it). My desire: To hit C-u C-c \ and have it prompt me for the entity its going

Re: [Orgmode] A puzzle to solve: saved categories vs. tags

2007-10-08 Thread Carsten Dominik
On Oct 7, 2007, at 14:27, Bastien wrote: If Carsten implements this, I think all the search facilities in Org will need a bit of uniformization/clarification. Admittedly the search functions are one of the areas that demonstrate most clearly how Org-mode has grown and evolved, adding little

Re: [Orgmode] A puzzle to solve: saved categories vs. tags

2007-10-08 Thread Bastien
John Wiegley [EMAIL PROTECTED] writes: Bastien [EMAIL PROTECTED] writes: 1. Search for a regexp 2. Search for a complex query 3. Prompt interactively for a complex query 4. Show all tagged entries 5. Prompt for a specific tag 6. Prompt for a specific tag (restricting to TODO entries) 7.

Re: [Orgmode] A puzzle to solve: saved categories vs. tags

2007-10-08 Thread Bastien
Carsten Dominik [EMAIL PROTECTED] writes: Here is a first attempt at such a function, comments are welcome! Maybe we should bind this function to `C-c /', instead of org-occur? Yes, this binding would be okay, unless there are lots of people using org-occur out there. And `org-sparse-tree'

Re: [Orgmode] A puzzle to solve: saved categories vs. tags

2007-10-08 Thread Carsten Dominik
On Oct 8, 2007, at 14:39, Bastien wrote: Carsten Dominik [EMAIL PROTECTED] writes: Arrrgh! make that (org-buffer-property-keys t) for now, bug fix in next release. This patch is also needed: Indeed, thanks a lot. So to make this simpler, here is the modified version that should work

Re: [Orgmode] A puzzle to solve: saved categories vs. tags

2007-10-08 Thread Carsten Dominik
On Oct 7, 2007, at 14:27, Bastien wrote: If Carsten implements this, I think all the search facilities in Org will need a bit of uniformization/clarification. Admittedly the search functions are one of the areas that demonstrate most clearly how Org-mode has grown and evolved, adding little

[Orgmode] A puzzle to solve: saved categories vs. tags

2007-10-07 Thread John Wiegley
Ok, I have 147k of archived todos and notes now. Some are tagged, some are not. Most have an ARCHIVE_CATEGORY property (ever since Carsten so kindly implemented it). My desire: To hit C-u C-c \ and have it prompt me for the entity its going to search for. The possible entities are TAGS, or a

Re: [Orgmode] A puzzle to solve: saved categories vs. tags

2007-10-07 Thread John Wiegley
Bastien [EMAIL PROTECTED] writes: 1. Search for a regexp 2. Search for a complex query 3. Prompt interactively for a complex query 4. Show all tagged entries 5. Prompt for a specific tag 6. Prompt for a specific tag (restricting to TODO entries) 7. Show all TODO entries 8. Prompt for a