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#14825: 24.3.50; split-window-below miscounts window lines Date: Wed, 10 Jul 2013 18:42:15 +0300 Message-ID: <83obaav2ug.fsf@gnu.org> References: <83hag5vszy.fsf@gnu.org> <51DBD33D.4000307@gmx.at> <83bo6bww40.fsf@gnu.org> <51DD0B31.8000901@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1373470991 8933 80.91.229.3 (10 Jul 2013 15:43:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Jul 2013 15:43:11 +0000 (UTC) Cc: 14825@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 10 17:43:11 2013 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 1UwwXs-0000Wr-Ur for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Jul 2013 17:43:09 +0200 Original-Received: from localhost ([::1]:39319 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UwwXs-00039x-Gf for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Jul 2013 11:43:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53258) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UwwXn-000349-UZ for bug-gnu-emacs@gnu.org; Wed, 10 Jul 2013 11:43:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UwwXm-0001YI-OJ for bug-gnu-emacs@gnu.org; Wed, 10 Jul 2013 11:43:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51180) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UwwXm-0001YC-Kc for bug-gnu-emacs@gnu.org; Wed, 10 Jul 2013 11:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1UwwXl-0007H3-TC for bug-gnu-emacs@gnu.org; Wed, 10 Jul 2013 11:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Jul 2013 15:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14825 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14825-submit@debbugs.gnu.org id=B14825.137347096127921 (code B ref 14825); Wed, 10 Jul 2013 15:43:01 +0000 Original-Received: (at 14825) by debbugs.gnu.org; 10 Jul 2013 15:42:41 +0000 Original-Received: from localhost ([127.0.0.1]:45496 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UwwXQ-0007GF-6S for submit@debbugs.gnu.org; Wed, 10 Jul 2013 11:42:40 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:44000) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UwwXN-0007G2-Sj for 14825@debbugs.gnu.org; Wed, 10 Jul 2013 11:42:39 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MPQ002008U1E300@a-mtaout22.012.net.il> for 14825@debbugs.gnu.org; Wed, 10 Jul 2013 18:42:25 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MPQ0027W8YODP20@a-mtaout22.012.net.il>; Wed, 10 Jul 2013 18:42:25 +0300 (IDT) In-reply-to: <51DD0B31.8000901@gmx.at> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:76188 Archived-At: > Date: Wed, 10 Jul 2013 09:20:17 +0200 > From: martin rudalics > CC: 14825@debbugs.gnu.org > > >> Currently, all window and frame sizing functions are based on canonical > >> character sizes. This will change when we do resizing pixelwise. > > > > Resizing is only part of the problem. There are functions that are > > unrelated to resizing, which report dimensions in canonical units. > > They should at least document this fact in the doc string, if not fix > > it. (The fix is not too hard, btw; see window-screen-lines for an > > example.) > > How would you report the size of an internal window composed of two leaf > windows showing buffers with different default character sizes? As a sum of the line counts of the two children, obviously.