From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: on helm substantial differences Date: Mon, 16 Nov 2020 18:13:20 +0200 Message-ID: <83a6vhth3z.fsf@gnu.org> References: <87wnymda5g.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39152"; mail-complaints-to="usenet@ciao.gmane.io" Cc: spacibba@aol.com, bugs@gnu.support, andreyk.mad@gmail.com, emacs-devel@gnu.org, rudalics@gmx.at, monnier@iro.umontreal.ca, ghe@sdf.org, drew.adams@oracle.com To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Nov 16 17:29:15 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 1kehNT-000A2M-34 for ged-emacs-devel@m.gmane-mx.org; Mon, 16 Nov 2020 17:29:15 +0100 Original-Received: from localhost ([::1]:48762 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kehNS-0003uG-2U for ged-emacs-devel@m.gmane-mx.org; Mon, 16 Nov 2020 11:29:14 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59890) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1keh8J-0004ZB-P2 for emacs-devel@gnu.org; Mon, 16 Nov 2020 11:13:35 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:35947) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1keh8G-00013r-69; Mon, 16 Nov 2020 11:13:32 -0500 Original-Received: from [176.228.60.248] (port=2270 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1keh8B-0001g5-Ve; Mon, 16 Nov 2020 11:13:31 -0500 In-Reply-To: <87wnymda5g.fsf@mail.linkov.net> (message from Juri Linkov on Sun, 15 Nov 2020 22:07:47 +0200) 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:259236 Archived-At: > From: Juri Linkov > Cc: Jean Louis , Gregory Heytings , > spacibba@aol.com, andreyk.mad@gmail.com, emacs-devel@gnu.org, > rudalics@gmx.at, monnier@iro.umontreal.ca, Eli Zaretskii > Date: Sun, 15 Nov 2020 22:07:47 +0200 > > It would be nice if in addition to already existing 'annotation-function' > 'completing-read' also supported 'format-function' or 'display-function', > i.e. a function that would return a completion candidate to display > in the *Completions* buffer. This will allow completions to use > the same format that is typical to a package's default format, e.g. > typing TAB in the 'C-x d' minibuffer could display completions in the > the *Completions* buffer in Dired format: > > Click on a completion to select it. > In this buffer, type RET to select the completion near point. > Possible completions are: > -rw-rw-r-- 1 185,205 2020-11-14 21:52 minibuffer.el > -rw-rw-r-- 1 8,386 2020-11-14 21:52 minibuf-eldef.el > … > > 'M-x package-install RET a TAB' could display completions in 'package' format: > > Click on a completion to select it. > In this buffer, type RET to select the completion near point. > Possible completions are: > ada-mode 7.1.4 available gnu major-mode for editing Ada sources > ada-ref-man 2020.1 available gnu Ada Reference Manual 2012 > … > > 'C-x b' - completions with the format of 'list-buffers', etc. This will have to be an opt-in feature. It presents completion candidates in such a radically different form that people will be confused; I would be. We cannot change the default behavior so radically, and on top of that make the display different in each mode. Thanks.