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 10:35:25 -0600 Message-ID: <87veixu2ep.fsf@vh213602.truman.edu> References: <86bqkphiyj.fsf@lola.quinscape.zz> <87odopr8ga.fsf@lrde.org> Reply-To: belanger@truman.edu NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1169570152 3491 80.91.229.12 (23 Jan 2007 16:35:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 23 Jan 2007 16:35:52 +0000 (UTC) Cc: belanger@truman.edu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 23 17:35:46 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 1H9Occ-0002Dt-5d for ged-emacs-devel@m.gmane.org; Tue, 23 Jan 2007 17:35:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H9Ocb-0007I0-G4 for ged-emacs-devel@m.gmane.org; Tue, 23 Jan 2007 11:35:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H9OcQ-0007GW-Dg for emacs-devel@gnu.org; Tue, 23 Jan 2007 11:35:34 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H9OcM-0007Cp-Lt for emacs-devel@gnu.org; Tue, 23 Jan 2007 11:35:34 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H9OcM-0007Cf-J7 for emacs-devel@gnu.org; Tue, 23 Jan 2007 11:35:30 -0500 Original-Received: from [24.116.0.227] (helo=S1.cableone.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H9OcM-0005ZJ-2j for emacs-devel@gnu.org; Tue, 23 Jan 2007 11:35:30 -0500 Original-Received: from vh213602.truman.edu.truman.edu (unverified [69.92.109.183]) by S1.cableone.net (CableOne SMTP Service S1) with ESMTP id 91523292 for multiple; Tue, 23 Jan 2007 09:35:28 -0700 Original-To: emacs-devel@gnu.org In-Reply-To: <87odopr8ga.fsf@lrde.org> (=?iso-8859-1?Q?Micha=EBl?= Cadilhac's message of "Tue\, 23 Jan 2007 17\:53\:09 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (gnu/linux) X-IP-stats: Incoming Last 2, First 51, in=39, out=0, spam=0 X-External-IP: 69.92.109.183 X-Abuse-Info: Send abuse complaints to abuse@cableone.net 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:65411 Archived-At: 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. It seems natural, if possibly incorrect, behavior. If this is regarded as a bug, I would expect that an unchanged empty file would be treated as a special case for C-xC-s. Jay