emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating an empty file


From: David Kastrup
Subject: Re: Creating an empty file
Date: Tue, 23 Jan 2007 18:11:36 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Leo <address@hidden> writes:

> On 2007-01-23, Jay Belanger said:
>
>> address@hidden (Michaël Cadilhac) writes:
>>
>>> David Kastrup <address@hidden> writes:
>>>
>>>> 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.
>>>
>>> I can't reproduce it.
>>
>> I can, even with emacs -Q.
>> It seems natural, if possibly incorrect, behavior.
>
> I like this behavior. I prevent me from creating empty files.

Why would you type C-x C-s if you do not want to save the file?

-- 
David Kastrup




reply via email to

[Prev in Thread] Current Thread [Next in Thread]