From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: auto-raise-mode and auto-lower-mode Date: Tue, 29 Nov 2011 13:48:58 +0800 Message-ID: <87pqgbfph1.fsf@gnu.org> References: <87y5v2owyk.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1322545759 2726 80.91.229.12 (29 Nov 2011 05:49:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 29 Nov 2011 05:49:19 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 29 06:49:15 2011 Return-path: Envelope-to: ged-emacs-devel@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 1RVGZ6-0003RN-NJ for ged-emacs-devel@m.gmane.org; Tue, 29 Nov 2011 06:49:12 +0100 Original-Received: from localhost ([::1]:60316 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVGZ5-0006Cb-9p for ged-emacs-devel@m.gmane.org; Tue, 29 Nov 2011 00:49:11 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:53126) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVGZ3-0006CT-2Y for emacs-devel@gnu.org; Tue, 29 Nov 2011 00:49:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RVGZ1-0004eG-VA for emacs-devel@gnu.org; Tue, 29 Nov 2011 00:49:09 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:42428) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVGZ1-0004eC-On for emacs-devel@gnu.org; Tue, 29 Nov 2011 00:49:07 -0500 Original-Received: from [155.69.17.40] (port=46518 helo=furball) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1RVGZ0-0001Jh-Rv; Tue, 29 Nov 2011 00:49:07 -0500 In-Reply-To: (Stefan Monnier's message of "Mon, 28 Nov 2011 11:10:14 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:146337 Archived-At: Stefan Monnier writes: >> AFAICT, these don't work on modern window managers, right? > > Really? After further testing, auto-raise-mode does work, but only if you enable focus follows mouse _and_ disable auto raising in the window manager. (There's no chance of making it work for focus follows click, because the auto_raise frame parameter is only used from x_new_focus_frame.) I'll update the docstring to make this clearer. As for auto-lower-mode, it seems to interact badly with Metacity, leaving the window permanently unraisable. I have no idea what's going on there.