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] completions-max-height Date: Tue, 08 Mar 2022 09:05:29 +0100 Message-ID: <3723C952-ECE7-467B-AE89-73EB0819B7F0@aol.com> References: <20220307210740.veiocemir46mmerk.ref@Ergus> <20220307210740.veiocemir46mmerk@Ergus> <87v8wpxvkj.fsf@posteo.net> <87fsntvxg6.fsf@protesilaos.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=----XR1KZG48KONJS4I73XXEMCFGXZ2PF7 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3000"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org, Protesilaos Stavrou , Philip Kaludercic Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Mar 08 09:07:42 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 1nRUsf-0000ZT-DV for ged-emacs-devel@m.gmane-mx.org; Tue, 08 Mar 2022 09:07:41 +0100 Original-Received: from localhost ([::1]:40268 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nRUse-0006sm-DF for ged-emacs-devel@m.gmane-mx.org; Tue, 08 Mar 2022 03:07:40 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:53316) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nRUqz-0005ie-1O for emacs-devel@gnu.org; Tue, 08 Mar 2022 03:06:01 -0500 Original-Received: from sonic305-1.consmr.mail.bf2.yahoo.com ([74.6.133.40]:35632) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nRUqt-0004ne-3R for emacs-devel@gnu.org; Tue, 08 Mar 2022 03:05:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1646726740; bh=N6WjRFShJDnPBrBi8mo/X25+u67mcH8ODZkeKGq0kWw=; h=Date:From:To:Subject:In-Reply-To:References:From:Subject:Reply-To; b=QmLF1koDJu1neMg/erqK2rB1ZoeFQ373FFmqD8IEUGZEez0bCsoUTlaYCuPdTYt+jwBd+fqQLrbrX1239uuWYUhc8TE/fxV3+5z27C7ub3V/xefoyJ9RdYhyG3ct4DZmW4ME10mnME34ZOTI8FVVO5jMRWjFTuUbKsyhOEGF1BN3WiPpxMUWQmaGVMVsBoYU1vhQYUWLYFTLHRI/5ddalvN8AbjO/SB2A5q+gVIpOlk8Fqm21HSAi4uIcIcHtpnVSeGuVb6GTUQP5aPbo8wyfhUqrH6KNvacouuKlIoci8lFg84yBLgUxajsVV7sHgjtdxv/7RPr3Ni/7ZBUjY+vvw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1646726740; bh=VpjQggnGfqXriY4L/v89O4BDY8ztLx+Kn8B8/BswVtb=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=Qa0XkiLsdi8YK68bAi/Cm0qx0YAL0duRvByX6uvKiAcDub02oA4zozdFBAyt88/Vqxp1VmUzPGumBJ0wRK7v1/JWmSXC6Ml9e0I2pBeGlFWu7bYyX4xv4H59J09W56b1NTGpA6rUQYZwEa21hj8gpuJYTJ5MDfieqhxL/qzrqg4DryCwQvwGOcYL4INpInf+rR0Da5FsG2hhjmhBBYIwVlpQzy4twGEGDjWJeUuzNWXyz+kjORzLC2EHHNGX+7ke6/bTfgUYdLuxNqd3oFRCXC8H3q+AUcN/FpCTlOFg6bPvjDm/j4urDJ73AUiH3K9Y647SBRcg/OmvdHS9pVLwiQ== X-YMail-OSG: vooppQwVM1kzHUm3.W0cgAWqlW9stIef9rZJ3IyHdvSmB85SEylYGP7Soh0RrxU p7qajErRFICNoGXHo9aGvAduP6oL6R2Zj_9_q.s50ySBaSTcvRo5BJfMJmwRqp9g7owMkc03XIjI hjrX0SjRk3SHAwWpJC89dosFzc2lgehmYMAOQr.IgBSH9nVz9VdoQ0.svq4Pzf4bOIuHjpRO3HCQ pg8BrL1Ct2u_Sha_6l.z8KG.33L_dH2vg5fcvlFDb0vE2gQu9AwXDgpVV.KaPEm_qdrcx11NfZ5d 2cFt7VLxOCStqpBDg5W89yQsz3bba8qhVeZBVCDIspNE.E0ukT2YvCXsDiICzP_wxby_Dk7jS4cC 5Jyvymn4iFOsgA5JtgbFgfiFZspTeQJKe08nJyJu7vfOhNjTMWGP3TZ7NZVYxHvOK3a0OArPQq9n nvyeHwS63boy1NmCHmEEpPQEnag3.i9iuHZ8PweJtMJPoeQL3ZzfMUn_K0OW0x2uPGPkgZFqDueP jajF0630BZL3uwLfqhRCsLkPVL_rkIA9jmBg6E0vVflJaR3t97aBqdP6ckINx68n.hFOzA.sNqB2 GtbvuOdlM9VqeWa2RcetvDN8EcnLoRfxo5MyBSq0XehQdVXeqMz0g5LM.1ISmW0kCezC9YPMRnTS aXtw1C1IzPaRsYfX8au3UC9Y_3rgzDbjQ14Sm5jjHcn7LyIGVVTeGWCgoEiN0aqmmVCELekPpP.b fKV8MAyQOzbC5jJD_eJd5kU_9vppzwZnnuYsmOp_Hh9..9iEB6Qlvpt0C5gDsMEauz5T71ctbvyY tNyIbbt6eesUquYSAIrUbmeAGWYQgBqlXsTsvVtyWM X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.bf2.yahoo.com with HTTP; Tue, 8 Mar 2022 08:05:40 +0000 Original-Received: by kubenode506.mail-prod1.omega.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 71c94391563a5c690c415f3c228a8d43; Tue, 08 Mar 2022 08:05:35 +0000 (UTC) In-Reply-To: <87fsntvxg6.fsf@protesilaos.com> X-Mailer: WebService/1.1.19797 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol Received-SPF: pass client-ip=74.6.133.40; envelope-from=spacibba@aol.com; helo=sonic305-1.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, HTML_MESSAGE=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:286916 Archived-At: ------XR1KZG48KONJS4I73XXEMCFGXZ2PF7 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I understand your intention, but in practice making this more complex is us= eless=2E The mini buffer is always down and making the completions to move = somewhere else is uncomfortable and may require more lisp/emacs knowledge t= o change the default behavior from the user=2E Which is completely the oppo= site to my intention=2E Actually this same result may be reached with an ad= vise as I discussed on yesterday on emacs help=2E But a simple custom is be= tter=2E I am totally fine if you propose something else more general if that don't= forces the user to write a function to change a simple height=2E=20 On March 8, 2022 6:13:13 AM GMT+01:00, Protesilaos Stavrou wrote: >On 2022-03-07, 22:10 +0000, Philip Kaludercic wrot= e: > >> Ergus writes: >> >>> Hi: >>> >>> Do you think that this may be added to vanilla? >> >> IMO it would be better if this could be generalised to something like >> completion-display-buffer-action, so that you can decide where and how >> the completion buffer is displayed=2E Though I am uncertain if this mi= ght >> have unintended side effects, as the behaviour seems to have been >> hard-coded for a while=2E > >I agree with Philip=2E Or go a step further and just let the Completions >behave like other buffers so the user can contol its placement and >parameters via the display-buffer-alist=2E > >--=20 >Protesilaos Stavrou >https://protesilaos=2Ecom > --=20 Sent from my Android device with K-9 Mail=2E Please excuse my brevity=2E ------XR1KZG48KONJS4I73XXEMCFGXZ2PF7 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable I understand your intention, but in practice makin= g this more complex is useless=2E The mini buffer is always down and making= the completions to move somewhere else is uncomfortable and may require mo= re lisp/emacs knowledge to change the default behavior from the user=2E Whi= ch is completely the opposite to my intention=2E Actually this same result = may be reached with an advise as I discussed on yesterday on emacs help=2E = But a simple custom is better=2E

I am totally fine if you propose so= mething else more general if that don't forces the user to write a function= to change a simple height=2E


On Mar= ch 8, 2022 6:13:13 AM GMT+01:00, Protesilaos Stavrou <info@protesilaos= =2Ecom> wrote:
On 2022-03-07, 22:10 +0000, Philip Kalu= dercic <philipk@posteo=2Enet> wrote:

Ergus <spacibba@aol=2Ecom> writes:

Hi:

Do you think th= at this may be added to vanilla?

IMO it would be bette= r if this could be generalised to something like
completion-display-buf= fer-action, so that you can decide where and how
the completion buffer = is displayed=2E Though I am uncertain if this might
have unintended si= de effects, as the behaviour seems to have been
hard-coded for a while= =2E

I agree with Philip=2E Or go a step further and ju= st let the Completions
behave like other buffers so the user can contol = its placement and
parameters via the display-buffer-alist=2E

--
Protesilaos Stavrou
https://protesilaos=2Ecom

--
Sent from my Android device with K-9 Mail=2E Please excuse m= y brevity=2E
------XR1KZG48KONJS4I73XXEMCFGXZ2PF7--