emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Search for tags in TODO item in certain states
@ 2007-10-01  5:21 Wanrong Lin
  2007-10-02  0:08 ` Bastien
  2007-10-04  7:45 ` Carsten Dominik
  0 siblings, 2 replies; 4+ messages in thread
From: Wanrong Lin @ 2007-10-01  5:21 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

Can anyone please show me how to search for a tag in TODO items that are 
in certain states only? For example, I want to have a list of TODO items 
with "buy" tag, but not those in "DONE" or "CANCELED" state. I don't see 
how to do it by reading the documentation for 
org-agenda-custom-commands. Thanks a lot.

Wanrong

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Search for tags in TODO item in certain states
  2007-10-01  5:21 Search for tags in TODO item in certain states Wanrong Lin
@ 2007-10-02  0:08 ` Bastien
  2007-10-04  7:45 ` Carsten Dominik
  1 sibling, 0 replies; 4+ messages in thread
From: Bastien @ 2007-10-02  0:08 UTC (permalink / raw)
  To: emacs-orgmode

Wanrong Lin <wrglin@gmail.com> writes:

> For example, I want to have a list of TODO items with "buy" tag, but
> not those in "DONE" or "CANCELED" state.

C-c a m buy/-DONE-CANCELED

(assuming C-c a calls the `org-agenda' command)

The slash separates tags from TODO keywords, as explained here:

  (info "(org)Tag searches")

PS: Maybe the use of uppercase letters for both tags and TODO keywords
is a bit confusing in the documentation. It could be useful to be able
to distinguish between them even when just skimming the doc.

I only capitalize TODO keywords ("NEXT") and the first letter of tags
("Home"). I don't know if this convention is largely adopted, but this
is the one I would propose for the doc.  Comments?

-- 
Bastien

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Search for tags in TODO item in certain states
  2007-10-01  5:21 Search for tags in TODO item in certain states Wanrong Lin
  2007-10-02  0:08 ` Bastien
@ 2007-10-04  7:45 ` Carsten Dominik
  2007-10-04  7:47   ` Carsten Dominik
  1 sibling, 1 reply; 4+ messages in thread
From: Carsten Dominik @ 2007-10-04  7:45 UTC (permalink / raw)
  To: Wanrong Lin; +Cc: emacs-orgmode


On Oct 1, 2007, at 7:21, Wanrong Lin wrote:

> Hi,
>
> Can anyone please show me how to search for a tag in TODO items that 
> are in certain states only? For example, I want to have a list of TODO 
> items with "buy" tag, but not those in "DONE" or "CANCELED" state. I 
> don't see how to do it by reading the documentation for 
> org-agenda-custom-commands. Thanks a lot.

Currently this is not possible, but the proposal is good.  Will be
in 5.11, using the prefix argument.

Thanks!

- Carsten

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Search for tags in TODO item in certain states
  2007-10-04  7:45 ` Carsten Dominik
@ 2007-10-04  7:47   ` Carsten Dominik
  0 siblings, 0 replies; 4+ messages in thread
From: Carsten Dominik @ 2007-10-04  7:47 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: Wanrong Lin, emacs-orgmode

Sorry, I replied to the wrong message, this was my answer to your
the question about removing the scheduled time string.

- Carsten

On Oct 4, 2007, at 9:45, Carsten Dominik wrote:

>
> On Oct 1, 2007, at 7:21, Wanrong Lin wrote:
>
>> Hi,
>>
>> Can anyone please show me how to search for a tag in TODO items that 
>> are in certain states only? For example, I want to have a list of 
>> TODO items with "buy" tag, but not those in "DONE" or "CANCELED" 
>> state. I don't see how to do it by reading the documentation for 
>> org-agenda-custom-commands. Thanks a lot.
>
> Currently this is not possible, but the proposal is good.  Will be
> in 5.11, using the prefix argument.
>
> Thanks!
>
> - Carsten
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>

--
Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-10-04  7:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-01  5:21 Search for tags in TODO item in certain states Wanrong Lin
2007-10-02  0:08 ` Bastien
2007-10-04  7:45 ` Carsten Dominik
2007-10-04  7:47   ` Carsten Dominik

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).