Subject: Re: bug#44682: 28.0.50; dired on file with space first: dired-get-file-for-visit: File no longer exists; type ‘g’ to update Dired buffer

From: Eli Zaretskii <[email-masked]>
Date: Mon, 16 Nov 2020 19:20:49 +0200

> Date: Mon, 16 Nov 2020 15:21:15 +0300
> From: Jean Louis <[email-masked]>
> 
> The directory folder has probably a space in the name. It is hard to
> know for me who made this directory and how. People are using their
> GUI.
> 
> Error in Dired is:
> dired-get-file-for-visit: File no longer exists; type ‘g’ to update Dired buffer
> 
> It should be possible to handle such directories.
> 
>   /scp:root@room:/home/study/Movies:
>   total used in directory 879904 available 26.5 GiB
>   drwxr-xr-x  2 study study      4096 Nov 14 14:47  folder
>   drwxr-xr-x  4 study study      4096 Nov 16 15:17 .
>   drwx------ 20 study study      4096 Nov 14 14:47 ..
> C -rw-------  1 study study 901000535 Nov 16 14:41 Ralph Breaks the Internet.mkv
>   drwxr-xr-x  2 study study      4096 Sep 21 03:17 Zathura A Space Adventure (2005)

Please tell what you tried that triggered this error, and on which
name in the buffer.  Without this information, I don't see how we can
begin investigating.  FWIW, directories with embedded spaces work for
me in Dired, at least in general.