bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#5487: 23.1.91; rename-file is broken


From: Stephen Berman
Subject: bug#5487: 23.1.91; rename-file is broken
Date: Thu, 28 Jan 2010 17:41:01 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux)

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  <david@harpegolden.net>

        * 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







reply via email to

[Prev in Thread] Current Thread [Next in Thread]