From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#19003: 24.4; Mouse-click in different frame displaying same buffer breaks region Date: Mon, 10 Nov 2014 20:39:50 -0500 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1415670040 23291 80.91.229.3 (11 Nov 2014 01:40:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Nov 2014 01:40:40 +0000 (UTC) Cc: 19003@debbugs.gnu.org To: Christian Tanzer Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 11 02:40:32 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Xo0RQ-00052Q-8s for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Nov 2014 02:40:20 +0100 Original-Received: from localhost ([::1]:46208 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xo0RP-0002ib-NG for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Nov 2014 20:40:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36248) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xo0RG-0002iR-1A for bug-gnu-emacs@gnu.org; Mon, 10 Nov 2014 20:40:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xo0R8-0007fv-IN for bug-gnu-emacs@gnu.org; Mon, 10 Nov 2014 20:40:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59507) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xo0R8-0007db-Er for bug-gnu-emacs@gnu.org; Mon, 10 Nov 2014 20:40:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Xo0R7-0006MW-R5 for bug-gnu-emacs@gnu.org; Mon, 10 Nov 2014 20:40:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 11 Nov 2014 01:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19003 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19003-submit@debbugs.gnu.org id=B19003.141566999324438 (code B ref 19003); Tue, 11 Nov 2014 01:40:01 +0000 Original-Received: (at 19003) by debbugs.gnu.org; 11 Nov 2014 01:39:53 +0000 Original-Received: from localhost ([127.0.0.1]:56720 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xo0Qz-0006M5-1U for submit@debbugs.gnu.org; Mon, 10 Nov 2014 20:39:53 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:59884) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xo0Qx-0006Ly-I6 for 19003@debbugs.gnu.org; Mon, 10 Nov 2014 20:39:51 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvAMAOatTlRLd+sd/2dsb2JhbABcgw6DYoZ+yDmDGgQCAoEcFwEBfIQDAQEEViMQCzQSFBgNJIhUuEiTKgEBAQEBAQQBAQEBHpEIB4RLBYtkpjyBb4I0gWIfgTeBQwEBAQ X-IPAS-Result: AvAMAOatTlRLd+sd/2dsb2JhbABcgw6DYoZ+yDmDGgQCAoEcFwEBfIQDAQEEViMQCzQSFBgNJIhUuEiTKgEBAQEBAQQBAQEBHpEIB4RLBYtkpjyBb4I0gWIfgTeBQwEBAQ X-IronPort-AV: E=Sophos;i="5.04,797,1406606400"; d="scan'208";a="96603196" Original-Received: from 75-119-235-29.dsl.teksavvy.com (HELO pastel.home) ([75.119.235.29]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 10 Nov 2014 20:39:50 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 47575735D; Mon, 10 Nov 2014 20:39:50 -0500 (EST) In-Reply-To: (Christian Tanzer's message of "Sun, 09 Nov 2014 11:26:50 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:95849 Would the patch below solve it for you? Stefan === modified file 'src/frame.c' --- src/frame.c 2014-11-10 20:05:40 +0000 +++ src/frame.c 2014-11-10 22:55:38 +0000 @@ -1198,7 +1198,7 @@ return do_switch_frame (frame, 1, 0, norecord); } -DEFUN ("handle-switch-frame", Fhandle_switch_frame, Shandle_switch_frame, 1, 1, "e", +DEFUN ("handle-switch-frame", Fhandle_switch_frame, Shandle_switch_frame, 1, 1, "^e", doc: /* Handle a switch-frame event EVENT. Switch-frame events are usually bound to this function. A switch-frame event tells Emacs that the window manager has requested === modified file 'lisp/window.el' --- lisp/window.el 2014-10-15 18:32:27 +0000 +++ lisp/window.el 2014-11-10 22:56:00 +0000 @@ -7904,7 +7904,7 @@ (defun handle-select-window (event) "Handle select-window events." - (interactive "e") + (interactive "^e") (let ((window (posn-window (event-start event)))) (unless (or (not (window-live-p window)) ;; Don't switch if we're currently in the minibuffer.