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: Thu, 25 Nov 2021 09:42:02 +0200 Message-ID: <83mtls7kc5.fsf@gnu.org> References: <87bl2hyzca.fsf@gnus.org> <87sfvswrp8.fsf@gnus.org> <834k88woaj.fsf@gnu.org> <878rxkv980.fsf@gnus.org> <87sfvpmtl8.fsf@gnus.org> <83pmqtqvj5.fsf@gnu.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> <8735nl5eva.fsf@163.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40222"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, dgutov@yandex.ru, stefankangas@gmail.com, emacs-devel@gnu.org To: "Feng Shu" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Nov 25 08:59:57 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 1mq9fg-000AK9-RY for ged-emacs-devel@m.gmane-mx.org; Thu, 25 Nov 2021 08:59:57 +0100 Original-Received: from localhost ([::1]:49876 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mq9fe-0007bM-Dn for ged-emacs-devel@m.gmane-mx.org; Thu, 25 Nov 2021 02:59:54 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:59144) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mq9OO-0002Zi-4B for emacs-devel@gnu.org; Thu, 25 Nov 2021 02:42:04 -0500 Original-Received: from [2001:470:142:3::e] (port=59690 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 1mq9ON-0001HD-FZ; Thu, 25 Nov 2021 02:42:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=lOW2fxMtydeNtXlIaqfOqhMxS36J4YM8XSDzxk1jW7E=; b=Ofys7JlXVV5aY7I8v9cM JL7cdJ6y7KdOr2gOJ76BCkgtnMTJYAl3cZDeSMt6/ikQiKcN1UWslcAbmQ6pCAhDvz2RHxd149syd CysORO60Iv2CxnNy6FvhIf2pJL7k6grYPYqsfS7pknJDyrggmXNp98oCfYP7rIFMUdB+hViC7mxds smu5LD+tohFvRk/JnSCHC11heZFrYM9IPr2B3l/KHj1/pru8Z7KMx0xHywJd5BJydT/TNu74Mb18d lWATcp5D6X8m4IQGqSzg5ARvSdTI43+i16efDPiSFC0P/1h8h1+BT++MME1mRYP0r20i27DaMDPN1 7+pN0TfCADUpOw==; Original-Received: from [87.69.77.57] (port=4506 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 1mq9OM-0002tG-BV; Thu, 25 Nov 2021 02:42:02 -0500 In-Reply-To: <8735nl5eva.fsf@163.com> (tumashu@163.com) 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:280070 Archived-At: > From: "Feng Shu" > Cc: Eli Zaretskii , emacs-devel@gnu.org, > stefankangas@gmail.com, dgutov@yandex.ru > Date: Thu, 25 Nov 2021 07:10:49 +0800 > > I have try the below test in newest code, and seem to get different result, > any different? > > 这是测试 > > ;; test1 > (progn > (add-display-text-property 1 2 'min-width '(10.0)) > (add-display-text-property 2 3 'min-width '(10.0)) > (add-display-text-property 3 4 'min-width '(10.0))) > > ;; test2 > (dolist (i '(1 2 3)) > (add-display-text-property i (+ i 1) 'min-width '(10.0))) I think it's a bug related to the way the current implementation identifies where the property ends. (The second example uses the same list as the value, whereas the first example uses 3 different lists, although they have the same contents.) The current code is not yet ready for prime time IMO, and Lars intended to work on it soon. Stay tuned.