help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to setup w3m-el as a default browser on GNU system?


From: Pedro Insua
Subject: Re: How to setup w3m-el as a default browser on GNU system?
Date: Fri, 18 Jun 2010 00:18:53 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

On Thu, Jun 17, 2010 at 11:34:42PM +0200, Paul Chany wrote:
> Pedro Insua <pedroinsua@gmail.com> writes:
> 
> > On Thu, Jun 17, 2010 at 10:56:57PM +0200, Paul Chany wrote:
> >> Pedro Insua <pedroinsua@gmail.com> writes:
> >> 
> >> > On Thu, Jun 17, 2010 at 03:56:38PM +0200, Paul Chany wrote:
> >> >> I need this setup because when in org-mode and want follow a link to a
> >> >> file://path/some.html then an xterm being started and on it w3m as a
> >> >> default browser. I try to setup Emacs and org-mode to open this file in
> >> >> Emacs buffer in w3m-el but without any success. What am I missing here?
> >> >    http://www.emacswiki.org/emacs/BrowseUrl
> >> 
> >> Thanks! I follow advices red here and setup variables:
> >> ‘browse-url-browser-function’
> >> ‘browse-url-generic-program’
> >> 
> >> I have now in my .emacs file:
> >>  '(browse-url-browser-function (quote w3m-browse-url))
> >>  '(browse-url-generic-program "w3m-browse-url")
> >> 
> >> and still when I C-c C-o on a file://path/some.html link, an xterm
> >> appeare and on it w3m with the opened file! :(
> >> 
> >> What am I missing here?
> >
> >  mmm,  I'm Debian user too.. do you have w3m-el package installed? 
> 
> Yes, and I can open from an org file a http://path/some.html within
> Emacs with w3m-el, but can't open a file file://path/some.html in the
> same way because in the letter case I get opened xterm and on it w3m
> instead to get the file opened within Emacs with w3m-el. :(
> 

  Well.. the 'trick' is in configure: org-file-apps

  
-- 
Porqué loitar e matar, se podes amar e sonhar

/"\
\ /  CAMPANHA DA FITA ASCII - CONTRA MAIL HTML
 X   ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
/ \



reply via email to

[Prev in Thread] Current Thread [Next in Thread]