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: Wed, 29 Nov 2023 09:09:07 +0200 Organization: LINKOV.NET Message-ID: <86v89lt6mk.fsf@mail.linkov.net> References: <83lf2k5gna.fsf@gnu.org> <83ilxn3qpo.fsf@gnu.org> <878ryizwyi.fsf@mail.linkov.net> <86y1eoxtrr.fsf@mail.linkov.net> <83leaofebt.fsf@gnu.org> <86edgfk37h.fsf@mail.linkov.net> <83zfz3dyae.fsf@gnu.org> <86h6l9zorh.fsf@mail.linkov.net> <838r6kby1m.fsf@gnu.org> <86msuz5cft.fsf@mail.linkov.net> <86ttp6j8ax.fsf@mail.linkov.net> <8334wp93ww.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="32219"; 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 Wed Nov 29 08:22:12 2023 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 1r8Etf-0008GA-VR for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 29 Nov 2023 08:22:11 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r8EtW-0003Qf-9H; Wed, 29 Nov 2023 02:22:02 -0500 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 1r8EtP-0003EF-5v for bug-gnu-emacs@gnu.org; Wed, 29 Nov 2023 02:21:56 -0500 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 1r8EtO-00022o-TE for bug-gnu-emacs@gnu.org; Wed, 29 Nov 2023 02:21:54 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r8EtW-0005If-6i for bug-gnu-emacs@gnu.org; Wed, 29 Nov 2023 02:22:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 29 Nov 2023 07:22:02 +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.170124246820297 (code B ref 18132); Wed, 29 Nov 2023 07:22:02 +0000 Original-Received: (at 18132) by debbugs.gnu.org; 29 Nov 2023 07:21:08 +0000 Original-Received: from localhost ([127.0.0.1]:48670 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8Esd-0005HH-Oz for submit@debbugs.gnu.org; Wed, 29 Nov 2023 02:21:08 -0500 Original-Received: from relay1-d.mail.gandi.net ([2001:4b98:dc4:8::221]:42633) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8EsT-0005GC-JL for 18132@debbugs.gnu.org; Wed, 29 Nov 2023 02:20:58 -0500 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id CCA35240002; Wed, 29 Nov 2023 07:20:43 +0000 (UTC) In-Reply-To: <8334wp93ww.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 28 Nov 2023 19:35:43 +0200") 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:275198 Archived-At: >> + ((eq system-type 'windows-nt) >> + "open") > > If this is supposed to be a shell command that can be invoked via the > likes of call-process and start-process, then this should be "start", > not "open" (the latter doesn't exist as an executable command on > Windows). Ok, will replace with "start", since only strings are used for commands. Usually context menus on file managers include two items: "Open" that opens immediately "Open With" with a list of commands So "start" will be used for "Open With" if someone prefers this. Then a new command 'dired-do-open' bound to the "Open" menu item will hard-code 'w32-shell-execute' call with the "open" command.