From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: howto show all todo's linked with some buffer in agenda? Date: Sat, 29 Sep 2007 00:43:06 +0200 Message-ID: <87fy0y1ked.fsf@bzg.ath.cx> References: <87odfmwnzq.fsf@web.de> 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 1IbOYJ-0002Cy-87 for emacs-orgmode@gnu.org; Fri, 28 Sep 2007 18:43:19 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IbOYH-0002Ce-Ps for emacs-orgmode@gnu.org; Fri, 28 Sep 2007 18:43:18 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IbOYH-0002Cb-KA for emacs-orgmode@gnu.org; Fri, 28 Sep 2007 18:43:17 -0400 Received: from ug-out-1314.google.com ([66.249.92.170]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IbOYH-0001ec-2Y for emacs-orgmode@gnu.org; Fri, 28 Sep 2007 18:43:17 -0400 Received: by ug-out-1314.google.com with SMTP id m4so1837950uge for ; Fri, 28 Sep 2007 15:43:14 -0700 (PDT) In-Reply-To: <87odfmwnzq.fsf@web.de> (Jost Burkardt's message of "Fri, 28 Sep 2007 22:09:45 +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: emacs-orgmode@gnu.org Hi Jost, Jost Burkardt writes: > Having tried org-registry I see the following drawbacks > > - the file .org-registry, I've no idea about performance issues yet, > but one of the main reasons for switching from planner-mode to > org-mode last year, was org-mode's habit of generating the agenda > dynamically Actually, this is why John proposed `org-occur-in-agenda-files'. Mhh... I thought a registry would be more efficient, because you don't have to fetch for all the links in all agenda files before finding those pointing to your location. But perhaps maintaining the registry file has it own cost. I will think more carefully about this and let you know. > - if I understand the code correctly, org-registry fit's the Links > generated by org-store-link *exactly*, which seem to rigid for me, > as I sometimes write by hand, which are only approximate Agreed. The most common pattern would be to match the link exactly and to be more liberal about the description. I implemented such a "fuzzy" matching for planner-registry, and I was quite happy with that. One caveat though: file links contain context. Obviously, we don't want to be only able to find such links if the point is *exactly* where the context was defined from. So I suggest we get rid of the context when storing a link to the registry. Of course, not having a registry file would help here :) Last but not least: plain links are currently not stored. Plain links are also links in bracket links, so this might be confusing when fishing for all links in the buffer. > - The output is spartanic, what I would love to have is a agenda > overview with TODO-Items and maybe headlines, which are linked to > the current file or bbdb-entry or mail,.... Okay. I will try to implement some kind of agenda view for headlines containing a link to the current location. More on this later. > I think it would be great to have a function (think of > (org-calendar-goto-agenda) called from the calendar), which would give > a agenda with todo associated with the current > file/bbdb-entry/mail/directory,... Being able to search for several location would also be neat. Imagine: you want to fetch all TODOs pointing to your bbdb buffer or/and your w3m buffer or/and your Gnus summary buffer. > What do you think, possible and/or interesting? Possible and *very* interesting! Thanks for the input. -- Bastien