* \303\251
@ 2015-08-19 7:56 Luiggi
2015-08-19 11:51 ` \303\251 Pascal J. Bourguignon
0 siblings, 1 reply; 9+ messages in thread
From: Luiggi @ 2015-08-19 7:56 UTC (permalink / raw)
To: help-gnu-emacs
Bonjour tout le monde,
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.
jLf
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: \303\251
2015-08-19 7:56 \303\251 Luiggi
@ 2015-08-19 11:51 ` Pascal J. Bourguignon
2015-08-19 14:31 ` \303\251 Eli Zaretskii
[not found] ` <mailman.8630.1439994718.904.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 9+ messages in thread
From: Pascal J. Bourguignon @ 2015-08-19 11:51 UTC (permalink / raw)
To: help-gnu-emacs
Luiggi <fritpointfr@gmail.com> writes:
> Bonjour tout le monde,
>
> 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
--
__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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: \303\251
2015-08-19 11:51 ` \303\251 Pascal J. Bourguignon
@ 2015-08-19 14:31 ` Eli Zaretskii
[not found] ` <mailman.8630.1439994718.904.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 9+ messages in thread
From: Eli Zaretskii @ 2015-08-19 14:31 UTC (permalink / raw)
To: help-gnu-emacs
> 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".
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: \303\251
[not found] ` <mailman.8630.1439994718.904.help-gnu-emacs@gnu.org>
@ 2015-08-19 16:27 ` Pascal J. Bourguignon
2015-08-20 7:42 ` \303\251 Luiggi
0 siblings, 1 reply; 9+ messages in thread
From: Pascal J. Bourguignon @ 2015-08-19 16:27 UTC (permalink / raw)
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: \303\251
2015-08-19 16:27 ` \303\251 Pascal J. Bourguignon
@ 2015-08-20 7:42 ` Luiggi
2015-08-21 4:59 ` \303\251 tomas
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: Luiggi @ 2015-08-20 7:42 UTC (permalink / raw)
To: help-gnu-emacs
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.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: \303\251
2015-08-20 7:42 ` \303\251 Luiggi
@ 2015-08-21 4:59 ` tomas
2015-08-21 7:54 ` \303\251 Eli Zaretskii
[not found] ` <mailman.58.1440143707.31004.help-gnu-emacs@gnu.org>
2 siblings, 0 replies; 9+ messages in thread
From: tomas @ 2015-08-21 4:59 UTC (permalink / raw)
To: Luiggi; +Cc: help-gnu-emacs
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thu, Aug 20, 2015 at 12:42:28AM -0700, Luiggi wrote:
[...]
> Bonjour,
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).
For recover-file, Emacs expects the *original* name of the file, i.e.
"MyFile.tex" (with no quotes around, that is). It infers itself the
name of the save file. The reason is that the "name transformation"
can be customized (for example to auto-save remote files in the local
machine) and thus is not always easy to infer for the user.
regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAlXWsBkACgkQBcgs9XrR2kZopQCZAZGe52PEQ9NWdNXm2iGf1IOj
VpEAn0Kcn881tbkFNeBLOxbNve/sI7p3
=fCnS
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: \303\251
2015-08-20 7:42 ` \303\251 Luiggi
2015-08-21 4:59 ` \303\251 tomas
@ 2015-08-21 7:54 ` Eli Zaretskii
[not found] ` <mailman.58.1440143707.31004.help-gnu-emacs@gnu.org>
2 siblings, 0 replies; 9+ messages in thread
From: Eli Zaretskii @ 2015-08-21 7:54 UTC (permalink / raw)
To: help-gnu-emacs
> Date: Thu, 20 Aug 2015 00:42:28 -0700 (PDT)
> From: Luiggi <fritpointfr@gmail.com>
>
> 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).
Either
M-x recover-file RET MyFile.tex RET
(without the # characters), or
M-x recover-session RET
then navigate to the session and the file you want to recover, and
press RET.
There's also "M-x recover-this-file RET", which makes sense in the
buffer that visits the file you want to recover -- this is generally
useful when you discover that the text in the buffer doesn't include
the edits you did before the crash.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: \303\251
[not found] ` <mailman.58.1440143707.31004.help-gnu-emacs@gnu.org>
@ 2015-08-22 7:25 ` Luiggi
2015-08-22 7:34 ` \303\251 tomas
0 siblings, 1 reply; 9+ messages in thread
From: Luiggi @ 2015-08-22 7:25 UTC (permalink / raw)
To: help-gnu-emacs
Thanks for your help particularly to Tomas. So ''Alt-x recover file enter MyFile.tex enter '' mâkes thé job.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: \303\251
2015-08-22 7:25 ` \303\251 Luiggi
@ 2015-08-22 7:34 ` tomas
0 siblings, 0 replies; 9+ messages in thread
From: tomas @ 2015-08-22 7:34 UTC (permalink / raw)
To: Luiggi; +Cc: help-gnu-emacs
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sat, Aug 22, 2015 at 12:25:23AM -0700, Luiggi wrote:
> Thanks for your help particularly to Tomas. So ''Alt-x recover file
> enter MyFile.tex enter '' mâkes thé job.
Glåd iŧ hėlp€d.
Kudos also to Eli, whose answer was more insightful and complete than
mine.
regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAlXYJgUACgkQBcgs9XrR2kYrHQCZAc9aK8cFY7avskDclzBq3iDi
7sAAn0Gm0m93zZC6F/A/ytk3X8Dyri97
=vzYc
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2015-08-22 7:34 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` \303\251 Luiggi
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
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).