From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jay Belanger Newsgroups: gmane.emacs.devel Subject: Re: Creating an empty file Date: Tue, 23 Jan 2007 11:19:37 -0600 Message-ID: <87y7ntd5jq.fsf@vh213602.truman.edu> References: <86bqkphiyj.fsf@lola.quinscape.zz> <87odopr8ga.fsf@lrde.org> <87veixu2ep.fsf@vh213602.truman.edu> <861wllheo9.fsf@lola.quinscape.zz> Reply-To: belanger@truman.edu NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1169572812 14907 80.91.229.12 (23 Jan 2007 17:20:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 23 Jan 2007 17:20:12 +0000 (UTC) Cc: belanger@truman.edu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 23 18:20:05 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 1H9PJU-0008JG-OK for ged-emacs-devel@m.gmane.org; Tue, 23 Jan 2007 18:20:05 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H9PJU-0008WM-6Y for ged-emacs-devel@m.gmane.org; Tue, 23 Jan 2007 12:20:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H9PJE-0008Rh-95 for emacs-devel@gnu.org; Tue, 23 Jan 2007 12:19:48 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H9PJD-0008OE-EG for emacs-devel@gnu.org; Tue, 23 Jan 2007 12:19:47 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H9PJD-0008Ns-96 for emacs-devel@gnu.org; Tue, 23 Jan 2007 12:19:47 -0500 Original-Received: from [150.243.160.94] (helo=uranium.truman.edu) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H9PJC-0005wH-S9 for emacs-devel@gnu.org; Tue, 23 Jan 2007 12:19:47 -0500 Original-Received: from uranium.truman.edu (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with SMTP id 331565AB5D for ; Tue, 23 Jan 2007 11:30:36 -0600 (CST) Original-Received: from vh213602.truman.edu.truman.edu (vh213602.truman.edu [150.243.64.4]) by uranium.truman.edu (Postfix) with ESMTP id 21B6157C42; Tue, 23 Jan 2007 11:30:31 -0600 (CST) Original-To: emacs-devel@gnu.org 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.11 (Gnus v5.11) 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:65415 Archived-At: David Kastrup writes: ... > This would probably also apply for an existing file that has been > changed on disk, but not in the Emacs buffer. In this case it might > possibly make sense to ask the "revert buffer" question before saving. > In the case of a non-existing file, there is nothing to revert to, > however. 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. Jay