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?

link|improve this question
feedback

2 Answers

up vote 2 down vote accepted

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

link|improve this answer
Thanks. 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 Oct 22 '11 at 17:44
feedback

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.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.