|
From: | Kevin Rodgers |
Subject: | Re: Creating an empty file |
Date: | Tue, 23 Jan 2007 23:49:07 -0700 |
User-agent: | Thunderbird 1.5.0.9 (Macintosh/20061207) |
David Kastrup wrote:
Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the address@hidden mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: If I do C-x C-f somefile.txt RET C-x C-s in order to create and save an empty file, Emacs replies No changes need to be saved and does not actually save the file, even though saving the file would change the state on disk.
The doc string for `C-x C-s' and the sections of the Emacs manual about Visiting and Saving say that the file is written if the buffer is modified. Where do you see a reference to "the state on disk"? If you like, you can do: (add-hook 'find-file-not-found-functions (lambda () (set-buffer-modified-p t) nil)) Perhaps Emacs should have an option that does that for the user (default: NOT). -- Kevin Rodgers Denver, Colorado, USA
[Prev in Thread] | Current Thread | [Next in Thread] |