From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vincent Lefevre Newsgroups: gmane.emacs.bugs Subject: bug#13522: 24.2; save-buffer removes edited file under some conditions Date: Fri, 25 Jan 2013 01:02:56 +0100 Message-ID: <20130125000256.GC3397@xvii.vinc17.org> References: <87622qaszq.fsf@xvii.vinc17.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1359072252 27334 80.91.229.3 (25 Jan 2013 00:04:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Jan 2013 00:04:12 +0000 (UTC) Cc: 13522@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 25 01:04:30 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TyWmU-00027g-7Z for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Jan 2013 01:04:30 +0100 Original-Received: from localhost ([::1]:35794 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TyWmC-0005HB-K2 for geb-bug-gnu-emacs@m.gmane.org; Thu, 24 Jan 2013 19:04:12 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:50042) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TyWm3-0005G9-OL for bug-gnu-emacs@gnu.org; Thu, 24 Jan 2013 19:04:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TyWlx-0003GY-83 for bug-gnu-emacs@gnu.org; Thu, 24 Jan 2013 19:04:03 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42822) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TyWlx-0003GU-4O for bug-gnu-emacs@gnu.org; Thu, 24 Jan 2013 19:03:57 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TyWm1-0003Qo-Ua for bug-gnu-emacs@gnu.org; Thu, 24 Jan 2013 19:04:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Vincent Lefevre Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 25 Jan 2013 00:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13522 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13522-submit@debbugs.gnu.org id=B13522.135907218613128 (code B ref 13522); Fri, 25 Jan 2013 00:04:01 +0000 Original-Received: (at 13522) by debbugs.gnu.org; 25 Jan 2013 00:03:06 +0000 Original-Received: from localhost ([127.0.0.1]:48286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TyWl8-0003Ph-E3 for submit@debbugs.gnu.org; Thu, 24 Jan 2013 19:03:06 -0500 Original-Received: from vinc17.pck.nerim.net ([213.41.242.187]:56091 helo=smtp-xvii.vinc17.net) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TyWl5-0003PY-3u for 13522@debbugs.gnu.org; Thu, 24 Jan 2013 19:03:04 -0500 Original-Received: by xvii.vinc17.org (Postfix, from userid 1000) id 66445314021; Fri, 25 Jan 2013 01:02:56 +0100 (CET) Content-Disposition: inline In-Reply-To: X-Mailer-Info: http://www.vinc17.net/mutt/ User-Agent: Mutt/1.5.21-6294-vl-r57845 (2013-01-23) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:70266 Archived-At: On 2013-01-24 15:28:27 -0500, Glenn Morris wrote: > Vincent Lefevre wrote: > > 1. Create a file with: printf "\x80" > file > > 2. Open the file under X Window with: emacs -Q file > > 3. Modify the file e.g. by adding a space. > > 4. Type C-x C-s > > At this point, Emacs asks the user to select a coding system. > > 5. Type C-c in the terminal to kill Emacs. > > > > The result is that the file "file" is no longer there! Same problem with the official GNU Emacs 24.2.1 (not Debian's). > I can't reproduce this with 24.2. > Here I have both "file" and "#file", no "file~". I have "file~" and "#file#" (with 2 # characters). --=20 Vincent Lef=E8vre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)