all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: "Jan Djärv" <jan.h.d@swipnet.se>
Cc: 9779@debbugs.gnu.org
Subject: bug#9779: No usable browser found on Lubuntu
Date: Thu, 20 Oct 2011 01:42:02 +0300	[thread overview]
Message-ID: <87lisgy56t.fsf@mail.jurta.org> (raw)
In-Reply-To: <BC66BFDC-C804-4826-9E94-FD3C174496BE@swipnet.se> ("Jan \=\?iso-8859-1\?Q\?Dj\=E4rv\=22's\?\= message of "Wed, 19 Oct 2011 16:52:29 +0200")

>>>> 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 :)





  reply	other threads:[~2011-10-19 22:42 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-17 23:14 bug#9779: No usable browser found on Lubuntu Juri Linkov
2011-10-18  1:53 ` Stefan Monnier
2011-10-18  6:55   ` Juri Linkov
2011-10-18  8:12     ` Lawrence Mitchell
2011-10-18  9:09       ` Juri Linkov
2011-10-18  9:53       ` Jan Djärv
2011-10-18  9:04     ` Juri Linkov
2011-10-18 10:06       ` Jan Djärv
2011-10-18  9:58     ` Jan Djärv
2011-10-19  9:12       ` Juri Linkov
2011-10-19 14:52         ` Jan Djärv
2011-10-19 22:42           ` Juri Linkov [this message]
2011-10-18 13:17     ` Stefan Monnier
2011-10-18  5:37 ` Jan Djärv
2011-10-18  6:57   ` Juri Linkov
2011-10-18 13:16     ` Stefan Monnier
2011-10-19  9:10       ` Juri Linkov
2011-10-20 14:47     ` Nix
2011-10-20 18:41       ` Stefan Monnier
2011-10-20 20:08         ` Nix
2011-10-21 11:25           ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lisgy56t.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=9779@debbugs.gnu.org \
    --cc=jan.h.d@swipnet.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.