From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mathias Dahl Newsgroups: gmane.emacs.devel Subject: Re: raise frame no go Date: Sat, 13 Jan 2007 20:04:26 +0100 Message-ID: References: <459CE81B.2090201@swipnet.se> <459F96D3.9050007@swipnet.se> <7dbe73ed0701070858y868da5m566f994904d3c067@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1168715427 28788 80.91.229.12 (13 Jan 2007 19:10:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 13 Jan 2007 19:10:27 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 13 20:10:25 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1H5oGk-00024B-Pg for ged-emacs-devel@m.gmane.org; Sat, 13 Jan 2007 20:10:23 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H5oGk-0002MA-NR for ged-emacs-devel@m.gmane.org; Sat, 13 Jan 2007 14:10:22 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H5oGY-0002Ls-QW for emacs-devel@gnu.org; Sat, 13 Jan 2007 14:10:10 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H5oGX-0002Kv-L6 for emacs-devel@gnu.org; Sat, 13 Jan 2007 14:10:09 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H5oGX-0002Ks-DE for emacs-devel@gnu.org; Sat, 13 Jan 2007 14:10:09 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1H5oGX-0001k2-05 for emacs-devel@gnu.org; Sat, 13 Jan 2007 14:10:09 -0500 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1H5oGQ-0005pK-GT for emacs-devel@gnu.org; Sat, 13 Jan 2007 20:10:02 +0100 Original-Received: from 1-1-3-38a.gml.gbg.bostream.se ([82.182.110.147]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 13 Jan 2007 20:10:02 +0100 Original-Received: from mathias.dahl by 1-1-3-38a.gml.gbg.bostream.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 13 Jan 2007 20:10:02 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 25 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 1-1-3-38a.gml.gbg.bostream.se User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (gnu/linux) Cancel-Lock: sha1:C607e2HWBcQ1YZiTwBGf8k76EWQ= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:65180 Archived-At: "Mathias Dahl" writes: > I just wanted to add to the discussion that Metacity indeed seems to > be buggy. Yesterday I downloaded and compiled a small program called > `xwit' that could "pop" a windo to front. Guess what, the same > behaviour as I get with `raise-frame' in Emacs. > > A pity as I am reluctant to change my window manager in Gnome. I have now found a work around to my problem. I am building a kind of command launcher (something similar to this: http://pyqe.sourceforge.net/) in Emacs and my problem was that I could not get Emacs to bring the frame where I ask the user for input to the top. To solve my problem I downloaded and compiled a small program called "devilspie" (http://www.burtonini.com/blog/computers/devilspie). This tool lies in the background and "listens" for windows that opens, and in my case I configured it to execute the "focus" action whenever a certain window created from Emacs opens (my little command launcher creates a frame with a special name). Of course, if Metacity and Emacs would play along more nicely I would not need this extra hack, but as it solves my problem it is no longer really a problem for me. At least not right now.