[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Creating an empty file
From: |
Piet van Oostrum |
Subject: |
Re: Creating an empty file |
Date: |
Thu, 25 Jan 2007 23:14:40 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (darwin) |
>>>>> Kevin Rodgers <address@hidden> (KR) wrote:
>KR> Giorgos Keramidas wrote:
>>> On 2007-01-23 18:57, Micha?l Cadilhac <address@hidden> wrote:
>>>> Jay Belanger <address@hidden> writes:
>>>>> So are you suggesting that when saving a file whose buffer has not
>>>>> been changed, that Emacs should compare it to the disk file anyhow?
>>>>> I had always (always=for the last 10 seconds) thought that it didn't
>>>>> for efficiency reasons.
>>>> Well, the modification flag has a certain use that should be
>>>> preserved. What may be done is to add a var
>>>> `new-files-are-already-modified'.
>>>
>>> Do we really *need* this? The `C-x C-s' command will not save empty,
>>> new, unmodified files. The `C-x C-w' command will happily write empty
>>> files though...
>KR> `C-x C-w M-p RET', but only immediately after the new file was visited
>KR> (otherwise file-name-history may have been updated by an intervening
>KR> command).
`C-x C-w M-n RET' will not have that problem.
--
Piet van Oostrum <address@hidden>
URL: http://www.cs.uu.nl/~piet [PGP 8DAE142BE17999C4]
Private email: address@hidden
- Re: Creating an empty file, (continued)
- Re: Creating an empty file, martin rudalics, 2007/01/24
- Re: Creating an empty file, Giorgos Keramidas, 2007/01/24
- Re: Creating an empty file, Kevin Rodgers, 2007/01/25
- Re: Creating an empty file, Romain Francoise, 2007/01/25
- Re: Creating an empty file, Stefan Monnier, 2007/01/25
- Re: Creating an empty file, Richard Stallman, 2007/01/25
- Re: Creating an empty file, martin rudalics, 2007/01/25
- Re: Creating an empty file, Alfred M. Szmidt, 2007/01/25
- Re: Creating an empty file, Lennart Borgman (gmail), 2007/01/25
- Re: Creating an empty file, Richard Stallman, 2007/01/26
- Re: Creating an empty file,
Piet van Oostrum <=
Re: Creating an empty file, Michaƫl Cadilhac, 2007/01/23
Re: Creating an empty file, Leo, 2007/01/23