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#1261: 23.0.60; diary-insert-entry and mouse-autoselect-window Date: Tue, 04 Nov 2008 21:41:19 +0100 Message-ID: <87mygfb4wg.fsf@escher.local.home> References: <87zlkq3tc1.fsf@escher.local.home> <4905F9A4.3010403@gmx.at> <87tzax4vn4.fsf@escher.local.home> <4906C864.9020103@gmx.at> <98prlcihem.fsf@fencepost.gnu.org> <490FFB60.6030600@gmx.at> Reply-To: Stephen Berman , 1261@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1225831825 11677 80.91.229.12 (4 Nov 2008 20:50:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Nov 2008 20:50:25 +0000 (UTC) Cc: 1261@emacsbugs.donarmstrong.com To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 04 21:51:27 2008 connect(): Connection refused Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KxSry-00023i-RH for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 Nov 2008 21:51:23 +0100 Original-Received: from localhost ([127.0.0.1]:60703 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KxSqr-0001gi-Sd for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 Nov 2008 15:50:13 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KxSqo-0001ep-7g for bug-gnu-emacs@gnu.org; Tue, 04 Nov 2008 15:50:10 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KxSqn-0001eE-Ro for bug-gnu-emacs@gnu.org; Tue, 04 Nov 2008 15:50:09 -0500 Original-Received: from [199.232.76.173] (port=38463 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KxSqn-0001e0-CF for bug-gnu-emacs@gnu.org; Tue, 04 Nov 2008 15:50:09 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:36512) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KxSqn-0007Ht-5g for bug-gnu-emacs@gnu.org; Tue, 04 Nov 2008 15:50:09 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mA4Ko5O7001221; Tue, 4 Nov 2008 12:50:05 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mA4Ko2C9001058; Tue, 4 Nov 2008 12:50:02 -0800 X-Loop: don@donarmstrong.com Resent-From: Stephen Berman Original-Sender: steve@escher.local.home Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 04 Nov 2008 20:50:02 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1261 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1261-submit@emacsbugs.donarmstrong.com id=B1261.122583129432272 (code B ref 1261); Tue, 04 Nov 2008 20:50:02 +0000 Original-Received: (at 1261) by emacsbugs.donarmstrong.com; 4 Nov 2008 20:41:34 +0000 Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id mA4KfTxX032266 for <1261@emacsbugs.donarmstrong.com>; Tue, 4 Nov 2008 12:41:31 -0800 Original-Received: (qmail invoked by alias); 04 Nov 2008 20:41:22 -0000 Original-Received: from i59F5448B.versanet.de (EHLO escher.local.home) [89.245.68.139] by mail.gmx.net (mp023) with SMTP; 04 Nov 2008 21:41:22 +0100 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX19EMldveb9EMgww9NlrkZ8VahhHfh4QhJ3nO9CN6G ghaiWAwzGdBx34 Original-Received: by escher.local.home (Postfix, from userid 1000) id 4DE4D7FF73; Tue, 4 Nov 2008 21:41:19 +0100 (CET) In-Reply-To: (Glenn Morris's message of "Tue, 04 Nov 2008 13:51:27 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.64 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Tue, 04 Nov 2008 15:50:09 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:22166 Archived-At: On Tue, 04 Nov 2008 13:51:27 -0500 Glenn Morris wrote: > martin rudalics wrote: > >> Would it help to check popup_activated, like >> >> if (WINDOWP (window) >> && !popup_activated () >> && !EQ (window, last_window) >> && !EQ (window, selected_window) >> >> in handle_one_xevent? > > Not exactly like that, but with a tweak it seems to work (see below). > It feels a bit like covering up the real problem (gtk associating > popup with funny window), but I have no better solution; and indeed > one probably does not want to switch windows when popups are active. > > I don't use mouse-autoselect-window, so Stephen please could you check > this works ok? I applied the patch and confirm that it fixes the problem. Steve Berman