From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.bugs Subject: bug#19988: 25.0.50; Drag events ending in different frame Date: Fri, 06 Mar 2015 08:12:14 +0100 Message-ID: <87385ilhv5.fsf@gnu.org> References: <87k2yycfwh.fsf@gnu.org> <83r3t5q11o.fsf@gnu.org> <87mw3tfdn8.fsf@gnu.org> <83mw3sptht.fsf@gnu.org> <87egp44gh5.fsf@gnu.org> <8361agp10p.fsf@gnu.org> <87oao79ain.fsf@gnu.org> <83twxznzrq.fsf@gnu.org> <874mpzi4xe.fsf@gnu.org> <83r3t3nqu5.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1425626005 31578 80.91.229.3 (6 Mar 2015 07:13:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Mar 2015 07:13:25 +0000 (UTC) Cc: 19988@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Mar 06 08:13:13 2015 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 1YTmRd-0000e8-4p for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Mar 2015 08:13:13 +0100 Original-Received: from localhost ([::1]:56561 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTmRc-0006i3-D3 for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Mar 2015 02:13:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59364) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTmRY-0006eE-89 for bug-gnu-emacs@gnu.org; Fri, 06 Mar 2015 02:13:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YTmRS-0006nV-W9 for bug-gnu-emacs@gnu.org; Fri, 06 Mar 2015 02:13:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38153) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTmRS-0006nI-TS for bug-gnu-emacs@gnu.org; Fri, 06 Mar 2015 02:13:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YTmRS-0001cD-H5 for bug-gnu-emacs@gnu.org; Fri, 06 Mar 2015 02:13:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Tassilo Horn Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 Mar 2015 07:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19988 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19988-submit@debbugs.gnu.org id=B19988.14256259506164 (code B ref 19988); Fri, 06 Mar 2015 07:13:02 +0000 Original-Received: (at 19988) by debbugs.gnu.org; 6 Mar 2015 07:12:30 +0000 Original-Received: from localhost ([127.0.0.1]:36721 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YTmQv-0001bM-Rn for submit@debbugs.gnu.org; Fri, 06 Mar 2015 02:12:30 -0500 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]:50083) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YTmQo-0001b7-Iz for 19988@debbugs.gnu.org; Fri, 06 Mar 2015 02:12:27 -0500 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id B15C4206EC for <19988@debbugs.gnu.org>; Fri, 6 Mar 2015 02:12:20 -0500 (EST) Original-Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Fri, 06 Mar 2015 02:12:22 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=x-sasl-enc:from:to:cc:subject:references :date:in-reply-to:message-id:mime-version:content-type; s= smtpout; bh=kwOhDs3miwGIPSNyqgVDdlJ3Fec=; b=SfRopipHjI/TFmS9RqLc 2p9GjQ5RZ6aD4FmRhq1dseEUyDuBmNopb9Rr8uzf8K3YDMiELWTVb/1HpXIFYIi8 fKTiOjz/jqZclJeK/x5GaN1uYObDAw5IDtAq6V6vdfTGMGcoUD92uccOOyszo++A BdzTshASKwK9ym1fd08CM6E= X-Sasl-enc: E7ROYOeuHKN2tsJ6N3hCIW4i4e8fq1JjmYOa+OgA3e7v 1425625941 Original-Received: from thinkpad-t440p (unknown [2.160.6.91]) by mail.messagingengine.com (Postfix) with ESMTPA id C53D0C002AB; Fri, 6 Mar 2015 02:12:20 -0500 (EST) In-Reply-To: <83r3t3nqu5.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 05 Mar 2015 22:15:30 +0200") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) 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:100129 Archived-At: Eli Zaretskii writes: >> >> Now I get a different behavior as described yesterday [1]: when my >> >> drag is released outside of the frame where it startet, no region >> >> is selected and the mark is set at the start position of the >> >> selected text. >> > >> > That's not what I see. For me, the region extension ends when the >> > mouse goes out of the frame, and the region stays as it was at the >> > last extension. >> > >> > Through which side of the frame do you exit the frame while dragging? >> >> It doesn't matter, the behavior is as described above. As said in my >> other mail, I don't use scroll-bars. But even with emacs -Q with >> scroll-bars on the right compiled from commit cbc9d8d I have the same >> behavior as above. > > So you are saying that you see the region extend to the edge of the > text as long as you drag the mouse inside the frame, then shrink back > when the mouse is dragged outside of the frame? Not exactly. 1. As long as I drag inside the start window, the region extends/shrinks. When releasing the mouse button, the region is from the start point to the position where I released the button and is active, i.e., highlighted by tmm. 2. When I drag into a different window of the left or right of the start window *showing the same buffer*, the region (highlighting) freezes at the position where the start window was left. When I release the mouse button in the other window, the region suddenly resized from the start position to the end position of the other window. That's actually a cool feature as it allows to select large regions without scrolling. 3. When I drag into a different window on the right of the start window which shows a different buffer than the start window, the region (highlighting) freezes as soon as I leave the start window. When I release the mouse button, the region suddenly becomes start-position to top of the buffer. 4. Doing the same as in 3. but dragging to the window on the left, when releasing the mouse button the region suddenly becomes start position to "somewhere above the end of the marked region which froze when leaving the start window", i.e., the region-end jumps up. Sometimes even higher than the region-start, sometimes below it. Sorry, I don't see any system here... 5. Dragging outside of the frame (which has only one window) freezes the selected region as soon as the mouse leaves the frame. It doesn't matter if I leave to the left or to the right. When I then release the mouse button outside of the frame, the region vanishes and the mark is set at the start position of the drag. So it seems you get a different behavior in at least case 5 (i.e., your region doesn't vanish). Not sure what might be the difference but I can reproduce that using emacs -Q. GNU Emacs 25.0.50.4 (x86_64-unknown-linux-gnu, GTK+ Version 3.14.9) of 2015-03-06, commit bfebebbc72c6a6ea375c6e8ed7f8641b25439770 Bye, Tassilo