From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: eww Date: Wed, 19 Jun 2013 02:40:12 +0300 Organization: JURTA Message-ID: <87y5a755e4.fsf@mail.jurta.org> References: <87d2rkb1pi.fsf@fleche.redhat.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1371600975 6455 80.91.229.3 (19 Jun 2013 00:16:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Jun 2013 00:16:15 +0000 (UTC) Cc: Tom Tromey , ding@gnus.org, emacs-devel To: Lars Magne Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 19 02:16:13 2013 Return-path: Envelope-to: ged-emacs-devel@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 1Up64L-0000W5-3i for ged-emacs-devel@m.gmane.org; Wed, 19 Jun 2013 02:16:13 +0200 Original-Received: from localhost ([::1]:33716 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Up64K-0000bv-FN for ged-emacs-devel@m.gmane.org; Tue, 18 Jun 2013 20:16:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48989) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Up64G-0000bf-TP for emacs-devel@gnu.org; Tue, 18 Jun 2013 20:16:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Up64F-0005g5-M9 for emacs-devel@gnu.org; Tue, 18 Jun 2013 20:16:08 -0400 Original-Received: from ps18281.dreamhost.com ([69.163.218.105]:39168 helo=ps18281.dreamhostps.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Up64F-0005f3-Gg for emacs-devel@gnu.org; Tue, 18 Jun 2013 20:16:07 -0400 Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 96D4F258B9E91C; Tue, 18 Jun 2013 17:16:04 -0700 (PDT) In-Reply-To: (Lars Magne Ingebrigtsen's message of "Tue, 18 Jun 2013 13:31:23 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-Received-From: 69.163.218.105 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:160620 gmane.emacs.gnus.general:83379 Archived-At: >> I'm interested in the possibility of replacing info with html+eww. > > As for this, that's not very realistic. info has a ton of commands > specially suited for navigating manuals, and does a really good job. > eww is a general web browser, and trying to shoe-horn all the missing > info functionality into it would be a mess, I think. There are two ways to integrate eww and info: 1. eww could support browser extensions, so e.g. when it detects a navigable manual, it could load a new extension eww-info.el that will support next/prev/up navigation and specific commands such as index and search, etc. 2. Info could reuse the layout engine from shr to render its content to produce nicer output. BTW, two additional questions: I noticed that in net/browse-url.el you added eww between Mosaic and Mosaic CCI in `browse-url-browser-function'. Why such a strange place? I think eww as a native browser deserves to be placed first in the list of supported browsers. Also while trying to customize `browse-url-browser-function' to eww, it fails to browse links. Perhaps, this should be fixed by creating a new function `browse-url-eww' similar to other `browse-url-...' functions? Another question is that `M-x eww RET http://duckduckgo.com/?q=my+user+agent RET' says that the user agent of eww is just "URL/Emacs". Any respectable browser has a longish text for the User-Agent. So its User-Agent would be more informative with something like "eww/5.130008 URL/1.1 Emacs/24.3.50 (gnu/linux)"...