From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ergus Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Re: Other details about completion. Date: Thu, 7 Apr 2022 11:16:49 +0200 Message-ID: <20220407091649.gg2kzu3bqk326zr7@Ergus> References: <4E8D9AEF-4D7A-4B11-822F-8D0911964A05@aol.com> <86bkxfibdo.fsf@mail.linkov.net> <20220405232013.5y5jnr4ykzqgxqla@Ergus> <86a6cyiqlt.fsf@mail.linkov.net> <20220406132108.evlofp5l3krsl5h7@Ergus> <86sfqqduon.fsf@mail.linkov.net> <20220406174532.chsgqkzd2gphyuh3@Ergus> <86h776cbxa.fsf@mail.linkov.net> <024631F1-7D64-4784-BEF4-9B34ABFFC234@aol.com> <86tub5pbcr.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19418"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Philip Kaludercic , emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Apr 07 11:19:33 2022 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 1ncOIe-0004qh-CW for ged-emacs-devel@m.gmane-mx.org; Thu, 07 Apr 2022 11:19:32 +0200 Original-Received: from localhost ([::1]:50214 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ncOIc-0004wt-Vw for ged-emacs-devel@m.gmane-mx.org; Thu, 07 Apr 2022 05:19:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53970) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncOGE-0002zZ-HA for emacs-devel@gnu.org; Thu, 07 Apr 2022 05:17:02 -0400 Original-Received: from sonic309-13.consmr.mail.bf2.yahoo.com ([74.6.129.123]:38404) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ncOGC-0005Ye-2l for emacs-devel@gnu.org; Thu, 07 Apr 2022 05:17:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1649323017; bh=sA+UZsC7u4MUnuM14BoWngAQR8oNsj+ZKR0ytskFpOE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject:Reply-To; b=YH5GbD3rgZjxXJdZ42VhHQwluaSIemb862c4c6MSfzEYWFOk7jjdjGX/jAAckjiTQqXJihMbshjp20gIdYR0dMV4Cc5TmTuJPNRqGWQhE5e7urt8bDnox0tXwdbXH+S8BaWwyO+yzZV8RuKj1wNhGEqmRsVg5nc9ontztCG4jgBLP7UVnhjt/8NMKq1CFeq1oCVMBV7HsEBZMdOw08v2Y/D7NpbnxHZ21lETC2v5ASS3i1obn3WdD2D8Qz3NhATHSy9bR0CyVW6pWRYaY0AayLuDap3K7rsHqxR6Hi2ChN3A6gFfxN2z1W4jdh+lEZ8Is87p3FDQBCa3soGgCvocfg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1649323017; bh=TJI27du6tgwqGIjqxlOWwlXdy49EjYLrY/kcuxeNfSd=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=cwOM/1h48nW9J6Xz1uwktVeaTlPP1qt/W/i0eWEbG06K22yvsoSrvMgjisZ/2IONUW06RwAUnhExKRykAN732Pyv1HZT/81jKQMnMWVw60kzuP97w+DifVZoQG468jqq00ks8gipeWxAg2zDQ2YWMzPIYoFJVhIbcasQm+IOXKn9LlPdA4t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-Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.bf2.yahoo.com with HTTP; Thu, 7 Apr 2022 09:16:57 +0000 Original-Received: by kubenode504.mail-prod1.omega.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 19ad6b002177abe4325044ac55212963; Thu, 07 Apr 2022 09:16:53 +0000 (UTC) Content-Disposition: inline In-Reply-To: <86tub5pbcr.fsf@mail.linkov.net> X-Mailer: WebService/1.1.20001 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol Received-SPF: pass client-ip=74.6.129.123; envelope-from=spacibba@aol.com; helo=sonic309-13.consmr.mail.bf2.yahoo.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, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:287879 Archived-At: On Thu, Apr 07, 2022 at 10:35:24AM +0300, Juri Linkov wrote: >>> We could add a new variable or a new value to completion-auto-help >>> to show the completions buffer on any edit. >> >> This will be very complex to do with the current infrastructure. Not >> for the show, but for the update. I wanted to do it and it required >> too many changes here and there... Maybe you find a better way. >> >> Any way.. IMHO I think that going in that direction is a bad and more >> complex approach. For such behavior it may be better to use >> icomplete and similes... > >icomplete is based on post-command-hook, so zcomplete would need it too. > Sorry, not agree here. If zcomplete intention is to emulate the zsh behavior then it is not needed to use post-command-hook. Completions are shown on demand ... post-command-hook is for a behavior more like browsers... We already have helm, ivy, icomplete, vertico, selectrum, ido, fido (with the vertical variants too) and all the others... I don't think we need more of that and reinvent the well once again. Simple in better than complicated ;)