GNU bug report logs - #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

Previous Next

Package: emacs;

Reported by: Jean Louis <bugs <at> gnu.support>

Date: Mon, 16 Nov 2020 12:22:01 UTC

Severity: minor

Found in version 28.0.50

Fixed in version 28.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 44682 <at> debbugs.gnu.org (full text, mbox):

From: Jean Louis <bugs <at> gnu.support>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 44682 <at> debbugs.gnu.org
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
Date: Mon, 16 Nov 2020 20:45:14 +0300
* Drew Adams <drew.adams <at> oracle.com> [2020-11-16 19:31]:
> > 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 <at> 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
> 
> FWIW, I don't see this problem on MS Windows, with Emacs 26.3.
> (dired-get-file-for-visit) just returns the absolute file name,
> with the space at the beginning of the relative file name,
> " folder".

(dired-get-marked-files) gives me:
("/scp:root <at> room:/home/study/Movies/folder")

But in console I can do:

$ cd " folder"

with space there, and I can enter inside.

So it must be space in front.




This bug report was last modified 4 years and 237 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.