[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
dired: renaming file on disk + file in emacs buffer
From: |
Luc Teirlinck |
Subject: |
dired: renaming file on disk + file in emacs buffer |
Date: |
Fri, 20 Aug 2004 12:02:10 -0500 (CDT) |
Jari Aalto wrote:
But, if file is moved to another directory:
case 2
C-x C-f ~/tmp/test.txt
C-x d ~/tmp => rename "R" test.txt to ~/tmp/moved/test2.txt
=> New filename is NOT reflected in buffer vising the file
Which version of Emacs are you using? In Emacs CVS, if I do this, the
buffer ends up named "test2.txt" and its default directory is now
~/tmp/moved, all as expected.
Sincerely,
Luc.