07/25/2009
Emacs 23: File name [Confirm]
In what is turning out to be a series of posts on great new features in emacs 23, I've got another one today.
When you hit C-x C-f somefile TAB RET, normally the filename will be completed and you'll open the correct file. However, in past emacs versions, if there were two files with different extensions (say somefile.c and somefile.h), it would open up an empty buffer called "somefile."
In the emacs 23, when you do the same thing, it will ask you to confirm that you actually want to open this file. It's saved me from opening a ton of non-existent files.
![]() |
| Are you sure? |
