From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: How to use FILETAGS? Date: Sat, 18 Oct 2008 14:08:37 -0400 Message-ID: <878wsl22u2.fsf@gollum.intra.norang.ca> References: <6E535C80-7911-4683-B0EC-581C015FC665@uva.nl> <873aj5vm21.fsf@gollum.intra.norang.ca> <87myhbj66x.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KrGEG-000092-9z for emacs-orgmode@gnu.org; Sat, 18 Oct 2008 14:08:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KrGEF-00008q-Cb for emacs-orgmode@gnu.org; Sat, 18 Oct 2008 14:08:44 -0400 Received: from [199.232.76.173] (port=46929 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KrGEF-00008n-9K for emacs-orgmode@gnu.org; Sat, 18 Oct 2008 14:08:43 -0400 Received: from mho-02-bos.mailhop.org ([63.208.196.179]:65118) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KrGED-0004GF-FJ for emacs-orgmode@gnu.org; Sat, 18 Oct 2008 14:08:42 -0400 In-Reply-To: (Carsten Dominik's message of "Sat\, 18 Oct 2008 15\:16\:40 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-orgmode Hi Carsten, Would it be possible to filter the data that creates the agenda clock table report by tags? This would be useful to limit the report to a specific project that spans multiple org files for instance. Right now I do a monthly agenda report for everything and cut and paste the result to get the details I need for a particular project - if I could just limit the display to a specific tag and have the report only include clock times for that tag then this would be much easier for me to deal with. e.g. | Key | Detail | |------------------+---------------------------------------| | C-c a a | Go to agenda | | m | Display agenda for this month | | R | Display clock report for everything | | / TAB projecttag | Limit display to specific project tag | and have the resulting clock report only include the filtered tasks and their clock times. I would find this very useful but don't let me create new work for you if it's not easy/fun :) Thanks for org-mode! Regards, Bernt Carsten Dominik writes: > Hi Manish, > > I very much like the idea to add an indicator to the agenda mode line, > and will do that. > > You said that you can filter an already filtered view. This is only > partially correct. If you do that, it is not so that you will further > filter down the current list. Instead, a new filter will be applied > to the original list. At first I had it in fact implemented in a way > that several filters could be used in a row, but John Wiegley (how > asked for this feature) convinced me that the current convention is > better. > > What this feature really does is saving you the definition of > different agenda commands selecting for specific tasks. Instead, you > can now create one view and then filter it for different tags. > > We could implement filtering for several tags, but I am not sure if > this will be really so useful. > > - Carsten > > > On Oct 18, 2008, at 1:46 PM, Manish wrote: > >> On Sun, Oct 12, 2008 at 12:43 AM, Bernt Hansen wrote: >>> Manish writes: >>> >>>> On Thu, Oct 9, 2008 at 8:43 PM, Bernt Hansen wrote: >>>> [snip] >>>>> This works for me. I added >>>>> >>>>> #+FILETAGS: :Personal: >>>>> >>>>> to the top of one of my org files, hit C-c C-c on the line to >>>>> reinitialize and then match tags with Personal as the target with >>>>> >>>>> C-c a m Personal RET >>>>> >>>>> and it lists all of the tasks in my org file including top-level >>>>> tasks. >>>>> The tasks do now show :Personal: in the display but using T >> on any tasks >>>>> shows the tag is inherited. >>>>> >>>>> I hit T on a task 4 levels deep and it includes the Personal tag. >>>>> >>>>> It also works with >>>>> >>>>> #+FILETAGS: Personal >>>> >>>> Thanks Bernt. It works this way for me as well. I guess I should >>>> be >>>> able to mimic similar behaviour by restricting agenda to that >>>> specific >>>> buffer as well. >>>> >>>> But does it (task filtering based on tags using "/") work while you >>>> are in agenda view? >>> >>> Yes this works for me. / TAB works even if tagname is >>> not in >>> org-tag-alist. Some of my (new) FILETAGS are still in my org-tag- >>> alist >>> so I can just filter with the quick-keys but for the ones that are >>> not >>> the / TAB works fine. >>> >>> I tested this with C-a a t to show all my todo keyword tasks without >>> scheduled dates and then used / to filter that list down to some >>> specific FILETAG tagname. >> >> Finally, agenda filtering on tags works for me. Unfortunately, I am >> not sure if it was an update, tweak or some other tinkering that fixed >> it but it works beautifully. It is now one of my favourite features. >> I did not expect but was pleasently surprised to find that it allowed >> filtering an already filtered view. Carsten also fixed tab completion >> of tags. Sweet. >> >> Will it be possible/useful to add some kind of indication to modeline >> showing that filtering is in effect and the filters applied (may be >> like "(Org Agenda Day Diary Filtered: P, t)")? But I love it even >> without it. >> >> -- Manish >> >> >> _______________________________________________ >> Emacs-orgmode mailing list >> Remember: use `Reply All' to send replies to the list. >> Emacs-orgmode@gnu.org >> http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode