Subject: 24.3.50; url-handler-mode: Buffer in wrong mode, should use content/media type?
From: Jambunathan K <[email-masked]>
To: [email-masked]
Date: Fri, 26 Jul 2013 09:42:34 +0530
List-Id: <debbugs-submit.debbugs.gnu.org>

1. emacs -Q
2. M-x url-handler-mode 
2. C-x C-f http://www.gnu.org
3. Note that the buffer is in Org-mode.

In emacs-devel, Stefan was indicating one should peek in to the
media-type of the downloaded content and take appropriate action. 

See this post 

   http://lists.gnu.org/archive/html/emacs-devel/2013-07/msg00124.html

and also the followups to that post.

The context of the discussion was how to browse with C-x C-f (i.e., turn
url-handler-mode) and have eww/shr render the buffer, if the downloaded
content is indeed an html file.

----------------------------------------------------------------

In GNU Emacs 24.3.50.24 (i686-pc-linux-gnu, GTK+ Version 2.20.1)
 of 2013-07-26 on debian-6.05
Bzr revision: 113547 [email-masked]
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
Important settings:
  value of $LANG: en_IN
  locale-coding-system: iso-latin-1-unix
  default enable-multibyte-characters: t

Major mode: Help