From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#47711: bug#48841: bug#47711: bug#48841: bug#47711: [PATCH VERSION 2] Add new `completion-filter-completions` API and deferred highlighting Date: Fri, 27 Oct 2023 12:19:04 -0400 Message-ID: References: <3d3f894f-a6fa-53ae-5d50-c3aa9bffc73e@daniel-mendler.de> <56ab18b1-4348-9b2c-85bb-af9b76cd429a@daniel-mendler.de> <328f87eb-6474-1442-e1ca-9ae8deb2a84a@yandex.ru> <83fsvcbio7.fsf@gnu.org> <9f432d18-e70f-54c1-0173-1899fb66d176@gutov.dev> <877cnafv39.fsf@gmail.com> <9447dde3-b8e7-2ec0-9a9c-72c4cf9d12a8@gutov.dev> <7d14bc13-4419-816c-5708-c42988c39c02@gutov.dev> <5d0a78cc-4fa0-ef04-3462-1826f17d7d56@gutov.dev> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2860"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Daniel Mendler , Eli Zaretskii , =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= , 47711@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 27 18:19:55 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 1qwPYv-0000Sz-52 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 27 Oct 2023 18:19:53 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qwPYa-0006vP-FC; Fri, 27 Oct 2023 12:19:32 -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 1qwPYZ-0006vG-72 for bug-gnu-emacs@gnu.org; Fri, 27 Oct 2023 12:19:31 -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 1qwPYY-00015w-VV for bug-gnu-emacs@gnu.org; Fri, 27 Oct 2023 12:19:30 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qwPZ4-0004WQ-4r for bug-gnu-emacs@gnu.org; Fri, 27 Oct 2023 12:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Oct 2023 16:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47711 X-GNU-PR-Package: emacs Original-Received: via spool by 47711-submit@debbugs.gnu.org id=B47711.169842359217343 (code B ref 47711); Fri, 27 Oct 2023 16:20:02 +0000 Original-Received: (at 47711) by debbugs.gnu.org; 27 Oct 2023 16:19:52 +0000 Original-Received: from localhost ([127.0.0.1]:36909 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwPYq-0004VS-F6 for submit@debbugs.gnu.org; Fri, 27 Oct 2023 12:19:52 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:7552) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwPYl-0004Ut-GC for 47711@debbugs.gnu.org; Fri, 27 Oct 2023 12:19:47 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 8C4F710013E; Fri, 27 Oct 2023 12:19:06 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1698423545; bh=A2vM1oYDTVF9mfzxrsubV/VtxUxn8wJ2KsQSmE3lO94=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=WdP7Q5dF+RNSG1lJyZRaShMZTCX0OfX/gUR4GrVr4U/K/dcAAl0adAwId0hbvvJHO jAXSygyhr+yFfNNrBVH/oQtydMMemAmKLUKZi0coNs8Xpp7Dap8lCkCXqarvSMTPlS gep2Vk+Y+t22cXCrK8olTR/u6gxKJ3Z0Vl/kyTmYOAJuKb6Tz99flwhqSP1Bcw3ij4 8gJs81gG9N7Baoi4IXtSpLkfFCgfattaa8OTpf1NgmK3v6ANmGuhj0+FLcIYiGI/Lb uA4f6mO+D3ewzDB0HPByO938Rmt8FNmX2LF1Z7TgFvnr7JbSIkleJgYTPDJZtA0jfj lvN1mxzkHO1xw== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id D57B910006B; Fri, 27 Oct 2023 12:19:05 -0400 (EDT) Original-Received: from alfajor (unknown [23.233.149.155]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id AE1D71202E6; Fri, 27 Oct 2023 12:19:05 -0400 (EDT) In-Reply-To: (Dmitry Gutov's message of "Fri, 27 Oct 2023 18:41:34 +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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:273391 Archived-At: > We could, for example, have a period when we warn about returned > non-matches. string-match-p is not free, but it's not very expensive either. The problem is that I dislike `completion-regexp-list` :-) More seriously, since it's a dynbound variable it can have unwanted effects in nested calls to `all/try-completions`, so it's safer to ignore that variable because its binding is not always "meant for us" :-( Stefan