all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Matt Lundin <mdl@imapmail.org>
To: suvayu ali <fatkasuvayu+linux@gmail.com>
Cc: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: Question about org-search-view and org-occur-in-agenda-files
Date: Mon, 25 Jul 2011 22:09:54 -0500	[thread overview]
Message-ID: <871uxdg2kx.fsf@fastmail.fm> (raw)
In-Reply-To: <CAMXnza0CjG6O6HVqRR=-Da=awH=7iJ3pKBSUbFoZr=van4LSXA@mail.gmail.com> (suvayu ali's message of "Mon, 25 Jul 2011 22:07:24 +0200")

suvayu ali <fatkasuvayu+linux@gmail.com> writes:

> Hi Darlan,
>
> On Mon, Jul 25, 2011 at 8:29 PM, Darlan Cavalcante Moreira
> <darcamo@gmail.com> wrote:
>> You can probably use custom agenda commands for this. See the documentation
>> for the org-agenda-custom-commands and the corresponding section in the
>> manual [1].
>
> Custom agenda commands do not support prompting for search phrases.

The following custom agenda command offers a prompt:

--8<---------------cut here---------------start------------->8---
(org-add-agenda-custom-command
 '("x" "Search special files" search ""
   ((org-agenda-files '("~/special/")))))
--8<---------------cut here---------------end--------------->8---

Best,
Matt

  parent reply	other threads:[~2011-07-26  3:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-23 17:36 Question about org-search-view and org-occur-in-agenda-files suvayu ali
2011-07-25 18:29 ` Darlan Cavalcante Moreira
2011-07-25 20:07   ` suvayu ali
2011-07-26  1:20     ` Bernt Hansen
2011-07-26  2:04       ` suvayu ali
2011-07-26  3:09     ` Matt Lundin [this message]
2011-07-26  9:50       ` suvayu ali

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

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

  git send-email \
    --in-reply-to=871uxdg2kx.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=fatkasuvayu+linux@gmail.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.