From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: handling many matches Date: Sun, 3 May 2020 00:11:43 +0300 Message-ID: <2cab9d0d-8d70-7390-1773-b19a9b3878bd@yandex.ru> 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> <83imheqin8.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="12842"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 Cc: jonas@bernoul.li, emacs-devel@gnu.org, monnier@iro.umontreal.ca, adam@alphapapa.net, kyle@kyleam.com, drew.adams@oracle.com To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 02 23:12:46 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 1jUzRG-0003FF-5Z for ged-emacs-devel@m.gmane-mx.org; Sat, 02 May 2020 23:12:46 +0200 Original-Received: from localhost ([::1]:38622 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUzRF-00035N-3z for ged-emacs-devel@m.gmane-mx.org; Sat, 02 May 2020 17:12:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47092) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUzQM-00015C-Va for emacs-devel@gnu.org; Sat, 02 May 2020 17:11:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUzQL-0003Lb-HP for emacs-devel@gnu.org; Sat, 02 May 2020 17:11:50 -0400 Original-Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]:38738) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jUzQK-0003Kr-GR; Sat, 02 May 2020 17:11:48 -0400 Original-Received: by mail-wm1-x32b.google.com with SMTP id g12so4261699wmh.3; Sat, 02 May 2020 14:11:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=MyarFhtj5Bv3/hrirP+qLZzUEpMyo8SScTC/P0RylZ4=; b=eh0vn8Tfl+kQqTXEM0J8Cv/yDIEmSE2MC8AiRATYZIBGs0geI/L1p6AQnzYQJ+HeyU 1GnAooYsd9fHE+KZGZr8Kuvg1JAcGwaGlmSjdapjPuQIpT/rgSEtoztEi2F1+VtctK7n v6uICRyvXxK1oUO1a2q0EiCxL1CsQct+flyFzK5JG8UeBz54qh2+WndSKstK/F9YrxpW GLF+PhTrXsaw0joYeYdeGZq5lCIa1vD44Fi39ds/AHMw4wcyraBaMIcxwbzT4cHecoia rWRa4GVjhnKH8uqYeRbW3gTN4ePjFuTT+1g4y1MWat2FRTx0dh78HUyPDVXg8zfuXnLH 3PMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=MyarFhtj5Bv3/hrirP+qLZzUEpMyo8SScTC/P0RylZ4=; b=fb2T8EszQmKEmkNY5fapK3Rgufux0orr266L1t8j0joEVyyE8lB5qF1hY7rt6gPU0S 3F0HkQ8vN4pYD/1MzMx99R/NmsQXYrGHsSUbL8IqLwq/eGM9B9HtVsyDoX01O8tFfwP9 30gMXDbJU2ScYkOThQBt+fuuUFmrrYAP+skhHex58HIJlZGjJNSfSo4q4owqEGRW2hzO 3KbAK3BgUhmc2zW3wY+WTbn4g4tzZ0Hl4l9DJh3cTzn4Pja2P1MnR+sYU3KDZoZ7upvI FYmzLa0f1X85PADMZythmKzxhS6nXc9/bU1V4kBJ0PdKTrfCq1oeDjMsL6ryfnHQb6pZ vo2g== X-Gm-Message-State: AGi0PuZcbICm1FxYkdg3wWikjx8+rs+Ogm+IZ+hDeEG7P2sUo9mg3aHP 5WL/GnF3SaFuCeESaSQ9+Qo= X-Google-Smtp-Source: APiQypLTa600AxI5k+Kv2OuQpaB6rCYhnKo+jWs1IRW5o1Gx9fFTUtrqD48j9EWmaOa9y3MUvDdXpw== X-Received: by 2002:a1c:8049:: with SMTP id b70mr6230962wmd.162.1588453906758; Sat, 02 May 2020 14:11:46 -0700 (PDT) Original-Received: from [192.168.0.3] ([66.205.73.129]) by smtp.googlemail.com with ESMTPSA id u188sm6059605wmg.37.2020.05.02.14.11.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 02 May 2020 14:11:45 -0700 (PDT) In-Reply-To: <83imheqin8.fsf@gnu.org> Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::32b; envelope-from=raaahh@gmail.com; helo=mail-wm1-x32b.google.com X-detected-operating-system: by eggs.gnu.org: Error: [-] PROGRAM ABORT : Malformed IPv6 address (bad octet value). Location : parse_addr6(), p0f-client.c:67 X-Received-From: 2a00:1450:4864:20::32b 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:248573 Archived-At: On 02.05.2020 21:46, Eli Zaretskii wrote: >> 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. It's rarely 100% irrelevant. Or else that would mean we have some nonsensical names. But apparently you have some other algorithm in mind. Though I don't know what it is.