From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#12419: Mouse click changes layout Date: Sun, 23 Sep 2012 11:21:47 +0200 Message-ID: <505ED4AB.7070009@gmx.at> References: <504FB55D.5030405@t-online.de> <5050432C.4060203@gmx.at> <5052450F.8030001@t-online.de> <5052F242.4060303@gmx.at> <5055D769.1060804@t-online.de> <50561046.60902@gmx.at> <505E1FB6.1050504@t-online.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1348392139 12982 80.91.229.3 (23 Sep 2012 09:22:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 23 Sep 2012 09:22:19 +0000 (UTC) Cc: 12419@debbugs.gnu.org To: occitan@esperanto.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 23 11:22:24 2012 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 1TFiON-00049C-SB for geb-bug-gnu-emacs@m.gmane.org; Sun, 23 Sep 2012 11:22:23 +0200 Original-Received: from localhost ([::1]:37097 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFiOJ-0005Gu-10 for geb-bug-gnu-emacs@m.gmane.org; Sun, 23 Sep 2012 05:22:19 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46643) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFiOF-0005Gp-PQ for bug-gnu-emacs@gnu.org; Sun, 23 Sep 2012 05:22:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TFiOE-00040P-Mi for bug-gnu-emacs@gnu.org; Sun, 23 Sep 2012 05:22:15 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40701) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFiOE-00040L-JF for bug-gnu-emacs@gnu.org; Sun, 23 Sep 2012 05:22:14 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TFiPx-0007PG-NT for bug-gnu-emacs@gnu.org; Sun, 23 Sep 2012 05:24:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 23 Sep 2012 09:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12419 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12419-submit@debbugs.gnu.org id=B12419.134839222828451 (code B ref 12419); Sun, 23 Sep 2012 09:24:01 +0000 Original-Received: (at 12419) by debbugs.gnu.org; 23 Sep 2012 09:23:48 +0000 Original-Received: from localhost ([127.0.0.1]:50246 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TFiPk-0007Op-4i for submit@debbugs.gnu.org; Sun, 23 Sep 2012 05:23:48 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.23]:43939) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1TFiPh-0007Og-Rp for 12419@debbugs.gnu.org; Sun, 23 Sep 2012 05:23:46 -0400 Original-Received: (qmail invoked by alias); 23 Sep 2012 09:21:56 -0000 Original-Received: from 62-47-34-71.adsl.highway.telekom.at (EHLO [62.47.34.71]) [62.47.34.71] by mail.gmx.net (mp001) with SMTP; 23 Sep 2012 11:21:56 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18odnJGI7so+iaqGzVx0uWlqGKEiT3C4hkSRKQzKj yYuB4h30H9j+uu In-Reply-To: <505E1FB6.1050504@t-online.de> X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:64807 Archived-At: >> Can you try the attached patch? > > I now did, but in neither split direction anything seems to have changed > from what I described before. Let's look at your first scenario with emacs -Q: Do C-x 2 C-x o and in the lower window insert the form (message (make-string 1000 ?a)) so the buffer *scratch* now contains this text: ;; This buffer is for notes you don't want to save, and for Lisp evaluation. ;; If you want to create a file, visit that file with C-x C-f, ;; then enter the text in that file's own buffer. (message (make-string 1000 ?a)) Now evaluate the form inserted - the minibuffer window resizes and the divider line between the upper and lower normal window moves up. Still in the lower window press the left mouse button down (but don't release it) with the mouse pointer on the "1" of the "1000". Now release the left mouse button and the region starting with the word "notes" up to the space before "1000" gets higlighted. This is the behavior I observe with an unpatched Emacs trunk. With the patch, the divider line between the upper and lower window does not move and there's no region highlighting when I release the mouse button. The second scenario you sketched is > Independently of resizing, something similar happens for sideways > scrolling: Split *scratch* vertically, click on the v of visit, nothing > happens (that's where it dffers). But then move the mouse 1 char right, > this triggers a sideways scroll. The mouse is now over the e of file. > When letting go, it marks "visit that fil" but worse, it scrolls yet > again by the same amount, so that the mouse is now at the end of the > line, far from the text it marked. I suppose what you mean here with emacs -Q is: C-x 3 Now if I click in any of the two windows on the "v" of the word "visit", I get the same sideways scroll behavior with my Emacs 23.3, Emacs 24.1 and the current trunk regardless of how long I keep the button pressed. martin