From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#12419: Mouse click changes layout Date: Mon, 24 Sep 2012 16:33:38 +0200 Message-ID: <833927jxrx.fsf@gnu.org> 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> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1348497270 30593 80.91.229.3 (24 Sep 2012 14:34:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Sep 2012 14:34:30 +0000 (UTC) Cc: occitan@esperanto.org, 12419@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 24 16:34:33 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 1TG9jv-0007ur-IL for geb-bug-gnu-emacs@m.gmane.org; Mon, 24 Sep 2012 16:34:27 +0200 Original-Received: from localhost ([::1]:44939 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TG9jq-00084M-Nk for geb-bug-gnu-emacs@m.gmane.org; Mon, 24 Sep 2012 10:34:22 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59016) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TG9ji-0007wX-O3 for bug-gnu-emacs@gnu.org; Mon, 24 Sep 2012 10:34:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TG9jc-00019h-Vt for bug-gnu-emacs@gnu.org; Mon, 24 Sep 2012 10:34:14 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43827) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TG9jc-00019R-BT for bug-gnu-emacs@gnu.org; Mon, 24 Sep 2012 10:34:08 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TG9lR-0001Pf-Sz for bug-gnu-emacs@gnu.org; Mon, 24 Sep 2012 10:36:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Sep 2012 14:36: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.13484973555420 (code B ref 12419); Mon, 24 Sep 2012 14:36:01 +0000 Original-Received: (at 12419) by debbugs.gnu.org; 24 Sep 2012 14:35:55 +0000 Original-Received: from localhost ([127.0.0.1]:53373 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TG9lL-0001PM-1v for submit@debbugs.gnu.org; Mon, 24 Sep 2012 10:35:55 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:44770) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TG9lI-0001PD-3O for 12419@debbugs.gnu.org; Mon, 24 Sep 2012 10:35:53 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MAU00500Z18UD00@a-mtaout20.012.net.il> for 12419@debbugs.gnu.org; Mon, 24 Sep 2012 16:33:45 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MAU005GTZ48UL00@a-mtaout20.012.net.il>; Mon, 24 Sep 2012 16:33:45 +0200 (IST) In-reply-to: <50601715.6030108@gmx.at> X-012-Sender: halo1@inter.net.il 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:64845 Archived-At: > Date: Mon, 24 Sep 2012 10:17:25 +0200 > From: martin rudalics > Cc: 12419@debbugs.gnu.org > > Beginning with Emacs 24.1, windows have a normal height (a floating > point number) which is the fraction of their ideal height wrt to their > parent. When you do C-x 2 the normal height of both emanating windows > is 0.5. However, when the original window has an odd number of lines, > I have to give the lower window the one remaining line in order to be > consistent with the traditional splitting behavior. Where in the code or the infrastructure do we enforce an integral number of lines in a window? AFAIK, the only restriction imposed by the display engine is that a window's first line must be completely visible (unless its height is larger than the window). But the last line of a window can be only partially visible. That seems to imply that you should be able to split a window such that each child gets exactly half, in pixels. What am I missing?