From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#12419: Mouse click changes layout Date: Fri, 14 Sep 2012 11:45:33 -0400 Message-ID: References: <504FB55D.5030405@t-online.de> <5050432C.4060203@gmx.at> <5052450F.8030001@t-online.de> <5052F242.4060303@gmx.at> <83a9wsvqk6.fsf@gnu.org> <50533344.2030000@gmx.at> <831ui4veny.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1347637577 17152 80.91.229.3 (14 Sep 2012 15:46:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Sep 2012 15:46:17 +0000 (UTC) Cc: 12419@debbugs.gnu.org, occitan@esperanto.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 14 17:46: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 1TCY60-0006gc-WE for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Sep 2012 17:46:21 +0200 Original-Received: from localhost ([::1]:53599 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCY5w-0002IC-TL for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Sep 2012 11:46:16 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39275) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCY5q-0002I2-SL for bug-gnu-emacs@gnu.org; Fri, 14 Sep 2012 11:46:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCY5l-0006d2-1d for bug-gnu-emacs@gnu.org; Fri, 14 Sep 2012 11:46:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52664) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCY5k-0006cw-Uc for bug-gnu-emacs@gnu.org; Fri, 14 Sep 2012 11:46:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TCY6g-00044c-9e for bug-gnu-emacs@gnu.org; Fri, 14 Sep 2012 11:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Sep 2012 15:47: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.134763759615618 (code B ref 12419); Fri, 14 Sep 2012 15:47:02 +0000 Original-Received: (at 12419) by debbugs.gnu.org; 14 Sep 2012 15:46:36 +0000 Original-Received: from localhost ([127.0.0.1]:33976 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCY6F-00043q-LV for submit@debbugs.gnu.org; Fri, 14 Sep 2012 11:46:36 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:37456) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCY6D-00043h-6k for 12419@debbugs.gnu.org; Fri, 14 Sep 2012 11:46:34 -0400 Original-Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q8EFjYFM011742; Fri, 14 Sep 2012 11:45:34 -0400 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id E0D4CB4071; Fri, 14 Sep 2012 11:45:33 -0400 (EDT) In-Reply-To: <831ui4veny.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 14 Sep 2012 17:53:53 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) 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:64290 Archived-At: > Wouldn't using the "asymmetric" resizing do the job here? I don't > think the symmetric variant is ever TRT when triggered by resizing the > minibuffer window. I think asymmetric would be a better choice, indeed. IIUC the difference between "asymmetric" and the old "miniwindow-resize" behavior is that if the lowest window needs to be shrunk below the minimum height, the "miniwindow-resize" just gave up, whereas the "asymmetric" will try to resize further windows. I think The Right Thing(tm) lies somewhere between the two: - OT1H it's generally a good idea not to grow the miniwindow larger than other windows), hence the old "miniwindow-resize". - OTOH, if the window just above the minibuffer is a special tiny window displaying some auxiliary-info, it sometimes makes sense to treat it as a kind of "attachment to the modeline" and to resize the other window instead. So maybe tweaking the asymmetric behavior so it only resizes 1 window (typically the window immediately above the modeline, but if that one is marked window-size-fixed, then the one above) would be ideal. In the mean time, I suggest we try to use asymmetric. Stefan PS: BTW, I've several times wished that when dragging modelines (and vertical dividers), dragging them back would also bring back the other dividers. OTOH, I haven't had the chance to use an Emacs that would behave like that, so maybe if it did I'd often wish that the dividers don't move back.