1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-22 07:09:54 +00:00
emacs/lisp/mail
Paul Eggert 26848af97f Simplify checks for xdg-open and xdg-email
browse-url's xdg-open detection was too picky on some GNU/Linux
desktops; see Bug#25778.  Simplify the code by assuming xdg-open works
if it is executable, as nowadays this is more likely to be correct than
trying to use heuristics from a few years ago.  Don't test for nohup: it
is ineffective nowadays, as xdg-open's child uses the default action for
SIGHUP even if xdg-open's invoker ignores SIGHUP.  While we're at it,
allow for Wayland here, as "emacs -nw" might be running in a non-X
Wayland terminal.
* lisp/mail/emacsbug.el (report-emacs-bug-can-use-xdg-email):
* lisp/net/browse-url.el (browse-url-can-use-xdg-open):
Simplify to a test for DISPLAY and whether the helper program is
executable.  Allow WAYLAND_DISPLAY as an option.
2017-03-09 19:02:35 -08:00
..
binhex.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
blessmail.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
emacsbug.el Simplify checks for xdg-open and xdg-email 2017-03-09 19:02:35 -08:00
feedmail.el Ensure that user-mail-address always has a value 2017-02-17 19:06:15 -05:00
flow-fill.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
footnote.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
hashcash.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
ietf-drums.el Make address parsing more robust 2017-01-25 21:21:40 +01:00
mail-extr.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
mail-hist.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
mail-parse.el Remove garbage from Content-Transfer-Encoding value (bug#25420) 2017-01-12 23:32:41 +00:00
mail-prsvr.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
mail-utils.el Remove overly broad element from default mail-dont-reply-to-names 2017-02-13 23:36:17 -08:00
mailabbrev.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
mailalias.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
mailclient.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
mailheader.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
metamail.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
mspools.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
qp.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
reporter.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
rfc822.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
rfc2045.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
rfc2047.el Remove dead code from rfc2047 2017-01-26 22:52:16 +01:00
rfc2231.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
rfc2368.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
rmail-spam-filter.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
rmail.el Ensure that user-mail-address always has a value 2017-02-17 19:06:15 -05:00
rmailedit.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
rmailkwd.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
rmailmm.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
rmailmsc.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
rmailout.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
rmailsort.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
rmailsum.el Ensure that user-mail-address always has a value 2017-02-17 19:06:15 -05:00
sendmail.el Set default when asking for send-mail-function (Bug#25874). 2017-03-06 23:06:29 -05:00
smtpmail.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
supercite.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
uce.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
undigest.el Avoid add-to-list on local variables 2017-01-04 00:40:45 -05:00
unrmail.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
uudecode.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
yenc.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00