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] Support "\n" in icomplete-separator Date: Sat, 14 Nov 2020 07:17:35 +0100 Message-ID: <20201114061735.wm3tgh72eesyg6jp@Ergus> References: <837dqv5huk.fsf@gnu.org> <83mtzp2qj0.fsf@gnu.org> <83r1p11369.fsf@gnu.org> <834klv26vu.fsf@gnu.org> <835z69y7kc.fsf@gnu.org> 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="2432"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , emacs-devel@gnu.org, monnier@iro.umontreal.ca To: Andrii Kolomoiets Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Nov 14 07:18:36 2020 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 1kdotQ-0000X5-7k for ged-emacs-devel@m.gmane-mx.org; Sat, 14 Nov 2020 07:18:36 +0100 Original-Received: from localhost ([::1]:33946 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kdotP-00033V-AM for ged-emacs-devel@m.gmane-mx.org; Sat, 14 Nov 2020 01:18:35 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50062) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kdosq-0002dn-TT for emacs-devel@gnu.org; Sat, 14 Nov 2020 01:18:00 -0500 Original-Received: from sonic316-13.consmr.mail.bf2.yahoo.com ([74.6.130.123]:41858) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kdosn-000362-No for emacs-devel@gnu.org; Sat, 14 Nov 2020 01:18:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1605334673; bh=Qw/cPkA8SDRh2ZwEy3tLQa4t6mBH6Q5HhTBQHniWShI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject; b=tsNTjUWXHsagMULlJqhBA2l6G2uLjQf7zRTq/VoqLgY7MGIQqovRlu5AQeL1WSgsrgrYAGrWk9cta16IQ+E7G9+BALh0/yckmzPkiqMA1AE9v9EILjsB6/Pnzhzb2z6U6/Dm7naKsWX/dmoY3d1SobHxM/Fz19dvIjzLwVv3lZ8AgU/SnMwquwKrao9KOEmVifTTHfyIaEIa7nZkZpV6g+pQwN8bz2qg+YJM3bGFiYvcOJaZpbJJ1JU+88AZsLNl2fNb4a+R4IG1n13nvqaiLXAzIFmIdIJ+v6MOhWAAVRxwjvtnvRJB2Of1P4NbzvM4EYsB8buzNgMjNKdfWPIseQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1605334673; bh=4uwd+bIKatr/6Ov2sVcrA2HpUyJlSG70AyeeYAY4leq=; h=Date:From:To:Subject:From:Subject; b=r6MePgbKgsFps5QEh7DDly8QF9/18RpMHkab2xkiy4klF4ulyyH8mjUOY6N9+DcqKvCNZDzpvNFDCHnKFMVSfcLBGqk6/tr5yvhw/L6E7iAXLCzS8nt5vY5+yvN2ve3bUGXwGUw0XOqlXKjtQKTCvoFQCUyzHy2I7rgH4x2D7hZda07Em41ANhvK7MnzW9rWXfxPQprtOnmG1bUEBJ7BzhBOrb/GKBIaWNCIM8niZ7XfGm+IWdJWypcAakzUL/Vksc5qJJNsUswa6t5qCr60FOwMVWt/TemMGp3yVIl6JG8I0y2d4YvdPj4DwT0sjtEZy3PD9m+gyFWzO5betCuTZw== X-YMail-OSG: kmiFQVEVM1nKOy1OJ6D5yr6XBlW2DLFYA7lQD._GoIqHoTZ3gMT4tZo_xWotEIU WdxquGRcEwwjcOtXPy6_Ia4q5rOxBWvgR._RVsZTqc_Wb1s5Px7vWQiy0rps6JD1C9LA5DFOYDNv XTb45LJCvzUMAOK8XmSByr8Tz9j_9PyH3.xfQkSn3ZX5Fk8l2niXo5MJBKXtAUVMuxv8.3.7T1xS MZPXWRnm3gURS7XJJLJnmyFP26ZpX505.kAI0iEYZl7eHveXP1lzRhUadmGSE5EicqHKlXsL7rJz CtIjJiy2r572CAZWZkDVTTKNHRcxrZvTeJdDupjydoD5BX0adfTwFfcltVZh5O9FLL4YTtf_v.k1 y6J.ZXuW.F4AutWJ06aBg0fU8wyvOMn_HeSIsIF2DCtJw9i4D2kSx9WiWB6FRuKIfwYZlm38gP3i KTonLw.SlWr97NHQIJzsgDANwSbYKTbrpU1eN1NofqHFAvkoyIMre1LfEz89tBUObyKVpFGiXWLL YvKTYIpkr5JYtQrVPtCb81ddchMFeucTDiK2fpbm3xkwIXvkXjQpZ6g6BVCK3NcExvyszoiYWPwp fMEBFg.1gLMqkb5TkiXWN5veK3M1nhZKMLmAnWLgat55erJ6Eh7Gg8GU1u.1kcYC.sszVufyWs5d H6G1tYqPektrCkzPEcE3Dl2ZBlUThorgH1MFLp1ZzQg3.2ALFx31QScSPteo_jOx_k9.tIgZ11ON _rO2viUTEfennYpeyd.ZCqBKqCQRb4cTNb9F2Gqz4W3KpYnzO2RDC6RcGiIa.dRsJ0xSrbihYSx5 pqo6a2oaNlmG_TFKmKsz7TbD0TyfktfXd4DseugyKk Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.bf2.yahoo.com with HTTP; Sat, 14 Nov 2020 06:17:53 +0000 Original-Received: by smtp419.mail.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 030fbae62dec3a9692da9967258b8659; Sat, 14 Nov 2020 06:17:49 +0000 (UTC) Content-Disposition: inline In-Reply-To: X-Mailer: WebService/1.1.16944 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol Apache-HttpAsyncClient/4.1.4 (Java/11.0.8) Received-SPF: pass client-ip=74.6.130.123; envelope-from=spacibba@aol.com; helo=sonic316-13.consmr.mail.bf2.yahoo.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/14 01:17:53 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] 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 autolearn=unavailable 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:259161 Archived-At: On Fri, Nov 13, 2020 at 10:18:58PM +0200, Andrii Kolomoiets wrote: >Eli Zaretskii writes: > >> We are not talking about the default completion in this thread, we are >> talking about icomplete-mode and its ilk. They work differently, and >> in particular do show completion candidates automatically in the >> minibuffer. >> >>> > Without seeing the possible answers, what are your chances of knowing >>> > what to type? >>> >>> Chances are pretty good: I'll press TAB to see the *Completions* buffer. >> >> Pressing TAB seems to be against the philosophy of icomplete, ivy, and >> similar features, at least AFAIU: they display the candidates without >> any prior request by the user. > >Among icomplete, ivy and ido modes only ivy is overriding TAB key. With >icomplete and ido the overlay text is not the _only_ way of knowing what >inputs are acceptable. Seems like they has nothing against using TAB to >complete text. > Ivy has ivy-partial-or-done bind to tab by default. Which completes common part or open on single alternative with the default action (find-file for file; dired for directories...). But it is possible to bind tab to ivy-partial in ivy-minibuffer-map instead. Then you have only completion on tab which is probably more familiar for shell users, and a more predictable behavior. Actually the most opposed completion system to use tabs is helm not ivy ;p