emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to match tags when no tag present
@ 2010-12-30  4:54 Jeff Horn
  2010-12-30  5:54 ` Noorul Islam K M
  2010-12-30  7:39 ` Carsten Dominik
  0 siblings, 2 replies; 8+ messages in thread
From: Jeff Horn @ 2010-12-30  4:54 UTC (permalink / raw)
  To: Org-mode ml

Hey orgsters,

I'm trying to have agenda show me a list of untagged tasks. Someone in
#orgmode suggested using the regexp brackets {}, but the following tag
matches produces nothing:

1) {}
2) +{}
3) -{}

How would I match all TODOs that are untagged?

Thanks for any pointers.

Jeff

-- 
Jeffrey Horn
Graduate Lecturer and PhD Student in Economics
George Mason University

(704) 271-4797
jhorn@gmu.edu
jrhorn424@gmail.com

http://www.failuretorefrain.com/jeff/

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

* Re: How to match tags when no tag present
  2010-12-30  4:54 How to match tags when no tag present Jeff Horn
@ 2010-12-30  5:54 ` Noorul Islam K M
  2010-12-30  6:26   ` Jeff Horn
  2010-12-30  7:39 ` Carsten Dominik
  1 sibling, 1 reply; 8+ messages in thread
From: Noorul Islam K M @ 2010-12-30  5:54 UTC (permalink / raw)
  To: Jeff Horn; +Cc: Org-mode ml

Jeff Horn <jrhorn424@gmail.com> writes:

> Hey orgsters,
>
> I'm trying to have agenda show me a list of untagged tasks. Someone in
> #orgmode suggested using the regexp brackets {}, but the following tag
> matches produces nothing:
>
> 1) {}
> 2) +{}
> 3) -{}
>
> How would I match all TODOs that are untagged?
>
> Thanks for any pointers.

For me this works. I am not sure about you.

/+<SPACE>

Thanks and Regards
Noorul

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

* Re: How to match tags when no tag present
  2010-12-30  5:54 ` Noorul Islam K M
@ 2010-12-30  6:26   ` Jeff Horn
  2010-12-30  6:44     ` Noorul Islam K M
  0 siblings, 1 reply; 8+ messages in thread
From: Jeff Horn @ 2010-12-30  6:26 UTC (permalink / raw)
  To: Noorul Islam K M; +Cc: Org-mode ml

On Thu, Dec 30, 2010 at 12:54 AM, Noorul Islam K M <noorul@noorul.com> wrote:
> Jeff Horn <jrhorn424@gmail.com> writes:
>
>> Hey orgsters,
>>
>> I'm trying to have agenda show me a list of untagged tasks. Someone in
>> #orgmode suggested using the regexp brackets {}, but the following tag
>> matches produces nothing:
>>
>> 1) {}
>> 2) +{}
>> 3) -{}
>>
>> How would I match all TODOs that are untagged?
>>
>> Thanks for any pointers.
>
> For me this works. I am not sure about you.
>
> /+<SPACE>
>

Noorul,

Thanks for your help in #org-mode this evening. I'm posting my
question here in case others have advice between now and morning (on
my side of the earth).

Noorul (and others),

This works when in the agenda view, which is fine if I have scheduled
tasks. But if I want to catch unscheduled, untagged tasks using a
custom agenda command, how would I do that?

TIA,
Jeff
-- 
Jeffrey Horn
Graduate Lecturer and PhD Student in Economics
George Mason University

(704) 271-4797
jhorn@gmu.edu
jrhorn424@gmail.com

http://www.failuretorefrain.com/jeff/

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

* Re: How to match tags when no tag present
  2010-12-30  6:26   ` Jeff Horn
@ 2010-12-30  6:44     ` Noorul Islam K M
  0 siblings, 0 replies; 8+ messages in thread
From: Noorul Islam K M @ 2010-12-30  6:44 UTC (permalink / raw)
  To: Jeff Horn; +Cc: Org-mode ml

Jeff Horn <jrhorn424@gmail.com> writes:

> On Thu, Dec 30, 2010 at 12:54 AM, Noorul Islam K M <noorul@noorul.com> wrote:
>
>> Jeff Horn <jrhorn424@gmail.com> writes:
>>
>>> Hey orgsters,
>>>
>>> I'm trying to have agenda show me a list of untagged tasks. Someone in
>>> #orgmode suggested using the regexp brackets {}, but the following tag
>>> matches produces nothing:
>>>
>>> 1) {}
>>> 2) +{}
>>> 3) -{}
>>>
>>> How would I match all TODOs that are untagged?
>>>
>>> Thanks for any pointers.
>>
>> For me this works. I am not sure about you.
>>
>> /+<SPACE>
>>
>
> Noorul,
>
> Thanks for your help in #org-mode this evening. I'm posting my
> question here in case others have advice between now and morning (on
> my side of the earth).
>
> Noorul (and others),
>
> This works when in the agenda view, which is fine if I have scheduled
> tasks. But if I want to catch unscheduled, untagged tasks using a
> custom agenda command, how would I do that?

Why don't you bring unscheduled tasks to Agenda buffer? I always has my
TODOs in Agenda buffer.

- Noorul

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

* Re: How to match tags when no tag present
  2010-12-30  4:54 How to match tags when no tag present Jeff Horn
  2010-12-30  5:54 ` Noorul Islam K M
@ 2010-12-30  7:39 ` Carsten Dominik
       [not found]   ` <m2mxnmzrlf.fsf@gmail.com>
  1 sibling, 1 reply; 8+ messages in thread
From: Carsten Dominik @ 2010-12-30  7:39 UTC (permalink / raw)
  To: Jeff Horn; +Cc: Org-mode ml


On Dec 30, 2010, at 5:54 AM, Jeff Horn wrote:

> Hey orgsters,
>
> I'm trying to have agenda show me a list of untagged tasks. Someone in
> #orgmode suggested using the regexp brackets {}, but the following tag
> matches produces nothing:
>
> 1) {}
> 2) +{}
> 3) -{}

You'd need

-{.}

>
> How would I match all TODOs that are untagged?

For example with

-{.}/!

Cheers

- Carsten

>
> Thanks for any pointers.
>
> Jeff
>
> -- 
> Jeffrey Horn
> Graduate Lecturer and PhD Student in Economics
> George Mason University
>
> (704) 271-4797
> jhorn@gmu.edu
> jrhorn424@gmail.com
>
> http://www.failuretorefrain.com/jeff/
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: How to match tags when no tag present
       [not found]   ` <m2mxnmzrlf.fsf@gmail.com>
@ 2010-12-31  1:05     ` Jeff Horn
  2010-12-31  2:53       ` Nick Dokos
  0 siblings, 1 reply; 8+ messages in thread
From: Jeff Horn @ 2010-12-31  1:05 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: Org-mode ml

Copy to list.

On Thu, Dec 30, 2010 at 7:57 PM, Jeffrey Horn <jrhorn424@gmail.com> wrote:
> Carsten Dominik <carsten.dominik@gmail.com> writes:
>
>>> How would I match all TODOs that are untagged?
>>
>> For example with
>>
>> -{.}/!
>
> That indeed does the trick. Thanks, Carsten. A few questions, if you
> have a moment:
>
> 1) What does "/!" do above?
> 2) Can we insert anything (property matches, TODO keyword matches,
> c.f. [[info:org:Matching%20tags%20and%20properties][info:org:Matching
> tags and properties]]) into the agenda custom command tag search?
>
> TIA,
> Jeff
>
> --
> Jeffrey Horn
> http://www.failuretorefrain.com/jeff/
>



-- 
Jeffrey Horn
Graduate Lecturer and PhD Student in Economics
George Mason University

(704) 271-4797
jhorn@gmu.edu
jrhorn424@gmail.com

http://www.failuretorefrain.com/jeff/

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

* Re: How to match tags when no tag present
  2010-12-31  1:05     ` Jeff Horn
@ 2010-12-31  2:53       ` Nick Dokos
  2010-12-31 13:12         ` Matt Lundin
  0 siblings, 1 reply; 8+ messages in thread
From: Nick Dokos @ 2010-12-31  2:53 UTC (permalink / raw)
  To: Jeff Horn; +Cc: nicholas.dokos, Org-mode ml, Carsten Dominik

Jeff Horn <jrhorn424@gmail.com> wrote:

> Copy to list.
> 
> On Thu, Dec 30, 2010 at 7:57 PM, Jeffrey Horn <jrhorn424@gmail.com> wrote:
> > Carsten Dominik <carsten.dominik@gmail.com> writes:
> >
> >>> How would I match all TODOs that are untagged?
> >>
> >> For example with
> >>
> >> -{.}/!
> >
> > That indeed does the trick. Thanks, Carsten. A few questions, if you
> > have a moment:
> >
> > 1) What does "/!" do above?
> > 2) Can we insert anything (property matches, TODO keyword matches,
> > c.f. [[info:org:Matching%20tags%20and%20properties][info:org:Matching
> > tags and properties]]) into the agenda custom command tag search?
> >

The section of the manual that you quote in your item 2) contains the
answer to 1): read the last paragraph and the examples - carefully!

As for 2), I think that the answer is "yes".

Nick

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

* Re: How to match tags when no tag present
  2010-12-31  2:53       ` Nick Dokos
@ 2010-12-31 13:12         ` Matt Lundin
  0 siblings, 0 replies; 8+ messages in thread
From: Matt Lundin @ 2010-12-31 13:12 UTC (permalink / raw)
  To: nicholas.dokos; +Cc: Jeff Horn, Org-mode ml, Carsten Dominik

Nick Dokos <nicholas.dokos@hp.com> writes:

> Jeff Horn <jrhorn424@gmail.com> wrote:

>> >> -{.}/!
>> >
>> > That indeed does the trick. Thanks, Carsten. A few questions, if you
>> > have a moment:
>> >
>> > 1) What does "/!" do above?
>> > 2) Can we insert anything (property matches, TODO keyword matches,
>> > c.f. [[info:org:Matching%20tags%20and%20properties][info:org:Matching
>> > tags and properties]]) into the agenda custom command tag search?
>> >
>
> The section of the manual that you quote in your item 2) contains the
> answer to 1): read the last paragraph and the examples - carefully!
>
> As for 2), I think that the answer is "yes".

For a few more examples, you might also consult the Worg tutorial on
searching, especially the "Property searches" section:

http://orgmode.org/worg/org-tutorials/advanced-searching.php#property-searches

Best,
Matt

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

end of thread, other threads:[~2010-12-31 13:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-30  4:54 How to match tags when no tag present Jeff Horn
2010-12-30  5:54 ` Noorul Islam K M
2010-12-30  6:26   ` Jeff Horn
2010-12-30  6:44     ` Noorul Islam K M
2010-12-30  7:39 ` Carsten Dominik
     [not found]   ` <m2mxnmzrlf.fsf@gmail.com>
2010-12-31  1:05     ` Jeff Horn
2010-12-31  2:53       ` Nick Dokos
2010-12-31 13:12         ` Matt Lundin

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).