From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.devel Subject: Re: master 6a2ee981c3: Add new functions for splitting the root window Date: Wed, 14 Sep 2022 00:09:19 +0700 Message-ID: References: <166240424802.11417.12502552895310232639@vcs2.savannah.gnu.org> <20220905185728.838CEC0088A@vcs2.savannah.gnu.org> <86h71kseiw.fsf@mail.linkov.net> <87illzmjew.fsf@gnus.org> <868rmvxdvj.fsf@mail.linkov.net> <87bkrq5bmb.fsf@gnus.org> <87pmg69ifi.fsf@gmail.com> <87h71i3vr3.fsf@gnus.org> <864jxfghcf.fsf@mail.linkov.net> <87sfkygokp.fsf@gnus.org> <87r10hg5u7.fsf@melete.silentflame.com> <87sfkve623.fsf@melete.silentflame.com> <875yhre4qb.fsf@melete.silentflame.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2941"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Sean Whitton , Stefan Monnier , Lars Ingebrigtsen , Juri Linkov , Robert Pluim , emacs-devel@gnu.org, Hugo Heagren To: Gregory Heytings Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Sep 13 19:12:02 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oY9S6-0000WW-5s for ged-emacs-devel@m.gmane-mx.org; Tue, 13 Sep 2022 19:12:02 +0200 Original-Received: from localhost ([::1]:58854 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oY9S5-0001Ua-2K for ged-emacs-devel@m.gmane-mx.org; Tue, 13 Sep 2022 13:12:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51902) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oY9Pj-0008LK-CP for emacs-devel@gnu.org; Tue, 13 Sep 2022 13:09:35 -0400 Original-Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]:35764) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oY9Ph-00042F-OE for emacs-devel@gnu.org; Tue, 13 Sep 2022 13:09:35 -0400 Original-Received: by mail-wr1-x42a.google.com with SMTP id bz13so21886360wrb.2 for ; Tue, 13 Sep 2022 10:09:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date; bh=R3erE9wNH6lUcwLWVbxVlkf8Oxi98TD8VA1ksmQ7VeY=; b=nGbHGA0g39sUM/lAehWnpNGySPi4UkAEUTQtFlqc501dBji0OeQUuIBmjpe/KeKwvc t8ptToWmrtMobNTthknjsIs000S7Goh1pmZD5Wy3KQ0yZcwuSFpIJSSJzvCwg1bqgYYA gV/CIanJqc1PiOpyvCk3TmwcUGCuWHbql/+bKZa68iN7vLX/NazECZeLG78Z34K+ekLa 5mwuB10LjEEo3daY+KfL4OdJHm5xXBZ1Wiw8mWb17e9+YACpw85XrFgxyMT5cGICg67D e3sE+7O5fiT+dMnZ1M6IbwSb/kTmRUd6sAKveexAIM3+1/6Wc6xwDMmPFRvOU0QbjAbn oqHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date; bh=R3erE9wNH6lUcwLWVbxVlkf8Oxi98TD8VA1ksmQ7VeY=; b=AKhjapeilVroHR52frjNUBPmSXHRY5FLbaUaYfllf7Wm/26zKqHhu5WrThFy+L7AtB WHptYkBzxMYGC7k4hIlt8XVYWhGUuiXSxPIGcpVXFOp4bEH4DySalldJmIrLD67TYIIN MFy/x9MG0wdjX5XtwVd3ZTaezM3+bBtL+u5PzoLFVHrjp9Xr572VgZ+JOK1d3LVBqiuL fTWElZOQ3tRo5JlQshXrvnt5xJu8CLwgU7kEuL6evqG+KMjGrkHVyo2J3yAX/E9EWntE CtTOHGkrmgi4AAdpzrQT6C0gZZrmX1pG2+IShWVy7howKK7xJ6nD6D5tp4cwmltGw6f3 N/Rg== X-Gm-Message-State: ACgBeo1LNDLfq2gPkHpPvfoxHM/VKhislSGJrqO3FNM6BeBqr/IaqI3J K7hp6xVmpExqHlojwr0+On8zqPpVFjE3lTO3XO8= X-Google-Smtp-Source: AA6agR7FCg5fqlJjAFMNYQ4f4ZbaZy2peQxOaABYsYYnyy6jEc+M1ESEdCqwgCQ/pfhcDC+2gF9tt6aLLos/t9kWUis= X-Received: by 2002:a05:6000:1146:b0:228:d61c:2c83 with SMTP id d6-20020a056000114600b00228d61c2c83mr19598240wrx.332.1663088972190; Tue, 13 Sep 2022 10:09:32 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::42a; envelope-from=yurivkhan@gmail.com; helo=mail-wr1-x42a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:295266 Archived-At: On Tue, 13 Sept 2022 at 23:33, Gregory Heytings wrot= e: > > It doesn=E2=80=99t even work (correctly). > > > > C-u -4 C-x 2 > > > > =E2=87=92 the resulting bottom window displays slightly more than two l= ines. > > > > (Disclaimer: I=E2=80=99m using a non-nil line-spacing; but if I set it = to nil, > > then the new window displays slightly less than three lines.) > > That's the expected behavior, because the mode line is part of the height > of a window. So with emacs -Q, C-u -4 C-x 2 creates a window that is 4 > lines tall, 3 lines for the window body and 1 line for the mode line. Even so, surely the more useful behavior would be to create a window that is exactly 1 modeline + 3 actual lines=E2=80=99 heights taking the buffer=E2=80=99s remapped default face, line-spacing, and whatever else affects its display, into account, rather than just 4 abstract lines=E2=80= =99 heights?