unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#58758: dired command ! fails in a remote directory
@ 2022-10-24 15:01 Paul Pogonyshev
  2022-10-25  2:15 ` Filipp Gunbin
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Pogonyshev @ 2022-10-24 15:01 UTC (permalink / raw)
  To: 58758

[-- Attachment #1: Type: text/plain, Size: 507 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 716 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#58758: dired command ! fails in a remote directory
  2022-10-24 15:01 bug#58758: dired command ! fails in a remote directory Paul Pogonyshev
@ 2022-10-25  2:15 ` Filipp Gunbin
  2022-10-25  8:56   ` Paul Pogonyshev
  0 siblings, 1 reply; 4+ messages in thread
From: Filipp Gunbin @ 2022-10-25  2:15 UTC (permalink / raw)
  To: Paul Pogonyshev; +Cc: 58758

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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#58758: dired command ! fails in a remote directory
  2022-10-25  2:15 ` Filipp Gunbin
@ 2022-10-25  8:56   ` Paul Pogonyshev
  2022-10-25 10:10     ` Stefan Kangas
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Pogonyshev @ 2022-10-25  8:56 UTC (permalink / raw)
  To: Filipp Gunbin; +Cc: 58758

[-- Attachment #1: Type: text/plain, Size: 1043 bytes --]

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 <fgunbin@fastmail.fm> 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.
>

[-- Attachment #2: Type: text/html, Size: 1543 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#58758: dired command ! fails in a remote directory
  2022-10-25  8:56   ` Paul Pogonyshev
@ 2022-10-25 10:10     ` Stefan Kangas
  0 siblings, 0 replies; 4+ messages in thread
From: Stefan Kangas @ 2022-10-25 10:10 UTC (permalink / raw)
  To: Paul Pogonyshev, Filipp Gunbin; +Cc: 58758-done

Paul Pogonyshev <pogonyshev@gmail.com> writes:

> 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

OK, closing.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-10-25 10:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-24 15:01 bug#58758: dired command ! fails in a remote directory Paul Pogonyshev
2022-10-25  2:15 ` Filipp Gunbin
2022-10-25  8:56   ` Paul Pogonyshev
2022-10-25 10:10     ` Stefan Kangas

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).