Autosaving on emacs or xemacs files (preferably on loss of focus)

Posted by Spencer on Super User See other posts from Super User or by Spencer
Published on 2012-07-03T19:19:56Z Indexed on 2012/07/03 21:18 UTC
Read the original article Hit count: 164

Filed under:
|
|
|
|

Ideally I want to replicate with emacs functionality from TextMate, whereby on loss of focus i.e. I click away from the buffer, my file saves.

If this isn't possible, I want to customize emacs so that it will autosave the file for every character I write. When I say this I don't mean I want to autosave to the ~ backup files. I want to save the file I am currently working on.

I am working on a Fedora VM.

Note I am not looking for a backup or autosave. I want the file I am actually in to save, so that if I loaded the html file I am editing in a web browser it would reflect my new changes without me having to explicitly change it.

© Super User or respective owner

Related posts about linux

Related posts about unix