2 ms·
I have the same problem when maintaining Latex files in some RCS. After any "big" change (rewritten sentence, etc), I customarily reformat the text in emacs so
by zvrba 15y ago
I have the same problem when maintaining Latex files in some RCS. After any "big" change (rewritten sentence, etc), I customarily reformat the text in emacs so that it looks nice on screen, which also totally messes up the diff.
emacs has a mode which allows one "logical" line to wrap and to be edited as many "physical" lines, but when I tested it few years ago, it was rather broken. Fortunately, for editing Latex and such, I don't really need the diffs, I'm just interested in archival.
- drunkpotato 15y agoEmacs virtual-line-mode has gotten much better; check it out again if you're interested. What I do with my Latex files is have one sentence per (logical) line. I've found diffs at the sentence level much more helpful.