emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Markus Heller <hellerm2@gmail.com>
To: emacs-orgmode@gnu.org
Subject: "Interactive" Search in Agenda
Date: Fri, 20 Aug 2010 13:58:15 -0700	[thread overview]
Message-ID: <0veidthuhk.fsf@gmail.com> (raw)

Hello all,

I'd like to implement some sort of "interactive" search in the agenda,
as the subject says.

Consider a.org that contains something like this:

:PROPERTIES:
:Sample: S0001
:Request: R0001
:END:

and a second file that contains

:PROPERTIES:
:Sample: S0001
:Request: R0001
:END:

Both files are agenda files.  What I'd like to be able to do is the
following:

1. Hit C-c a
2. In the dispatcher, hit `X'
3. I get prompted which Property I want to search for, and I enter `Sample'
4. I get prompted which value I want that property to have, and I enter
   `S0002'
5. I get a list of all hits

Now, I know that I can achieve this by using

1. Hit C-c a
2. Hit `m'
3. Enter `+Sample="S0002"'

but that's too much typing for my taste.

Is there a way to achieve what I want?

Thanks and Cheers
Markus

             reply	other threads:[~2010-08-20 20:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-20 20:58 Markus Heller [this message]
2010-09-03  0:34 ` "Interactive" Search in Agenda Bastien
2010-09-03 16:49   ` Markus Heller
2010-09-05 17:59     ` Bastien
2010-09-07 16:18       ` Markus Heller

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=0veidthuhk.fsf@gmail.com \
    --to=hellerm2@gmail.com \
    --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).