From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Livin Stephen Newsgroups: gmane.emacs.help Subject: ecb/jde: returning to the 'edit1' window after jde-compile window auto-closes. Date: 17 Apr 2007 22:34:51 -0700 Organization: http://groups.google.com Message-ID: <1176874491.277483.167370@b58g2000hsg.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1176874544 16061 80.91.229.12 (18 Apr 2007 05:35:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 18 Apr 2007 05:35:44 +0000 (UTC) Cc: aquamacs-devel@aquamacs.org To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 18 07:35:38 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 1He2pM-0000um-0l for geh-help-gnu-emacs@m.gmane.org; Wed, 18 Apr 2007 07:35:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1He2u9-0002y9-9d for geh-help-gnu-emacs@m.gmane.org; Wed, 18 Apr 2007 01:40:33 -0400 Original-Path: shelby.stanford.edu!newshub.stanford.edu!postnews.google.com!b58g2000hsg.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 28 Original-NNTP-Posting-Host: 124.30.119.98 Original-X-Trace: posting.google.com 1176874491 14174 127.0.0.1 (18 Apr 2007 05:34:51 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 18 Apr 2007 05:34:51 +0000 (UTC) User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en; rv:1.8.1.4pre) Gecko/20070416 Camino/1.1b+,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: b58g2000hsg.googlegroups.com; posting-host=124.30.119.98; posting-account=D7akPw0AAAAlWHUnz2hlmnzKw1gyyjDI Original-Xref: shelby.stanford.edu gnu.emacs.help:147169 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:42773 Archived-At: Hi emacs+jde+ecb users. I use (aqua)emacs with jde and ecb - all three are *very recent* builds. I have this in my prj.el file: '(jde-compile-enable-kill-buffer t) My problem is that after compilation, when the jde-compile window closes itself (due to the jde option specified above), the cursor is placed in the first (topmost) of the ecb-windows. For example, it is placed in the "ecb-directories" window if I'm using the "right1" ecb- layout. I have to keep running the command ecb-goto-window-edit1 to return to the window where I'm editing code. As a convenience, I do a global-set-key routine to map C-c 1 to this function (ecb-goto-window-edit1). Is there a better/permanent fix that anyone can suggest ? Regards --lss