emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Agenda filter for a specific file
@ 2012-04-07  5:53 Marcelo de Moraes Serpa
  2012-04-07 11:52 ` Bernt Hansen
  0 siblings, 1 reply; 7+ messages in thread
From: Marcelo de Moraes Serpa @ 2012-04-07  5:53 UTC (permalink / raw)
  To: Org Mode

[-- Attachment #1: Type: text/plain, Size: 254 bytes --]

Hi guys,

Is there a way to define an agenda filter that will search in only one of
the agenda files? The reason I do that is because although I have several
files added to the agenda, only one contains "actionable items" (gtd.org).

Thanks,

- Marcelo.

[-- Attachment #2: Type: text/html, Size: 318 bytes --]

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

* Re: Agenda filter for a specific file
  2012-04-07  5:53 Agenda filter for a specific file Marcelo de Moraes Serpa
@ 2012-04-07 11:52 ` Bernt Hansen
  2012-04-09 10:56   ` Bastien
  2012-04-16 13:47   ` Sebastien Vauban
  0 siblings, 2 replies; 7+ messages in thread
From: Bernt Hansen @ 2012-04-07 11:52 UTC (permalink / raw)
  To: Marcelo de Moraes Serpa; +Cc: Org Mode

Marcelo de Moraes Serpa <celoserpa@gmail.com> writes:

> Hi guys,
>
> Is there a way to define an agenda filter that will search in only one of the agenda files? The
> reason I do that is because although I have several files added to the agenda, only one contains
> "actionable items" (gtd.org).

There are multiple ways to do this.

 1) visit the file and restrict agenda view to the file with C-u C-c C-x <

 2) set org-agenda-files for some custom-agenda-command just to use this
    one file

1) also restricts search results with C-c C-a / which may not be what
   you want

HTH,
Bernt

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

* Re: Agenda filter for a specific file
  2012-04-07 11:52 ` Bernt Hansen
@ 2012-04-09 10:56   ` Bastien
  2012-04-09 17:06     ` Marcelo de Moraes Serpa
  2012-04-16 13:47   ` Sebastien Vauban
  1 sibling, 1 reply; 7+ messages in thread
From: Bastien @ 2012-04-09 10:56 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: Org Mode, Marcelo de Moraes Serpa

Hi Marcelo,

Bernt Hansen <bernt@norang.ca> writes:

> Marcelo de Moraes Serpa <celoserpa@gmail.com> writes:
>
>> Is there a way to define an agenda filter that will search in only one of the agenda files? The
>> reason I do that is because although I have several files added to the agenda, only one contains
>> "actionable items" (gtd.org).
>
> There are multiple ways to do this.
>
>  1) visit the file and restrict agenda view to the file with C-u C-c C-x <

Yes, I suggest using this method for file-filtering in agenda views.
Thanks to Bernt for mentioning it.

It would be nice to have more filtering fonctions in agenda views,
but unless someone come up with a good patch, it won't happen soon 
as I cannot work on this right now.

Thanks,

-- 
 Bastien

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

* Re: Agenda filter for a specific file
  2012-04-09 10:56   ` Bastien
@ 2012-04-09 17:06     ` Marcelo de Moraes Serpa
  2012-04-09 17:10       ` Bastien
  0 siblings, 1 reply; 7+ messages in thread
From: Marcelo de Moraes Serpa @ 2012-04-09 17:06 UTC (permalink / raw)
  To: Bastien; +Cc: Bernt Hansen, Org Mode

[-- Attachment #1: Type: text/plain, Size: 1004 bytes --]

Thanks for the reply, guys.

I already knew about #1, but #2 seems interesting. How could I implement
that?

Cheers,

- Marcelo.

On Mon, Apr 9, 2012 at 5:56 AM, Bastien <bzg@gnu.org> wrote:

> Hi Marcelo,
>
> Bernt Hansen <bernt@norang.ca> writes:
>
> > Marcelo de Moraes Serpa <celoserpa@gmail.com> writes:
> >
> >> Is there a way to define an agenda filter that will search in only one
> of the agenda files? The
> >> reason I do that is because although I have several files added to the
> agenda, only one contains
> >> "actionable items" (gtd.org).
> >
> > There are multiple ways to do this.
> >
> >  1) visit the file and restrict agenda view to the file with C-u C-c C-x
> <
>
> Yes, I suggest using this method for file-filtering in agenda views.
> Thanks to Bernt for mentioning it.
>
> It would be nice to have more filtering fonctions in agenda views,
> but unless someone come up with a good patch, it won't happen soon
> as I cannot work on this right now.
>
> Thanks,
>
> --
>  Bastien
>

[-- Attachment #2: Type: text/html, Size: 1664 bytes --]

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

* Re: Agenda filter for a specific file
  2012-04-09 17:06     ` Marcelo de Moraes Serpa
@ 2012-04-09 17:10       ` Bastien
  2012-04-13  0:51         ` Marcelo de Moraes Serpa
  0 siblings, 1 reply; 7+ messages in thread
From: Bastien @ 2012-04-09 17:10 UTC (permalink / raw)
  To: Marcelo de Moraes Serpa; +Cc: Bernt Hansen, Org Mode

Hi Marcelo,

Marcelo de Moraes Serpa <celoserpa@gmail.com> writes:

> I already knew about #1, but #2 seems interesting. How could I
> implement that?

There are useful examples here:

  http://orgmode.org/worg/org-tutorials/org-custom-agenda-commands.html#sec-4

HTH,

-- 
 Bastien

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

* Re: Agenda filter for a specific file
  2012-04-09 17:10       ` Bastien
@ 2012-04-13  0:51         ` Marcelo de Moraes Serpa
  0 siblings, 0 replies; 7+ messages in thread
From: Marcelo de Moraes Serpa @ 2012-04-13  0:51 UTC (permalink / raw)
  To: Bastien; +Cc: Bernt Hansen, Org Mode

[-- Attachment #1: Type: text/plain, Size: 380 bytes --]

Thanks!

On Mon, Apr 9, 2012 at 12:10 PM, Bastien <bzg@gnu.org> wrote:

> Hi Marcelo,
>
> Marcelo de Moraes Serpa <celoserpa@gmail.com> writes:
>
> > I already knew about #1, but #2 seems interesting. How could I
> > implement that?
>
> There are useful examples here:
>
>
> http://orgmode.org/worg/org-tutorials/org-custom-agenda-commands.html#sec-4
>
> HTH,
>
> --
>  Bastien
>

[-- Attachment #2: Type: text/html, Size: 913 bytes --]

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

* Re: Agenda filter for a specific file
  2012-04-07 11:52 ` Bernt Hansen
  2012-04-09 10:56   ` Bastien
@ 2012-04-16 13:47   ` Sebastien Vauban
  1 sibling, 0 replies; 7+ messages in thread
From: Sebastien Vauban @ 2012-04-16 13:47 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hi Marcelo and Bernt,

Bernt Hansen wrote:
> Marcelo de Moraes Serpa <celoserpa-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
>> Is there a way to define an agenda filter that will search in only one of
>> the agenda files? The reason I do that is because although I have several
>> files added to the agenda, only one contains "actionable items" (gtd.org).
>
> There are multiple ways to do this.
>
>  1) visit the file and restrict agenda view to the file with C-u C-c C-x <
>
>  2) set org-agenda-files for some custom-agenda-command just to use this
>     one file

For the sake of completeness, a third one:

   3) visit the file and do a limited search with `C-c a < s', that is
      inserting `<' after `C-c a' to limit the search for *that* agenda
      command only.

Best regards,
  Seb

-- 
Sebastien Vauban

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

end of thread, other threads:[~2012-04-16 13:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-07  5:53 Agenda filter for a specific file Marcelo de Moraes Serpa
2012-04-07 11:52 ` Bernt Hansen
2012-04-09 10:56   ` Bastien
2012-04-09 17:06     ` Marcelo de Moraes Serpa
2012-04-09 17:10       ` Bastien
2012-04-13  0:51         ` Marcelo de Moraes Serpa
2012-04-16 13:47   ` Sebastien 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).