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 16:07:37 +0100 Message-ID: References: <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> <1792c288-18ef-410f-479f-6dec5da16aef@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="20521"; mail-complaints-to="usenet@ciao.gmane.io" Cc: tumashu , Juri Linkov , "emacs-devel@gnu.org" , Daniel Mendler , Dmitry Gutov To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jun 02 17:10:01 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 1loSVN-00055n-57 for ged-emacs-devel@m.gmane-mx.org; Wed, 02 Jun 2021 17:10:01 +0200 Original-Received: from localhost ([::1]:57366 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1loSVL-0007VU-8M for ged-emacs-devel@m.gmane-mx.org; Wed, 02 Jun 2021 11:09:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38610) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1loSTJ-0002sJ-7U for emacs-devel@gnu.org; Wed, 02 Jun 2021 11:07:53 -0400 Original-Received: from mail-pf1-x42e.google.com ([2607:f8b0:4864:20::42e]:37450) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1loSTG-00038q-AS for emacs-devel@gnu.org; Wed, 02 Jun 2021 11:07:52 -0400 Original-Received: by mail-pf1-x42e.google.com with SMTP id y15so2420437pfl.4 for ; Wed, 02 Jun 2021 08:07:49 -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=Ams7x7Fc82dnAStLmMDcZ7LrPw9zZeiKD5nssCby9Bs=; b=AZV7IoO7IJH4rs51lJH+X9o45xnZED1MQyKHWr2GqyuAusVA1mBm8KoLmiDbph/JsL ydUlcoFfk6CTNPEGVHjttG0E6xefCRWPwpv9QAP6bCica7XmJ8/2r8nx01PkQm9QWqW1 3cpqhAMIH+6PUUrCKdQytLjaPE+k0LS9sT7A69yJ2/W4ht/zpm+o7Doxm0U+YL9FCCbQ QjjqGOIf//Q+tsOI9LNM5l8GTj6D9JWGQ6C0ROd+hCSURpgUGaaHUfuQDMzXpEBFrSOz n1Gk0MSzYT0tGP5wcUHhs0k0CNq4gmFkRe/m80xlzbQP2YoJGAtDqlnzMKeie4v3CUN1 WPdA== 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=Ams7x7Fc82dnAStLmMDcZ7LrPw9zZeiKD5nssCby9Bs=; b=MC+tNEpsfZFn2K7rrJsFNlWtk0DlBq+z5EWHf36nFJMCzD8E27uR9OuE2mRyMmyWLW j8lp6slIMjvMSS504oZ9ofZWwPL7R/HriSKYaYVFd/05eabAy+eT3wsiQONFSRB+lUaQ iYi1UrX0yFg53JbRgLSKNIAfweJ0ukx1E2so8ASkvL26S2g1A/TCFCSpuwnrdV8m+j3d RpQXAfu/ExADErEN0MNpGohynD5aC3LKisHzxWJRgl6OxG0No/E4HW32mm5R/Z6Z/EZ7 ewIHHfcleofjX1wJXp1iOfoRlJY/8E/a4ghE5Iup6m4BdnQDrVMx8lE4zv3nh90VsPHr 96kA== X-Gm-Message-State: AOAM533AadpvZmOjYCjkmfXsndu7jGg+p5TgFunYYRwKxLkKbEp72QcN hU4aSEel1mNZhnnzKb/PmVhGIE5Z9RMhZyRHQYI= X-Google-Smtp-Source: ABdhPJzhS4hBZ0RuzjYCtIxj9PVfOgs+jeKWpJjRVchwaGXpH8jEH7/+EVx4hKg36W4GTRGy8TLXH1GFhLkiUlRgbfo= X-Received: by 2002:a63:4c41:: with SMTP id m1mr34090869pgl.394.1622646468883; Wed, 02 Jun 2021 08:07:48 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::42e; envelope-from=joaotavora@gmail.com; helo=mail-pf1-x42e.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:270299 Archived-At: On Wed, Jun 2, 2021 at 3:54 PM Stefan Monnier wr= ote: > > >> AFAIK it was written under the assumption that the > >> `icomplete-tidy` call would be automatically "undone" by the > >> `post-command-hook` before the next redisplay. > > Are you okay with the proposed change, then? > > I think it's worth a try. > > > And how do you feel about reducing icomplete-compute-delay to 100ms at = most? For me maybe also not much less than that. For the first few chars, I usuallly type fast enough, and I appreciate this CPU saving measure. 150ms down from 300ms maybe a good compromise to cut down on the xx/xx transient inconsistency and still have the CPU saving thing. Even better, as I suggested, is to make that proposed change be conditional on the delay. Then people wanting no flicker just reduce the delay, which is quite intuitive. Jo=C3=A3o