Tim Retout's www presence

Fri, 23 Jan 2009

Emacs and Epiphany

It turns out to be possible to persuade emacs and epiphany to play nicely together.

Opening URLs in Epiphany from Emacs

Sometimes Emacs presents you with clickable hyperlinks (in info documentation, perhaps).

To customize the browser in which these are opened, I am using the following in .emacs:

(setq browse-url-browser-function 'browse-url-generic
      browse-url-generic-program "gnome-open")

There are also specific epiphany-related functions, but I'm using the default gnome program for the moment. This can be configured via the default applications dialog.

Opening text files in Emacs from Epiphany

When you download a text file, or use 'View > Page Source' in the menus, epiphany uses the gnome desktop's handler for the 'text/plain' mime type.

The simplest way of configuring this is to run nautilus, right-click on a text file and choose 'Properties'. Then the 'Open With' tab lets you select an application. Emacs should already be listed, or you can add it if not.

Further ideas

Posted: 23 Jan 2009 00:00 | Tags: , , , ,

Contact

Tim Retout tim@retout.co.uk
JabberID: tim@retout.co.uk

Comments

I'm afraid I have turned off comments for this blog, because of all the spam. Let's face it, I didn't read them anyway. Feel free to email me.

Me Elsewhere

Copyright © 2007-2014 Tim Retout