From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.bugs Subject: bug#56393: Actually fix the long lines display bug Date: Mon, 18 Jul 2022 17:07:26 +0000 Message-ID: References: <38c1a31040d2d2bc47ae@heytings.org> <834jzt59jt.fsf@gnu.org> <831qux5806.fsf@gnu.org> <9C70BEF7-08EC-46A0-89D3-547417FA01F8@gmail.com> <83let43xg9.fsf@gnu.org> <83sfna3gzq.fsf@gnu.org> <83fsja36an.fsf@gnu.org> <34362AA6-6404-4727-9C60-6B6CA6736DD4@gnus.org> <83v8rvpxx7.fsf@gnu.org> <209e6aa436f84e1f729a@heytings.org> <83sfmzpw4e.fsf@gnu.org> <83h73epq7v.fsf@gnu.org> <83cze2pmtk.fsf@gnu.org> <838roqpkjs.fsf@gnu.org> <83y1wqnyh5.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9666"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gerd.moellmann@gmail.com, larsi@gnus.org, 56393@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jul 18 19:08:11 2022 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 1oDUE7-0002Ox-Rj for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 18 Jul 2022 19:08:11 +0200 Original-Received: from localhost ([::1]:48750 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oDUE6-0008Dt-8j for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 18 Jul 2022 13:08:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39854) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oDUDy-0008Dk-G5 for bug-gnu-emacs@gnu.org; Mon, 18 Jul 2022 13:08:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54200) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oDUDy-0007kQ-7A for bug-gnu-emacs@gnu.org; Mon, 18 Jul 2022 13:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oDUDy-00033e-1C for bug-gnu-emacs@gnu.org; Mon, 18 Jul 2022 13:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 18 Jul 2022 17:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56393 X-GNU-PR-Package: emacs Original-Received: via spool by 56393-submit@debbugs.gnu.org id=B56393.165816405011717 (code B ref 56393); Mon, 18 Jul 2022 17:08:02 +0000 Original-Received: (at 56393) by debbugs.gnu.org; 18 Jul 2022 17:07:30 +0000 Original-Received: from localhost ([127.0.0.1]:51959 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDUDS-00032v-82 for submit@debbugs.gnu.org; Mon, 18 Jul 2022 13:07:30 -0400 Original-Received: from heytings.org ([95.142.160.155]:42750) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDUDP-00032l-NM for 56393@debbugs.gnu.org; Mon, 18 Jul 2022 13:07:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1658164046; bh=3Q0D8i/7zXHTngW4chwiFvs0XMfUj5Bl0zej+1sPPko=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=D6ehrmGgWAxF03R/5kSaXqSZg/EsuWSBHq1QUGoLIuiLJD7Z12MGY60rfFIfP0XoC v9+ERcz38B8aGnrvwLRKnrXp2QeIUUyM1wfJ+G9PwG7A6aBe0SKfd2BZkeunzPplIJ EJZrQsuQMW50EwjDCGV10sDjoc9ZASkhpb01ZNFmyyL4QjwU16mJFJAF9udOCHXa9v 7tqAzKKDOSgYKt/2+3t2TB+4maBCJyRfu8lUBwvl3eg/tGzqPSQbor7utj19GSNw4y q5Ks7tV+QVGyjY5e5TiTIl3wMolGpBmRqY1EAV1g2MCSGgUKC0mVH28frb0msulxzl ZZfLJm2TtV2Jw== In-Reply-To: <83y1wqnyh5.fsf@gnu.org> 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:237373 Archived-At: > > Not that I know of, no. At least we don't keep this information > anywhere, even after we compute it for display. In particular, if we > never displayed some part of the buffer since the beginning of the > session, we don't even know what fonts that could require. And > computing that takes the same effort as displaying the text in the first > place. > > [...] > > That translates into a lot of potential issues. First, you need a > fixed-pitch default face, right? Then you need to ensure we don't have > any characters that are displayed by fonts other than the default face's > font, either because these characters aren't supported by the font, or > required by some non-default face, or even because some face requires > the default font, but with a different weight or size or slant. You > also need to make sure there are no overlays in the buffer, and no > 'display' or invisible properties. Maybe also that tab-width is at its > default value? Maybe there's more. > Thanks for the detailed explanation. It's clear that computing that information would largely outweigh its potential benefit, so I'll have to live without that potential optimization.