From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Price Subject: Re: custom agenda view w/ tag filtering? Date: Thu, 27 Sep 2012 10:49:07 -0400 Message-ID: References: <87lifwtpln.fsf@bzg.ath.cx> <8739236et6.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:46741) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1THFOt-00009Z-1n for emacs-orgmode@gnu.org; Thu, 27 Sep 2012 10:49:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1THFOn-0007kd-57 for emacs-orgmode@gnu.org; Thu, 27 Sep 2012 10:49:14 -0400 In-Reply-To: <8739236et6.fsf@bzg.ath.cx> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: Org Mode On Thu, Sep 27, 2012 at 4:38 AM, Bastien wrote: > Hi Matt, > > (You forgot to CC the list...) > > Matt Price writes: > >> On Wed, Sep 26, 2012 at 5:56 PM, Bastien wrote: >>> Hi Matt, >>> >>> Matt Price 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") ) ) )