all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Philip K." <philip@warpmail.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Updating dired-guess-shell-alist-default
Date: Tue, 07 Jul 2020 21:05:28 +0200	[thread overview]
Message-ID: <87y2nv403r.fsf@warpmail.net> (raw)
In-Reply-To: <833663rx2l.fsf@gnu.org> (message from Eli Zaretskii on Tue, 07 Jul 2020 21:37:06 +0300)

Eli Zaretskii <eliz@gnu.org> writes:

>> I think it doesn't make sense to duplicate the functionalities that
>> already exist in modern desktop environments, so I'd propose remapping
>> most media files to "xdg-open", if available, which should be the case
>> on GNU/Linux, *BSD and similar operating system. AFAIK macOS has "open",
>> but I don't know if windows has an equivalent for that kind of a
>> system.
>
> So you suggest to use xdg-open if it's available, and otherwise do
> what? leave the current associations intact? or something else?

That's what I wanted to discuss, if I had a concrete suggestion I would
have submitted a patch.

All in all, I think that xdg-open and similar commands are more
practical than for example xpdf, xloadimage, etc. Systems with xpdf,
xloadimage, etc. but without xdg-open are probably an extreme minority,
but nobody can say for sure -- and changes shouldn't come at their
expense.

I was thinking about improving the guessing system to support multiple
programs and check their existence. Assuming the structure of
dired-guess-shell-alist-default may be changed, it would seem like a
good compromise.

-- 
	Philip K.



  reply	other threads:[~2020-07-07 19:05 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-07  8:50 Updating dired-guess-shell-alist-default Philip K.
2020-07-07 14:19 ` Eli Zaretskii
2020-07-07 16:10   ` Philip K.
2020-07-07 18:37     ` Eli Zaretskii
2020-07-07 19:05       ` Philip K. [this message]
2020-07-07 19:24         ` Eli Zaretskii
2020-07-07 19:48           ` Stefan Monnier
2020-07-08  2:25             ` Eli Zaretskii
2020-07-08  4:12               ` Stefan Monnier
2020-07-07 19:52           ` Yuri Khan
2020-07-08  2:26             ` Eli Zaretskii
2020-07-08  2:48               ` Michael Welsh Duggan
2020-07-08  7:52                 ` tomas
2020-07-07 20:38           ` Philip K.
2020-07-08  2:28             ` Eli Zaretskii
2020-07-08  4:15               ` Stefan Monnier
2020-07-08 14:21                 ` Eli Zaretskii
2020-07-08 15:08                   ` Stefan Monnier
2020-07-08  8:28               ` Philip K.
2020-07-08 14:24                 ` Eli Zaretskii
2020-07-08 14:33                   ` Philip K.
2020-07-09 16:21 ` Philip K.
2020-07-11 10:07   ` Eli Zaretskii
2020-07-11 11:07     ` Philip K.
2020-07-11 11:15       ` Eli Zaretskii

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=87y2nv403r.fsf@warpmail.net \
    --to=philip@warpmail.net \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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.