From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Zidek, Herbert" Newsgroups: gmane.emacs.help Subject: switch-to-buffer-other-frame changes focus/mouse to that other frame Date: Fri, 15 Oct 2010 11:14:24 +0200 Organization: EPCOS AG Message-ID: <4CB81B70.4010200@epcos.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1287167318 12944 80.91.229.12 (15 Oct 2010 18:28:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 15 Oct 2010 18:28:38 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 15 20:28:36 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P6p1A-00027P-0O for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Oct 2010 20:28:36 +0200 Original-Received: from localhost ([127.0.0.1]:44161 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P6p19-0003Xt-Cu for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Oct 2010 14:28:35 -0400 Original-Received: from [140.186.70.92] (port=40720 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P6gLv-00081N-CW for help-gnu-emacs@gnu.org; Fri, 15 Oct 2010 05:13:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P6gLu-0004Z7-DB for help-gnu-emacs@gnu.org; Fri, 15 Oct 2010 05:13:27 -0400 Original-Received: from epcmail3.epcos.com ([217.115.75.9]:62818) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P6gLu-0004YY-3L for help-gnu-emacs@gnu.org; Fri, 15 Oct 2010 05:13:26 -0400 Original-Received: from svmp0202.epcos.biz ([172.16.245.202]) by epcmail3.epcos.com (8.12.11.20060308/8.12.11) with ESMTP id o9F9DMsq030855 for ; Fri, 15 Oct 2010 09:13:22 GMT Original-Received: from [172.18.127.64] ([172.18.127.64]) by svmp0202.epcos.biz with Microsoft SMTPSVC(6.0.3790.4675); Fri, 15 Oct 2010 11:13:22 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1 X-Enigmail-Version: 1.1.1 X-OriginalArrivalTime: 15 Oct 2010 09:13:22.0781 (UTC) FILETIME=[376290D0:01CB6C49] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Mailman-Approved-At: Fri, 15 Oct 2010 14:25:20 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:75137 Archived-At: Hello! Situation: A "switch-to-buffer-other-frame" switches to a (newly created) frame, but keeps the focus (and the mouse) on it's current location in GNU Emacs 22.1.1 (x86_64-suse-linux-gnu, GTK+ Version 2.12.0) of 2008-05-16 on willimas as a "switch-to-buffer-other-window" (with pop-up-frames==f) does. However, the same "switch-to-buffer-other-frame" in GNU Emacs 23.1.1 (x86_64-suse-linux-gnu, GTK+ Version 2.18.6) of 2010-04-01 on build17 gives the focus to (and places the mouse in) the (newly created) frame. I don't want to focus on the other-frame in this situation. How can I avoid this behavior of Emacs 23.1.1? A subsequent "set-mouse-pixel-position frame_orig x_orig y_orig" with according saved original values would help, but the delay between the switching forth and back is too long in order to ignore it. Any idea or help would be appreciated.