emacs-devel
[Top][All Lists]
Advanced

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

Internal/external browsers


From: Lars Magne Ingebrigtsen
Subject: Internal/external browsers
Date: Sat, 14 Dec 2013 18:57:56 +0100
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux)

When you hit RET on a link in shr/eww, it uses the browse-url browser to
follow the link.  If you hit `C-u RET', it uses the
`shr-external-browser' browser.

It's been that way for some months now, and I must say I really like
that.  I have eww set as the default browser, and quite a few web pages
display well enough in eww, and it's much more pleasant to read those
web pages inside Emacs.

And when I know that the link points to a page that eww is unlikely to
cope with, I just hit `C-u RET' and get a Firefox browser window popping
up.

So now I want all URL links in Emacs to work that way, like in erc mode,
etc.

Does this make sense to people?  If so, I think browse-url itself should
be extended with a browse-url-external-browser variable, and then the
`browse-url' function itself should use these two variables, instead of
shr implementing this stuff itself...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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