emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Carsten Dominik <dominik@uva.nl>
Cc: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: tags-tree question
Date: Wed, 29 Oct 2008 16:59:57 +0100	[thread overview]
Message-ID: <1E1D4433-31D2-4377-8853-A3B95D44BD34@gmail.com> (raw)
In-Reply-To: <30084876-7A14-42DA-93C6-B434BE43162F@uva.nl>

Oh my, I am starting to type like a monkey, this gets really  
embarrassing.
Let me try again:

-------------------------------------------------------------------

Hi Pete,

since the TODO part in match views was only implemented very late,
the logic is unfortunately a bit strange:  "/" has the
lowest priority, and only one such operator is allowed.

For your particular case, there is still a way to write this:

"Office|LaptopS/NEXT"

It really should be the other way round, with "|" as the lowest
priority, and more than two terms allowed. :-(

With a speed penalty, you can also write

"Office+TODO=\"NEXT\"|LaptopS+TODO=\"NEXT\""

which uses the property access to TODO keywords.

A generalized logic is on my list, just like Lisp forms for
searches, and so many other things....

HTH

- Carsten

> On Oct 29, 2008, at 3:00 PM, Pete Phillips wrote:
>
>> Hi
>>
>> I have a bunch of org-agenda-custom-commands I have been using for
>> years, but today wanted to try to use the tags-tree setup to get a  
>> bit
>> more context in some views.
>>
>> I tried this:
>>
>> ("S" tags-tree "Office/NEXT|LaptopS/NEXT")
>>
>> (meaning I want only NEXT TODO type lines tagged with Office or  
>> tagged
>> with LaptopS).
>>
>> When I execute this I appear to get a buffer with lines tagged with
>> Office in the hierarchy, and any lines at or below that with the TODO
>> type of NEXT.
>>
>> Now I know I have some lines in this file such as:
>>
>> **** NEXT Send owen an email re: meeting  :LaptopS:
>>
>> but this doesn't come up in the buffer.
>>
>> Can someone clarify whether it is possible to do thesetypes of  
>> searches
>> with tags-tree, and if so where am I going wrong ?
>>
>> Cheers
>> Pete
>>
>>
>> _______________________________________________
>> 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
>

  reply	other threads:[~2008-10-29 16:00 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-29 14:00 tags-tree question Pete Phillips
2008-10-29 15:52 ` Carsten Dominik
2008-10-29 15:59   ` Carsten Dominik [this message]
2008-11-01 12:51   ` Carsten Dominik
2008-11-02 23:20     ` Pete Phillips
2008-11-03  1:51       ` Bernt Hansen
2009-06-21 11:19         ` Pete Phillips
2009-06-21 13:46           ` Bernt Hansen
2009-06-22  9:53             ` Pete Phillips
2009-06-22 11:56               ` Carsten Dominik
2009-06-22 22:52                 ` Pete Phillips
2009-06-23 10:07                   ` Carsten Dominik
2009-06-23  8:26                 ` Pete Phillips
2009-06-22 12:39               ` Bernt Hansen
2008-11-03  7:44       ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1E1D4433-31D2-4377-8853-A3B95D44BD34@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=dominik@uva.nl \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).