emacs-devel
[Top][All Lists]
Advanced

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

browse-url and "non-webish" URLs


From: Stefan Monnier
Subject: browse-url and "non-webish" URLs
Date: Wed, 22 Aug 2007 11:11:09 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

I haven't had time to look into it yet, but I'd like to see the following in
browse-url: if the URL refers to a "text file" then use
url-insert-file-contents (or if url-handler-mode is ON, just use
find-file-other-window).

I often see this when someone posts a URL to an elisp package, which is much
better displayed in an Emacs buffer with highlighting and all than in
a Firefox/w3m.  This also true of URL to patch files, or tarballs.

One problem is that it's generally not easy to tell what is what and
automatically DTRT, so maybe the browse-url buttons should simply offer the
user the choice to pass the URL to an external app, or pass it to the URL
package.

Patches welcome,


        Stefan




reply via email to

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