[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: find-file for file that was deleted, when visiting buffer still exis
From: |
Drew Adams |
Subject: |
RE: find-file for file that was deleted, when visiting buffer still exists |
Date: |
Sun, 4 Mar 2007 20:57:36 -0800 |
> 1. Visit a file `foo' in a buffer. Close the window, but
> don't kill the buffer.
>
> 2. Delete file `foo' (e.g. `delete-file' or some other way
> that doesn't also kill the buffer).
>
> 3. `C-x C-f foo'
>
> Perhaps it should visit the buffer foo, and give a warning that the
> file no longer exists. That seems better to me. Does anyone
> disagree?
Yes, that sounds good.
Should find-file-noselect do that directly? Always, or only when called from
a command initiated interactively?