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: Tue, 25 Oct 2022 10:56:08 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000f7513d05ebd814e7" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33261"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58758@debbugs.gnu.org To: Filipp Gunbin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 25 11:13:41 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 1onG0C-0008QR-JF for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 25 Oct 2022 11:13:40 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1onFoU-0002rN-7B; Tue, 25 Oct 2022 05:01:42 -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 1onFk6-000621-Rk for bug-gnu-emacs@gnu.org; Tue, 25 Oct 2022 04:57: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 1onFk6-0000TI-Jq for bug-gnu-emacs@gnu.org; Tue, 25 Oct 2022 04:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1onFk6-00049r-7P for bug-gnu-emacs@gnu.org; Tue, 25 Oct 2022 04:57: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: Tue, 25 Oct 2022 08:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58758 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 58758-submit@debbugs.gnu.org id=B58758.166668820215958 (code B ref 58758); Tue, 25 Oct 2022 08:57:02 +0000 Original-Received: (at 58758) by debbugs.gnu.org; 25 Oct 2022 08:56:42 +0000 Original-Received: from localhost ([127.0.0.1]:50359 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1onFjj-00049H-CM for submit@debbugs.gnu.org; Tue, 25 Oct 2022 04:56:42 -0400 Original-Received: from mail-ej1-f44.google.com ([209.85.218.44]:40847) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1onFjW-00048s-KO for 58758@debbugs.gnu.org; Tue, 25 Oct 2022 04:56:38 -0400 Original-Received: by mail-ej1-f44.google.com with SMTP id kt23so5219843ejc.7 for <58758@debbugs.gnu.org>; Tue, 25 Oct 2022 01:56:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=JOXNdqSSABGub+drYZDAXv6CemT1e0vzLwJyMpwd1pQ=; b=fiNixiGZMqVQAt5T24ECN0sNSs9O+1LreYlxmSfUMp/g1dXeCIvgwPeoqfRqbNlzd5 vkcvwpPvhCYBZgS/HIGAQQ5ypk/kE6pLrYlYwoiflTe56TYuoflTqSRdl9Zd34qD/zOm cyVPNgT2aqyyDQhVItMpFuhCYYBpXLw9GDXSeKfXYlKFDq8POZvwvynYN330YK4heUPR CDgQVo7OOxROywuc1FpZ4RXvDBKEE/cly7MP46ibPdogrWEcscZCQ1fxP3QbooyGEHPP LxOgQ0Ac0OOWpeIrMUitysUt/8ovIYyqdMv0aa8yTXe8F9JIlD3zuKL+sTVO7RjrfEp2 +hgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=JOXNdqSSABGub+drYZDAXv6CemT1e0vzLwJyMpwd1pQ=; b=X60Jow5DeRTvisFs+aZmWBTGBm4afetME0XOcXR8toeINtWjkSQVU7pMLGmkBSV+3K xZy+WboUAoglOvp7Li9aFjsRgumB7FH7PHZAZMUhyzbuPIjkKz+AuGZBszYIOp0dgf6g 97r+WHumeIMhBhpmxTfLPATnfCat+cy8umE3J4dIw0auCDVdRz+wJ7gTlkMN6xefPWIv nDCUx/q00PZOq5lzikIXoQwfXo4fvQPtR28PmuQlc1zFugBB9YsaBilrAdy/6VDclHpk seUNAO+7g+EraSjS03/yDnKCXcO+V4RlaJe2gL/tE3828o20w8KD/xXnhY20PuFNjBqP tQSQ== X-Gm-Message-State: ACrzQf1QiTa3FlVWZkB/1irPaRtEr3Qn7zqsjan2C6JKXL+n4VwoWKDY ewLWr6tA/6CYf/Jn9pR8p+H4iZc7C/oZEBw4ng== X-Google-Smtp-Source: AMsMyM7Qw4ynqf5UwtndKErIdx0zmLo2mT8NixPfWiOn0c16KCthC0tCeMwnHz9H354WQIKCTpu8iEZCLJcgmjXbymM= X-Received: by 2002:a17:907:7b95:b0:731:113a:d7a2 with SMTP id ne21-20020a1709077b9500b00731113ad7a2mr30468181ejc.377.1666688180768; Tue, 25 Oct 2022 01:56:20 -0700 (PDT) In-Reply-To: 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:246134 Archived-At: --000000000000f7513d05ebd814e7 Content-Type: text/plain; charset="UTF-8" Rebuilt Emacs from the latest Git commit, doesn't happen anymore. Maybe it got fixed as a side-effect of this commit (06.10): 87301f2623 Better support for remote file names in dired Paul On Tue, 25 Oct 2022 at 04:15, Filipp Gunbin wrote: > On 24/10/2022 17:01 +0200, Paul Pogonyshev wrote: > > > 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 > > I cannot reproduce this with latest master, ssh-ing to Debian Bullseye. > > Perhaps you should give more details about your target machine. > > Thanks. > --000000000000f7513d05ebd814e7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Rebuilt Emacs from the latest Git commit, doesn't happ= en anymore. Maybe it got fixed as a side-effect of this commit (06.10):
87301f2623 Better support for remote file names in dired

Paul

<= div dir=3D"ltr" class=3D"gmail_attr">On Tue, 25 Oct 2022 at 04:15, Filipp G= unbin <fgunbin@fastmail.fm>= ; wrote:
On 24/1= 0/2022 17:01 +0200, Paul Pogonyshev wrote:

> 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 comman= ds in
> such a way they cannot succeed.
>
> For comparison, M-! "ls XYZ" RET works fine.
>
> Paul

I cannot reproduce this with latest master, ssh-ing to Debian Bullseye.

Perhaps you should give more details about your target machine.

Thanks.
--000000000000f7513d05ebd814e7--