[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#32325: 27.0.50; dired-create-directory: timing issue in remote machi

From: Tino Calancha
Subject: bug#32325: 27.0.50; dired-create-directory: timing issue in remote machine
Date: Tue, 31 Jul 2018 14:02:13 +0900

X-Debbugs-Cc: address@hidden

emacs -Q -l dired-aux
;; Connect with Dired into a remote machine:
(dired "/ssh:address@hidden:PATH")

;; I) Create a directory
+ a/b RET

;; II) Right after run this:

(file-exists-p (dired-get-filename))
=> nil

;; Sometimes I get `t' sometimes `nil'.  Maybe a timing issue?
;; I see the problem just in remote machines; in my local box the
;; previous command always returns `t'.

;; Another way is change II) by simply:
;; That is, run `dired-find-file' as soon as the new directory shows up.
;; Sometimes you get the error:
dired-get-file-for-visit: File no longer exists; type ā€˜gā€™ to update Dired buffer

In GNU Emacs 27.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.22.11)
 of 2018-07-31
Repository rev1ision: 63ef79329935b790b9c8107125bce66e1f272c2e
Windowing system distributor 'The X.Org Foundation', version 11.0.11902000
System Description: Debian GNU/Linux 9 (stretch)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]