From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Tick Reduction Date: Tue, 23 Nov 2021 14:49:38 +0100 Message-ID: <8735nnyob1.fsf@gnus.org> References: <87bl2hyzca.fsf@gnus.org> <87bl2dmnfa.fsf@gnus.org> <83mtlxquh7.fsf@gnu.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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4380"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: emacs-devel@gnu.org, stefankangas@gmail.com, dgutov@yandex.ru To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Nov 23 14:52:25 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 1mpWDh-0000wO-39 for ged-emacs-devel@m.gmane-mx.org; Tue, 23 Nov 2021 14:52:25 +0100 Original-Received: from localhost ([::1]:43346 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mpWDf-0003rk-Un for ged-emacs-devel@m.gmane-mx.org; Tue, 23 Nov 2021 08:52:23 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:48480) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpWBD-00084c-BY for emacs-devel@gnu.org; Tue, 23 Nov 2021 08:49:51 -0500 Original-Received: from [2a01:4f9:2b:f0f::2] (port=36470 helo=quimby.gnus.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpWBA-0004jo-Tb; Tue, 23 Nov 2021 08:49:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=gHrolEM1tqbjW3u9p/hEh5cgSgK60VHDmfLufvUMhAg=; b=fRlqcTMB7iqA6YSgb1yCPpvzOv +66qMLAyBYhMDk2c2FePc89I5x5zWNklMV4o55fN6lAEbPAEcaN45LPjTs8YmVV0s7h0uIK+2j512 zZAS9jWFhh3xlCBGEy53RT8xEkMvxPmp6QGA6KDcglJxgS/bWDIFj3JFchoIrS+1117Q=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mpWB4-00005Z-26; Tue, 23 Nov 2021 14:49:44 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAGFBMVEUhFhlgKDXRSze3 MkzHLDikdZJ0od7///+FxsemAAAAAWJLR0QHFmGI6wAAAAd0SU1FB+ULFw0lA0lhbKgAAAGsSURB VDjLdZPtkeIwDIYl0oAVw/+LSAExyhYQ4gaWnZRw6b+ElfwBMccJBmb0jN5Xli0AIv3ioD83yRFE JshhAHu+WnqOCoImUT/kJxRWMEeNIN4AGaTgvfAYoyhYQgZOAYoQ+jEKKVjJAAYtIZLgoBsjAc4J OEBeTIocOoxR/1SsAC07BzUJXlVWv85CZFI8AKRmnpFBx+4zOBk4N2AlnYYB/AhUyrs3AM5OzUPv +gYsCSBrWzduANqcbsx/8M5sg2qApqaOLUbmewYObIjqfkqAF16KB2YABbjz0OcKtK6cjqRPwM9j kSJUcJqglnBubsq3d0X3BvQUSQon6FqAdqt2h3bK3HEGgBnk0zwr1vKmwAr1/FciT/Z+lgrAU+lX JM6pqVqC1B88HMAB/QcUd0k33uSLSQJtxamC9Q30LzD962HeeTee0R1Ao3WrSmnXXuTyKGDNS1jJ ZXtwWsC1rieVfAI6w0CFiL24fd+3LY3wGHDZLbbHEIJtq9QaSPn97/atSyWq9QZU7PtHKw5Sey3R aDxqxYVyeO8bYHn5BFRKvvzT+gWyyc/L4xfGPatfMe5CKgAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAy MS0xMS0yM1QxMzozNzowMyswMDowMD7Wd0QAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjEtMTEtMjNU MTM6Mzc6MDMrMDA6MDBPi8/4AAAAAElFTkSuQmCC X-Now-Playing: Thurston Moore's _Rock N Roll Consciousness_: "Cusp" In-Reply-To: <835ysjoupv.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 23 Nov 2021 15:41:16 +0200") X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a01:4f9:2b:f0f::2 (failed) Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-Spam_score_int: -35 X-Spam_score: -3.6 X-Spam_bar: --- X-Spam_report: (-3.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:279951 Archived-At: Eli Zaretskii writes: > The value of 'display' property can be either a single spec, or a list > or vector of specs. Thus, adding should be trivial: either add > another list member or produce a new vector with one more element. Do > you think this justifies a dedicated API? 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. Then if it finds sequences of characters like that, it has to see whether there's only one spec, and then to transform it to a list, and if not, it just has to append. And do this efficiently, so that we don't get a bunch of short lists when there's different overlapping regions with `display'. So, yes, I think this deserves a function. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no