From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.bugs Subject: bug#44682: 28.0.50; dired on file with space first: dired-get-file-for-visit: File no longer exists; type =?UTF-8?Q?=E2=80=98g=E2=80=99?= to update Dired buffer Date: Mon, 16 Nov 2020 20:57:49 +0300 Message-ID: References: <83zh3hrzf2.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39367"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.0 (3d08634) (2020-11-07) Cc: 44682@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 17 07:52:24 2020 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 1keuqm-000A9m-1V for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 17 Nov 2020 07:52:24 +0100 Original-Received: from localhost ([::1]:46534 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1keuql-0000eA-3N for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 17 Nov 2020 01:52:23 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41700) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1keupU-0007rk-JC for bug-gnu-emacs@gnu.org; Tue, 17 Nov 2020 01:51:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46596) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1keupU-0004WJ-8k for bug-gnu-emacs@gnu.org; Tue, 17 Nov 2020 01:51:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1keupU-0007vS-7t for bug-gnu-emacs@gnu.org; Tue, 17 Nov 2020 01:51:04 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jean Louis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 17 Nov 2020 06:51:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44682 X-GNU-PR-Package: emacs Original-Received: via spool by 44682-submit@debbugs.gnu.org id=B44682.160559581430357 (code B ref 44682); Tue, 17 Nov 2020 06:51:04 +0000 Original-Received: (at 44682) by debbugs.gnu.org; 17 Nov 2020 06:50:14 +0000 Original-Received: from localhost ([127.0.0.1]:58134 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1keuof-0007tT-Ts for submit@debbugs.gnu.org; Tue, 17 Nov 2020 01:50:14 -0500 Original-Received: from static.rcdrun.com ([95.85.24.50]:53139) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1keuod-0007s1-MQ for 44682@debbugs.gnu.org; Tue, 17 Nov 2020 01:50:12 -0500 Original-Received: from localhost ([::ffff:41.202.241.56]) (AUTH: PLAIN admin, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by static.rcdrun.com with ESMTPSA id 00000000002C0006.000000005FB372A2.00006350; Tue, 17 Nov 2020 06:50:10 +0000 Content-Disposition: inline In-Reply-To: <83zh3hrzf2.fsf@gnu.org> 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:193520 Archived-At: * Eli Zaretskii [2020-11-16 20:21]: > > Date: Mon, 16 Nov 2020 15:21:15 +0300 > > From: Jean Louis > > > > 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)