From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#50178: 28.0.50; Size of echo area does not account for line-spacing Date: Thu, 26 Aug 2021 11:12:38 +0300 Message-ID: <83ilzstyix.fsf@gnu.org> References: <87eeajfvbq.fsf@telefonica.net> <83a6l7vyu2.fsf@gnu.org> <87a6l7ezks.fsf@telefonica.net> <837dgax1a0.fsf@gnu.org> <875yvug2ka.fsf@telefonica.net> <83y28qvhhn.fsf@gnu.org> <871r6ig01r.fsf@telefonica.net> <83wnoavftn.fsf@gnu.org> <87wnoaeisl.fsf@telefonica.net> <83sfyyuupx.fsf@gnu.org> <87k0k9er3w.fsf@telefonica.net> <2acd8c0f-443e-3521-20a4-05369193b899@gmx.at> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25029"; mail-complaints-to="usenet@ciao.gmane.io" Cc: ofv@wanadoo.es, 50178@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 26 10:14:13 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1mJAWb-0006JC-6R for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 26 Aug 2021 10:14:13 +0200 Original-Received: from localhost ([::1]:46152 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mJAWZ-0004Nu-ES for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 26 Aug 2021 04:14:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42360) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJAWQ-0004Ni-Mu for bug-gnu-emacs@gnu.org; Thu, 26 Aug 2021 04:14:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36807) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mJAWQ-0005tZ-Fo for bug-gnu-emacs@gnu.org; Thu, 26 Aug 2021 04:14:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mJAWQ-00053c-6J for bug-gnu-emacs@gnu.org; Thu, 26 Aug 2021 04:14: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: Thu, 26 Aug 2021 08:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50178 X-GNU-PR-Package: emacs Original-Received: via spool by 50178-submit@debbugs.gnu.org id=B50178.162996559119376 (code B ref 50178); Thu, 26 Aug 2021 08:14:02 +0000 Original-Received: (at 50178) by debbugs.gnu.org; 26 Aug 2021 08:13:11 +0000 Original-Received: from localhost ([127.0.0.1]:48353 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJAVa-00052R-Vu for submit@debbugs.gnu.org; Thu, 26 Aug 2021 04:13:11 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:54300) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJAVX-00052D-Br for 50178@debbugs.gnu.org; Thu, 26 Aug 2021 04:13:09 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:54772) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mJAVR-0005Fq-De; Thu, 26 Aug 2021 04:13:01 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2623 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJAVP-0004DW-VA; Thu, 26 Aug 2021 04:13:01 -0400 In-Reply-To: <2acd8c0f-443e-3521-20a4-05369193b899@gmx.at> (message from martin rudalics on Thu, 26 Aug 2021 09:54:51 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:212696 Archived-At: > Cc: Eli Zaretskii , 50178-done@debbugs.gnu.org > From: martin rudalics > Date: Thu, 26 Aug 2021 09:54:51 +0200 > > > On true pixel-oriented systems there are APIs for querying the display > > engine about several metrics. Then you can place the text at certain > > pixel coordinates. Emacs, however, is a Frankenstein system, that uses > > pixels (on graphic frames) but the text positioning depends on previous > > text, i.e. for vertical positioning it is a line-based, not pixel-based, > > system. Therefore, when you just need to output some lines, you must > > deal with pixels, translate back to lines and, to add insult to injury, > > resort to post-facto information. > > Users think in terms of lines and columns. True pixel-oriented systems > are not convenient for editing. Yes. Most users won't know the pixel height and width of what we call "the canonical character" in Emacs. I only know that because I hack the display code (which works almost entirely in pixels) frequently enough to have those values burned into my memory, and even that only on my main development system. So the average users out there would be unable to specify dimensions in pixels, as the dimensions they have in mind are in lines and columns.