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.devel Subject: Re: Tick Reduction Date: Tue, 23 Nov 2021 16:43:00 +0200 Message-ID: <83tug3ndaj.fsf@gnu.org> References: <87bl2hyzca.fsf@gnus.org> <877dd1mlsd.fsf@gnus.org> <83k0h1qss5.fsf@gnu.org> <8735npmkm5.fsf@gnus.org> <83h7c5qpag.fsf@gnu.org> <87czmtl2uv.fsf@gnus.org> <83fsrpqog1.fsf@gnu.org> <87wnl1jnfa.fsf@gnus.org> <83czmtqnl7.fsf@gnu.org> <87h7c5jmbg.fsf@gnus.org> <838rxhqmqv.fsf@gnu.org> <878rxhjlot.fsf@gnus.org> <874k85jlmq.fsf@gnus.org> <87v90khaa8.fsf@gnus.org> <83zgpwp7v2.fsf@gnu.org> <87tug4fdn7.fsf@gnus.org> <83pmqsp0m7.fsf@gnu.org> <87k0gzyy8k.fsf@gnus.org> <835ysjoupv.fsf@gnu.org> <8735nnyob1.fsf@gnus.org> <83y25fneeh.fsf@gnu.org> <87pmqrx7rh.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32019"; mail-complaints-to="usenet@ciao.gmane.io" Cc: dgutov@yandex.ru, stefankangas@gmail.com, emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Nov 23 15:43:58 2021 Return-path: Envelope-to: ged-emacs-devel@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 1mpX1Z-00086d-VX for ged-emacs-devel@m.gmane-mx.org; Tue, 23 Nov 2021 15:43:58 +0100 Original-Received: from localhost ([::1]:34962 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mpX1Y-0005SW-GN for ged-emacs-devel@m.gmane-mx.org; Tue, 23 Nov 2021 09:43:56 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:33356) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpX0c-0004lx-OO for emacs-devel@gnu.org; Tue, 23 Nov 2021 09:42:59 -0500 Original-Received: from [2001:470:142:3::e] (port=48394 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpX0Y-0004PR-4A; Tue, 23 Nov 2021 09:42:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=UZvBozv0CcUNnfCjvumueg7nmXUm6By2oJNt4rTV/2s=; b=OMtdT0K5U+Yg a5f/lpePz6qaiCVEVrAwDOZcCym4aTIZfaUE/fVJ4Su2b5+PnjTQMNLpDu/FThQw9wEQx/N+X6zrW R/6x+OkdflqmgB7TU8KUwEp2hhzRP45AS/2DLyldthxM5GcQ5lkV6z9eZCokCFYicSaICnfPGCF/T 2CjMVP7tS4Z3SX0xT9sG/ak4Iv8hfC3Z1xRe2xVV5adyR/2rnox5MLpSCaYTDRA5js0pzXwjlIKF5 r3UiIW+8EvrAU86NhRA/2r1rNmREokCzOp7hCB4SvnXArej3jX6lLr95zhtkQbi+ZDDmOiLy3Oo3N iwkexRlF5bq8WW3uOxsQjg==; Original-Received: from [87.69.77.57] (port=4924 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 1mpX0U-0002L9-Bp; Tue, 23 Nov 2021 09:42:53 -0500 In-Reply-To: <87pmqrx7rh.fsf@gnus.org> (message from Lars Ingebrigtsen on Tue, 23 Nov 2021 15:32:18 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:279955 Archived-At: > From: Lars Ingebrigtsen > Cc: emacs-devel@gnu.org, stefankangas@gmail.com, dgutov@yandex.ru > Date: Tue, 23 Nov 2021 15:32:18 +0100 > > Eli Zaretskii writes: > > >> To add a `max-width' to a series of characters, it first has to see > >> whether there's any other bits with a `display' property. > > > > It does? why is that? > > If you're (put-text-property foo bar 'display '(max-width ...)) and > there's bits in the region with an image or a height display property, > they'll go missing. Whether or not they go missing depends on how you apply the property. > >> And do this efficiently, so that we don't get a bunch of short lists > >> when there's different overlapping regions with `display'. > > > > You cannot have overlapping regions with different values of the > > 'display' property (or of any other text property), so I'm not sure > > what are you alluding to here. > > Exactly -- if you want to have a region with max-width from 1 to 10, and > height from 5 to 15, you have to create three different intervals. That's not special to 'display' property.