From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#18132: Time for a smarter dired-guess-shell-alist-default? (dired-x.el) Date: Fri, 24 May 2024 09:44:52 +0300 Organization: LINKOV.NET Message-ID: <86fru7vivr.fsf@mail.linkov.net> References: <86ttp6j8ax.fsf@mail.linkov.net> <8334wp93ww.fsf@gnu.org> <86v89lt6mk.fsf@mail.linkov.net> <83leag7loj.fsf@gnu.org> <86o7f8ijnd.fsf@mail.linkov.net> <86y1eb8bi8.fsf@mail.linkov.net> <861qbz9r54.fsf@mail.linkov.net> <86fs0ef372.fsf@mail.linkov.net> <83y1e529a2.fsf@gnu.org> <86sf4db0wf.fsf@mail.linkov.net> <835y1915hl.fsf@gnu.org> <86r0jvbd26.fsf@mail.linkov.net> <86v836z8h6.fsf@mail.linkov.net> <86jzjm6mrb.fsf@gnu.org> <86h6epm9qj.fsf@mail.linkov.net> <867cfl576h.fsf@gnu.org> <86msogjuzv.fsf@mail.linkov.net> <8634q84cpa.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22020"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) Cc: 18132@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 24 08:46:13 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sAOgv-0005as-CY for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 24 May 2024 08:46:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sAOgh-00054n-3c; Fri, 24 May 2024 02:45:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sAOgd-00051H-62 for bug-gnu-emacs@gnu.org; Fri, 24 May 2024 02:45:57 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sAOgc-0008BL-SX for bug-gnu-emacs@gnu.org; Fri, 24 May 2024 02:45:54 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sAOgj-0004Wg-LN for bug-gnu-emacs@gnu.org; Fri, 24 May 2024 02:46:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 24 May 2024 06:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18132 X-GNU-PR-Package: emacs Original-Received: via spool by 18132-submit@debbugs.gnu.org id=B18132.171653315317392 (code B ref 18132); Fri, 24 May 2024 06:46:01 +0000 Original-Received: (at 18132) by debbugs.gnu.org; 24 May 2024 06:45:53 +0000 Original-Received: from localhost ([127.0.0.1]:35288 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sAOga-0004WS-Ir for submit@debbugs.gnu.org; Fri, 24 May 2024 02:45:52 -0400 Original-Received: from relay8-d.mail.gandi.net ([217.70.183.201]:49309) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sAOgY-0004WM-Qh for 18132@debbugs.gnu.org; Fri, 24 May 2024 02:45:51 -0400 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id AF4D91BF207; Fri, 24 May 2024 06:45:37 +0000 (UTC) In-Reply-To: <8634q84cpa.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 23 May 2024 21:15:13 +0300") X-GND-Sasl: juri@linkov.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:285742 Archived-At: >> >> > 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. 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'.