help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: \303\251


From: Luiggi
Subject: Re: \303\251
Date: Thu, 20 Aug 2015 00:42:28 -0700 (PDT)
User-agent: G2/1.0

Le mercredi 19 août 2015 18:27:35 UTC+2, Pascal J. Bourguignon a écrit :
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> >> From: "Pascal J. Bourguignon" <pjb@informatimago.com>
> >> Date: Wed, 19 Aug 2015 13:51:52 +0200
> >> 
> >> > My laptop crashed as I was typesetting an TeX file. Reboot. The file
> >> > had lost a big part of what I have typed. In a #MyFile.tex# I got my
> >> > text back BUT all my french
> >> > é,à, ô etc had reappeared in \303\251 etc Is there a way to get the
> >> > initial file back without re-reading it ? I tried a Ctrl-x Ctrl-w then
> >> > selcted iso-latin1 or utf... without sucess.
> >> > Thanks for your help in basic english.
> >> 
> >> M-x copy-file RET #MyFile.tex# RET Copy-of-MyFile.tex RET
> >> C-x RET c utf-8 C-x C-f Copy-of-MyFile.tex RET
> >
> > Auto-save files are written in the Emacs internal representation, not
> > in UTF-8.  So the right way of doing this is "M-x recover-file RET".
> 
> Oops, I assumed utf-8 without checking.  Sorry.
> 
> -- 
> __Pascal Bourguignon__                 http://www.informatimago.com/
> "The factory of the future will have only two employees, a man and a
> dog. The man will be there to feed the dog. The dog will be there to
> keep the man from touching the equipment." -- Carl Bass CEO Autodesk

Bonjour,
   I'm sorry  but I do not understand what I should do. From the first answer, 
I understood it would be safer to have first a copy of my #MyFile.tx#. Done. 
And then? If I try Alt-X recover file emacs seems to wait for the name of the 
file to be recovered. If I answer #MyFile.tex# or Copy_MyFile.tex emacs says 
"No" (...is an auto-save file or ... not current).
Merci for your help.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]