Subject: bug#15029: 24.3; feature-request: add window-focus-lost-hook

From: Ivan Baidakou <[email-masked]>
Date: Mon, 5 Aug 2013 23:21:48 +0300

Hello!

Please, add very useful feature: window-focus-lost-hook,
which will give the possibility to save all unsaved buffers
and no need of typing "C-x C-s", and, for example, the locally
loaded html will be automatically refreshed in by browser, just
as I switch to it via "ALT-tab" key.

That feature is requested by other people too:
http://batsov.com/articles/2012/03/08/emacs-tip-number-5-save-buffers-automatically-on-buffer-or-window-switch/
http://stackoverflow.com/questions/1230245/how-to-automatically-save-files-on-lose-focus-in-emacs

but neither works for me.

Thanks!

Best Regards,
Ivan Baidakou