GNU bug report logs - #18132
Time for a smarter dired-guess-shell-alist-default? (dired-x.el)

Previous Next

Package: emacs;

Reported by: Reuben Thomas <rrt <at> sc3d.org>

Date: Mon, 28 Jul 2014 18:27:01 UTC

Severity: wishlist

Fixed in version 30.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Juri Linkov <juri <at> linkov.net>
To: Howard Melman <hmelman <at> gmail.com>
Cc: 18132 <at> debbugs.gnu.org
Subject: bug#18132: Time for a smarter dired-guess-shell-alist-default? (dired-x.el)
Date: Sun, 24 Oct 2021 22:08:43 +0300
> FWIW, my version is quite different:
>
>   (cond ((memq system-type '(darwin))
>          (call-process-shell-command (concat "open " (shell-quote-argument file))))
>         ((memq system-type '(windows-nt))
>          (w32-shell-execute "open" (convert-standard-filename file)))
>         ((memq system-type '(gnu/linux))
>          (call-process-shell-command (concat "xdg-open " (shell-quote-argument file))))

Indeed, these are good system-dependent default values for the new
hook-like user option.




This bug report was last modified 363 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.