From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jost Burkardt Subject: Re: howto show all todo's linked with some buffer in agenda? Date: Sat, 29 Sep 2007 14:38:58 +0200 Message-ID: <87hcldwsrh.fsf@web.de> References: <87odfmwnzq.fsf@web.de> <87fy0y1ked.fsf@bzg.ath.cx> 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 1IbbWO-00016q-6C for emacs-orgmode@gnu.org; Sat, 29 Sep 2007 08:34:12 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IbbWJ-00015I-BA for emacs-orgmode@gnu.org; Sat, 29 Sep 2007 08:34:11 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IbbWJ-00015F-63 for emacs-orgmode@gnu.org; Sat, 29 Sep 2007 08:34:07 -0400 Received: from fmmailgate01.web.de ([217.72.192.221]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IbbWI-0008U0-PS for emacs-orgmode@gnu.org; Sat, 29 Sep 2007 08:34:07 -0400 In-Reply-To: <87fy0y1ked.fsf@bzg.ath.cx> (Bastien's message of "Sat\, 29 Sep 2007 00\:43\:06 +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: Bastien Cc: emacs-orgmode@gnu.org Hi Bastien, Bastien writes: >> - 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 :) Similar problem may arise, when using bbdb links. Think of [[bbdb:Ludwig Beethoven]] and [[bbdb:beethoven]] which should both be matched, when I'm on the relevant entry. Maybe the search should do a match against some kind of fingerprint of the current buffer. No idea, about the impact on calculation time. > 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. What do you mean by plain links, links within the same buffer or links without brackets? I think, it would be good to have all links, which will be recognised by ord, in the registry (O.K., excluding internal links). > Okay. I will try to implement some kind of agenda view for headlines > containing a link to the current location. More on this later. This sounds great !! > Possible and *very* interesting! Thanks for the input. Always a pleasure :-) Jost