tobr Guru
Joined: 29 May 2006 Posts: 330
|
Posted: Thu May 31, 2007 6:10 pm Post subject: Emacs Gnus and opening links in firefox [SOLVED] |
|
|
Hello!
I use Gnus to read mail, news and RSS feeds. My problem with RSS is that all links I middle-click on are opened in emacs-w3m instead of Firefox. I already set browse-url-browser-function with the following in ~/.emacs: Code: | ;; Set browser for ``browse-url". Use firefox when in X, else emacs-w3m.
;; Also: handle ``mailto:" addresses.
(if (eq window-system 'x)
(progn
(setq browse-url-browser-function '(("^mailto:" . browse-url-mail)
("." . browse-url-firefox))))
(setq browse-url-browser-function '(("^mailto:" . browse-url-mail)
("." . w3m-browse-url)))) | but it has no effect on Gnus. This is annoying as I prefer to view sites with Firefox when it's available.
I'd be very happy if somebody knew what controls the link opening behaviour of Gnus when looking at RSS articles.
EDIT: I solved this with a bit of code that can be found in the Gnus handbook in the section about nnrss. It still doesn't do exactly what I want but it let's me open the RSS article's main link with one key stroke, which is good enough. _________________ Please add [SOLVED] to your message title if your problem is solved.
Death to all blobs! |
|