[quote=“theblacklion”]
I think, I’ve made up my mind. For my orgmode plugin the current auto save on view focus lost is great (due to the way I work with it e.g. switching between views and not windows). But for other files (html, css, js, php, py, c etc.), where I might use a diff before saving, it would matter when switching over to a console or browser (-> window focus lost). Can’t we have switches for both? [/quote]
If you grab the text on disk before the file loses focus then you can save it and show the diff anyway. Seems like that might be cleaner than having a per-view setting or something.