all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: non-ASCII characters in auto-save files
Date: Tue, 26 Jun 2012 18:40:51 +0300	[thread overview]
Message-ID: <8362ae9j3w.fsf@gnu.org> (raw)
In-Reply-To: <4FE98B41.8060402@cnrs-orleans.fr>

> Date: Tue, 26 Jun 2012 12:13:21 +0200
> From: grivet <grivet@cnrs-orleans.fr>
> 
> 
>      - 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.



  reply	other threads:[~2012-06-26 15:40 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.3448.1340636607.855.help-gnu-emacs@gnu.org>
2012-06-25 23:21 ` non-ASCII characters in auto-save files Stefan Monnier
2012-06-26 10:13   ` grivet
2012-06-26 15:40     ` Eli Zaretskii [this message]
2012-06-27 11:52   ` Xah Lee
2012-06-27 16:44     ` Eli Zaretskii
     [not found]     ` <mailman.3571.1340815454.855.help-gnu-emacs@gnu.org>
2012-06-27 20:03       ` Xah Lee
2012-06-28  1:07         ` Stefan Monnier
2012-06-28  2:58           ` Eli Zaretskii
2012-06-25 12:46 grivet
2012-06-25 16:56 ` Peter Dyballa
     [not found] ` <mailman.3451.1340643405.855.help-gnu-emacs@gnu.org>
2012-06-25 22:40   ` Michael Heerdegen
2012-06-25 23:11     ` Peter Dyballa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8362ae9j3w.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.