From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jambunathan K Newsgroups: gmane.emacs.bugs Subject: bug#14956: 24.3.50; url-handler-mode: Buffer in wrong mode, should use content/media type? Date: Fri, 26 Jul 2013 09:42:34 +0530 Message-ID: <87fvv26jt9.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1374811928 5032 80.91.229.3 (26 Jul 2013 04:12:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Jul 2013 04:12:08 +0000 (UTC) To: 14956@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 26 06:12:10 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V2ZNx-0003hR-So for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Jul 2013 06:12:10 +0200 Original-Received: from localhost ([::1]:56355 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2ZNx-0003tX-CK for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Jul 2013 00:12:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46506) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2ZNr-0003tL-Og for bug-gnu-emacs@gnu.org; Fri, 26 Jul 2013 00:12:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V2ZNq-00055q-Of for bug-gnu-emacs@gnu.org; Fri, 26 Jul 2013 00:12:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55892) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2ZNq-00055j-Ku for bug-gnu-emacs@gnu.org; Fri, 26 Jul 2013 00:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1V2ZNq-0004W3-C0 for bug-gnu-emacs@gnu.org; Fri, 26 Jul 2013 00:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jambunathan K Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Jul 2013 04:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 14956 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.137481187817251 (code B ref -1); Fri, 26 Jul 2013 04:12:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Jul 2013 04:11:18 +0000 Original-Received: from localhost ([127.0.0.1]:50208 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V2ZN7-0004UB-8c for submit@debbugs.gnu.org; Fri, 26 Jul 2013 00:11:17 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44690) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V2ZN5-0004Tn-3M for submit@debbugs.gnu.org; Fri, 26 Jul 2013 00:11:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V2ZMy-0004yC-Id for submit@debbugs.gnu.org; Fri, 26 Jul 2013 00:11:09 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:55638) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2ZMy-0004xx-FV for submit@debbugs.gnu.org; Fri, 26 Jul 2013 00:11:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46411) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2ZMx-0003pg-GX for bug-gnu-emacs@gnu.org; Fri, 26 Jul 2013 00:11:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V2ZMt-0004wz-Vi for bug-gnu-emacs@gnu.org; Fri, 26 Jul 2013 00:11:07 -0400 Original-Received: from mail-pb0-x22a.google.com ([2607:f8b0:400e:c01::22a]:57832) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2ZMt-0004wv-PR for bug-gnu-emacs@gnu.org; Fri, 26 Jul 2013 00:11:03 -0400 Original-Received: by mail-pb0-f42.google.com with SMTP id un1so1578105pbc.1 for ; Thu, 25 Jul 2013 21:11:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=CCrrizKUv64+p4OihX2TI5+s8J+7MgstgPF0Uwh2RHY=; b=wtnQvDJGqyYLcQ+Ou7xCGzHg+c2lOgB1gSX0/y6tfM+EwXRAc60GSZ8SVuuZqVjUnR ltp0mnXYGs1C8YlZpBSNJHhHe2fZDkfvw3n1WsVQp4dWkZoRKxBkECCIOchAk+83Dh4o EdJKesNNV+2lKuLX6NiIoCfbgVR8TZv6ehMU1YksA6gFN2kOs9Gp7Vyqsqxv/q+K9xF9 dusmqOrChIQbderFd0G1Y+yRZx+I/3+WPLhKAsSiBO+0RPTzZh0PW8g7vp8TO/idpYiP 79rbZZDfCYn85RmG/Kv71WIL62dEkMqZ1kDBrme6eUcIU7O6HEvg34cfv6AkwR6RKEv4 s+Ng== X-Received: by 10.68.136.138 with SMTP id qa10mr51593322pbb.117.1374811863014; Thu, 25 Jul 2013 21:11:03 -0700 (PDT) Original-Received: from debian-6.05 ([115.242.201.175]) by mx.google.com with ESMTPSA id at2sm968499pac.11.2013.07.25.21.10.59 for (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Thu, 25 Jul 2013 21:11:02 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:76669 Archived-At: 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 rgm@gnu.org-20130726015506-xqc4ksyjl4qxvh8f 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