From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: miha--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#58182: 29.0.50; rename-visited-file: Selecting a directory almost works Date: Thu, 29 Sep 2022 23:31:17 +0200 Message-ID: <87tu4puau2.fsf@miha-pc> Reply-To: miha@kamnitnik.top Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38001"; mail-complaints-to="usenet@ciao.gmane.io" To: 58182@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 29 23:18:16 2022 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 1oe0v9-0009gL-RT for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 29 Sep 2022 23:18:16 +0200 Original-Received: from localhost ([::1]:45554 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oe0v8-0001TB-Bp for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 29 Sep 2022 17:18:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40386) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oe0uw-0001T0-AS for bug-gnu-emacs@gnu.org; Thu, 29 Sep 2022 17:18:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40748) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oe0uw-0008H6-30 for bug-gnu-emacs@gnu.org; Thu, 29 Sep 2022 17:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oe0uv-0000rI-Pp for bug-gnu-emacs@gnu.org; Thu, 29 Sep 2022 17:18:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: miha@kamnitnik.top Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 29 Sep 2022 21:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58182 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.16644862523257 (code B ref -1); Thu, 29 Sep 2022 21:18:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 29 Sep 2022 21:17:32 +0000 Original-Received: from localhost ([127.0.0.1]:39826 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oe0uS-0000qS-De for submit@debbugs.gnu.org; Thu, 29 Sep 2022 17:17:32 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:58028) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oe0uQ-0000qL-QX for submit@debbugs.gnu.org; Thu, 29 Sep 2022 17:17:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37454) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oe0uQ-0001SY-Gh for bug-gnu-emacs@gnu.org; Thu, 29 Sep 2022 17:17:30 -0400 Original-Received: from kamnitnik.top ([2001:19f0:5001:bf2:5400:2ff:fee0:2626]:60646) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oe0uP-0008GE-0O for bug-gnu-emacs@gnu.org; Thu, 29 Sep 2022 17:17:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kamnitnik.top; s=mail; t=1664486242; bh=kXRujDtwBDnn0on/juKleCMA7LnkNhV8X0GGC/8pno0=; h=From:To:Subject:Date:From; b=v/TJ8j0JXv1qWqFSSxUX7ASsF7SeqIa8Gm5pCIFb23zKEdgq+c+4mwWRst4povcK4 rAxhG5klpEPf7CeqK3C076AMWAacxXpdQJSuStwDd+glNh+20HFawjfEuUxotpkejV 5XvcOzwG+8/9ubnp0Z3rqSkMbgyewj2aR+cqhvFcECDt6iPGzwxiUuNlryZqPPNIoU hQnZg/KFLd+l3ZA55nFH5Xrd+1fr28Jjcd5GhCuLsxkHmwb51ZqZ2t6/QZFKR7EKm4 7p88ZxPXPRDPDWiSWvWUOJZRI/WzBNBdWAa4pb5pTIeKhZyeE0kOMzdfGS9G97OhIy OC6QuxgKDsfvw== Received-SPF: pass client-ip=2001:19f0:5001:bf2:5400:2ff:fee0:2626; envelope-from=miha@kamnitnik.top; helo=kamnitnik.top X-Spam_score_int: 0 X-Spam_score: -0.1 X-Spam_bar: / X-Spam_report: (-0.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_SUSPICIOUS_NTLD=0.001, FROM_SUSPICIOUS_NTLD_FP=1.999, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_PDS_OTHER_BAD_TLD=0.01 autolearn=no 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:243955 Archived-At: --=-=-= Content-Type: text/plain Visit an existing file and type M-x rename-visited-file RET /path/to/existing/directory/ending/with/slash/ RET and notice that the command half succeeds. The file is successfully copied to the target directory, because 'rename-file' handles directories. 'set-visited-file-name' doesn't handle directories and signals an error. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJHBAEBCAAxFiEEmxVnesoT5rQXvVXnswkaGpIVmT8FAmM2DqUTHG1paGFAa2Ft bml0bmlrLnRvcAAKCRCzCRoakhWZP/Z6D/9LAqCTUP1cDsZVgKNkPCDXqgyfq7Ma puZp2J+cEd+rEQlHcp4JkvlgV9GeYtimABoF83AdQbWYZ2OdIuvLpZbWAbAiBdlm zB2LV7mjB2ppOA/EJNjyPBS1zqjTi3waaApfynqMW9YA8JMoTeIK7YLPAvoAyQOC X28AaoRLdbTnHJlDZRUwpGfPGZLR7DIAwONUqFLTZaUWo/sjoFlrhytWAZpPH/Yh /aY4LSLPIdHh77yFmqFCA4MrAerNyAx/DSEn07BaynOG//KQs0FEDyX15cUywIvf E6z75jOiu0Ay7QOG9VF6bFOk664YWvhmUMCxw9qfcp12sCgr4ga4t+tcOnWpElnM qS3SoHztsc/yC+zkA3MLUrRcoUyQDog/nDPHWSMaC+5lS8kFHJX+LT4NOBZccS/H HP7ptWHpLjOxqz6hcwdBC+TN1b7jgmrB/TQRDwv6Ny+XfHe5JY+VXCghGyPGkgma o+jqvCPQZLa35bieyTFVUyBWVWJ4gr3hNPxHEmoMfUd+kmRDaTeuirWReHbyORx5 A2+k8bBKvdPxuI3M2dz+9YId0QOzdxaTjJ6bptq12Afcyzj1JFSut0s5KkfFfv5Z tW4qYws1IujIgPrDvrmOyWBZxryuTZYI83Fv8BtiPbhOkFWoth0TPAfS6WSe9/ub mekerWzlYl1ytA== =BaOR -----END PGP SIGNATURE----- --=-=-=--