From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.devel Subject: Re: Creating an empty file Date: Thu, 25 Jan 2007 02:06:50 -0700 Message-ID: References: <86bqkphiyj.fsf@lola.quinscape.zz> <87odopr8ga.fsf@lrde.org> <87veixu2ep.fsf@vh213602.truman.edu> <861wllheo9.fsf@lola.quinscape.zz> <87y7ntd5jq.fsf@vh213602.truman.edu> <87r6tlpqwi.fsf@lrde.org> <20070124025849.GA2953@kobe.laptop> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1169716064 30370 80.91.229.12 (25 Jan 2007 09:07:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 25 Jan 2007 09:07:44 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 25 10:07:37 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 1HA0Zy-0004Rr-Tw for ged-emacs-devel@m.gmane.org; Thu, 25 Jan 2007 10:07:35 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HA0Zy-0004yd-4g for ged-emacs-devel@m.gmane.org; Thu, 25 Jan 2007 04:07:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HA0ZZ-0004uS-Q0 for emacs-devel@gnu.org; Thu, 25 Jan 2007 04:07:09 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HA0ZY-0004rg-5K for emacs-devel@gnu.org; Thu, 25 Jan 2007 04:07:09 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HA0ZX-0004rK-J2 for emacs-devel@gnu.org; Thu, 25 Jan 2007 04:07:07 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1HA0ZX-0006by-1J for emacs-devel@gnu.org; Thu, 25 Jan 2007 04:07:07 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HA0ZO-0007ZI-NJ for emacs-devel@gnu.org; Thu, 25 Jan 2007 10:06:58 +0100 Original-Received: from c-24-9-156-178.hsd1.co.comcast.net ([24.9.156.178]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Jan 2007 10:06:58 +0100 Original-Received: from kevin.d.rodgers by c-24-9-156-178.hsd1.co.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Jan 2007 10:06:58 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 22 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c-24-9-156-178.hsd1.co.comcast.net User-Agent: Thunderbird 1.5.0.9 (Macintosh/20061207) In-Reply-To: <20070124025849.GA2953@kobe.laptop> X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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:65457 Archived-At: Giorgos Keramidas wrote: > On 2007-01-23 18:57, Micha?l Cadilhac wrote: >> Jay Belanger 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... `C-x C-w M-p RET', but only immediately after the new file was visited (otherwise file-name-history may have been updated by an intervening command). -- Kevin Rodgers Denver, Colorado, USA