Can I display emacs buffer modification history?

3

I've used vi for decades, but I'm trying to improve my emacs skills.

In vi, I often check the status of my buffer by issuing this command:

:w !diff - %

Is there a command in emacs that I can use to remind myself of what changes I have made recently?

ΔRob

Posted 2011-10-21T21:35:00.327

Reputation: 293

Answers

3

Check out the options listed on the Emacs wiki here: http://www.emacswiki.org/emacs/TrackChanges

Trey Jackson

Posted 2011-10-21T21:35:00.327

Reputation: 3 731

1Thanks. That page suggests M-x diff-buffer-with-file, which is exactly what I asked for. Additionally, it lists M-x highlight-changes-mode, which may be what I actually want. – ΔRob – 2011-10-22T17:44:12.763

1

Undo Tree can do something similar (visualizing buffer versions), butI don't know if it can do diff, though it would be trivial to implement. You may want to suggest this to the author.

euser

Posted 2011-10-21T21:35:00.327

Reputation: 11