From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Re: Feature request: custom link handlers Date: Fri, 30 Nov 2007 14:02:04 +0000 Message-ID: <873aunj0gz.fsf@bzg.ath.cx> References: <87wsrzkiim.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 1Iy6Ra-0000ez-Dv for emacs-orgmode@gnu.org; Fri, 30 Nov 2007 09:02:14 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Iy6RX-0000bl-St for emacs-orgmode@gnu.org; Fri, 30 Nov 2007 09:02:13 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iy6RX-0000bJ-Lr for emacs-orgmode@gnu.org; Fri, 30 Nov 2007 09:02:11 -0500 Received: from ug-out-1314.google.com ([66.249.92.174]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Iy6RX-0006kg-6I for emacs-orgmode@gnu.org; Fri, 30 Nov 2007 09:02:11 -0500 Received: by ug-out-1314.google.com with SMTP id a2so2135706ugf for ; Fri, 30 Nov 2007 06:02:09 -0800 (PST) In-Reply-To: (Tom Weissmann's message of "Fri, 30 Nov 2007 13:50:55 +0000 (UTC)") 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 Tom Weissmann writes: > Bastien altern.org> writes: > >> Are you suggesting to replace "http://www.google.com/search?q=%s" by a >> function that would handle the text after "::" in a different way than >> `format' is currently doing? > No. > > Here's an example. I sometimes create links to Emacs bookmarks, eg > "bmk:org-mode-tweaks" Thanks for the example. > It would be very cool to do C-c C-l, entry "bmk:" as the bookmark > type, and then have minibuffer completion of all the existing > bookmarks, but `org-store-link' works fine :) I think what you are trying to achieve is better described as a new hyperlink mechanism rather than an extension of abbrev links. Check this: (info "(org)Adding hyperlink types") You can have a new hyperlink facility for bookmarked files. When an a buffer visiting a file, storing a link to this buffer would really store a link to a bookmark, and when visiting a link to a bookmark Emacs will find the bookmark. What do you think? -- Bastien