Subject: bug#18132: Time for a smarter dired-guess-shell-alist-default? (dired-x.el)

From: Eli Zaretskii <[email-masked]>
Date: Thu, 23 Nov 2023 21:40:38 +0200

> From: Juri Linkov <[email-masked]>
> Date: Thu, 23 Nov 2023 19:49:44 +0200
> 
> > Then its possible options for such hook could include:
> >
> > - xdg-open-function
> > - mailcap-function that adds mailcap candidates
> > - dired-x-guess that adds existing dired-guess-shell-alist-default
> > - Windows-specific candidates from w32-shell-execute
> > - etc.
> 
> Here is the implementation:

Thanks, but please don't put this stuff in simple.el.  There's no
reason to have this preloaded in Emacs.  And let's try to implement
this in a way that won't load mailcap, xdg, dired, and dired-aux
whenever shell-command is invoked.