From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: VC and select-safe-coding-system Date: Sun, 08 Sep 2002 20:22:08 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: References: <1031486626.430.24.camel@eagle> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1031531285 18391 127.0.0.1 (9 Sep 2002 00:28:05 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 9 Sep 2002 00:28:05 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17oCPL-0004mJ-00 for ; Mon, 09 Sep 2002 02:28:03 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17oCz2-000197-00 for ; Mon, 09 Sep 2002 03:04:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17oCPN-0003Df-00; Sun, 08 Sep 2002 20:28:05 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17oCJf-00026h-00 for emacs-devel@gnu.org; Sun, 08 Sep 2002 20:22:11 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17oCJd-00026D-00 for emacs-devel@gnu.org; Sun, 08 Sep 2002 20:22:10 -0400 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17oCJd-000267-00 for emacs-devel@gnu.org; Sun, 08 Sep 2002 20:22:09 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 17oCJc-0002hG-00; Sun, 08 Sep 2002 20:22:08 -0400 Original-To: spiegel@gnu.org In-reply-to: <1031486626.430.24.camel@eagle> (message from Andre Spiegel on 08 Sep 2002 14:03:43 +0200) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:7726 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:7726 I've been told that on a file under VC control, a user abort in select-safe-coding-system can lose data. A few days ago, I asked on this list whether anyone could tell me the precise circumstances when this happens. I got no reply. I have seen this happen, too. What happened, I think, is that the file had already been renamed to a backup file. So there was no longer any file with the visited name. To see this problem, I think you need to set vc-make-backup-files to t.