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, 02 Jun 2021 08:48:57 +0100 Message-ID: <87lf7s7lli.fsf@gmail.com> References: <87pmxhb1rs.fsf@gmail.com> <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> 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="17952"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Daniel Mendler , "emacs-devel@gnu.org" , Dmitry Gutov , Stefan Monnier , Juri Linkov To: tumashu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jun 02 09:52:05 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 1loLfZ-0004Wn-Gz for ged-emacs-devel@m.gmane-mx.org; Wed, 02 Jun 2021 09:52:05 +0200 Original-Received: from localhost ([::1]:49188 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1loLfY-00007H-E6 for ged-emacs-devel@m.gmane-mx.org; Wed, 02 Jun 2021 03:52:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37122) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1loLcd-0004Ku-Uy for emacs-devel@gnu.org; Wed, 02 Jun 2021 03:49:04 -0400 Original-Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]:34355) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1loLcb-0002zi-TZ for emacs-devel@gnu.org; Wed, 02 Jun 2021 03:49:03 -0400 Original-Received: by mail-wr1-x430.google.com with SMTP id q5so1270484wrm.1 for ; Wed, 02 Jun 2021 00:49:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=z3RAsyrZ3hv2ppCcBcnS18xPG2xWwpzfwFkc1TNpZfo=; b=RVUEmmfY5rqfBwbBqjp9oDp7vkgDFSMely9YeDpVtGGP4NUU+4vYKLVVT+HPJhx7OL 9vQ1k+NGVoJPyM0HCdrSjgKV9HOvg48ELLFDHtlCspyCoQQBK9jtgLoxPz7fcH84NE4k gSiqOfNB8Ex+zxyIxwdKJhMZPXlw88DApabGJMTl5zxe2JhQVyfKtHDNQKhmou4qOFAw N/79xlzVdF9J8mapIuKUgcoOSmT2z/jd7TARNQW8Q+mzPbrl763IKA6vVmvpvU8g03to 4GAPjb+L3y+Rmz+Icwpy8RgxBbnF56CiKgFJet5xX0drelQOZCbjxdpwrt/4b+NPghwX cRZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=z3RAsyrZ3hv2ppCcBcnS18xPG2xWwpzfwFkc1TNpZfo=; b=epPcYwrYc2ha2r/c3oe+nlWDIXH0mt+3JOslcluykrKNM6JU8XCYs3LNVpPKUu8Teq grw5fLxT9ya+YYG8psROWU8mo91UgbYYezWApXV6/g2F11lwFbRdYw1Tk2LrZbs5sAHg uowVBDO782y2/OwWk+1rB8Ez1wsa4eu7AENtFNS0uFtJ3KnWLqoUsBsbIVSS/kpys0Ds RFSrpLGb3HOpYRpWxhR/+6oiR1lm19/oRtkhSJuJjRFmb6ynyC4Gs8PxN3qE1j+cstqN iB47OvzSUm//XmubTQyTQKHHZqXOaJRZojavyiWlfLAEeCaGPqWuge90gljowZRCkcgm DwEQ== X-Gm-Message-State: AOAM532CD72sI+S24XII5S/zLVgn4pVeor9ehC/9mATOH7MnXU8cdm3x AqYS+Xinm1lYyABQ+jebWNY= X-Google-Smtp-Source: ABdhPJy1FdXEk/mOJkPLsfYylEglQK9S4uUQIG8vaN9nQZpOlYr+oT5xHReeE6ByPB47vqzNyqYkiw== X-Received: by 2002:a05:6000:cb:: with SMTP id q11mr32122093wrx.72.1622620140041; Wed, 02 Jun 2021 00:49:00 -0700 (PDT) Original-Received: from krug (a94-133-55-152.cpe.netcabo.pt. [94.133.55.152]) by smtp.gmail.com with ESMTPSA id t26sm1774195wmi.8.2021.06.02.00.48.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Jun 2021 00:48:59 -0700 (PDT) In-Reply-To: <1a183c3b.2f2f.179cb27f64c.Coremail.tumashu@163.com> (tumashu@163.com's message of "Wed, 2 Jun 2021 13:17:44 +0800 (CST)") Received-SPF: pass client-ip=2a00:1450:4864:20::430; envelope-from=joaotavora@gmail.com; helo=mail-wr1-x430.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:270270 Archived-At: tumashu writes: >>I normally don't add a knob for things until someone actually requests >>it. If you're requesting it, then it can be added (and you can too). > I suggest add this variable. OK. Patches welcome. > by the way, I have found that prompt will flicker, for: "x/xxx M-x" -> > "M-x" -> "x/xxx M-x" -> "M-x" ... During potentially expensive filtering it is hidden. It's better than showing incorrect information, in my opinion. It reappears once the totals are known. Would you rather if "flickered" to "?/?" ? Or would you rather redisplay is inhibited until the totals are known? Other completers may use this last option, but I personally dislike sluggish typing response. And the whole constant updating thing is about "flickering" anyway. Anyway, avoiding intermediate rediplay seems possible but slightly harder to implement in icomplete.el. Jo=C3=A3o