David Kastrup writes: > Jay Belanger writes: > >> michael@cadilhac.name (Michaël Cadilhac) writes: >> >>> David Kastrup 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. > > I think Michaël assumed that I meant to open an _existing_ file. Worse, I misread the RET : I did C-x C-f a.txt RET *RET* C-x C-s ; sorry my bad. If I have to create an empty file, I do C-x C-f a.txt RET RET then save ; this is why I did that. The ... unnatural way (but Emacs way) to do it is probably : C-x C-f a.txt RET C-u M-~ C-x C-s My opinion is that Emacs is doing TRT. But I may be influenced by some years of practice :-) -- | Michaël `Micha' Cadilhac | Un certain Blaise Pascal | | Epita/LRDE Promo 2007 | etc... etc... | | http://michael.cadilhac.name | -- Prévert (Les paris stupides) | `--JID: michael.cadilhac@gmail.com--' - --'