From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: auto-save-visited-file-name Date: 16 Oct 2003 21:52:34 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1066335399 6817 80.91.224.253 (16 Oct 2003 20:16:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 16 Oct 2003 20:16:39 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Oct 16 21:54:54 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AAED0-0002t8-00 for ; Thu, 16 Oct 2003 21:54:54 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AAED0-0006rS-00 for ; Thu, 16 Oct 2003 21:54:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AAEC0-0007nH-8g for emacs-devel@quimby.gnus.org; Thu, 16 Oct 2003 15:53:52 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AAEBr-0007dz-I1 for emacs-devel@gnu.org; Thu, 16 Oct 2003 15:53:43 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AAEB2-000652-4Y for emacs-devel@gnu.org; Thu, 16 Oct 2003 15:53:23 -0400 Original-Received: from [193.162.153.2] (helo=pfepa.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AAEB0-00061P-V5 for emacs-devel@gnu.org; Thu, 16 Oct 2003 15:52:51 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepa.post.tele.dk (Postfix) with SMTP id 8AF5847FF52; Thu, 16 Oct 2003 21:52:49 +0200 (CEST) Original-To: Stefan Monnier In-Reply-To: Original-Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:17175 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17175 Stefan Monnier writes: > > .. but doesn't that mean that auto-save files are always saved > > in emacs-mule rather than the current coding of the buffer? > > That sounds like a more generic error that needs fixing anyway. > > No, I think it's a very reasonable choice (and I know it's been discussed > here and more recently on XEmacs's lists). > This is the only encoding that we know for sure will not lose any > information, will succeed without needing to prompt the user for more > details, and it is also more efficient which I still consider relevant in > the context of auto-saving. It's not perfect, but the other options aren't > much more attractive. Well, we could use the buffer's coding if it suffices -- and only revert to emacs-mule if it doesn't. That would not require any prompting... I assume that the original buffer's coding is used if the auto-save file is restored. But I have no strong opinions, so let's not discuss it further. -- Kim F. Storm http://www.cua.dk