From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sergey Pariev Newsgroups: gmane.emacs.help Subject: Save on losing focus in Emacs Date: Sun, 01 Jul 2007 13:25:51 -0000 Organization: http://groups.google.com Message-ID: <1183296351.525348.241650@k29g2000hsd.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1251" X-Trace: sea.gmane.org 1183312298 11329 80.91.229.12 (1 Jul 2007 17:51:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 1 Jul 2007 17:51:38 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jul 01 19:51:36 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I53aC-0001bd-9C for geh-help-gnu-emacs@m.gmane.org; Sun, 01 Jul 2007 19:51:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I53aB-00008P-Tb for geh-help-gnu-emacs@m.gmane.org; Sun, 01 Jul 2007 13:51:35 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!k29g2000hsd.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 16 Original-NNTP-Posting-Host: 194.187.207.34 Original-X-Trace: posting.google.com 1183296351 7835 127.0.0.1 (1 Jul 2007 13:25:51 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sun, 1 Jul 2007 13:25:51 +0000 (UTC) User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.4) Gecko/20060601 Firefox/2.0.0.4 (Ubuntu-edgy),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: k29g2000hsd.googlegroups.com; posting-host=194.187.207.34; posting-account=qAPS8A0AAAD600Q2Zqm01uK896f7rN3Q Original-Xref: shelby.stanford.edu gnu.emacs.help:149819 X-Mailman-Approved-At: Sun, 01 Jul 2007 13:50:06 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:45413 Archived-At: Hi All. I'd like to see in Emacs one feature from IntellijIDEA I really like - when editing files, if you switch to another window - browser of terminal, it automatically saves file being edited - very handy when frequently switching between apps on debugging, for example. Googling gave me this - http://www.dribin.org/dave/blog/archives/2003/09/10/emacs/ , but snippet provided there doesn't work in my GNU Emacs 23 taken from here - http://peadrop.com/blog/2007/01/06/pretty-emacs/ (I'm using Ubuntu Linux); I'm elisp newbie, but I guess code is XEmacs specific ... Could you please suggest me how such a feature can be implemented in GNU Emacs 23 ? Regards, Sergey Pariev.