From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: handling many matches Date: Sat, 02 May 2020 09:29:28 +0300 Message-ID: <837dxuvohj.fsf@gnu.org> References: <119c0543-387d-4fad-b7fe-b4e07a7be4f8@default> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="26842"; mail-complaints-to="usenet@ciao.gmane.io" Cc: jonas@bernoul.li, emacs-devel@gnu.org, philippe.vaucher@gmail.com, monnier@iro.umontreal.ca, adam@alphapapa.net, kyle@kyleam.com, drew.adams@oracle.com To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 02 08:30:30 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 1jUlfS-0006v0-6o for ged-emacs-devel@m.gmane-mx.org; Sat, 02 May 2020 08:30:30 +0200 Original-Received: from localhost ([::1]:51130 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUlfR-0004wj-8Q for ged-emacs-devel@m.gmane-mx.org; Sat, 02 May 2020 02:30:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46060) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUlej-0004Qt-KD for emacs-devel@gnu.org; Sat, 02 May 2020 02:29:46 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:50924) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUlef-0004Vl-Rc; Sat, 02 May 2020 02:29:41 -0400 Original-Received: from [176.228.60.248] (port=3482 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jUlee-0006YU-7s; Sat, 02 May 2020 02:29:40 -0400 In-Reply-To: (message from Dmitry Gutov on Sat, 2 May 2020 01:16:07 +0300) 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:248379 Archived-At: > From: Dmitry Gutov > Date: Sat, 2 May 2020 01:16:07 +0300 > Cc: Jonas Bernoulli , Emacs developers , > Philippe Vaucher , > Adam Porter , Kyle Meyer , > Eli Zaretskii > > Whereas "other editors" have already solved this better (perhaps not > ideally, but better) by doing fuzzy matching with smart enough sorting. > We should start by matching that functionality, and only then add extra > capabilities, maybe. IMNSHO, we should first develop the infrastructure for such "smart" presentation of completion candidates and make it our default completion strategy, and only after that consider changes, like the proposed "namespacing" of APIs, that will allow users to use completion as a substitute for Help commands. It is IMO a bad idea to flood the completion lists with many dozens of candidates and force users to wade through them. I certainly wouldn't call that "progress" for Emacs.