From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: non-ASCII characters in auto-save files Date: Tue, 26 Jun 2012 18:40:51 +0300 Message-ID: <8362ae9j3w.fsf@gnu.org> References: <4FE98B41.8060402@cnrs-orleans.fr> NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1340725258 5643 80.91.229.3 (26 Jun 2012 15:40:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 26 Jun 2012 15:40:58 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 26 17:40:58 2012 Return-path: Envelope-to: geh-help-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 1SjXsu-0000M7-Jk for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Jun 2012 17:40:56 +0200 Original-Received: from localhost ([::1]:38865 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjXsu-00043X-HZ for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Jun 2012 11:40:56 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54309) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjXsk-00043N-T3 for help-gnu-emacs@gnu.org; Tue, 26 Jun 2012 11:40:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SjXsf-0007Lk-Vt for help-gnu-emacs@gnu.org; Tue, 26 Jun 2012 11:40:46 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:39858) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjXsf-0007L6-Mf for help-gnu-emacs@gnu.org; Tue, 26 Jun 2012 11:40:41 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0M6800300DW55H00@a-mtaout23.012.net.il> for help-gnu-emacs@gnu.org; Tue, 26 Jun 2012 18:40:39 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M68002VLE7RZU80@a-mtaout23.012.net.il> for help-gnu-emacs@gnu.org; Tue, 26 Jun 2012 18:40:39 +0300 (IDT) In-reply-to: <4FE98B41.8060402@cnrs-orleans.fr> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.175 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:85482 Archived-At: > Date: Tue, 26 Jun 2012 12:13:21 +0200 > From: grivet > > > - Is there a systematic way to convert #myfile# to iso-latin-9 (or > iso-latin-1) code, other than painstakingly searching and replacing > offending chars ? Yes. C-x RET c emacs-internal RET C-x C-f #myfile# RET C-x RET f latin-9 RET C-x C-s > > Just open the file with the right coding-system (typically, opening > > "myfile" and then hitting M-x recover-this-file RET should do the > > trick). > > > > > > Stefan > #myfile# c&n be opened in this way but cannot be saved, as the coding > system is not recognized. You should open myfile, not #myfile#. Then Emacs will automatically notice that the auto-save file for it exists, and offer to recover it.