1

I am wondering if there is local version control/snapshots for emacs independent of VC? let me clarify: every time I save buffer, I would like to be able to keep track of changes of each save in session. I know I can do something similar with backup files, but they are not automated like VC and a somewhat cumbersome.

I have searched Google, but did not find the solution. Perhaps my query string was not good.

I found this for eclipse, am looking for emacs equivalent: http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse.platform.doc.user/gettingStarted/qs-55.htm

Thanks

Anycorn
  • 50,217
  • 42
  • 167
  • 261
  • What features do you want that backup files don't give you? See the `version-control` variable, or this page here http://www.emacswiki.org/emacs/?id=BackupDirectory for more details. – clstrfsck Apr 18 '10 at 05:45

3 Answers3

2

AFAIK there is no such solution, but you can make some ad hoc one - like creating a local VCS repository and advice the save-buffer command to commit the changes in the repository.

I also came across a section of the manual that might be of interest to you.

Bozhidar Batsov
  • 55,802
  • 13
  • 100
  • 117
0

I don't know of a way to get Emacs to save buffer snapshots, but keep in mind that it has an infinite undo facility. If you just want a way to get back to earlier versions, that might help you. If you want real version control, then I'd go with Bozhidar Batsov's solution and advice the save-buffer command.

Noah Lavine
  • 793
  • 5
  • 7
0

http://www.emacswiki.org/emacs/BackupEachSave

  • Whilst this may theoretically answer the question, [it would be preferable](http://meta.stackexchange.com/q/8259) to include the essential parts of the answer here, and provide the link for reference. – GDP Aug 07 '12 at 15:11