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: feature/icomplete-vertical Date: Sat, 19 Sep 2020 17:49:04 +0200 Message-ID: <20200919154904.rrabgd37v57qrton@Ergus> References: <20200919015957.prffuac2jke3hp6a@Ergus> <20200919061531.oyjlbdvkbeif5fsg@Ergus> <20200919114359.7kph6xt2gdmah2pp@Ergus> 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="9736"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Gregory Heytings , Eli Zaretskii , casouri@gmail.com, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Sep 19 17:51:11 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 1kJf8p-0002Qw-5I for ged-emacs-devel@m.gmane-mx.org; Sat, 19 Sep 2020 17:51:11 +0200 Original-Received: from localhost ([::1]:40322 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJf8o-0006zG-7I for ged-emacs-devel@m.gmane-mx.org; Sat, 19 Sep 2020 11:51:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49162) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJf72-0005Nn-VS for emacs-devel@gnu.org; Sat, 19 Sep 2020 11:49:21 -0400 Original-Received: from sonic314-13.consmr.mail.bf2.yahoo.com ([74.6.132.123]:38301) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kJf70-00061D-Lc for emacs-devel@gnu.org; Sat, 19 Sep 2020 11:49:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1600530556; bh=T1qY/oQoU/EJULiH1ykCwAUZiRqwEsdZlVcgSRYxpPY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject; b=kgmHCDsYTOOLsxSibfslJ0kdOJyUdSsmVBdWdkVY8+MI3CjHkitarhzPIT6ZoPcHjGVHLZm3qSOU/Xy/u8k0wQoFsYZHjDWTW1qFMAVjQ5ZlTXSyszI6h3pFhPAdU6bykex0mrRSgajwKEvMwaJUDJkyEoxAOB79pNFq7NgvfRWCh0NA3Ew9rGhZNVx8Y684kibCV6t7fT9OjrmMoJknBmHm9NRydQ6xFfGw0xdBon8cIjZpW/y8q3Fp0HsttVFs3CACEftZXoNoNNhfoAi8Hu1TqilXhv/T75PPCUNM1AFp2JjXj3Vd5j2UGNqUUleEifGSiB2+H9vDe5O+EAX3dA== X-YMail-OSG: OebZ378VM1mRI84jcIp74VrWLvyCLqTv7YEIbgRT8A4I1lK_Lb0Y8lJeGX0ESN2 bA09hcZeC5jRdmGTRWbinXezJq0HrIm0XKufC7CFK9N5BpQBvQZBQZNSgW3Bqt18xHTDu3ps38Fp 9ieXV1OmidgfoAKAbxbgoz104oXTQKoVY5gqeNxqZTXtCdzr1qm4hANz3qc5qBFLTLOyqty1G6j2 t4NYmvuQYDKCZM3BnF0w3QdNBYGOGiLKr28swdEilxMcZj6_VuNulrH.evUwhW3oMyr2lROTgzEz KPtGtuydCqjMqaoX7eU6DXYVvQLmxGOlW2tDFJUeORWGPWtADP4_b3ru3BhXoJ6YjWxsGJufBOAK xm_PNIm_Ko_2CZzxa47SEfslyh_nA8.U_7WbYXWY0u8DZrWW9BGQQpUw.Kxwu45JPWvnRd7NRKd_ RUV5BuOdZcRJB5b5j6pMzUKfvDxbme4UT9ZwgEIyfLZ0CwLdSTLSK5.l_10auyLeZsM2S3KWWEPd rlw5BMrhv7NGJmruOzdMa.SS9gG5PT61Dq6X14jctjablB9QWlEdt933XfaPIw_ZjrRnFKBqTAHp iVPWacOgcyeS_dXHjlYdpHhE90TZkemlAFSgwG5ol.sMsXFwKitAjmcGWZ6qPeshd65W0f.Uk2WZ jkS8IdANHWhJH9zkWUOzfLYY_9I2HcescJphXAHXFYRO4.dHygdJKpFGerudmwrX5vMlyVUcNQyL tXE8vSe1PbrM0lqrhjJfCjajrNEtpyVLavmsjVml6IOiDujprXW2ZqroV9u7BE_rpvQbRpXjcY2e SqiZ0Izax9N6C8BpumcxlaUYTffngz1Pyvy0579dzc Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.bf2.yahoo.com with HTTP; Sat, 19 Sep 2020 15:49:16 +0000 Original-Received: by smtp403.mail.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 2b6097313cf817ba3befe04408e804c4; Sat, 19 Sep 2020 15:49:11 +0000 (UTC) Content-Disposition: inline In-Reply-To: X-Mailer: WebService/1.1.16583 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.132.123; envelope-from=spacibba@aol.com; helo=sonic314-13.consmr.mail.bf2.yahoo.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/19 11:49:16 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=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:256188 Archived-At: On Sat, Sep 19, 2020 at 11:37:07AM -0400, Stefan Monnier wrote: >> Alas an estimate is not enough in this case. As Ergus just wrote, if there >> are too many candidates the prompt disappears, leaving the cursor at the >> beginning of the minibuffer, which is counterintuitive. A simple example: >> after (setq max-mini-window-height 1), with "M-x a" the "M-x" prompt and >> the "a" disappear. > >That can (and should) be fixed without having to reduce the number of >candidates inserted in the (mini)buffer. > > > Stefan > It will be great if you give me an idea about how to do that. Because all the code seems to be designed with this assumption in mind. And also ido and the others had similar issues with this. I mean, if we can go around the prompt issue all this will be much easier.