From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#52676: 28.0.50; [PATCH] Rationalize window-text-pixel-size Date: Tue, 21 Dec 2021 11:38:42 +0800 Message-ID: <87mtkuy6d9.fsf@yahoo.com> References: <87wnk0xaz4.fsf@dick> <87h7b43qjb.fsf@yahoo.com> <87o85byhqg.fsf@dick> <83pmpr19ri.fsf@gnu.org> <87v8ziyc0n.fsf@yahoo.com> <8335mm1voq.fsf@gnu.org> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17944"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) Cc: dick.r.chiang@gmail.com, 52676@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 21 04:39:20 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 1mzVzj-0004TS-Ms for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 21 Dec 2021 04:39:20 +0100 Original-Received: from localhost ([::1]:45186 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mzVzh-0008Fb-Mn for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 20 Dec 2021 22:39:17 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:60802) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mzVzU-0008FE-DN for bug-gnu-emacs@gnu.org; Mon, 20 Dec 2021 22:39:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40380) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mzVzS-0005DN-Ti for bug-gnu-emacs@gnu.org; Mon, 20 Dec 2021 22:39:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mzVzS-00085M-GX for bug-gnu-emacs@gnu.org; Mon, 20 Dec 2021 22:39:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 21 Dec 2021 03:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52676 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 52676-submit@debbugs.gnu.org id=B52676.164005794131073 (code B ref 52676); Tue, 21 Dec 2021 03:39:02 +0000 Original-Received: (at 52676) by debbugs.gnu.org; 21 Dec 2021 03:39:01 +0000 Original-Received: from localhost ([127.0.0.1]:51926 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mzVzR-000856-1o for submit@debbugs.gnu.org; Mon, 20 Dec 2021 22:39:01 -0500 Original-Received: from sonic313-10.consmr.mail.ne1.yahoo.com ([66.163.185.33]:37972) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mzVzM-00084q-86 for 52676@debbugs.gnu.org; Mon, 20 Dec 2021 22:39:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1640057930; bh=etHuTN0OlQCV+heVcCULTnRsx/3w3MXqbkb7km75sp8=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=qFAn3pjy5xNaXxV15HQ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QLBJXRvG09eZLevL_rEWHnis4aP.rO5pQBlMYjvTzjUFr 4FtF6.tsjJIa2PlqOknheyPQtFsvPp_yJnOWfsXiBWe2S1XORtU.yNX6RPbZdTZSRgOU_OUmp8cd sAz3ECXKaRs9Fft37qyiEuetUfzgTmuCNhqmPlOaVc7VpLOHP2vdz__Z.sDb_UakY744lL210WKD ceOcskOSD_fNftlmA8fQNAhIAUXb.wIvaDlNAedmblU_d0w5wRGmujHMF.DLLC5T810A3PNsFxMi tCAGip1VeCIZdistc3FRSsLNDMeI6bl_tsCaMB3qpyrcLHHUKt7N2An6FtpVPSm8x_Dj2BFTuIKW A6FVTD9BNcW.cMiPKYLpSXRqEe8zgVcV1dQ9azT_L2tmt3nV_T42jDSUdzn7MPRDqmg9Tx7wunSw ndkjDu67wFewapq8c.OEvMGL7XxDpI6UL7LzdHMis_Zo75RERLa5mYnGP2f77uCLNpOoYM2AAoRL 7nOnqNdY6CQs0v8v5oTwI.lQyjmgx7mWWAG8vnTnfxQingsq5Pr.2hOjhqWzYwQ8Wv_8oO9VdrcO 91F5BbZLX9rcniUdijb0qR_LW0TzvjasemosyVoN2Y X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.ne1.yahoo.com with HTTP; Tue, 21 Dec 2021 03:38:50 +0000 Original-Received: by kubenode510.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 8db8197303ad6f6da28299728af6abfc; Tue, 21 Dec 2021 03:38:47 +0000 (UTC) In-Reply-To: <8335mm1voq.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 21 Dec 2021 05:30:29 +0200") X-Mailer: WebService/1.1.19498 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:222831 Archived-At: Eli Zaretskii writes: >> From: Po Lu >> Cc: dick , 52676@debbugs.gnu.org >> Date: Tue, 21 Dec 2021 09:36:40 +0800 >> >> Eli Zaretskii writes: >> >> > This produces no assertions here (with the current master), if that's >> > what you wanted to hear. >> >> It fails (for example) when there is a line-prefix, and that code is >> slow. > > Can you show a recipe? I didn't write one, but that's precisely the code we had in pixel-point-and-height-at-unseen-line at some point, and it didn't work with overlays with a before-string, line-prefix and wrap-prefix.