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: Fri, 21 Aug 2020 02:05:13 +0200 Message-ID: <20200821000513.xqdhsdwxm7ov7fkw@Ergus> References: <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> <20200820103746.6n5op7dtz563k7qm@Ergus> <87pn7llbnb.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="2384"; 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 Fri Aug 21 02:07:13 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 1k8uaP-0000X6-3G for ged-emacs-devel@m.gmane-mx.org; Fri, 21 Aug 2020 02:07:13 +0200 Original-Received: from localhost ([::1]:51808 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k8uaO-0001wc-2W for ged-emacs-devel@m.gmane-mx.org; Thu, 20 Aug 2020 20:07:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49024) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k8uYl-0000cd-9Y for emacs-devel@gnu.org; Thu, 20 Aug 2020 20:05:31 -0400 Original-Received: from sonic305-3.consmr.mail.bf2.yahoo.com ([74.6.133.42]:37964) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k8uYd-0008Up-HS for emacs-devel@gnu.org; Thu, 20 Aug 2020 20:05:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1597968319; bh=iC5rHjoDUpuvuPrz3j8Lv1Or6LiRO3ZoTHsrRzRrW28=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject; b=Aq+LwoVhijBGga5jMf2/vuSmkh92GKXKhNUEw5jDRhD5RZSCNmwjQ+Q+TG/MeqGf6P05XijjtAWRd/D4Lh+kEaerJwPH1n+H/MjS0NkRtvnbYrgWrfWGCIDQ8TZlGfcz96Al6H+JdS6OYpwtpkKGCz2/IF6JQ9/8F6izBl5da+nRdBirGG8Wft2j0J3OO/p9JV/iyPnQbq/BwZrwvtsMD/fZQyyP1HgU8eWBlcSrWlYCgGCyntZnd7x+DnCB7FdQzDaJjvahFsrhpyagIIV8xMCvBye0vfBYJcBMcyNQV+nM/jXxz9BGG4qeVAmAUZZaP5CWUKjXqSxSU2RBNpmr1A== X-YMail-OSG: tFbblKAVM1l8YPNOESR1QBPh3nYqNKrqQEx8uLoqRGTQiyfZDUs3FLht24YNhs8 JKuhY2_JV90ZMXobRR8cxICg5gaKIRywktcEtkHT7epSu2pewhCjLVXRJC_voIbaCoXpzXxPV4hH Lq76FHiFYyPPUFC5mHHnxQLHIi9LmE_Sv_pmRCwxqGhFrIl4AkFCD21iNYZySrEVRrwEFGIN.oaT g_pocxAslgidxb5GfkdQXrSQzXEaLq6BikvtATltg13E7juwCkqIYeXgLqg.m1HGHD2aa4NSqb.H G1azBtE0q6ckpfNoG.PM0Y3quzsa_GMX0yyJCXM4H_CQFqbAMlf8X3EhMaI10vvrhjWwtl28q4lr I.jlMFYaVIy8GJrMS8CrWnWyEgG2nyfs7P.QNRLTXv6jDv6bpTUGnkG63kxopAHNsKMrTdpHZR0e koWhfk2Af7YPti9oO6jExUx0qz1sSvHtULGF2UEydRiKrvNastmrzyiKEsPzX5f6ul2NFyGWRRSl olEtqyC0usL.ZM3_3n9heRcP2qPpc.CqnOEvEQjdI8SazOZYXl7ia_v8.D6xgrYlyk.VhjPLwfAX u1Ce3YnV3VBgqxnnLGX4kghFGRgiKYl0QFXOm64.q.I4ckCO10RI0ZzwdT6VWcJBLRxMEqxC4CKq N_u.ixtv0YeJO7ObKhaZI2xTnPnU6yRpqNSy4hEcy5775R7J8g.Qm5lsK2i3Jku5NHQcURQwjqmf beBZ7B3BGvmLxnHFLjqFMPZWI2ucX3ezl_UV0SuX7ERqOL3qxhylueQ45u8Feul34yrD40mXBKff gh1sto9wA1V_SJTxLhYo4sVeSARaQmLSLxkZc06eWB Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.bf2.yahoo.com with HTTP; Fri, 21 Aug 2020 00:05:19 +0000 Original-Received: by smtp412.mail.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID bc84570142cbfb97d64415c087480d24; Fri, 21 Aug 2020 00:05:17 +0000 (UTC) Content-Disposition: inline In-Reply-To: <87pn7llbnb.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.133.42; envelope-from=spacibba@aol.com; helo=sonic305-3.consmr.mail.bf2.yahoo.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/20 19:53:29 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:254065 Archived-At: On Fri, Aug 21, 2020 at 02:15:36AM +0300, Juri Linkov wrote: > >An alternative would be to use the same keys as used in web browsers >to navigate completions from the url input field where M-up and M-down >are used to display a list of completions and to navigate in completions, >without switching to the completions buffer. > yes, but this is what we have already in fido and the others somehow. I wanted to keep things easier. > >There are other keys that currently scroll the completions buffer as well: >M-PgUp, M-PgDown, M-C-v, S-M-C-v. > Yes, I know, but I shouldn't be able to change the TAB one. BTW in terminal S-M-C-v conflicts with terminal yank. > >I think whether to show/update completions only on demand or to show/update >them automatically on input should be customizable with a new option. > This is something simple to implement, but again, this something more in the icompletes-ivy-ido experience. >> The only addition was the jump to completions with a TAB when all >> completions are shown. > >The existing key that already jumps to completions is PgUp (M-v). > Yes but somehow I found more "intuitive" to do it with tab. >> And exit completions with C-g like in zsh. > >The existing key to exit completions is ESC (delete-completion-window). > Actually it is ESC ESC ESC. C-g was unbind in the Completions buffer. Doing C-g (go return to minibuffer) and again C-g (to exit minibuffer) is shorter and more intuitive than q C-g or ESC ESC ESC. But don't worry this kind of changes I understand they require discussion in the ML and are only kind of "proposals" to see reactions. >> Do you think it worth doing a stronger change? > >I think that adding more logic to the existing key TAB is too strong >change: for example, when the user doesn't notice that the completions >buffer already displays all completions, types TAB again, and it switches >to the completions buffer contrary to user wishes. > I agree, here. I just ran out of ideas to make it simple and "Intitive" >OTOH, the feature of using TAB to switch to the completions buffer >doesn't work when the list of completions is too big and >not all completions are displayed. > Yes this was intentional to avoid changing the defaults.