Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] very disappointed

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] very disappointed


Chronological Thread 
  • From: Corey Sweeney <address@hidden>
  • To: Norbert Nemec <address@hidden>
  • Cc: address@hidden
  • Subject: Re: [TeXmacs] very disappointed
  • Date: Tue, 1 Feb 2005 10:51:37 -0600
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=Ymfx3Uk8W671zpsG2KR5hohKDklThjiYP1IhY4eZr4TcMxhC+1C4NAID261ozLK6vIXpljWaK9CApd3ZQIaC3WVS1S0jXugmK7aAvksjTptZWt15H1xG5f11AKPJodBblFyW7SIF4MMiIWOXv/NKg9PlGvf9pkp/g66sxMnRH64=

i don't know anything about the autosave code, but here's a quck way
to keep a copy of your work when it happens in the future:

rename bin/texmacs to bin/launch.texmacs

then create a script with:
echo 'ci -l -m"texmacs starting up" $1;ci -l -m"texmacs starting up"
$1~; texmacs $1' > /usr/local/bin/texmacs

then make it executable:
chmod a+x /usr/local/bin/texmacs

whenever you launch texmacs, it'll automatically check a copy of the
primary and the autosave into libraries, which can't overwrite
anything... only add information, so when you accidently overwrite
your autosave file with a "old" original, you'll have something to go
back to.

(see "man rcs" to figure how to get the information back out)

Corey
(i wrote the script in email without testing it, so there might be a
bug here or there)


On Tue, 1 Feb 2005 11:23:28 +0100, Norbert Nemec
<address@hidden> wrote:
> Am Montag 31 Januar 2005 18:39 schrieb Luca:
> > Today I had my first bad surprise after 2 years of daily use of TeXmacs.
> > I was working on a document since this morning with the auto-save option
> > enabled and I saved it several times. Half an hour ago I finished it and
> > decided to run a spell check befor printing it and texmacs crashed
> > suddenly. I was not so preocupied as I thought I just had to restart the
> > spell check but when I opende again the file it was in this morning state
> > with no sign of modification and the autosave file was the one of
> > yesterday
> > night.... So all the work lost.... Did anyone experienced this before? I
> > don't know what had happend since everything was looking normal before the
> > crash.
>
> I think I experience something similar, though it never hit me that hard
> and I
> cannot really put my finger on what happens.
>
> Seems like the current version (1.0.4.5) has some problem that did not occur
> before, but every time I explicitely test it, the 'bug' disappears:
>
> I work on a file, have autosave activated, do manual saves ever so often and
> at some time I leave the program (without any notice about unsaved files).
> When I check the files on disk, the backup file (*.tm~) contains a recent
> version while the main file (*.tm) seems untouched during the whole session.
> (It still has the old modify time and the same content as before the
> session)
>
> When I open texmacs again, of course it opens the old version. If I notice
> fast enough and close texmacs before it does an autosave, I can just copy
> the .tm~ file to .tm and save the day. If I don't do that, of course, the
> old
> autosave is eventually overwritten and the content lost.
>
> I have TeXmacs running on my notebook, so I strongly doubt any quota or
> permission related problems. As I said, the problem does not seem
> reproducible. But maybe the changes done in the save/autosave code over the
> past few releases might give a clue? The problem definitely only appeared
> recently.
>
> Ciao,
> Norbert
>
> --
> _________________________________________Norbert Nemec
> Bernhardstr. 2 ... D-93053 Regensburg
> Tel: 0941 - 2009638 ... Mobil: 0179 - 7475199
> eMail: <address@hidden>
>



Archive powered by MHonArc 2.6.19.

Top of Page