From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bastien Newsgroups: gmane.emacs.devel Subject: Re: eww Date: Tue, 14 Jan 2014 20:39:27 +0100 Message-ID: <874n56jqts.fsf@bzg.ath.cx> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1389728383 7721 80.91.229.3 (14 Jan 2014 19:39:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Jan 2014 19:39:43 +0000 (UTC) Cc: lekktu@gmail.com, Lars Magne Ingebrigtsen , emacs-devel@gnu.org To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 14 20:39:49 2014 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 1W39pz-0002IS-Ec for ged-emacs-devel@m.gmane.org; Tue, 14 Jan 2014 20:39:47 +0100 Original-Received: from localhost ([::1]:50342 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W39py-0007fr-S8 for ged-emacs-devel@m.gmane.org; Tue, 14 Jan 2014 14:39:46 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57534) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W39pq-0007fg-Ik for emacs-devel@gnu.org; Tue, 14 Jan 2014 14:39:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W39pl-0007ob-77 for emacs-devel@gnu.org; Tue, 14 Jan 2014 14:39:38 -0500 Original-Received: from mail-we0-x22e.google.com ([2a00:1450:400c:c03::22e]:46574) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W39pl-0007oX-03; Tue, 14 Jan 2014 14:39:33 -0500 Original-Received: by mail-we0-f174.google.com with SMTP id x55so856816wes.19 for ; Tue, 14 Jan 2014 11:39:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type; bh=HyQzuozj5NF7/w4LRH9qpcxV8GuiqAK0sfVEfkSmDzU=; b=eHRK6nGPalALCvmfJdUs+g9BHBT4ccogpnXaQA5MhEBXMedzJGT0QShGNOCcVyFP9b v6F30zv+KzyAZWnvcb1hOzt95woWztgQ+i/QcC2pvmrk2KI5fb67QcBGQsRi7cyyocpv 5zyrVS4fyMKsLPzwkDFr8e38S7iQJzOzicHOkYC7cPKxy2vYc2a3b5uQ3EpAAoq0BFPN LmuMbeeyL9Vk4RK8YKEjbrI5tPLQPWLP6OupzdAV6aCsuOQiRF7y/XtgxHkHeVXLGhI1 csQ0jofYKIQP2ZFRhRqdAoDiVuLTb1fiidwifTE8jZRmJE1TJCCt1Orq9MJPDD3npksJ Q2OQ== X-Received: by 10.181.13.112 with SMTP id ex16mr15290073wid.23.1389728371800; Tue, 14 Jan 2014 11:39:31 -0800 (PST) Original-Received: from bzg.localdomain (mar75-2-81-56-68-112.fbx.proxad.net. [81.56.68.112]) by mx.google.com with ESMTPSA id jw4sm1376845wjc.20.2014.01.14.11.39.29 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Jan 2014 11:39:30 -0800 (PST) Original-Received: by bzg.localdomain (Postfix, from userid 1000) id C9F0D1C20860; Tue, 14 Jan 2014 20:39:27 +0100 (CET) In-Reply-To: (Richard Stallman's message of "Tue, 14 Jan 2014 12:05:54 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c03::22e 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:168388 Archived-At: Richard Stallman writes: > [[[ To any NSA and FBI agents reading my email: please consider ]]] > [[[ whether defending the US Constitution against all enemies, ]]] > [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > `browse-web' is the alias for `eww'. > > That's a good, natural name. However, the Emacs manual mentions > `eww', not `browse-web'. I think that is a bug and needs to be > fixed. Before we go and fix the manual, I think the way people chose the program for browsing the web can be made simpler. Having both `browse-url' and `browse-web' is confusing IMHO. What about: 1. replace the `browse-web' alias with `emacs-web-browser'. 2. let `browse-url' use `browse-url-graphical' or `browse-url-text' depending on whether (display-graphic-p) and on a a user option (if the user always want to use a text browser, for example.) 3. set the options `browse-url-graphical-alternatives' and `browse-url-text-alternatives' with `define-alternatives' which would offer relevant choices depending on what the user can use on its system. When hitting `browse-url' for the first time in a terminal, the user would have the choice between eww, w3 or w3m, for example. When hitting `browse-url' for the first time in a window system, the user would first have the choice to browse with a text browser, or a window browser, then between (text or window) browsers. C-u M-x browse-url RET would let him pick up another alternative by passing the prefix universal argument to browse-url-graphical or browse-url-text (for now the prefix tells whether to open a new window/tab in the browser.) It's probably a lot of work, but it would makes life easier for users. For now they rely on `browse-url' and will hardly hear of `browse-web', wondering why there is a separate interface. -- Bastien