unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#50976: 28.0.50; Tramp read-file-name regression
@ 2021-10-02 19:19 Juri Linkov
  2021-10-05 14:32 ` Michael Albinus
  0 siblings, 1 reply; 5+ messages in thread
From: Juri Linkov @ 2021-10-02 19:19 UTC (permalink / raw)
  To: 50976

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.





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-10-23 18:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-02 19:19 bug#50976: 28.0.50; Tramp read-file-name regression Juri Linkov
2021-10-05 14:32 ` Michael Albinus
2021-10-08 14:36   ` Michael Albinus
2021-10-23 13:29     ` Michael Albinus
2021-10-23 18:09       ` Juri Linkov

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).