Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emacs Gnus and opening links in firefox [SOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
tobr
Guru
Guru


Joined: 29 May 2006
Posts: 330

PostPosted: Thu May 31, 2007 6:10 pm    Post subject: Emacs Gnus and opening links in firefox [SOLVED] Reply with quote

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!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum