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: Eli Zaretskii <eliz <at> gnu.org>
To: Juri Linkov <juri <at> linkov.net>
Cc: 18132 <at> debbugs.gnu.org
Subject: bug#18132: Time for a smarter dired-guess-shell-alist-default? (dired-x.el)
Date: Fri, 24 May 2024 10:31:48 +0300
> From: Juri Linkov <juri <at> linkov.net>
> Cc: 18132 <at> debbugs.gnu.org
> Date: Fri, 24 May 2024 09:44:52 +0300
> 
> >> >> > What about optionally letting the system facilities present the menu
> >> >> > of appropriate commands and let the user select from that menu?
> >> >>
> >> >> This is already implemented by the context menu in Dired.
> >> >> I've checked that the contents of this context menu is exactly
> >> >> the same as on the default OS file manager since both use XDG.
> >> >
> >> > Can you tell me how to try that starting from "emacs -Q"?
> >>
> >> You can move to e.g. a PDF file in a Dired buffer and click the right button.
> >
> > Thanks, I added a w32-shell-execute item to that menu.
> 
> But w32-shell-execute is supposed to be in 'dired-do-open'
> that corresponds to "Open" in the context menu.

"Open" corresponds to w32-shell-execute call with 1st argument "open",
not "openas" (which is what I added).  And AFAICT, dired-do-open does
exactly that, so we are okay, I think.

> BTW, it would be nice to have a keybinding for 'dired-do-open'.
> For example, the big "E" (mnemonics "External") is free
> in 'dired-mode-map'.

Fine by me.




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.