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: Re: Save on losing focus in Emacs Date: Sun, 01 Jul 2007 17:56:42 -0000 Organization: http://groups.google.com Message-ID: <1183312602.898349.319670@q69g2000hsb.googlegroups.com> References: <1183296351.525348.241650@k29g2000hsd.googlegroups.com> <93lke0b30s.fsf@freenet.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1183318387 27845 80.91.229.12 (1 Jul 2007 19:33:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 1 Jul 2007 19:33:07 +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 21:33:05 2007 connect(): Connection refused 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 1I55AO-0008RO-55 for geh-help-gnu-emacs@m.gmane.org; Sun, 01 Jul 2007 21:33:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I55AN-0000Dh-MF for geh-help-gnu-emacs@m.gmane.org; Sun, 01 Jul 2007 15:33:03 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!q69g2000hsb.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 32 Original-NNTP-Posting-Host: 194.187.207.34 Original-X-Trace: posting.google.com 1183312603 22250 127.0.0.1 (1 Jul 2007 17:56:43 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sun, 1 Jul 2007 17:56:43 +0000 (UTC) In-Reply-To: <93lke0b30s.fsf@freenet.de> 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: q69g2000hsb.googlegroups.com; posting-host=194.187.207.34; posting-account=qAPS8A0AAAD600Q2Zqm01uK896f7rN3Q Original-Xref: shelby.stanford.edu gnu.emacs.help:149826 X-Mailman-Approved-At: Sun, 01 Jul 2007 15:32:46 -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:45415 Archived-At: Thanks for the answer. Yes, I see, of course, I can type 'C-x s' all the time. But the whole idea is to have buffers saved automagically every time I leave Emacs and save myself from typing there keystrokes - it may look like a small detail, but believe me, it's extremely convinient when doing, for example, web development, when you frequently switch to browser to check the results of your changes. Regards, Sergey Pariev. Emilio Lopes =ED=E0=EF=E8=F1=E0=E2: > Sergey Pariev writes: > > > 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. > > If you start "make" (or whatever you use to compile your Java source > files) from within Emacs by using the command `compile', it will > automatically ask you to save any unsaved buffers. > > Alternatively you can explicitly call `save-some-buffers', usually > bound to "C-x s", before starting your build. > > -- > Em lio C. Lopes Ich leb und wei nit wie lang, > Munich, Germany ich stirb und wei nit wann, > ich fahr und wei nit wohin, > (Martinus von Biberach) mich wundert, dass ich fr hlic= h bin!