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: Tue, 25 Sep 2012 11:58:25 +0200 Message-ID: <50618041.9040607@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> <505ED4AB.7070009@gmx.at> <505F8576.8070902@t-online.de> <50601715.6030108@gmx.at> <5060DCAF.9030106@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: quoted-printable X-Trace: ger.gmane.org 1348567156 4816 80.91.229.3 (25 Sep 2012 09:59:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Sep 2012 09:59:16 +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 Tue Sep 25 11:59:21 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 1TGRvA-0004T9-Mr for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Sep 2012 11:59:16 +0200 Original-Received: from localhost ([::1]:57263 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGRv5-00009j-Ph for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Sep 2012 05:59:11 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52310) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGRv3-00009a-AA for bug-gnu-emacs@gnu.org; Tue, 25 Sep 2012 05:59:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TGRux-0000bp-D6 for bug-gnu-emacs@gnu.org; Tue, 25 Sep 2012 05:59:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44954) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGRux-0000bl-9Y for bug-gnu-emacs@gnu.org; Tue, 25 Sep 2012 05:59:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TGRwr-0007n2-Ne for bug-gnu-emacs@gnu.org; Tue, 25 Sep 2012 06:01: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: Tue, 25 Sep 2012 10:01: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.134856725929936 (code B ref 12419); Tue, 25 Sep 2012 10:01:01 +0000 Original-Received: (at 12419) by debbugs.gnu.org; 25 Sep 2012 10:00:59 +0000 Original-Received: from localhost ([127.0.0.1]:54500 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TGRwo-0007mm-Jk for submit@debbugs.gnu.org; Tue, 25 Sep 2012 06:00:58 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:57920) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1TGRwl-0007md-Gj for 12419@debbugs.gnu.org; Tue, 25 Sep 2012 06:00:56 -0400 Original-Received: (qmail invoked by alias); 25 Sep 2012 09:58:16 -0000 Original-Received: from 62-47-32-73.adsl.highway.telekom.at (EHLO [62.47.32.73]) [62.47.32.73] by mail.gmx.net (mp024) with SMTP; 25 Sep 2012 11:58:16 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX190rUked+90sVRcFRaKitbeGIKqvz7B7WMWiMtmE2 15RJF9jQYnQLXj In-Reply-To: <5060DCAF.9030106@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:64871 Archived-At: >> So I have to fix this regardless of the topic we're discussing here. > > Good! Though it wouldn't annoy me so much, if it weren't that it > slightly breaks your patch. What is important to me, is that when I > click and let go, the point is where I initially clicked, and since I > didn't move the mouse, I don't want to mark anything. I installed a fix by now. Please try it. > As for going the "opposite" direction, I wonder if it's worth while to= > keep a history of the last n implicitly changed window configurations > and try to revert to them wherever possible. Might be huge task > admittedly... Indeed. And it might not help when the user wants a configuration that didn't exist yet. That's why shrinking the minibuffer shrinks it to one line. Anything else would require proportional resizing which people don't like. > A somewhat related annoyance is that scrolling looses the point: > scrolling back to where you were before, doesn't revert that. Whenever= I > scroll to somewhere, the point should go where it was last visible > within those lines, if it had been visible there before! This should = be > quite straightforward. Though with sideways scrolling it might be mor= e > tricky... Eli already cited a corresponding thread. As far as sideways scrolling is concerned do you mean the disabled commands `scroll-left' and `scroll-right'? `scroll-restore' doesn't handle these yet but there should be no problem doing that. > The "disturbing new" is that (in our C-x 2 scenario) by clicking > somewhere, the point ends up somewhere else, and without moving the > mouse I've marked some text. I'm fairly confident that this is a rece= nt > degradation. (Though I don't have an old Emacs to try against to be > sure.) Your patch improved it, but not quite fixed it. Please come up with a precise scenario so I can reproduce it. > I don't C-x 3 so much, so this might have been there before =E2=80=93 = I don't > remember when it first annoyed me. Just the occasional glitch, which = on > its own never merited heckling anybody about. Actually sideways > scrolling is only neat when I click near the edge wanting it. When I > don't think about it, it's usually a hassle to get things like they we= re > before. Probably it should only sideways scroll when I drag the mouse= > over the window edge, like vertical scrolling. I suppose the problem with automatic sideways scrolling you see is that the positions of `point' and the mouse cursor do not coincide after an autscroll. But something like this happens all the time. Start mouse-marking text somewhere in the middle of a line and move the mouse down until you encounter an empty line. `point' will be at the beginning of the line and the mouse cursor around the column where it was before. IIUC, the primary importance here is to keep the mouse cursor from jumping around. martin