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.bugs Subject: bug#48841: bug#47711: [PATCH VERSION 2] Add new `completion-filter-completions` API and deferred highlighting Date: Mon, 16 Aug 2021 14:48:39 +0300 Message-ID: <83sfz98vag.fsf@gnu.org> References: <3d3f894f-a6fa-53ae-5d50-c3aa9bffc73e@daniel-mendler.de> <56ab18b1-4348-9b2c-85bb-af9b76cd429a@daniel-mendler.de> <38a06f3c-4a7a-755c-c99b-708f91afabfa@daniel-mendler.de> <9f59f87c-2489-aaa0-5b3f-0e911b7ffa6c@daniel-mendler.de> <83im08bjc3.fsf@gnu.org> <42a56dff-197d-d223-a2d8-12db8577b505@yandex.ru> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18895"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mail@daniel-mendler.de, 47711@debbugs.gnu.org, joaotavora@gmail.com, 48841@debbugs.gnu.org, monnier@iro.umontreal.ca To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 16 13:49:18 2021 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 1mFb7D-0004gf-7a for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 16 Aug 2021 13:49:15 +0200 Original-Received: from localhost ([::1]:47094 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mFb7B-00009V-Tl for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 16 Aug 2021 07:49:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53390) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mFb70-00008h-PX for bug-gnu-emacs@gnu.org; Mon, 16 Aug 2021 07:49:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37132) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mFb70-0003B3-Ef for bug-gnu-emacs@gnu.org; Mon, 16 Aug 2021 07:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mFb70-0002Cq-BY for bug-gnu-emacs@gnu.org; Mon, 16 Aug 2021 07:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Aug 2021 11:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48841 X-GNU-PR-Package: emacs Original-Received: via spool by 48841-submit@debbugs.gnu.org id=B48841.16291145338450 (code B ref 48841); Mon, 16 Aug 2021 11:49:02 +0000 Original-Received: (at 48841) by debbugs.gnu.org; 16 Aug 2021 11:48:53 +0000 Original-Received: from localhost ([127.0.0.1]:48675 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFb6r-0002CC-25 for submit@debbugs.gnu.org; Mon, 16 Aug 2021 07:48:53 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:36928) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFb6p-0002Bt-IX; Mon, 16 Aug 2021 07:48:51 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44662) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mFb6j-00032d-4E; Mon, 16 Aug 2021 07:48:45 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2200 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 1mFb6i-0003Lq-Hr; Mon, 16 Aug 2021 07:48:44 -0400 In-Reply-To: <42a56dff-197d-d223-a2d8-12db8577b505@yandex.ru> (message from Dmitry Gutov on Mon, 16 Aug 2021 06:26:58 +0300) 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:211986 Archived-At: > Cc: 47711@debbugs.gnu.org, monnier@iro.umontreal.ca, joaotavora@gmail.com, > 48841@debbugs.gnu.org > From: Dmitry Gutov > Date: Mon, 16 Aug 2021 06:26:58 +0300 > > On 14.08.2021 10:01, Eli Zaretskii wrote: > > > Just to make sure we are on the same page: adding a text property to a > > string doesn't mutate a string. Lisp programs that process these > > strings will not necessarily see any difference, and displaying those > > strings will also not show any difference if the property is not > > related to display. So the assumption that seems to be made here, > > that adding a property is the same as mutating a string, is IMO > > inaccurate if not incorrect. > > This is nonsense. > > A program won't necessarily see a difference in *any* changed value, as > long as some part of it stays the same. > > I can zero out the tail of a string, and have a program that only looks > at its first few characters. It wouldn't mean that a string hasn't changed. You are not making any sense. Anyway, if what I wrote doesn't help, feel free to disregard it.