--- Begin Message ---
Subject: |
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:
f
;; 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)
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#32325: 27.0.50; dired-create-directory: timing issue in remote machine |
Date: |
Wed, 01 Aug 2018 23:15:13 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Version: 27.1
Tino Calancha <address@hidden> writes:
Hi Tino,
>> Indeed. Could you (Tino), pls, test the appended patch?
> Thank you Michael, your patch fixes the issue!
Thanks for the feedback, I've pushed the patch to master. Closing the
bug.
Best regards, Michael.
--- End Message ---