From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] (icomplete-vertical-mode): Add support for affixations and, annotations Date: Wed, 2 Jun 2021 12:33:48 +0100 Message-ID: References: <23510125-37b9-e87e-3590-5322f44772ce@daniel-mendler.de> <87y2c5nhsr.fsf@mail.linkov.net> <87h7irss50.fsf@mail.linkov.net> <43d1599e-2ba9-2efb-45c3-76c67d29a69d@daniel-mendler.de> <87tumrgqrb.fsf@gmail.com> <87tumq92pe.fsf@mail.linkov.net> <87lf82g10g.fsf@gmail.com> <87y2c24lww.fsf@mail.linkov.net> <871r9t2lsy.fsf@mail.linkov.net> <22880197-6d05-c821-2c58-328ed3cfc02e@daniel-mendler.de> <87eedruui3.fsf@gmail.com> <8dd915fe-fe67-2a45-67ff-8aaa3e9b9aca@daniel-mendler.de> <878s3zuq47.fsf@gmail.com> <09f2a253-84ba-5cfd-552e-0b89109864a5@daniel-mendler.de> <875yyxaoxp.fsf@gmail.com> <871r9laj6a.fsf@gmail.com> <1a183c3b.2f2f.179cb27f64c.Coremail.tumashu@163.com> <87lf7s7lli.fsf@gmail.com> <2dd59f1c-1d4d-a7d7-fae5-d9ca9b5c90c2@yandex.ru> <8e0cfb49-4ce3-c9aa-21fd-f0063b7c8107@yandex.ru> 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="21490"; mail-complaints-to="usenet@ciao.gmane.io" Cc: tumashu , Juri Linkov , "emacs-devel@gnu.org" , Stefan Monnier , Daniel Mendler To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jun 02 13:35:10 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 1loP9R-0005JQ-KW for ged-emacs-devel@m.gmane-mx.org; Wed, 02 Jun 2021 13:35:09 +0200 Original-Received: from localhost ([::1]:55068 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1loP9P-0005ZC-Oy for ged-emacs-devel@m.gmane-mx.org; Wed, 02 Jun 2021 07:35:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38302) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1loP8O-0004iP-CF for emacs-devel@gnu.org; Wed, 02 Jun 2021 07:34:04 -0400 Original-Received: from mail-pg1-x533.google.com ([2607:f8b0:4864:20::533]:40843) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1loP8M-00015r-Mg for emacs-devel@gnu.org; Wed, 02 Jun 2021 07:34:04 -0400 Original-Received: by mail-pg1-x533.google.com with SMTP id j12so1988207pgh.7 for ; Wed, 02 Jun 2021 04:34:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=PhkYExYaVr8Dy0ZczlzgE4W2gJ63Tf0Njrt+RU+JXik=; b=LAY84PJT5wC30V9yL4Xyla954f4hxTRsdbxgoqxgPaWIL3BHT9CbQ01TFE0pZe/dvc h1MTP8c0Yz8vCHSLIBw0FUZm9zzoNW/8SqbG3WqRNR19qqxGy0//bSUrYUsJ1Err6NNo /3HS48tVoSBk7FHnBMEInuTmZZnU934ZlF8ng31pH9IdZX4jLeO2xBn5fERgsedpEh/c /+eE/MPEJTalZikykRPCkqbyrcElJYywJBh2+RJdz15qwlXvs8etpLPG9RxXhIm41caZ kwYXxHZIto6uK0iG67hKON3zP1S9NC7sY2GO5c+easMWlxqO7J0taBE/mOW5FLZ7T6pS r2ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=PhkYExYaVr8Dy0ZczlzgE4W2gJ63Tf0Njrt+RU+JXik=; b=FpNGJbpZ2yoxtDn6jgRjD/5VBSWjZBMh+LalpMncw7SzQqaYKO7Y4jJZQDQjtL84LD pjrlph/gCRkEX8MkRHc7393FUfDqvypRTeWyaCS78z4lwhteyVIIk1lqvsyC+hXrtw9n A8udBky6+j8JbJM4nNhICMbEFkSTtVZNBBqy9OnMh1vWTjcPw1xSnGiFUn6d7liXwAn2 HqmCtvYWfJtVqb41oov4/PEM4gGGYEFQRtBWfDetcw3iNTMNho1SF2n9GGEgrVGfbaAf Dj7bY0MyNkOHp4mcBftqjMMF5jg265xZxLpr5tD2oJ7Kfgf1s5MA1MvMeDmtXFlEolvP o9QA== X-Gm-Message-State: AOAM533mlzIkNQwc9EBUbVFFN8Jc/r7ArCgxS66smWJDsX1HC0Sv+1OP 875pPfgYGWZyY5wx/hPZ04TtiFjz3GuTfPnlNcs= X-Google-Smtp-Source: ABdhPJzDa/vl9NdbbtjjRutRhVUEm4lG7lbb4AfyzWMJfVl7R2grH56VsjSpwsAipmE9g56D0eoGduLUVVg8W512itk= X-Received: by 2002:a63:5c01:: with SMTP id q1mr33431127pgb.447.1622633641157; Wed, 02 Jun 2021 04:34:01 -0700 (PDT) In-Reply-To: <8e0cfb49-4ce3-c9aa-21fd-f0063b7c8107@yandex.ru> Received-SPF: pass client-ip=2607:f8b0:4864:20::533; envelope-from=joaotavora@gmail.com; helo=mail-pg1-x533.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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.23 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:270280 Archived-At: On Wed, Jun 2, 2021 at 12:28 PM Dmitry Gutov wrote: > It waits before fetching completions if input it too short. To save on > CPU usage or whatever. Makes sense. Even though it can be interrupted, doesn't mean we should start spinning up fans. > The proposed change doesn't add any latency. And it would be helpful to > have it working OOTB. But maybe disable if the user customizes the delay > to be higher. Indeed it doesn't, just tried it. So I have even less objection to doing it= . Do you have a take on the reasons for this `icomplete-tidy` call in pre-command-hook? Anyway, the weirdness (and less flickering) could be solved by replacing xx/xx with of the same length ??/?? instead of deleting the overlay outright. But I'm fine with the weirdness too, to be honest. My main concern was typing latency, and it doesn't happen. Jo=C3=A3o