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?

2 Answers 2

3

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

1
  • 1
    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, 2011 at 17:44
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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .