From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#2025: 23.0.60; emacsclient: frame does not get focus on opening Date: Thu, 06 Oct 2011 00:19:31 +0200 Message-ID: <8762k3rsi4.fsf@escher.home> References: <87r62s20po.fsf@escher.local.home> <87botvltzw.fsf@escher.home> <4E8CA7F6.207@swipnet.se> <87aa9f3y6l.fsf@stupidchicken.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 1317853209 17273 80.91.229.12 (5 Oct 2011 22:20:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 5 Oct 2011 22:20:09 +0000 (UTC) Cc: 2025@debbugs.gnu.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 06 00:20:05 2011 Return-path: Envelope-to: geb-bug-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 1RBZoo-000632-6F for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Oct 2011 00:20:02 +0200 Original-Received: from localhost ([::1]:41764 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBZon-0006v8-GM for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 Oct 2011 18:20:01 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:37403) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBZol-0006ul-15 for bug-gnu-emacs@gnu.org; Wed, 05 Oct 2011 18:19:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RBZoj-00033p-IU for bug-gnu-emacs@gnu.org; Wed, 05 Oct 2011 18:19:58 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46199) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBZoj-00033l-Gv for bug-gnu-emacs@gnu.org; Wed, 05 Oct 2011 18:19:57 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RBZoo-0002Pw-D6 for bug-gnu-emacs@gnu.org; Wed, 05 Oct 2011 18:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 05 Oct 2011 22:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 2025 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug wontfix Original-Received: via spool by 2025-submit@debbugs.gnu.org id=B2025.13178531909260 (code B ref 2025); Wed, 05 Oct 2011 22:20:02 +0000 Original-Received: (at 2025) by debbugs.gnu.org; 5 Oct 2011 22:19:50 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RBZob-0002PI-Ni for submit@debbugs.gnu.org; Wed, 05 Oct 2011 18:19:50 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.22]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1RBZoZ-0002P5-47 for 2025@debbugs.gnu.org; Wed, 05 Oct 2011 18:19:48 -0400 Original-Received: (qmail invoked by alias); 05 Oct 2011 22:19:35 -0000 Original-Received: from i59F56543.versanet.de (EHLO escher.home) [89.245.101.67] by mail.gmx.net (mp004) with SMTP; 06 Oct 2011 00:19:35 +0200 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX1/NZvc8gj3Nkrp9HF2PLmX+vMRUQyRSCoXRbfLREz zhFHZ0rhmIBPXf Original-Received: by escher.home (Postfix, from userid 1000) id 961C422F0B; Thu, 6 Oct 2011 00:19:33 +0200 (CEST) In-Reply-To: <87aa9f3y6l.fsf@stupidchicken.com> (Chong Yidong's message of "Wed, 05 Oct 2011 17:50:42 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 05 Oct 2011 18:20:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:52241 Archived-At: On Wed, 05 Oct 2011 17:50:42 -0400 Chong Yidong wro= te: > Jan Dj=C3=A4rv writes: > >> A hint is just a hint, the WM may do as it please anyway. It is >> considered bad behaviour to try to steal input focus when started. It >> should depend on what policy the user has set, focus-follows-mouse or >> click-to-focus. >> >> If Emacs is started with focus-follows-mouse and the mouse isn't in a >> frame, I would expect Emacs not to have focus. However, some WMs warp >> the mouse to newly started applications. For click-to-focus I think >> the WM just does what it thinks is best. Some WMs have a setting >> ("give focus to new window") which the user can use to influence this. >> >> So to conclude, if Emacs where to try do anything, there are window >> managers where this would fail anyway. Better if the OP can get KWin >> to behave. Maybe there is some option for this in KWin. > > According to teh Google, the Kwin setting in question is called "focus > stealing prevention level", which should be set to "none" to allow > newly-launched applications to acquire focus. You beat me to the punch :-). That indeed seems to do the trick. (Maybe I should take more time to learn about KWin -- but that would mean having less time to spend on Emacs...) Steve Berman