[Top][All Lists]

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

bug#42768: emacs http://example.com

From: Lars Ingebrigtsen
Subject: bug#42768: emacs http://example.com
Date: Sun, 09 Aug 2020 13:07:35 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

積丹尼 Dan Jacobson <jidanni@jidanni.org> writes:

> In bug#40269 the emacs maintainers probably feel file:/// isn't so
> common, so not worth recognizing.
> But http, and https are certainly common.
> So how about emacs make an appropriate response when somebody does
> $ emacs http://www.example.com/

No, that would be rather confusing.

But you've reminded me that you can't use Emacs as a MIME handler for
URLs, and that should really be possible.

So I've added the trivial eww-browse command to Emacs 28.1, so that you
can now say

$ emacs -f eww-browse https://gnu.org

and register Emacs as a handler for the text/x-uri MIME type with

emacs -f eww-browse %u

(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]