From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Why ("/#[^/]+#\\'" . emacs-mule) ? Date: Mon, 25 Mar 2013 16:13:35 +0200 Message-ID: <83sj3j1sa8.fsf@gnu.org> References: Reply-To: Eli Zaretskii 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 1364220818 22560 80.91.229.3 (25 Mar 2013 14:13:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Mar 2013 14:13:38 +0000 (UTC) Cc: emacs-devel@gnu.org To: Per =?iso-8859-1?Q?Starb=E4ck?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 25 15:14:01 2013 Return-path: Envelope-to: ged-emacs-devel@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 1UK89w-0007Ga-9V for ged-emacs-devel@m.gmane.org; Mon, 25 Mar 2013 15:14:00 +0100 Original-Received: from localhost ([::1]:46533 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UK89Y-00038m-Bs for ged-emacs-devel@m.gmane.org; Mon, 25 Mar 2013 10:13:36 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45753) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UK89V-00037o-8z for emacs-devel@gnu.org; Mon, 25 Mar 2013 10:13:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UK89Q-0007vZ-E9 for emacs-devel@gnu.org; Mon, 25 Mar 2013 10:13:33 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:37884) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UK89Q-0007vU-5I for emacs-devel@gnu.org; Mon, 25 Mar 2013 10:13:28 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MK700M00ZC2X200@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Mon, 25 Mar 2013 16:13:26 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MK700MXOZIDKQA0@a-mtaout22.012.net.il>; Mon, 25 Mar 2013 16:13:25 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:158137 Archived-At: > Date: Mon, 25 Mar 2013 14:08:36 +0100 > From: Per Starb=E4ck >=20 > Why are #autosave# files opened with the emacs-mule coding? They are not, not in latest versions of Emacs. > I don't use recover-file a lot. When I have to use autosave files I > usually open them up in their own buffers and compare and copy > "manually". > Very often when I open them I have to immediately use > revert-buffer-with-coding-system because they are utf8 files. Strange that you need that. When I do "M-x recover-this-file RET", I get a buffer in utf-8-emacs-unix, which is what I expect. > For a long time I have wished that the coding of those files would = be > recognised like for other files. I thought of reporting this as a b= ug, > but since > auto-coding-list (in lisp/international/mule.el) has an explicit li= ne >=20 > ("/#[^/]+#\\'" . emacs-mule))) >=20 > it's evidently on purpose, so instead I will ask here. What is that= purpose? The purpose is back-compatibility with auto-save files from prior versions. But recover-file overrides this and uses auto-save-coding, so I'm unsure why the above matters in your case.