From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#65105: Reusing the same string as 'display on consecutive characters evades display Date: Sun, 6 Aug 2023 01:46:49 +0300 Message-ID: References: <83tttdqpko.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20258"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Cc: 65105@debbugs.gnu.org To: JD Smith , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 06 00:48:20 2023 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 1qSQ4J-00052c-2y for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 06 Aug 2023 00:48:20 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qSQ45-0005zJ-QQ; Sat, 05 Aug 2023 18:48:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qSQ42-0005yp-El for bug-gnu-emacs@gnu.org; Sat, 05 Aug 2023 18:48:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qSQ42-0002M9-6h for bug-gnu-emacs@gnu.org; Sat, 05 Aug 2023 18:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qSQ42-0001NT-3H for bug-gnu-emacs@gnu.org; Sat, 05 Aug 2023 18:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Aug 2023 22:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65105 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 65105-submit@debbugs.gnu.org id=B65105.16912756225084 (code B ref 65105); Sat, 05 Aug 2023 22:48:02 +0000 Original-Received: (at 65105) by debbugs.gnu.org; 5 Aug 2023 22:47:02 +0000 Original-Received: from localhost ([127.0.0.1]:58313 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSQ33-0001Jj-N3 for submit@debbugs.gnu.org; Sat, 05 Aug 2023 18:47:02 -0400 Original-Received: from out1-smtp.messagingengine.com ([66.111.4.25]:44479) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSQ30-0001JP-IE for 65105@debbugs.gnu.org; Sat, 05 Aug 2023 18:46:59 -0400 Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 6EF185C0088; Sat, 5 Aug 2023 18:46:53 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Sat, 05 Aug 2023 18:46:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm2; t= 1691275613; x=1691362013; bh=DiVcRkndsRPmMVJeqKUtSpcLotNmi8VxHDg wt5nVo4M=; b=V11qbRsJNrzWJLSMdN2NLJ5R3gR3qlLH9iOcMRmWcGkw1ZF/DyF koHE/HTWR0scrsR128BbJ1KzoTTQ3nDGrC1P6Fjkff7vrpfG9XFjr9acyThlObBU BUaNuTU3xj+y2t3thAOEDAbCfhQMHXm8h9W/Wh73d2snUmDlahUoszsZr7vI11XO v09iL7e4BjOdTaEFlNsDhYhF1DWXePlcXcJoZgg/sKQ93CTSg/1Puw9p8Uvrsm8+ 4HYEePfYTRpleeySKIssBRxZX0sdgclnefhnNOWZ+qhLNEu/Y5Pxcq2sfQAP7ReX kWQ7f9/rYM6lDrgv/k2yTBdkoN1jNLsPfnA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1691275613; x=1691362013; bh=DiVcRkndsRPmMVJeqKUtSpcLotNmi8VxHDg wt5nVo4M=; b=FhWXGWM+dbGeNee38yyckqoZIxiLL1GoY7KtkbuAPcAbSKWuLxB /lm8HOsHIQcNgOrqmjol+UCXf8+Ir1Occz03jxXnoVdzPIM7DXpGkWdfq/OwdhAk nZeq6fj1wvfIA5t9Qk9a8cqRInqs3BrdDClEFvSFsfCJkcxraJsEDToOVCWQQjnF NnhAWvuta3iITFqoxvVhe7Q25Z7osicrOji3s/bgVA6z2WJH5lHEh+92Q8VBXfZz 8tDOLKmSg56jakCjWS8XnWvmEMPVt8QQh5RNKc2PwtArMsg+EJShhlj6FncdIqO2 qF5uyEAuPSYNB4V+oniLusFI7K9JTrAD3jw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrkeejgddugecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfuvfevfhfhjggtgfesthekredttdefjeenucfhrhhomhepffhmihht rhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrdguvghvqeenucggtffrrghtth gvrhhnpefhffehleejffegffeugefhkeektdffgfehjedvgeejtedtudehueffgffgfeej heenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegumh hithhrhiesghhuthhovhdruggvvh X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 5 Aug 2023 18:46:52 -0400 (EDT) Content-Language: en-US In-Reply-To: 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:266821 Archived-At: On 05/08/2023 23:49, JD Smith wrote: > Aha, thanks.  It does make sense from an optimization standpoint to > “gang” properties in this manner.  Are you aware of any approach that > allow re-using a string for ‘display, but permits consecutive intervals > to remain distinct? Overlays? But they have certain performance problems when their number grows. Or you could try resolving this manually: when the previous character is assigned with the same line, do a copy-sequence, and when it's a different one, you can use the "singleton" one.