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

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

[Orgmode] Re: Feature request: custom link handlers

2007-11-30 Thread Tom Weissmann
Tom Weissmann 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 completions.

[Orgmode] Re: Feature request: custom link handlers

2007-11-30 Thread Tom Weissmann
Bastien 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 a

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

2007-11-30 Thread Bastien
Tom Weissmann <[EMAIL PROTECTED]> writes: > Bastien altern.org> writes: > >> > 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: "as a new hyperlink type"... > > Yes. But a cheap altern

[Orgmode] Re: Feature request: custom link handlers

2007-11-30 Thread Tom Weissmann
Bastien altern.org> writes: > > 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: "as a new hyperlink type"... Yes. But a cheap alternative is just to let abbrev link functions return nil

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, shou

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

2007-11-30 Thread Bastien
Tom Weissmann <[EMAIL PROTECTED]> 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 c

[Orgmode] Re: Feature request: custom link handlers

2007-11-30 Thread Tom Weissmann
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-tweak