[Orgmode] Re: Feature request: custom link handlers

2007-11-30 Thread Tom Weissmann
Tom Weissmann trmsw at yahoo.co.uk writes: oops! I tried that before and it kept moving me back to the beginning of my org file, whereas now it, um, doesn't. Can't see for the egg on my face. In the meantime I discovered `org-add-link-type' which does everything I want except the

[Orgmode] Re: Feature request: custom link handlers

2007-11-30 Thread Tom Weissmann
Bastien bzg at altern.org writes: I find this a bit confusing to use a function that expands an abbreviation only for its side effects. Yes. It would be nice to be able to add custom link handlers and define completion functions for them :) But maybe you can just tell your function to return

Re: [Orgmode] Re: Feature request: custom link handlers

2007-11-30 Thread Bastien
Bastien [EMAIL PROTECTED] writes: 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. Sorry, should read:

Re: [Orgmode] Re: Feature request: custom link handlers

2007-11-30 Thread Bastien
Tom Weissmann [EMAIL PROTECTED] writes: Bastien bzg at 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