Anycorn
Anycorn

Reputation: 51465

emacs local version control

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

Upvotes: 1

Views: 346

Answers (3)

Noah Lavine
Noah Lavine

Reputation: 793

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.

Upvotes: 0

Bozhidar Batsov
Bozhidar Batsov

Reputation: 56595

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.

Upvotes: 2

Related Questions