From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] `completing-read`: Add `group-function` support to completion metadata Date: Tue, 27 Apr 2021 19:53:21 +0300 Organization: LINKOV.NET Message-ID: <87wnsnpt32.fsf@mail.linkov.net> References: <39c93100-a352-538d-717a-663bcc5de296@yandex.ru> <23ebdd80-3ca2-4166-beab-e2535b6cc646@yandex.ru> <2be2ebec-cecd-8c76-19fa-75e15634a954@daniel-mendler.de> <87mttlfy2e.fsf@protesilaos.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25622"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: Daniel Mendler , Gregory Heytings , Dmitry Gutov , Stefan Monnier , "emacs-devel@gnu.org" To: Protesilaos Stavrou Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Apr 27 18:55:05 2021 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 1lbQzF-0006S0-Pk for ged-emacs-devel@m.gmane-mx.org; Tue, 27 Apr 2021 18:55:01 +0200 Original-Received: from localhost ([::1]:33660 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lbQzE-0003q6-Qc for ged-emacs-devel@m.gmane-mx.org; Tue, 27 Apr 2021 12:55:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33366) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbQyC-0002mR-Tx for emacs-devel@gnu.org; Tue, 27 Apr 2021 12:53:57 -0400 Original-Received: from relay12.mail.gandi.net ([217.70.178.232]:42181) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbQy7-0000DG-GE for emacs-devel@gnu.org; Tue, 27 Apr 2021 12:53:56 -0400 Original-Received: from mail.gandi.net (m91-129-102-166.cust.tele2.ee [91.129.102.166]) (Authenticated sender: juri@linkov.net) by relay12.mail.gandi.net (Postfix) with ESMTPSA id B5740200009; Tue, 27 Apr 2021 16:53:45 +0000 (UTC) In-Reply-To: <87mttlfy2e.fsf@protesilaos.com> (Protesilaos Stavrou's message of "Mon, 26 Apr 2021 07:51:21 +0300") Received-SPF: pass client-ip=217.70.178.232; envelope-from=juri@linkov.net; helo=relay12.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, 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:268540 Archived-At: > In outline: > > + The Completions' buffer is (setq completions-format 'one-column). > [...] > > The overall experience is good to the point where I do not miss other > interactive UIs. And I feel that it could be improved further though I > am not there yet skills-wise. Thanks for sharing your settings. Such UI using the default Completions buffer is long awaited. Recently we tried to do something similar with a new mode zcomplete-mode. But it would be better to implement most enhancements in minibuffer.el where additional features could be enabled with new options. Then zcomplete-mode could just enable these options, like e.g. recently added icomplete-vertical-mode tweaks icomplete options to build new UI. > I attach a screenshot, though I understand this does not say that much. Looks nice. One thing is unclear: the format of buffers is like in the output of 'C-x C-b' (list-buffers) that uses tabulated-list to print buffer information. Are these buffers in the Completions buffer formatted with tabulated-list as well?