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: vertical fido-mode Date: Thu, 20 Aug 2020 12:37:46 +0200 Message-ID: <20200820103746.6n5op7dtz563k7qm@Ergus> References: <1704199899.1577092.1591806438580.ref@mail.yahoo.com> <1704199899.1577092.1591806438580@mail.yahoo.com> <13ec44ed-4b54-8d43-590f-709bd813fd01@yandex.ru> <795146083.1708851.1591826041689@mail.yahoo.com> <87y2ouldrr.fsf@mail.linkov.net> <20200819121755.24hgq4gyba2wkt76@Ergus> <87pn7mdqbe.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="32297"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "emacs-devel@gnu.org" To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Aug 20 12:38:29 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 1k8hxl-0008HV-1s for ged-emacs-devel@m.gmane-mx.org; Thu, 20 Aug 2020 12:38:29 +0200 Original-Received: from localhost ([::1]:50962 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k8hxk-0002a9-2f for ged-emacs-devel@m.gmane-mx.org; Thu, 20 Aug 2020 06:38:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50542) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k8hxG-00029r-8C for emacs-devel@gnu.org; Thu, 20 Aug 2020 06:37:58 -0400 Original-Received: from sonic301-2.consmr.mail.bf2.yahoo.com ([74.6.129.41]:36387) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k8hxB-0004Yq-Rk for emacs-devel@gnu.org; Thu, 20 Aug 2020 06:37:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1597919871; bh=GKAWJUIbMuHGL3ERbhYAoWlVx0eZn36sxTT0NNzyPWs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject; b=C4/SeCwfUryQaaAEYxaFEKrTRJ9GL6xiq28ePFVTIzOKwZH6vRgqsL7sJcjD9IAQWErtimt4R62HTq2Aq+E9FvP9CdTQKqWySGTLVkSU659srtAgaMSgN15BwI4J74HC7edlYAiFdFKR5TJBKDexJnRePYx2tc+4CyzLVPQ8s6YM5xkerW/HFAjFmID0FI1qpbVcITRTI4i26MG7ojbW37+o1OzGq8u1xA96559/BlKVCIT3SKkrxHi3JtoGfw/BgulLP2F3iVKDswxlMNhxnLlrecdK+xHJuAyciUmNMqmLt7noSE5ZOhyoNHObHpmR6OZjzmL9woosbHlWvLqXLA== X-YMail-OSG: jOBDQAAVM1nkD58MWJXh9vWQpfD.l5l9Vmw_NTCIMyrKorfrqlEI7YkVjwVmSdp a5EyN39XSETii5Q2Gp05A_x35MXhnTj7WW3ZtHayGm9r9uyGYD71uM8nvPMllHKnB2qupXrOwAqQ B0iP9u47Vg0ywTndrVbrU7eQIki6oO9lgppXuBJuI0cUl1HGKy2zqETyAkfuT.h2LE2xqvUW71WH xiO7KB8BWSph1yAcX65S6KM0GaixTeM_ckb1ZGrX4bbH1SNYP_xWRitJIx7isJ2vkusB2tOBvYrO CWf08URLHcgSPINf_pY4JMjwjQMtDeYQ5eM63lce2FaKG8QijFm3h_r0PdGadC3wEAUVNxC5b3ZO hR_fCPkleRkmt7fXunavR_czceraCihZeFgN0CFo9uLZViedFsYViwLljGOzqAs.s3Apxk_mmsm. 6sQJqC15z0UDd9P5_TkUfMvJo2vkkoRWtC7t.BJrP.WIHguxGB_EJ.iVIJKBUcJ37lu8jAB7_njF XKsr4XZGNJwweMqBQ8zWnrZVEoENw_C4b69Rlq7JGENQ7QFi8fVmmTH4rK8zXNh51yQUmS30HUh_ XfTTTzjQFmHyeBEpFPAcvHAMxajTSnVWL6AYb5CX_xhfJ29xFVRA7ndMR0swJbu4Fwt3FLzwchMx 1yACl1aEZpqJtVd0e8zggqjZQdRHaIs5QReVkYWl.DndgpfQ9PTP9y0gb7Nm28aLvNVdXZyjNf6o C6PlNr5pDOTqiGXgBnBt1ESZqo5DLwKM6l4Pq7VXr26i.klKRgmZQA4sKTpmNEsjvYrXfHt2IoWA zZo6.3.FOGg7Uf2lUArWFjGFb6nck2G8zYzKkb4wc1 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.bf2.yahoo.com with HTTP; Thu, 20 Aug 2020 10:37:51 +0000 Original-Received: by smtp406.mail.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 200d70f918ecd0778ee17478d04bd83b; Thu, 20 Aug 2020 10:37:48 +0000 (UTC) Content-Disposition: inline In-Reply-To: <87pn7mdqbe.fsf@mail.linkov.net> X-Mailer: WebService/1.1.16455 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol Apache-HttpAsyncClient/4.1.4 (Java/11.0.7) Received-SPF: pass client-ip=74.6.129.41; envelope-from=spacibba@aol.com; helo=sonic301-2.consmr.mail.bf2.yahoo.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/20 06:37:51 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -30 X-Spam_score: -3.1 X-Spam_bar: --- X-Spam_report: (-3.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=-1, 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:254051 Archived-At: On Thu, Aug 20, 2020 at 03:35:57AM +0300, Juri Linkov wrote: > >But zsh doesn't jump to completions - the cursor remains on the command line >(the minibuffer in Emacs). Something like this would be more preferable >where navigation keys will insert completions from the *Completions* buffer >to the minibuffer - without leaving the minibuffer. Hi Jury: This is why I said zsh-like. The problem with this is that in *Completions* some letters like q or z are bind to something and changing that will modify too much the actual user experience. While in the minibuffer the horizontal arrows are used to move-forward/backward and the vertical to search in history. Do you have any alternative? OTOH this is the simplest I could implement making minimal changes with the hope of making some of this enabled by default in the "near" future without too many old users complains. Otherwise we will implement just-another new mode that will be off by default and probably nobody will use as there is ido/fido/icomplete/ivy and so on. So far there are some details in the actual user experience with *Completes* I didn't change intentionally. 1) Completions are only shown on demand (TAB) 2) When completions are shown TAB tries to scroll the completions buffer if not all of them are visible (actual behavior) 3) The completions are updated on demand (TAB) only (unlike zsh that they are updated automatically on input) 4) Arrows and navigation keys keep their current meaning either in minibuffer and *Completions* buffer. So far this doesn't changes the current experience at all, so old users won't complain and we could enable this by default. The only addition was the jump to completions with a TAB when all completions are shown. And exit completions with C-g like in zsh. Do you think it worth doing a stronger change?