From: Paul Eggert <eggert@cs.ucla.edu>
To: jostein@kjonigsen.net, emacs-devel@gnu.org,
Michael Brand <michael.ch.brand@gmail.com>
Subject: Re: xdg-open in Emacs in Termux (Android)
Date: Tue, 15 May 2018 09:04:17 -0700 [thread overview]
Message-ID: <44f6ef5d-6cc6-6c41-6499-a2171a4144e0@cs.ucla.edu> (raw)
In-Reply-To: <1526372451.2841468.1372442024.5516108F@webmail.messagingengine.com>
On 05/15/2018 01:20 AM, Jostein Kjønigsen wrote:
>
> Are there another ways to detect a xdg-compliant runtime environment
> apart from these environment variables, which are also applicable to
> environments like Termux?
If there is such a way, it isn't supported by xdg-utils. See, for example:
https://cgit.freedesktop.org/xdg/xdg-utils/tree/scripts/xdg-utils-common.in
which uses the same method Emacs does in browse-url-can-use-xdg-open.
Perhaps Emacs could examine the value of the XDG_SESSION_TYPE
environment variable, or something like that. But this should be
coordinated with Termux and/or xdg-utils.
prev parent reply other threads:[~2018-05-15 16:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-13 10:48 xdg-open in Emacs in Termux (Android) Michael Brand
2018-05-15 8:20 ` Jostein Kjønigsen
2018-05-15 16:04 ` Paul Eggert [this message]
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=44f6ef5d-6cc6-6c41-6499-a2171a4144e0@cs.ucla.edu \
--to=eggert@cs.ucla.edu \
--cc=emacs-devel@gnu.org \
--cc=jostein@kjonigsen.net \
--cc=michael.ch.brand@gmail.com \
/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.