From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#5487: 23.1.91; rename-file is broken Date: Thu, 28 Jan 2010 17:41:01 +0100 Message-ID: <873a1qchcy.fsf@escher.home> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1264701233 8764 80.91.229.12 (28 Jan 2010 17:53:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Jan 2010 17:53:53 +0000 (UTC) To: 5487@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 28 18:53:50 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NaYOE-0002ai-SX for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 Jan 2010 18:42:47 +0100 Original-Received: from localhost ([127.0.0.1]:39618 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NaYOE-0007Vk-7A for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 Jan 2010 12:42:46 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NaXsq-0006VO-Lu for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2010 12:10:20 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NaXsl-0006TD-72 for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2010 12:10:19 -0500 Original-Received: from [199.232.76.173] (port=34752 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NaXsl-0006T5-0Z for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2010 12:10:15 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51844) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NaXsi-0003E5-TD for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2010 12:10:14 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NaXRR-00015R-M4; Thu, 28 Jan 2010 11:42:01 -0500 X-Loop: bug-gnu-emacs@gnu.org Resent-From: Stephen Berman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Jan 2010 16:42:01 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: report 5487 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.12646968854148 (code B ref -1); Thu, 28 Jan 2010 16:42:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Jan 2010 16:41:25 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NaXQp-00014o-TT for submit@debbugs.gnu.org; Thu, 28 Jan 2010 11:41:24 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NaXQl-00014f-Hd for submit@debbugs.gnu.org; Thu, 28 Jan 2010 11:41:21 -0500 Original-Received: from mx10.gnu.org ([199.232.76.166]:51280) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NaXQg-0008Gw-Tt for submit@debbugs.gnu.org; Thu, 28 Jan 2010 11:41:15 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NaXQe-0006Qs-3Z for submit@debbugs.gnu.org; Thu, 28 Jan 2010 11:41:14 -0500 Original-Received: from lists.gnu.org ([199.232.76.165]:55038) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NaXQd-0006Qi-PP for submit@debbugs.gnu.org; Thu, 28 Jan 2010 11:41:11 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NaXQd-0003wF-9h for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2010 11:41:11 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NaXQY-0003ul-Ry for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2010 11:41:10 -0500 Original-Received: from [199.232.76.173] (port=59114 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NaXQY-0003ue-LV for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2010 11:41:06 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]:34605) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1NaXQX-0006P0-WB for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2010 11:41:06 -0500 Original-Received: (qmail invoked by alias); 28 Jan 2010 16:41:02 -0000 Original-Received: from i59F5624D.versanet.de (EHLO escher.home) [89.245.98.77] by mail.gmx.net (mp016) with SMTP; 28 Jan 2010 17:41:02 +0100 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX19jN/kbFZtjjzgSCZ+rPXjVtIkEOD3MiLlYCEjZGO UoCOT3D2bnqwNk Original-Received: by escher.home (Postfix, from userid 1000) id 2CB7C10348; Thu, 28 Jan 2010 17:41:01 +0100 (CET) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.48999999999999999 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -4.9 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list X-Spam-Score: -5.0 (-----) Resent-Date: Thu, 28 Jan 2010 11:42:01 -0500 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:34772 Archived-At: 1. Make a non-directory file "test" in ~. 2. emacs -Q 3. M-x rename-file RET ~/test RET /some-dir-on-a-different-partition =>error "copy-directory: Opening directory: not a directory, /home/steve/test" The file "test" remains in ~, and in /some-dir-on-a-different-partition there is a new empty directory "test". I strongly suspect this is due to this change (but I haven't had time to revert it and rebuild Emacs to test my suspicion): 2010-01-27 David De La Harpe Golden * fileio.c (Frename_file): Call copy-directory and delete-directory for directories, in order to handle cross-device renaming (Bug#3353). In GNU Emacs 23.1.91.3 (i686-pc-linux-gnu, GTK+ Version 2.18.1) of 2010-01-27 on escher Windowing system distributor `The X.Org Foundation', version 11.0.10605000 Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=local locale-coding-system: utf-8-unix default enable-multibyte-characters: t