From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#50976: 28.0.50; Tramp read-file-name regression Date: Sat, 02 Oct 2021 22:19:25 +0300 Organization: LINKOV.NET Message-ID: <8735plort6.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20830"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) To: 50976@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 02 21:28:26 2021 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 1mWkgM-0005IE-Ix for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 02 Oct 2021 21:28:26 +0200 Original-Received: from localhost ([::1]:56906 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWkgL-0001re-J4 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 02 Oct 2021 15:28:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56606) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWkfy-0001nH-BF for bug-gnu-emacs@gnu.org; Sat, 02 Oct 2021 15:28:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49059) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mWkfy-00077o-06 for bug-gnu-emacs@gnu.org; Sat, 02 Oct 2021 15:28:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mWkfx-0000IA-Ov for bug-gnu-emacs@gnu.org; Sat, 02 Oct 2021 15:28:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Oct 2021 19:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50976 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16332028411056 (code B ref -1); Sat, 02 Oct 2021 19:28:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 Oct 2021 19:27:21 +0000 Original-Received: from localhost ([127.0.0.1]:60602 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWkfJ-0000Gy-FU for submit@debbugs.gnu.org; Sat, 02 Oct 2021 15:27:21 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:59542) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWkfH-0000Gq-Dg for submit@debbugs.gnu.org; Sat, 02 Oct 2021 15:27:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56372) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWkfH-0001Hy-7E for bug-gnu-emacs@gnu.org; Sat, 02 Oct 2021 15:27:19 -0400 Original-Received: from relay8-d.mail.gandi.net ([217.70.183.201]:44267) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWkfF-0004re-8e for bug-gnu-emacs@gnu.org; Sat, 02 Oct 2021 15:27:18 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 570781BF204 for ; Sat, 2 Oct 2021 19:27:11 +0000 (UTC) Received-SPF: pass client-ip=217.70.183.201; envelope-from=juri@linkov.net; helo=relay8-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:216196 Archived-At: 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.