emacs-devel
[Top][All Lists]
Advanced

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

Re: browse-url and "non-webish" URLs


From: Stefan Monnier
Subject: Re: browse-url and "non-webish" URLs
Date: Thu, 23 Aug 2007 13:34:10 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

>>> (defun browse-url-emacs (url &optional new-window)
>> Installed in the 22 branch.
> This was mostly proof-of-concept.  Using url-file-handler was convenient
> since it sets the mode automatically after fetching the file.

Yes, it does exactly what we want ;-)

> The downside to the above code is that it requires `url-handlers'

That's OK: if you look at the code I installed, it only requires
url-handlers when the function is called, at which point we're going to use
the URL package anyway.

> and that it only works for urls that match url-handler-regexp.

Similar limitations apply to every other browse-url function.


        Stefan




reply via email to

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