From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: michael@cadilhac.name (=?iso-8859-1?Q?Micha=EBl?= Cadilhac) Newsgroups: gmane.emacs.devel Subject: Re: Creating an empty file Date: Tue, 23 Jan 2007 19:20:20 +0100 Organization: Epita/LRDE Message-ID: <87y7ntppuj.fsf@lrde.org> References: <86bqkphiyj.fsf@lola.quinscape.zz> <87odopr8ga.fsf@lrde.org> <87veixu2ep.fsf@vh213602.truman.edu> <861wllheo9.fsf@lola.quinscape.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0554788426==" X-Trace: sea.gmane.org 1169572860 15101 80.91.229.12 (23 Jan 2007 17:21:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 23 Jan 2007 17:21:00 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 23 18:20:48 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1H9PKA-00006m-LG for ged-emacs-devel@m.gmane.org; Tue, 23 Jan 2007 18:20:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H9PKA-0001XT-2P for ged-emacs-devel@m.gmane.org; Tue, 23 Jan 2007 12:20:46 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H9PJY-0000la-OT for emacs-devel@gnu.org; Tue, 23 Jan 2007 12:20:08 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H9PJX-0000kR-Qh for emacs-devel@gnu.org; Tue, 23 Jan 2007 12:20:08 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H9PJX-0000jz-KN for emacs-devel@gnu.org; Tue, 23 Jan 2007 12:20:07 -0500 Original-Received: from [212.27.42.27] (helo=smtp1-g19.free.fr) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H9PJR-0005zu-IV; Tue, 23 Jan 2007 12:20:01 -0500 Original-Received: from localhost (ivr94-6-82-230-255-91.fbx.proxad.net [82.230.255.91]) by smtp1-g19.free.fr (Postfix) with ESMTP id 816B29B82E; Tue, 23 Jan 2007 18:20:00 +0100 (CET) Original-To: David Kastrup Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAYFBMVEUWCwUyFQk6JBNLGglQK BVRMiRkHQtwMBZuOCRyRi1iQiZyUUCFNxuIPCKRTC2mVTSpZTqVVS2SW0OYZkixb0qraE/KeU7EcT +4h2bPhVfQkm7hlnDkvZjYqIjrwJnzwqB5+4wZAAAACXBIWXMAAAsTAAALEwEAmpwYAAAACXZwQWc AAAAwAAAAMADO7oxXAAADvUlEQVRIx32Wi5ajIAyGRcCAchErVqu27/+W+wfbs724i3Mcz5n/S0JI wlTbyXrs+zrFEL1zPuIdY7xO6+PBf6u27f4DrFPO3jvoQYRYFoj9CXyu+7ZPEWrXUNM0zpEfgjuY9 RTY1hyg5qUNgMb44Dwiiz5OZ8DCwVCjpdLaGNOVtw+M+Lz+AlNwRAhGSamh1abrtFKmG0DkmL8BhE +GdCNlreChBaO7DpjpIvbv/fr4AnqErhoYF6KI4aPrLIeFQLGj6RO4JWLjtdZ1WQXhvegGG0EKyO/ vwH7xJBk4tLrW5UPxN3zAufHDO3Axh4MCMPLisKQyRuJo/Btw60gpWcu6OogjsmIeiRIKgUlj3oCp a1QtRP1ywT9VfXCiZMEg4X+BfYADAHhhdc+NV1UBBT9SIedvgFFwDFslkO7S8e+KtQcohJCyefdgt DoC4pe+FB8VL3bDeiGB/AVurZJCvY5AtdaSKpYLJArxCXCOlMUpiRpF0Sbb8nZYBnGBPoGZuOCGAd lTqgXRlrrDuUgpDh+VNPYN0IRALnkIFsVTiBanbBQbesYl1Num584iojnnHIPVJRSJvFnrrFHPmD6 yBKJVbZ+nKScjIVfatlSaJ9BBiIbcW1rnOSF4F/OYGiFLQaCXyAUsLTggnAN9VOuMaBtuX1QmHwok RD4CIHzXChG5z37oWkRhxx5tCmdKNUSp7/tUYlQwQ/6z424JPtr+mlwwwbbGQj5CXwBjyPj4NQRmJ J7GZez7mPpk02W+jvgMnFrUaozhE7jPF9va+QZinMaxn0dGMSy5ExuHmdZ8APf7felTv9zGccGal3 le2JdHt0lJaGklvjwA6JcVACwXpugd+gAJQvuIL2C7r9eJgQscXQH0I+sxkrBjjE0ukW9gui7rMo9 DAoGnTzyZceA8lYh+AMxWeFiu/ZhSLCeAUex4hhPr6XsPPAqu0xRxNVAaS0J58pODvhCN/AFWziLP rMtYjsxD6y0dDpDeH2Cf+sxEyPmSYuIJbOi1zCmQc/DkbQg2FQ/O2RfgDP0Aj8eU+VpDmlpLvBkqe kTJpe5+r6xtz9A7VnCxlthfAJkz4JGRJfzVcEiHHK36BOgE2PYRPpIna0K5wAzGCLcWN6A6A3CRRu SJWo+NoybQfag9TA/CxymwTdnDWkh4cPOweckTRCkhzgH8K+ChxkKG2L4oQBlPp8B2G/sc02CDKTp xXExlOJ3q79vcpyGYlmelFOXRxyj/hwe+XnBhw6osY17wJfB/IB/3o2a14Hl8jNfqDx44iLN4w0aG AAAAAElFTkSuQmCC In-Reply-To: <861wllheo9.fsf@lola.quinscape.zz> (David Kastrup's message of "Tue\, 23 Jan 2007 17\:48\:54 +0100") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.92 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:65416 Archived-At: --===============0554788426== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable David Kastrup writes: > Jay Belanger writes: > >> michael@cadilhac.name (Micha=EBl 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=EBl 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 :-) =2D-=20 | Micha=EBl `Micha' Cadilhac | Un certain Blaise Pascal = | | Epita/LRDE Promo 2007 | etc... etc... = | | http://michael.cadilhac.name | -- Pr=E9vert (Les paris stupides) = | `--JID: michael.cadilhac@gmail.com--' - = --' --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFtlHkUJhDmOfFA3URApVtAJ4lDvuBT0Hi6lxEERMNyPYI/lk59ACg2Jo5 RHI4jP2jCTXxdHsZecuhMVQ= =67ov -----END PGP SIGNATURE----- --=-=-=-- --===============0554788426== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel --===============0554788426==--