all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Matt Price <moptop99@gmail.com>
To: Bastien <bzg@gnu.org>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: custom agenda view w/ tag filtering?
Date: Thu, 27 Sep 2012 10:49:07 -0400	[thread overview]
Message-ID: <CAN_Dec95rOEg7kxN_rEJLXTM+V9iY9LtVYpLuNWmSuZmmwrg=g@mail.gmail.com> (raw)
In-Reply-To: <8739236et6.fsf@bzg.ath.cx>

On Thu, Sep 27, 2012 at 4:38 AM, Bastien <bzg@gnu.org> wrote:
> Hi Matt,
>
> (You forgot to CC the list...)
>
> Matt Price <moptop99@gmail.com> writes:
>
>> On Wed, Sep 26, 2012 at 5:56 PM, Bastien <bzg@altern.org> wrote:
>>> Hi Matt,
>>>
>>> Matt Price <moptop99@gmail.com> writes:
>>>
>>>> Is it possible to define a custom agenda view with tag filtering, but
>>>> in a date tree as in the weekly agenda?
>>>
>>> AFAIU yes: C-h v org-agenda-tag-filter-preset RET
>>>
>>
>> this is cool and helpful.  I guess what I still don't understand is
>> how to construct a weekly agenda with the filter preset.  Would it be
>> something like this:
>>
>> (setq org-agenda-custom-commands
>> '((.....)
>>   (.....)
>>   ("t" agenda
>>      (( org-agenda-tag-filter-preset ("+teaching") )  )
>>  )
>>
>> ?
>
> Yes.
>
>> None of the examples in the manual
>> (http://orgmode.org/manual/Storing-searches.html#Storing-searches)
>> seem to define an agenda view organized by date.  at least, not as far
>> s I can tell.  Thank you again!
>
> Well, that's aonther issue -- the "agenda agenda" view (not the "TODO
> agenda" view) is ordered by time... but it's true that a TODO agenda
> view is not.  A feature I've some code for, but not for now.
>
thanks Bastien.  this is nonetheless almost exactly what I wanted, so
thank you so much for the help.  the code I used was in the end calls
org-agenda-filter-preset instead of binding
org-agenda-tag-filter-preset, because I don't know the right syntax
for the latter:

        ("t" agenda "Teaching Agenda"
         (( org-agenda-filter-preset '("+teaching") )  ) )

      parent reply	other threads:[~2012-09-27 14:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-26 19:46 custom agenda view w/ tag filtering? Matt Price
2012-09-26 21:56 ` Bastien
     [not found]   ` <CAN_Dec9SGZkLgoXD6WDWhhtLg=zWRy5rQUc3JinXAjGwMh2RgQ@mail.gmail.com>
     [not found]     ` <8739236et6.fsf@bzg.ath.cx>
2012-09-27 14:49       ` Matt Price [this message]

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='CAN_Dec95rOEg7kxN_rEJLXTM+V9iY9LtVYpLuNWmSuZmmwrg=g@mail.gmail.com' \
    --to=moptop99@gmail.com \
    --cc=bzg@gnu.org \
    --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 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.