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 21:46:51 +0300 Message-ID: <83imheqin8.fsf@gnu.org> References: <119c0543-387d-4fad-b7fe-b4e07a7be4f8@default> <837dxuvohj.fsf@gnu.org> <83wo5usaui.fsf@gnu.org> <14f6ff0f-afcc-5cc2-b8ce-491209c1e739@yandex.ru> <83y2qaqoxi.fsf@gnu.org> <5f531674-88b2-55fd-a677-7cbd57a62b91@yandex.ru> <83tv0yqmeq.fsf@gnu.org> <83pnbmqjcz.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="67493"; mail-complaints-to="usenet@ciao.gmane.io" Cc: jonas@bernoul.li, emacs-devel@gnu.org, 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 20:47:40 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 1jUxAn-000HPh-Tq for ged-emacs-devel@m.gmane-mx.org; Sat, 02 May 2020 20:47:37 +0200 Original-Received: from localhost ([::1]:56362 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUxAm-0001lC-Vk for ged-emacs-devel@m.gmane-mx.org; Sat, 02 May 2020 14:47:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33298) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUxAF-0001EA-M4 for emacs-devel@gnu.org; Sat, 02 May 2020 14:47:04 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:36213) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUxAF-0000CO-0n; Sat, 02 May 2020 14:47:03 -0400 Original-Received: from [176.228.60.248] (port=4792 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jUxAB-0004Cy-EQ; Sat, 02 May 2020 14:47:02 -0400 In-Reply-To: (message from Dmitry Gutov on Sat, 2 May 2020 21:39:06 +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:248538 Archived-At: > Cc: drew.adams@oracle.com, monnier@iro.umontreal.ca, jonas@bernoul.li, > emacs-devel@gnu.org, philippe.vaucher@gmail.com, adam@alphapapa.net, > kyle@kyleam.com > From: Dmitry Gutov > Date: Sat, 2 May 2020 21:39:06 +0300 > > On 02.05.2020 21:31, Eli Zaretskii wrote: > > Then let's sort it. The question is only: what is the key? > > Relevance to input, for example. > > But how will we determine it, you will ask? For instance, by seeing > where the search words are in the each listed name. If they are close to > the beginning, assign higher scores. You are still thinking about what our fuzzy completion does. That's not how you get scores that are relevant for the user, because how close the hit is to what the user typed is mostly irrelevant.