Re: [Orgmode] Re: Question about searches (ultimately for agenda)

2009-12-20 Thread Carsten Dominik
On Dec 19, 2009, at 5:35 AM, Mueen Nawaz wrote: On 12/17/09 13:26, Carsten Dominik wrote: Yes, so that the search only continues after that entry. But yes, you are right, this can fail for the final entry in a file. Try '(when (org-entry-is-done) (outline-next-heading) (point)) See

[Orgmode] Re: Question about searches (ultimately for agenda)

2009-12-18 Thread Mueen Nawaz
On 12/17/09 13:26, Carsten Dominik wrote: Yes, so that the search only continues after that entry. But yes, you are right, this can fail for the final entry in a file. Try '(when (org-entry-is-done) (outline-next-heading) (point)) Seems to work. Also, I'm pretty weak with Emacs Lisp

Re: [Orgmode] Re: Question about searches (ultimately for agenda)

2009-12-17 Thread Carsten Dominik
On Dec 17, 2009, at 5:53 AM, Mueen Nawaz wrote: On 12/16/09 03:37, Carsten Dominik wrote: This is what skip conditions are for. Here is an entry for org-agenda-custom-commands which does this for the specific "Jack" example: ("X" "Tags match ignoring done stuff" tags "Jack" ((org-agenda-skip-

[Orgmode] Re: Question about searches (ultimately for agenda)

2009-12-16 Thread Mueen Nawaz
On 12/16/09 03:37, Carsten Dominik wrote: This is what skip conditions are for. Here is an entry for org-agenda-custom-commands which does this for the specific "Jack" example: ("X" "Tags match ignoring done stuff" tags "Jack" ((org-agenda-skip-function '(and (org-entry-is-done-p) (outline-next-

[Orgmode] Re: Question about searches (ultimately for agenda)

2009-12-16 Thread Matt Lundin
Mueen Nawaz writes: > On 12/15/09 21:26, Matt Lundin wrote: >> Provided DONE and RETURNED are inactive todos than the following should >> suffice: >> >> C-a M Jack [RET] > > I think you meant C-c a M Jack [RET] Yes indeed. I'm still practicing typing out the notation for keybindings. I sup

Re: [Orgmode] Re: Question about searches (ultimately for agenda)

2009-12-16 Thread Carsten Dominik
On Dec 16, 2009, at 4:35 AM, Mueen Nawaz wrote: On 12/15/09 21:26, Matt Lundin wrote: Provided DONE and RETURNED are inactive todos than the following should suffice: C-a M Jack [RET] I think you meant C-c a M Jack [RET] It actually does filter out inactive TODO's, but I actuall

[Orgmode] Re: Question about searches (ultimately for agenda)

2009-12-15 Thread Mueen Nawaz
On 12/15/09 21:26, Matt Lundin wrote: Provided DONE and RETURNED are inactive todos than the following should suffice: C-a M Jack [RET] I think you meant C-c a M Jack [RET] It actually does filter out inactive TODO's, but I actually wanted to do C-c a m Jack [RET]. I don't want to l

[Orgmode] Re: Question about searches (ultimately for agenda)

2009-12-15 Thread Matt Lundin
Mueen Nawaz writes: > In the docs (10.3.3 Matching tags and properties), I see ways to do > tag searches that can also search TODO states. > > Can I also search TODO levels? For example, in one file covered by the > agenda, I use the usual DONE to denote done. In another, which is > focused on si