Dale Smith <address@hidden> 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
address@hidden
216-447-4059
216-447-8951 FAX
_______________________________________________
Emacs-orgmode mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode