From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: raise-frame doesn't work in Fedora Core 4 Date: Fri, 03 Nov 2006 02:07:06 -0500 Message-ID: References: <45484BCB.8060902@swipnet.se> <45499E95.1080403@swipnet.se> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1162537656 29288 80.91.229.2 (3 Nov 2006 07:07:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 3 Nov 2006 07:07:36 +0000 (UTC) Cc: handa@m17n.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 03 08:07:34 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Gft9F-0000vp-53 for ged-emacs-devel@m.gmane.org; Fri, 03 Nov 2006 08:07:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gft9E-0006YI-7s for ged-emacs-devel@m.gmane.org; Fri, 03 Nov 2006 02:07:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gft8v-0006Te-Dg for emacs-devel@gnu.org; Fri, 03 Nov 2006 02:07:09 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gft8t-0006RW-KD for emacs-devel@gnu.org; Fri, 03 Nov 2006 02:07:08 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gft8t-0006RT-Fe for emacs-devel@gnu.org; Fri, 03 Nov 2006 02:07:07 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Gft8t-0007HC-8f for emacs-devel@gnu.org; Fri, 03 Nov 2006 02:07:07 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1Gft8s-0004K4-8Q; Fri, 03 Nov 2006 02:07:06 -0500 Original-To: =?ISO-8859-15?Q?Jan_Dj=E4rv?= In-reply-to: <45499E95.1080403@swipnet.se> (message from =?ISO-8859-15?Q?Jan_Dj=E4rv?= on Thu, 02 Nov 2006 08:30:29 +0100) 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:61661 Archived-At: > What happens if you do this (via wmctrl or directly) and you're using > an older wm? Does it do any harm? No, it becomes a noop. The client message gets sent to the root window but since nobody (i.e. the window manager) isn't listening for it, nothing more happens. Then by all means we should make it send the proper messages. It depends on how we want raise-frame to behave. Do we want Emacs to switch the frame to the current desktop or not? To not switch is the current implementation so if we want to change I suggest next release. I don't think Emacs should move the window to a different desktop merely because the code thinks it should be raised. That's would be too drastic, an interference with the user's window layout. However, selecting the desktop which contains that window, as you've said _NET_ACTIVATE_WINDOW does, is good.