Dale Smith <[EMAIL PROTECTED]> writes:

> What I'm really asking is a way to extend the current list of link
> types (gnus:, file:, vm:, etc.) with some user-defined types.

How about an alist of (type . replacement), with string as simple
string replacement, and maybe a function to call for a more complicated
transformation?

(defun bar-converter (arg)
  (concat "http://some.site/"; arg "/?key=yadda"))

(setq org-userlink-alist
      '((foo . "http://some.foo.org/";)
        (bar . bar-converter)))

So then links like:
  foo:something -> http://some.foo.org/something.
  bar:123  ->  http://some.site/123/?key=yadda

Just and idea..

  -Dale

-- 
Dale P. Smith
[EMAIL PROTECTED]
216-447-4059
216-447-8951 FAX



_______________________________________________
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to