[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#50976: 28.0.50; Tramp read-file-name regression
From: |
Juri Linkov |
Subject: |
bug#50976: 28.0.50; Tramp read-file-name regression |
Date: |
Sat, 02 Oct 2021 22:19:25 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) |
This is a recent regression. When visiting a remote Dired buffer,
marking one file with C-SPC (set-mark-command), then moving point
to another Dired file, then typing '=' (dired-diff) and 'RET'
fails with the error "Attempt to compare the file to itself".
This is because 'read-file-name' in the interactive spec of 'dired-diff'
now returns the remote directory name after typing RET,
while some time ago it correctly returned the default file name,
that is the marked file that was used as the arg 'file' of 'dired-diff'.
In local filesystems, RET still correctly returns the default file,
not a directory name as it does now for remote directories.
- bug#50976: 28.0.50; Tramp read-file-name regression,
Juri Linkov <=