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


Message #190 received at control <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 18132 <at> debbugs.gnu.org
Subject: Re: bug#18132: Time for a smarter dired-guess-shell-alist-default?
 (dired-x.el)
Date: Fri, 24 May 2024 20:56:05 +0300
close 18132 30.0.50
thanks

>> >> >> > 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.

So now pushed 'dired-guess-shell-alist-optional',
the 'E' keybinding and the item in the Dired menu,
and closed.




This bug report was last modified 1 year and 49 days ago.

Previous Next


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