From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Paul Pogonyshev Newsgroups: gmane.emacs.bugs Subject: bug#58758: dired command ! fails in a remote directory Date: Mon, 24 Oct 2022 17:01:03 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000025423b05ebc910a5" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23448"; mail-complaints-to="usenet@ciao.gmane.io" To: 58758@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 24 18:18:31 2022 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 1on09l-0005tt-JK for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 24 Oct 2022 18:18:29 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1omyxp-0002fu-EJ; Mon, 24 Oct 2022 11:02:05 -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 1omyxn-0002fX-R4 for bug-gnu-emacs@gnu.org; Mon, 24 Oct 2022 11:02:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1omyxm-0004ET-Hb for bug-gnu-emacs@gnu.org; Mon, 24 Oct 2022 11:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1omyxm-0000vH-2v for bug-gnu-emacs@gnu.org; Mon, 24 Oct 2022 11:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Pogonyshev Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Oct 2022 15:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58758 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16666236983515 (code B ref -1); Mon, 24 Oct 2022 15:02:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Oct 2022 15:01:38 +0000 Original-Received: from localhost ([127.0.0.1]:49264 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1omyxO-0000ud-7G for submit@debbugs.gnu.org; Mon, 24 Oct 2022 11:01:38 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:50508) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1omyxM-0000uV-1u for submit@debbugs.gnu.org; Mon, 24 Oct 2022 11:01:36 -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 1omyx9-0002Wl-UR for bug-gnu-emacs@gnu.org; Mon, 24 Oct 2022 11:01:26 -0400 Original-Received: from mail-ej1-x62b.google.com ([2a00:1450:4864:20::62b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1omyx6-00046G-Md for bug-gnu-emacs@gnu.org; Mon, 24 Oct 2022 11:01:23 -0400 Original-Received: by mail-ej1-x62b.google.com with SMTP id kt23so119877ejc.7 for ; Mon, 24 Oct 2022 08:01:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=gZgOvP6C4cwvsKZryTL//awAd1F4HuHoM++ctpvh/v4=; b=L8V0xOFxSAbEJgsUAFJzqlgfHwO0Iiaht1Pv7r37Z+GEoz9AeM8or2kwcNgELRTkzw UuHIk2IL/y8P80FVywyRjwc3LsvEydI9Gle0Z5nPY9N6IbRoEm+YdTLmCHL8UA2MK5Su fXUOE6ESGKfqXaP/80Dc3vB7I5ILAK6ZXJMrcTYkvLxRMmGgNqAbnlJSKhWLmRB7uBdn 04eqqFuVJRgGM4pFt4wjU2swPurTHT+2xLbVy1pXcguteXEPrQrmEXcjIE1zMHM1/yf4 jDU/lOj6F+9V5ThpgE3C5Ag1gKOotvt8aaX0Vp89PhCFJ0w4cN5QZfQIe8ndJvvVCI00 DlVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=gZgOvP6C4cwvsKZryTL//awAd1F4HuHoM++ctpvh/v4=; b=DZxVH0cBI+HR6M7mbq9Pjj/iAxxwn7y/zJ+eAHMxqVf+3BYn3gRNR9CT9NGgBJpO6e 3i26Pb4S5TOsPV1tTadfk46Sg8jSQ7d6pJ9jNSXjjyBDajiVO1yJSzt2Gyx+BeXkEfBk Fi9EKCcDcPMAZK3yMHV3sI4V21E9uZ8lMefQOzMjd68OT0THZ1RbPv5Fs7qpfuUNuJ1Q ulLAyAITq8YbG5CQklLG4ff7nY7qXTf1EhVTfZA8fmwMqsu1It6+anz8L5gdC0gMJw9V WJpM/90hExU9dwuNHp/FshkbJu4uRD7VdU8DeBSJfLVVgJSSnFACQPTLgVqTw/Lbr4A7 hEDg== X-Gm-Message-State: ACrzQf2clLJR6uVtHXEf1sJsgxz5uixyALhVLVEyJOX2iiN5ARfKiyqL WOM6dBXyrnaOBUS6tBya1jHSFXh1jT2Jko/AHkUZULrL/A== X-Google-Smtp-Source: AMsMyM4dcjmuZt7bhBXTQXNnUczuL8VIkRR2IpvQT0a2JLYtjVDvhSpF4x8htMiolcVvp/ee/+QuPhoeNwIM35MEQaI= X-Received: by 2002:a17:907:7b95:b0:731:113a:d7a2 with SMTP id ne21-20020a1709077b9500b00731113ad7a2mr27090189ejc.377.1666623675382; Mon, 24 Oct 2022 08:01:15 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::62b; envelope-from=pogonyshev@gmail.com; helo=mail-ej1-x62b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Original-Sender: "bug-gnu-emacs" Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:246110 Archived-At: --00000000000025423b05ebc910a5 Content-Type: text/plain; charset="UTF-8" GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 2.24.33, cairo version 1.16.0) of 2022-09-14 To reproduce: 1. $ emacs -Q /ssh:ANY-REMOTE-DIRECTORY-WITH-FILES 2. Move point to a file, let's say it is called XYZ 3. Run ! "ls" RET -> 'ls' gives an error, because it gets a Emacs-style remote path, which it of course doesn't understand. So, Emacs command doesn't fail per se, but it invokes shell commands in such a way they cannot succeed. For comparison, M-! "ls XYZ" RET works fine. Paul --00000000000025423b05ebc910a5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+= Version 2.24.33, cairo version 1.16.0) of 2022-09-14

To reproduce:

1. $ emacs -Q /ssh:ANY-REMOTE-DIRECTORY= -WITH-FILES
2. Move point to a file, let's say it is called X= YZ
3. Run ! "ls" RET -> 'ls' gives an error,= because it gets a Emacs-style remote path, which it of course doesn't = understand.

So, Emacs command doesn't fail per= se, but it invokes shell commands in such a way they cannot succeed.
=

For comparison, M-! "ls XYZ" RET works fine.<= /div>

Paul
--00000000000025423b05ebc910a5--