From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Shrinking mini windows to one pixel height Date: Sat, 03 Mar 2018 14:58:19 +0200 Message-ID: <831sh1uxhw.fsf@gnu.org> References: <5A9A658A.5080207@gmx.at> <83d10lv4ko.fsf@gnu.org> <5A9A86D3.3070201@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1520081809 8795 195.159.176.226 (3 Mar 2018 12:56:49 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 3 Mar 2018 12:56:49 +0000 (UTC) Cc: emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 03 13:56:44 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1es6iR-0001gs-2u for ged-emacs-devel@m.gmane.org; Sat, 03 Mar 2018 13:56:43 +0100 Original-Received: from localhost ([::1]:39912 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1es6kT-0005R2-Kz for ged-emacs-devel@m.gmane.org; Sat, 03 Mar 2018 07:58:49 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40997) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1es6jn-0005Qk-Jg for emacs-devel@gnu.org; Sat, 03 Mar 2018 07:58:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1es6jj-0006zm-04 for emacs-devel@gnu.org; Sat, 03 Mar 2018 07:58:07 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50228) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1es6ji-0006zi-Su; Sat, 03 Mar 2018 07:58:02 -0500 Original-Received: from [176.228.60.248] (port=1036 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1es6ji-0001CD-76; Sat, 03 Mar 2018 07:58:02 -0500 In-reply-to: <5A9A86D3.3070201@gmx.at> (message from martin rudalics on Sat, 03 Mar 2018 12:28:19 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:223236 Archived-At: > Date: Sat, 03 Mar 2018 12:28:19 +0100 > From: martin rudalics > CC: emacs-devel@gnu.org > > > In any case, limiting this to frame-char-height sounds too harsh to > > me, because using a suitably selected font one could produce quite > > legible text in the mini window of a significantly smaller size. > > E.g., AFAIR sizes as small as half that don't even trigger > > reallocation of the glyph matrices, because their original allocation > > tolerates up to twice as many screen lines as determined by the > > frame's default font. > > Ideally we would remember the pixel height of the first text line and > never shrink it to anything less than that. Not sure I'm following: what do you mean by "the first text line", and what is its significance to the issue at hand?