From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: How to use FILETAGS? Date: Tue, 21 Oct 2008 08:24:49 +0200 Message-ID: <80EFEF74-D392-465D-81D4-448655DAD570@uva.nl> References: <6E535C80-7911-4683-B0EC-581C015FC665@uva.nl> <873aj5vm21.fsf@gollum.intra.norang.ca> <87myhbj66x.fsf@gollum.intra.norang.ca> <878wsl22u2.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: multipart/mixed; boundary="===============1070691098==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KsAfv-0008Pz-9N for emacs-orgmode@gnu.org; Tue, 21 Oct 2008 02:25:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KsAfu-0008PU-3i for emacs-orgmode@gnu.org; Tue, 21 Oct 2008 02:25:02 -0400 Received: from [199.232.76.173] (port=47581 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KsAft-0008PO-VE for emacs-orgmode@gnu.org; Tue, 21 Oct 2008 02:25:02 -0400 Received: from pony.ic.uva.nl ([145.18.40.181]:47266) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KsAfs-0004mu-RX for emacs-orgmode@gnu.org; Tue, 21 Oct 2008 02:25:01 -0400 In-Reply-To: <878wsl22u2.fsf@gollum.intra.norang.ca> 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: Bernt Hansen Cc: emacs-orgmode --===============1070691098== Content-Type: multipart/alternative; boundary=Apple-Mail-3--697529400 --Apple-Mail-3--697529400 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Hmmm, this is different than changing the filter because it requires re-creating the clock table. Useful, but will not happen now.... :-( - Carsten On Oct 18, 2008, at 8:08 PM, Bernt Hansen wrote: > 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 --Apple-Mail-3--697529400 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hmmm, this is different than = changing the filter because it requires re-creating the clock table. =  Useful, but will not happen now.... :-(

- = Carsten

On Oct 18, 2008, at 8:08 PM, Bernt = Hansen wrote:

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 =             &n= bsp;| Detail =             &n= bsp;           &nbs= p;      |
|------------------+-----------= ----------------------------|
| C-c a a =          | Go to agenda =             &n= bsp;           &nbs= p;|
| m =             &n= bsp;  | Display agenda for this month =         |
| R =             &n= bsp;  | 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 <dominik@science.uva.nl> = 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
<= blockquote type=3D"cite">

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.
<= blockquote type=3D"cite">

It = also works = with
<= blockquote type=3D"cite">

#+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 <tagname> 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 <tagname> 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

= --Apple-Mail-3--697529400-- --===============1070691098== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============1070691098==--