From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: master 15ac51e0fd: Merge branch 'feature/completions-customs' Date: Wed, 23 Mar 2022 09:00:49 +0800 Message-ID: <87tubpcwji.fsf@yahoo.com> References: <164793742180.2038.4306130819331318764@vcs2.savannah.gnu.org> <20220322082342.60DC3C051F4@vcs2.savannah.gnu.org> <87mthijpyc.fsf@yahoo.com> <87ils6m7oo.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2265"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: emacs-devel@gnu.org, Juri Linkov To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Mar 23 02:03:13 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 1nWpP7-0000PT-JY for ged-emacs-devel@m.gmane-mx.org; Wed, 23 Mar 2022 02:03:13 +0100 Original-Received: from localhost ([::1]:48296 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nWpP6-0004lz-Cu for ged-emacs-devel@m.gmane-mx.org; Tue, 22 Mar 2022 21:03:12 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:56414) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nWpN2-0002U0-6y for emacs-devel@gnu.org; Tue, 22 Mar 2022 21:01:05 -0400 Original-Received: from sonic311-25.consmr.mail.ne1.yahoo.com ([66.163.188.206]:46368) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nWpMz-0001x8-AF for emacs-devel@gnu.org; Tue, 22 Mar 2022 21:01:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1647997259; bh=2DhxA7NO2WRFkTWDDwATKGwVy6kD7592A0oywtGu2pk=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=WCLgQMgAxzGjQLGaWD1Lniz+Qc2pxny+k/b4P0HUpvWGHFtKoDatfvZ+Dt9DtdatmvHcIowPxQdyNujtYv3txPPb+JB6QM7IaNBVntYpi/r0JcYvD/cuYA3DyrC8uzW3vSIH969/H3KSFtwFRK6+yWAxdXMuIMTa7K37uCJA7D2yuqLoqDOlmZi0gtFc0rlF5t/uIt1TSYkKuZ7l1Jzepnle1YFrA77Taun4zR3mjHhsLvcFrNfC0UqmGhzwl53/6m61UReJah/Oo5NflesWfS5EIHRxmbSRL/OL6mhp8dOnl5CV+9x8oMQ/w1QHxOhjzcTwitbpkl4VLhFaZXptBw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1647997259; bh=Jixqi5nTctxlkhgt3ajWpqmJkTnquOQfYpZc4lSPM1E=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=Eae4CncvB6SzVgO8qsci5QSP0D5VT1oYQwnbrANiX3ikF+/SZTwyg8viTzyDbVSBl/Y3CgLAuDXQhyeEEQ8G6IGbLNmK9WPtvwQRLy/hoTUHyf0S0yaxZ3y6AkfdOBPkwUS1IKxAuM1IiMgdom54P5K/qocU8WwC9j6zh5W/KxBm1I42QR49yWIYpyPlM+etmN3NAm5nWYZuKw8aBmDr8P5RYhILfMVdhUNpjsnV8eDRdB+2u6n6wJSCHkGJtxzH58Nbu7+R5Ir46RcDTrJ8d9bdYgMQF5veXIRltOghAuGRSmlUZ9vVsa2aUc7WH1USNiuSAAFMLLsE30KhnCO5ew== X-YMail-OSG: DAe44wgVM1mrAD3tvfGP35OLQEtV8M0l4Vui__UgJucV.fC__Ups0hs3C_cOdjJ j2JaUyj6xS8HpdlKEjhtJ8B46H1kS9DSJzK_KYV9hw4bhesDC5VxGf_5umxb139jRSiR_RxFDOsK ahHoJWUpgkm4c8fPi7WRBV8nHu.i04k5eVlm4enH1f5wdZwZYqMDf20w7NvJXIGTL8xPInHw0vwQ 36WO9rL95Ke297BmfhMks.cjAL26nULbjvVh_a7ricxgpKRgToihU1pKbaGWcUVGhtXnWUL8LdAb u5roKztI7QsF2j5b0Nn4_DAELtfin5Xh_KfD6.tR_.1hk8g8imF0YPdpUFOXeUb5iCEk5BLRkAZ6 MaykpHtkploU54Z97KQwi74xbnOvCbho2c_V8NatFayBdKJqHS9sk5mtgJoXW4HZ._bfzYYDYJ3Z 6LeHp3.87E57sAdxFZ6uGCM.NsX9JKMh5BRNifQqK.XCoDYXxMGVpaMnwpVd2gYKRR5QEtlKyEH_ 9fnpBlNrgQk.bH1JxPd2Q_kMiw6hrfTHpyTGbhCSLOF7.o.5hIhg9.5_vBAKCcMORhTfd.2.2enT pow4f1QoKfQkDcecxq.Ie9rbcU0jiDyKFx5I3uylLQ5VsfXk1MLl_.yZMEgBZU9MD1sq7L4Ut6CI vQnTczI5ED8DKE61TI6mFfajiMZDA2BxI9g4wj.61UR.uVSw1SftHmvU2BIMDBh2_PwF2QbiY.h. 7E2UF_fy2ceyGGtutgVTKj1vXlbP2vdbHUioahPC3EnPcb7mt5iZsBRCAWnpS8eAxhJnDFvKPj5Y W3O6i7o19hjf4T1xeCjR7IrOuYM5CD.hAh1Ir7npFs X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.ne1.yahoo.com with HTTP; Wed, 23 Mar 2022 01:00:59 +0000 Original-Received: by kubenode508.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 7edbb42bb8ee23ca886f5c89c8c388ae; Wed, 23 Mar 2022 01:00:54 +0000 (UTC) In-Reply-To: <87ils6m7oo.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 22 Mar 2022 14:35:19 +0100") X-Mailer: WebService/1.1.19894 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.188.206; envelope-from=luangruo@yahoo.com; helo=sonic311-25.consmr.mail.ne1.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, 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:287377 Archived-At: Lars Ingebrigtsen writes: > Po Lu writes: > >> IHMO this should be off by default. It wastes a line of space in the >> completions buffer for no real gain, and it's distracting. > > It used to be: > > ---- > Click on a completion to select it. > In this buffer, type RET to select the completion near point. > > Possible completions are: > ---- > > And now it's: > > ---- > Click on a completion to select it. > In this buffer, type RET to select the completion near point. > > 134 possible completions: > ---- > > So it doesn't waste any space, and it provides more information. Hmm. It's odd how I never noticed the first. > I'd rather do something about the first three lines, though. Either > remove them completely (it's pretty self-evident that that's what you > do in that buffer, and especially now that you get mouse/point > highlights, indicating that things are "buttons"). Perhaps it might > make sense to remove all four lines, I don't think that highlighting the item at point makes it clear that pressing RET will select the completion in question. But the first line could be removed and replaced by a tooltip on the individual completion items. > and put the number of completions in the mode line instead. Yes, the best place to put it would probably be the completion list lighter on the mode line. Thanks.