unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Luiggi <fritpointfr@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: \303\251
Date: Thu, 20 Aug 2015 00:42:28 -0700 (PDT)	[thread overview]
Message-ID: <5fc573d7-10b6-47b2-b9fd-e8d6488a9dff@googlegroups.com> (raw)
In-Reply-To: <87614b8cr0.fsf@kuiper.lan.informatimago.com>

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	other threads:[~2015-08-20  7:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-19  7:56 \303\251 Luiggi
2015-08-19 11:51 ` \303\251 Pascal J. Bourguignon
2015-08-19 14:31   ` \303\251 Eli Zaretskii
     [not found]   ` <mailman.8630.1439994718.904.help-gnu-emacs@gnu.org>
2015-08-19 16:27     ` \303\251 Pascal J. Bourguignon
2015-08-20  7:42       ` Luiggi [this message]
2015-08-21  4:59         ` \303\251 tomas
2015-08-21  7:54         ` \303\251 Eli Zaretskii
     [not found]         ` <mailman.58.1440143707.31004.help-gnu-emacs@gnu.org>
2015-08-22  7:25           ` \303\251 Luiggi
2015-08-22  7:34             ` \303\251 tomas

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=5fc573d7-10b6-47b2-b9fd-e8d6488a9dff@googlegroups.com \
    --to=fritpointfr@gmail.com \
    --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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).