From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#9779: No usable browser found on Lubuntu Date: Thu, 20 Oct 2011 01:42:02 +0300 Organization: JURTA Message-ID: <87lisgy56t.fsf@mail.jurta.org> References: <87mxczb480.fsf@mail.jurta.org> <87y5wi3i0s.fsf@mail.jurta.org> <55B42646-E4B2-40A0-A904-8A322A2577AE@swipnet.se> <87vcrlgy78.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1319064490 21447 80.91.229.12 (19 Oct 2011 22:48:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 19 Oct 2011 22:48:10 +0000 (UTC) Cc: 9779@debbugs.gnu.org To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 20 00:48:03 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RGevb-00089W-9m for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Oct 2011 00:48:03 +0200 Original-Received: from localhost ([::1]:54627 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGeva-000057-J8 for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Oct 2011 18:48:02 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:38890) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGevX-00004r-9c for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2011 18:48:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RGevV-0004Sf-RG for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2011 18:47:59 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37037) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGevV-0004Sb-JM for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2011 18:47:57 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RGewY-0006SI-A3 for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2011 18:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Oct 2011 22:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9779 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9779-submit@debbugs.gnu.org id=B9779.131906450824772 (code B ref 9779); Wed, 19 Oct 2011 22:49:02 +0000 Original-Received: (at 9779) by debbugs.gnu.org; 19 Oct 2011 22:48:28 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RGevz-0006RV-Vc for submit@debbugs.gnu.org; Wed, 19 Oct 2011 18:48:28 -0400 Original-Received: from smarty.dreamhost.com ([208.113.175.8]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RGevw-0006RM-LP for 9779@debbugs.gnu.org; Wed, 19 Oct 2011 18:48:26 -0400 Original-Received: from ps18281.dreamhostps.com (ps18281.dreamhost.com [69.163.218.105]) by smarty.dreamhost.com (Postfix) with ESMTP id 8EEAA6E806E; Wed, 19 Oct 2011 15:47:18 -0700 (PDT) Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 508F8AC9400A; Wed, 19 Oct 2011 15:47:17 -0700 (PDT) In-Reply-To: ("Jan \=\?iso-8859-1\?Q\?Dj\=E4rv\=22's\?\= message of "Wed, 19 Oct 2011 16:52:29 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 19 Oct 2011 18:49:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:52882 Archived-At: >>>> So I propose the following patch (that also adds a missing customizable >>>> option for `browse-url-xdg-open' in `browse-url-browser-function'): >>>> >>>> === modified file 'lisp/net/browse-url.el' >>>> --- lisp/net/browse-url.el 2011-08-21 01:01:12 +0000 >>>> +++ lisp/net/browse-url.el 2011-10-18 06:54:01 +0000 >>>> @@ -247,6 +249,8 @@ (defcustom browse-url-browser-function >>>> :value browse-url-default-windows-browser) >>>> (function-item :tag "Default Mac OS X browser" >>>> :value browse-url-default-macosx-browser) >>>> + (function-item :tag "Preferred by xdg-open from Free Desktop" >>>> + :value browse-url-xdg-open) >>>> (function-item :tag "GNOME invoking Mozilla" >>>> :value browse-url-gnome-moz) >>>> (function-item :tag "Default browser" >>> >>> This part of the patch is redundant. browse-url-xdg-open is called by >>> browse-url-default-browser. >> >> `browse-url-default-browser' is just one of possible values of >> `browse-url-browser-function'. Like users might want to customize it >> to e.g. "Default Windows browser", is it likely that some users might want >> to customize it to "Default Free Desktop browser" selected by "xdg-open"? > > I don't get it. That is the default, so what is the point of customizing it to the default value? There is no point doing this now with the current implementation of `browse-url-default-browser' where one of the first things it does is to try to use `browse-url-xdg-open', so perhaps no one might want to customize it to `browse-url-xdg-open'. I proposed to add it just for completeness. But there is no urgent need to do this and anyway, this bug report is already closed :)