all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* browse-url and "non-webish" URLs
@ 2007-08-22 15:11 Stefan Monnier
  2007-08-22 17:17 ` Johan Bockgård
  0 siblings, 1 reply; 7+ messages in thread
From: Stefan Monnier @ 2007-08-22 15:11 UTC (permalink / raw)
  To: emacs-devel


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-08-23 21:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-22 15:11 browse-url and "non-webish" URLs Stefan Monnier
2007-08-22 17:17 ` Johan Bockgård
2007-08-22 18:39   ` Stefan Monnier
2007-08-22 18:52   ` Stefan Monnier
2007-08-23 14:41     ` Johan Bockgård
2007-08-23 17:34       ` Stefan Monnier
2007-08-23 21:18         ` Johan Bockgård

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.