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 14:16:27 +0100 Message-ID: References: <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="34883"; 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 15:42:11 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 1loR8M-0008nE-72 for ged-emacs-devel@m.gmane-mx.org; Wed, 02 Jun 2021 15:42:10 +0200 Original-Received: from localhost ([::1]:58286 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1loR8L-00024E-4l for ged-emacs-devel@m.gmane-mx.org; Wed, 02 Jun 2021 09:42:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35416) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1loQjn-0002Kn-65 for emacs-devel@gnu.org; Wed, 02 Jun 2021 09:16:47 -0400 Original-Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]:39865) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1loQjh-0005mt-5d for emacs-devel@gnu.org; Wed, 02 Jun 2021 09:16:46 -0400 Original-Received: by mail-pl1-x634.google.com with SMTP id q16so1087536pls.6 for ; Wed, 02 Jun 2021 06:16:40 -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=SPz+hDm+M6OWFxe8kAUAz1poTMeMHP7duAMKD87eEN8=; b=uOmujkyFiFIqC+8m3nMMXY7Q+NdhkNCBdDhpbP1jX9pFdoH1008c/k6f8LyNJY1Pkb EWJObW+XRIKpd8Ov6rxNxn4aCqdmuKgSnoVmKDMpxkDi1ORAc9PoR4m7BekIyMSdnkyF QHYTGwL3lH7SCeia0Q5Fy0+che/BRc7JIpE8kaj0nMhdGRg9ldJoev+3/21zlLGpdMq/ S1EiXYzXfxy5fiGPnp4Sh/JAjrd1/feAvKJzbSaLefTMQgceruH7TmPGjSEzbP1uAM/D BWyUoEEzYjpo4wmsQD809+vHrYK9woJFz3paPGGp0YAGCfzAbGwsp3mIX4OX7C6MCbBD SytQ== 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=SPz+hDm+M6OWFxe8kAUAz1poTMeMHP7duAMKD87eEN8=; b=oemjq/3+dKbXYnCrX/X2ZWnziYeyHRShQsc4Kh6H6zV336km+a/H/GlIiE1Z2cMDrm rkXPm6G5sppSvA9h8gGt/SiOZ2pNCUHRgV054hgYq6wIR1Fft+HYzeNZRn8LDjRU6Pr4 VAfxMBHIroj7FKZ5dt3pO09Pvn1NHZ2m9ymZ80Nu+XiWiDE4Zvm9K4kg3aRC0AlZ9y0h ssf6+mSjrKZFxS+6gn+iGvPJzCbOg+WMBIOd/f3WooiXMGwQ6XxxKk0zjktd9+d8CowY PhVgI1uKjX6q4waOhvgyQ8bjW6I/6JcdOffGM99FhOOGfTRZA9Qa8YVrfvcp1MIxFtVS SS8Q== X-Gm-Message-State: AOAM5311pnrNlzryUlKjFCZD9UnjCu5xC8eYFrGW2/yRO5wQWjiPXg+r 3N9AwF9kKFQJEWfaKb62d6sAA73Ri4EML8ClW/I= X-Google-Smtp-Source: ABdhPJwy299onFX4U1luYNBjfRbPk4iDwfVmGZbsgPai8AjnWG4XImDT+Oi1jjiQo030yMkpBoy/jvywKllBHaYNW0A= X-Received: by 2002:a17:90a:1141:: with SMTP id d1mr30974786pje.56.1622639799727; Wed, 02 Jun 2021 06:16:39 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::634; envelope-from=joaotavora@gmail.com; helo=mail-pl1-x634.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:270290 Archived-At: On Wed, Jun 2, 2021 at 1:31 PM Dmitry Gutov wrote: > OTOH, ido-mode has lived with the "spinning up fans" behavior for ages, > and we don't hear much complaints about that. Or fan noise, really. I wonder how many people are still actually using ido today. It used to be extremely popular, I used it for ages. > Simpler mental model, a guarantee of no "inconsistent" display, I > suppose. But the flicking is real annoying, it's one of the things that > has stopped my from migrating to fido-mode (somewhat lower performance > is the other). You've shown you can get rid of the flickering, be my guest (my gripe would be input latency, but there seems to be none). Are you using ido-enable-flex-matching? You can try making fido use substring completion style to see if it helps. substring completion what bare ido uses: (defun joaot/my-fido-style () (when fido-mode (setq completion-styles '(substring)))) (add-hook 'minibuffer-setup-hook 'joaot/my-fido-style 100) If there's still a performance discrepancy, maybe a controlled benchmark is in order. > where "ico" is input. If I backspace and type "o" again, there will be > an interval of time when two "o" will be shown. That looks kinda weird, > but probably still better than having it blink. Hopefully, this behavior > could still be improved, though. I'm fine if you fix this and fine if you leave it. Personally, I've switche= d to fido-mode + fido-vertical-mode which doesn't do the [mplete.el] dance. Personally I'm also fine to remove this complexity altogether, even for non-vertical Icomplete/Fido, but I think at least Stefan likes it (possibly others, but no record thereof). Jo=C3=A3o