all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Feature request: custom link handlers
@ 2007-11-30 10:25 Tom Weissmann
  2007-11-30 12:46 ` Bastien
  0 siblings, 1 reply; 10+ messages in thread
From: Tom Weissmann @ 2007-11-30 10:25 UTC (permalink / raw)
  To: emacs-orgmode

This is basically a request to be able to create custom link handlers. 

For example, my `org-link-abbrev-alist' is this:

`(("wiki"   . org-link-abbrev-wiki)
  ("bmk"    . org-link-abbrev-bookmark)
  ("POA"    . org-link-abbrev-poa))


Only one of these actually returns a link that Org mode can use: wiki returns a
url. "bmk" opens a bookmark and "POA" opens another application; neither return
anything, so using them raises an error message.

One possibility would be to allow the link abbreviations to return two values:
nil and a message. `org-link-abbrev-poa' could then return 
'(nil 
  "Opening POA XYZ")
and Org mode wouldn't fret about not receiving a null link, but simply display
the message.

Another possibility would be to create a door to add custom link handlers with
custom completion - that way one could add bookmark links with minibuffer
completion...

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2007-11-30 16:51 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-30 10:25 Feature request: custom link handlers Tom Weissmann
2007-11-30 12:46 ` Bastien
2007-11-30 13:50   ` Tom Weissmann
2007-11-30 14:02     ` Bastien
2007-11-30 14:14       ` Bastien
2007-11-30 14:44         ` Tom Weissmann
2007-11-30 15:01           ` Bastien
2007-11-30 16:22             ` Tom Weissmann
2007-11-30 16:37               ` Tom Weissmann
2007-11-30 16:51                 ` Bastien

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.