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: Fri, 14 Sep 2012 15:38:12 +0200 Message-ID: <50533344.2030000@gmx.at> References: <504FB55D.5030405@t-online.de> <5050432C.4060203@gmx.at> <5052450F.8030001@t-online.de> <5052F242.4060303@gmx.at> <83a9wsvqk6.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1347629968 10673 80.91.229.3 (14 Sep 2012 13:39:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Sep 2012 13:39:28 +0000 (UTC) Cc: occitan@esperanto.org, 12419@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 14 15:39:31 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 1TCW77-00025l-Fl for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Sep 2012 15:39:21 +0200 Original-Received: from localhost ([::1]:37412 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCW73-0004uY-Ol for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Sep 2012 09:39:17 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45015) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCW6y-0004tn-EB for bug-gnu-emacs@gnu.org; Fri, 14 Sep 2012 09:39:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCW6r-0001XK-CN for bug-gnu-emacs@gnu.org; Fri, 14 Sep 2012 09:39:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51943) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCW6r-0001XA-8u for bug-gnu-emacs@gnu.org; Fri, 14 Sep 2012 09:39:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TCW7m-00010z-5o for bug-gnu-emacs@gnu.org; Fri, 14 Sep 2012 09:40:02 -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: Fri, 14 Sep 2012 13:40:02 +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.13476299603848 (code B ref 12419); Fri, 14 Sep 2012 13:40:02 +0000 Original-Received: (at 12419) by debbugs.gnu.org; 14 Sep 2012 13:39:20 +0000 Original-Received: from localhost ([127.0.0.1]:33256 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCW76-000101-7x for submit@debbugs.gnu.org; Fri, 14 Sep 2012 09:39:20 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:54844) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1TCW74-0000zs-3G for 12419@debbugs.gnu.org; Fri, 14 Sep 2012 09:39:19 -0400 Original-Received: (qmail invoked by alias); 14 Sep 2012 13:38:19 -0000 Original-Received: from 62-47-46-61.adsl.highway.telekom.at (EHLO [62.47.46.61]) [62.47.46.61] by mail.gmx.net (mp010) with SMTP; 14 Sep 2012 15:38:19 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18hN/lA5n8hF8xOTiRgl2cJpqvsJQ5aM/J5wUMTfv 9eWjjsDst303uI In-Reply-To: <83a9wsvqk6.fsf@gnu.org> 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:64280 Archived-At: > Note that evaluating that expression raises the mode line of both the > lower and the upper windows. That didn't happen in Emacs 23.3, where > it would only affect the mode line (and the lower part) of the _lower_ > window that shows xdisp.c. This behavior is due to my redesign of the window resize code for Emacs 24.1. A couple of days ago Juanma told me that he's annoyed by it too. Emacs 23.3 had three different routines for window resizing - one for `enlarge-window', another one for `adjust-window-trailing-edge' and a third one for resizing the minibuffer window. Emacs 24.1 has one with an extra argument that triggers either symmetric or asymmetric resizing. For example, when resizing a frame, windows are resized symmetrically. That is, all windows shrink or grow proportionally to their normal size. This also means that, modulo some rounding errors, shrinking a frame and enlarging it by the same amount will bring back the initial layout. When dragging a divider, windows are resized asymmetrically, that is we enlarge only the window we drag away from and shrink the windows on the other side. Asymmetric resizing is not reversible, that is, dragging the divider back by the same amount will not necessarily reproduce the inital configuration. This property makes asymmetric resizing unsuitable for resizing the minibuffer window where we eventually want to get back the initial configuration. Emacs 23.3 used a separate set of routines when resizing the minibuffer window automatically. I can try to either resurrect that code or move it to Elisp. Neither of these is trivial because the parts have to be integrated into the current resizing framework so this will surely take some time. martin