|
From: | Kevin Rodgers |
Subject: | Re: Emacs ignores modified state of "untitled" buffer |
Date: | Thu, 20 May 2010 19:56:48 -0600 |
User-agent: | Thunderbird 2.0.0.24 (Macintosh/20100228) |
Drew Adams wrote:
What am I missing? What is wrong with just using (find-file "untitled")? If a buffer is associated with a file name (which is what `find-file' does) then Emacs asks you about saving it. What else is the OP asking for?
C-x C-s won't ask.
Everyone seems to be jumping through hoops here, and my mail with this simple suggestion was ignored, so I must not be getting it. I really would like to know what I'm missing.
I can think of a couple nuisances: * If the buffer gets saved to file "untitled", a subsequent invocation of emacs will visit that file, not an empty buffer.* Changes to the buffer will be auto-saved to the #untitled# file, and a subsequent invocation of emacs will ask to recover the file (if the 2 invocations are concurrent, or if the first invocation exited uncleanly).
-- Kevin Rodgers Denver, Colorado, USA
[Prev in Thread] | Current Thread | [Next in Thread] |