all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jean Louis <bugs@gnu.support>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 44682@debbugs.gnu.org
Subject: 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:57:49 +0300	[thread overview]
Message-ID: <X7K9nR7FHstHyRvY@protected.rcdrun.com> (raw)
In-Reply-To: <83zh3hrzf2.fsf@gnu.org>

* Eli Zaretskii <eliz@gnu.org> [2020-11-16 20:21]:
> > Date: Mon, 16 Nov 2020 15:21:15 +0300
> > From: Jean Louis <bugs@gnu.support>
> > 
> > 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.

The buffer is on the above /scp:root@room:/home/study/Movies:

At first line there is folder indented for one space to the
right. Cursor is on that line.

If I press RET on that line I got that error:

dired-get-file-for-visit: File no longer exists; type ‘g’ to update Dired buffer

Typing g does does not help.

Space is at beginning of file, not in the middle of file.

When checking on local file system it works well. When checking on
Tramp scp file system that is where error comes. Other computer is on
GNU Hyperbola/Linux-libre, same as this one.

Debugger entered--Lisp error: (error "File no longer exists; type ‘g’ to update Dired bu...")
  signal(error ("File no longer exists; type ‘g’ to update Dired bu..."))
  error("File no longer exists; type `g' to update Dired bu...")
  dired-get-file-for-visit()
  dired-find-file()
  funcall-interactively(dired-find-file)
  call-interactively(dired-find-file nil nil)
  command-execute(dired-find-file)





  reply	other threads:[~2020-11-16 17:57 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-16 12:21 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 Jean Louis
2020-11-16 16:31 ` Drew Adams
2020-11-16 17:45   ` Jean Louis
2020-11-17 17:14     ` Drew Adams
2020-11-16 17:20 ` Eli Zaretskii
2020-11-16 17:57   ` Jean Louis [this message]
2020-11-17 15:05     ` Eli Zaretskii
2020-11-17  9:06 ` Andreas Schwab
2020-11-17  9:46   ` Jean Louis
2020-11-17 20:11   ` Michael Albinus
2020-11-18 10:40     ` Michael Albinus
2020-11-18 13:03       ` Jean Louis
2020-11-18 15:40         ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=X7K9nR7FHstHyRvY@protected.rcdrun.com \
    --to=bugs@gnu.support \
    --cc=44682@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.