Next: Customization, Previous: Roster import and export, Up: Top
Many web page authors use links starting with ‘xmpp:’ for JIDs. Your web browser could be made to pass such links to jabber.el, so that such links are actually useful and not just decoration. How to do that depends on your operating system and web browser.
For any of these methods, you need to make sure that you are running
the Emacs server. See Using Emacs as a Server, though the simplest way to start it is to
customize the variable server-mode
.
The jabber.el distribution contains a GConf schema which tries to set up handling of ‘xmpp:’ URIs. It is installed by ‘make install’. This may or may not work, depending on your GConf configuration and other installed applications. To check, try running:
gconftool --get /desktop/gnome/url-handlers/xmpp/command
This should print something like:
/usr/local/libexec/emacs-jabber-uri-handler "%s"
This setting is picked up by most GNOME or GTK based web browsers, including Firefox.
If you use a Mozilla-based web browser on a Unix-like operating system, and the GConf method above doesn't work, you can set it up manually by following these steps:
user_pref("network.protocol-handler.app.xmpp", "/path/to/emacs-jabber-uri-handler");
Restart Mozilla for this change to take effect.
If you know how to pass an XMPP URI from your browser to the function
jabber-handle-uri
, your contribution for this section would be
appreciated.