emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Restrict agenda search to specific org files
@ 2011-04-28 21:28 Marcelo de Moraes Serpa
  2011-04-29 10:36 ` Sébastien Vauban
  0 siblings, 1 reply; 2+ messages in thread
From: Marcelo de Moraes Serpa @ 2011-04-28 21:28 UTC (permalink / raw)
  To: Org Mode

Hello list,

I'd like to know if it's possible to create custom agenda search
commands that will search only specific files (a subset) from the
agenda list. It would be nice if we could also override the agenda
file list and just specify the file(s) in the command.

Thanks,

Marcelo.

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

* Re: Restrict agenda search to specific org files
  2011-04-28 21:28 Restrict agenda search to specific org files Marcelo de Moraes Serpa
@ 2011-04-29 10:36 ` Sébastien Vauban
  0 siblings, 0 replies; 2+ messages in thread
From: Sébastien Vauban @ 2011-04-29 10:36 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hi Marcelo,

Marcelo de Moraes Serpa wrote:
> I'd like to know if it's possible to create custom agenda search
> commands that will search only specific files (a subset) from the
> agenda list. It would be nice if we could also override the agenda
> file list and just specify the file(s) in the command.

Example:

#+begin_src emacs-lisp
  ("Qw" "Website search"
   search ""
   ((org-agenda-files
     (file-expand-wildcards "~/Public/Websites/Org/source/*.org"))))
#+end_src

Best regards,
  Seb

-- 
Sébastien Vauban

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

end of thread, other threads:[~2011-04-29 10:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-28 21:28 Restrict agenda search to specific org files Marcelo de Moraes Serpa
2011-04-29 10:36 ` Sébastien Vauban

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