From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!not-for-mail
From: Stefan Monnier <monnier@iro.umontreal.ca>
Newsgroups: gmane.emacs.bugs
Subject: bug#19003: 24.4;
	Mouse-click in different frame displaying same buffer breaks region
Date: Mon, 10 Nov 2014 17:55:03 -0500
Message-ID: <jwvvbmmekln.fsf-monnier+emacsbugs@gnu.org>
References: <ymzzjc0sm8l.fsf@tr.swing.cluster>
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Trace: ger.gmane.org 1415660191 3403 80.91.229.3 (10 Nov 2014 22:56:31 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Mon, 10 Nov 2014 22:56:31 +0000 (UTC)
Cc: 19003@debbugs.gnu.org
To: Christian Tanzer <tanzer@swing.co.at>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 10 23:56:24 2014
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>
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 <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>)
	id 1Xnxsl-0005Nu-E8
	for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Nov 2014 23:56:23 +0100
Original-Received: from localhost ([::1]:45444 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>)
	id 1Xnxsl-0006HR-5I
	for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Nov 2014 17:56:23 -0500
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36301)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1Xnxsa-0006Az-GL
	for bug-gnu-emacs@gnu.org; Mon, 10 Nov 2014 17:56:19 -0500
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1XnxsQ-0002My-OM
	for bug-gnu-emacs@gnu.org; Mon, 10 Nov 2014 17:56:12 -0500
Original-Received: from debbugs.gnu.org ([140.186.70.43]:59244)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1XnxsQ-0002Mu-Lw
	for bug-gnu-emacs@gnu.org; Mon, 10 Nov 2014 17:56:02 -0500
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1XnxsQ-00007f-Hx
	for bug-gnu-emacs@gnu.org; Mon, 10 Nov 2014 17:56:02 -0500
X-Loop: help-debbugs@gnu.org
Resent-From: Stefan Monnier <monnier@iro.umontreal.ca>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Mon, 10 Nov 2014 22:56:02 +0000
Resent-Message-ID: <handler.19003.B19003.1415660106340@debbugs.gnu.org>
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.1415660106340
	(code B ref 19003); Mon, 10 Nov 2014 22:56:02 +0000
Original-Received: (at 19003) by debbugs.gnu.org; 10 Nov 2014 22:55:06 +0000
Original-Received: from localhost ([127.0.0.1]:56453 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1XnxrW-00005Q-9l
	for submit@debbugs.gnu.org; Mon, 10 Nov 2014 17:55:06 -0500
Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:23131)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <monnier@iro.umontreal.ca>) id 1XnxrU-00005G-77
	for 19003@debbugs.gnu.org; Mon, 10 Nov 2014 17:55:04 -0500
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AvQMAOatTlRLd+sd/2dsb2JhbABcgw6DYlCGLstTBAICgRwXAQF8hAMBAQMBIzMjBQsLGgIYDgICFBgNJIhLCbZ8gUyTKgEBAQEGAQEBAR6BLI9cB4J3gVQFi2SmPIFvgjSBYh+BN4FDAQEB
X-IPAS-Result: AvQMAOatTlRLd+sd/2dsb2JhbABcgw6DYlCGLstTBAICgRwXAQF8hAMBAQMBIzMjBQsLGgIYDgICFBgNJIhLCbZ8gUyTKgEBAQEGAQEBAR6BLI9cB4J3gVQFi2SmPIFvgjSBYh+BN4FDAQEB
X-IronPort-AV: E=Sophos;i="5.04,797,1406606400"; d="scan'208";a="96596226"
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 17:55:03 -0500
Original-Received: by pastel.home (Postfix, from userid 20848)
	id 51282735D; Mon, 10 Nov 2014 17:55:03 -0500 (EST)
In-Reply-To: <ymzzjc0sm8l.fsf@tr.swing.cluster> (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" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
	<mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-gnu-emacs>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
	<mailto:bug-gnu-emacs-request@gnu.org?subject=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:95842

> A buffer is displayed in two frames, a region was
> selected with the mouse in one of the frames.

> The problem
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

> If one clicks (mouse-1) into the other frame, the region is silently
> extended to that point =E2=80=94 although it isn't highlighted anymore.

Actually, the region is extended as soon as you select the other frame
(if you have a window-manager that lets focus follow the mouse, then
you see it immediately).

So the problem is that this "switch-frame" should probably deactivate
the mark (if the region was set via shifted-movement).


        Stefan