From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Jan D." <jan.h.d@swipnet.se>
Cc: "Florian v. Savigny" <florian@fsavigny.de>,
18986-done@debbugs.gnu.org, Denis Howe <dbh@doc.ic.ac.uk>,
emacs development <emacs-devel@gnu.org>
Subject: bug#18986: Design bug in browse-url.el: browse-url-can-use-xdg-open's logic uses overly strict assumption
Date: Sat, 08 Nov 2014 13:05:54 -0500 [thread overview]
Message-ID: <jwva941k1rm.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <E1A681AD-2DC5-4143-B7ED-F179A8856D6B@swipnet.se> (Jan D.'s message of "Sat, 8 Nov 2014 18:19:37 +0100")
> It used to be that xdg-open just called the desktop version,
> i.e. gnome-open, kde-open and so on. It is not sufficient that xdg-open
> exists for the most part. We can't cater for every window manager out
> there, we have to go by the majority. If you can make xdg-open work, then
> making Emacs use it should be easy.
The problem was specifically that just having xdg-open installed doesn't
guarantee that the user has configured it.
The code currently approximate "is it configured" by checking the
desktop environment in use. It's clearly a gross hack (or a crude
approximation), so if you know a better way, we'd like to hear it.
Stefan
next prev parent reply other threads:[~2014-11-08 18:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-07 11:04 Design bug in browse-url.el: browse-url-can-use-xdg-open's logic uses overly strict assumption Florian v. Savigny
2014-11-08 17:19 ` bug#18986: " Jan D.
2014-11-08 18:05 ` Stefan Monnier [this message]
2014-11-15 12:31 ` Florian v. Savigny
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwva941k1rm.fsf-monnier+emacsbugs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=18986-done@debbugs.gnu.org \
--cc=dbh@doc.ic.ac.uk \
--cc=emacs-devel@gnu.org \
--cc=florian@fsavigny.de \
--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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).