[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: Customizable link types

From: Dale Smith
Subject: [Orgmode] Re: Customizable link types
Date: Mon, 25 Sep 2006 14:29:40 -0400
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

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

(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 P. Smith
216-447-8951 FAX

reply via email to

[Prev in Thread] Current Thread [Next in Thread]