From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: igah Newsgroups: gmane.emacs.help Subject: Re: How to raise a frame under X (was: how to raise compilation frame) Date: Thu, 21 Jul 2011 05:08:39 -0700 (PDT) Message-ID: <32106901.post@talk.nabble.com> References: <32091270.post@talk.nabble.com> <871uxle3d8.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1311250145 12738 80.91.229.12 (21 Jul 2011 12:09:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 21 Jul 2011 12:09:05 +0000 (UTC) To: Help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jul 21 14:09:01 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qjs3m-0001RA-Rq for geh-help-gnu-emacs@m.gmane.org; Thu, 21 Jul 2011 14:08:58 +0200 Original-Received: from localhost ([::1]:42864 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qjs3m-0000vi-9m for geh-help-gnu-emacs@m.gmane.org; Thu, 21 Jul 2011 08:08:58 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:59751) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qjs3e-0000va-Kz for Help-gnu-emacs@gnu.org; Thu, 21 Jul 2011 08:08:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qjs3a-0008TY-3u for Help-gnu-emacs@gnu.org; Thu, 21 Jul 2011 08:08:50 -0400 Original-Received: from sam.nabble.com ([216.139.236.26]:37978) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qjs3a-0008Rq-0J for Help-gnu-emacs@gnu.org; Thu, 21 Jul 2011 08:08:46 -0400 Original-Received: from isper.nabble.com ([192.168.236.156]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1Qjs3T-00040O-0a for Help-gnu-emacs@gnu.org; Thu, 21 Jul 2011 05:08:39 -0700 In-Reply-To: <871uxle3d8.fsf@gmail.com> X-Nabble-From: weiqingh@mail.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 216.139.236.26 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:81700 thanks for your help. it works! i am running fluxbox 1.3.1. an earlier version of fluxbox doesn't have the problem.=20 again, thanks! =C5=A0t=C4=9Bp=C3=A1n N=C4=9Bmec wrote: >=20 > igah writes: >=20 >> when i run the "compile" command, a new frame pops up. when i run compil= e >> again (from the main frame), the compilation frame doesn't get raised >> automatically. i am using emacs 23.2.1 (x86_64-redhat-linux-gnu, GTK+ >> Version 2.24.4) under fluxbox. any help is greatly appreciated.=20 >=20 > Under X and with some window managers, Emacs' `raise-frame' seems to > fail. If your WM supports EWMH[1], you might be able to fix it with > something like the following: >=20 > (defadvice raise-frame (around wmctrl activate) > (if (eq (window-system (ad-get-arg 0)) 'x) > (x-send-client-message nil 0 (ad-get-arg 0) > "_NET_ACTIVE_WINDOW" 32 '(1)) > ad-do-it)) >=20 > You might also want to `report-emacs-bug', as Emacs obviously doesn't do > as much as it should on its own. >=20 > =C5=A0t=C4=9Bp=C3=A1n >=20 > [1] http://standards.freedesktop.org/wm-spec/wm-spec-latest.html >=20 >=20 >=20 --=20 View this message in context: http://old.nabble.com/how-to-raise-compilatio= n-frame-tp32091270p32106901.html Sent from the Emacs - Help mailing list archive at Nabble.com.