From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= 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: Thu, 2 Nov 2023 10:39:53 +0000 Message-ID: References: <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> <877cn8asud.fsf@gmail.com> <8734xtauqj.fsf@gmail.com> <5181f95e-61e7-c8c4-6389-44ee57e0c749@gutov.dev> <31cadbfd-d086-a04f-0ed9-17ce70b4282c@gutov.dev> <835y2k8nyt.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19519"; mail-complaints-to="usenet@ciao.gmane.io" Cc: dmitry@gutov.dev, 47711@debbugs.gnu.org, monnier@iro.umontreal.ca, mail@daniel-mendler.de To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 02 11:41:47 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 1qyV91-0004r9-94 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Nov 2023 11:41:47 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qyV8j-0002X6-Qv; Thu, 02 Nov 2023 06:41:29 -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 1qyV8i-0002Wr-5i for bug-gnu-emacs@gnu.org; Thu, 02 Nov 2023 06:41:28 -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 1qyV8h-0002HQ-TL for bug-gnu-emacs@gnu.org; Thu, 02 Nov 2023 06:41:27 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qyV9G-0004V9-EB for bug-gnu-emacs@gnu.org; Thu, 02 Nov 2023 06:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Nov 2023 10:42: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.169892166517233 (code B ref 47711); Thu, 02 Nov 2023 10:42:02 +0000 Original-Received: (at 47711) by debbugs.gnu.org; 2 Nov 2023 10:41:05 +0000 Original-Received: from localhost ([127.0.0.1]:53997 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qyV8G-0004TR-Q4 for submit@debbugs.gnu.org; Thu, 02 Nov 2023 06:41:05 -0400 Original-Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]:60788) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qyV82-0004Sv-DQ for 47711@debbugs.gnu.org; Thu, 02 Nov 2023 06:40:59 -0400 Original-Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-50939d39d0fso928173e87.1 for <47711@debbugs.gnu.org>; Thu, 02 Nov 2023 03:40:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698921605; x=1699526405; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=TR3Dgd+EP4doyiMPIzzj80ddBN0xS2Yibtfdm8tyvPQ=; b=ffi4vu0F2H22DMleLPWlx70pMSnpUsAC6qxvNRYhLfv9MogU1UdFJtf7rYf0BA7hxn Od6Pua/iDUQizckWexTRefbdEYSB8mmsccPND2rcx95TZAS5cbJZ5qHQxSQQK+DFBQiL ITiB4eZ+71IoHAB1gMPGkHLsP4zMRIb1ycP1d8w9bD0Smjvl3vz4HbqeEQSkMQJzXWx6 RXnb8NreWyU+H8UldBw/jVO9j8Ck7bCYBOX/cjzslo2S9IYvHRUvn0wwLhlZlGi//fgc /CnAiteooUCw5xkc8QUvzNbemkMZFv6HUg9uyIMrj/2g+agjTaFovvIKngqLEMoCXOWI QngQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698921605; x=1699526405; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=TR3Dgd+EP4doyiMPIzzj80ddBN0xS2Yibtfdm8tyvPQ=; b=MUINgI4yYzRHZRxU42fzjawSNQCeaFJeSd+RHsg2/vQ5dzxfy1JCYTS2QCUovIySTT xEjPzQFlFbmrhbs/z+MYFqtrjvbzYagZtm9EbLpuKx5ABnPHf/yVf5/UaPr5t41kDqRp 9fmZMSMrw9BvoxNj2LWHBUPMkUaXybzq37lyYMmL74YmwanLT0tIeG7Y7SeoOAV7gUgN Uk8AhlRp9hcDYxagHnCTKutDZecVrkX4QrxWeCDaJ7YYSl0BzacHBS1WfaIArIHobkk9 JNVxIrV1pNTSRnsg18NGm7MMkK/XouHZn4P6YgTZwxnbrdQD9m42jVFfPAwPvFR2UPz4 zncw== X-Gm-Message-State: AOJu0Yy/TBhCOq/gVOJy2WZjJ73PdFttEOCBiwl0QD9K6sYXBRIec4jS a+Q+lKlyLnidFO2o6X20B7y8SayUc7Xgd7FCOUk= X-Google-Smtp-Source: AGHT+IEAJo0qN0vJadD+4X+yFfEECxo8ImtLsaxJzKpq/Uu1JDGR6C6XO62NsKUbJgwrcZXNb4lp815oFFBYI98V4rA= X-Received: by 2002:a05:6512:4845:b0:500:acf1:b432 with SMTP id ep5-20020a056512484500b00500acf1b432mr14796226lfb.63.1698921605100; Thu, 02 Nov 2023 03:40:05 -0700 (PDT) In-Reply-To: <835y2k8nyt.fsf@gnu.org> 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:273644 Archived-At: On Thu, Nov 2, 2023 at 10:11=E2=80=AFAM Eli Zaretskii wrote: > > > From: Jo=C3=A3o T=C3=A1vora > > Date: Thu, 2 Nov 2023 09:48:51 +0000 > > Cc: Eli Zaretskii , Daniel Mendler , > > Stefan Monnier , 47711@debbugs.gnu.org > > > > Stefan, Eli, would you like to chime in? > > Chime in on what aspect(s) of this discussion (or the patch)? The patch condenses the results of the discussion of last week, as resuscitated by Dmitry after a 2-year long hiatus. After some rounds of benchmarking and discussion, Dmitry and I think the latest version of the patch should be installed. If you've not been following closely, the variables the patch introduces have docstrings explaining the functionality added, as do the commit messages to feature/completion-lazy-hilit. In a nutshell it solves the performance problem of overly eager completion highlighting with minimal changes to the completion API. The original patch proposed by Daniel Mendler was also partly about solving this problem, but with much more extensive changes. NEWS entries -- and possibly manual entries -- are also needed, not done yet. Jo=C3=A3o