auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] Text corruption


From: Marco Pessotto
Subject: Re: [AUCTeX] Text corruption
Date: Tue, 18 Dec 2012 10:30:39 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

"Axel E. Retif" <address@hidden> writes:

>> I'd strongly suggest to keep your .tex files under revision control. So
>> you can be sure what's going on just looking at the differences.
>
> That's a very good advice. I do daily backups, but you're right
> ---given my problem, I need more than that.

Maybe you already know this, but Emacs has by default very good support
for revision control systems (I'd suggest git, the whole world is using
it and it rocks).

Using a revision control like git is WAY better to keep track of your
work, even if you don't have mysterious issues like these. You can type
something by accident and don't even notice. Digging later in monolithic
backups is an epic pain.

You can register the file with C-x v i, check-in the modifications with
C-x v v, and with C-x v = you check the status with a nice diff which
highlight the single words changed (M-n M-p to move around chunks
triggering the refining) M-x ediff-revision is also very good. The
defaul color scheme for diff sucks a bit, but you can of course
customize the faces with no effort (M-x customize-face over the
characters).

Commit early, commit often.

I hope this helps.

Best wishes

-- 
Marco




reply via email to

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