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 [was: [ELPA] New package: transient] Date: Sat, 2 May 2020 01:16:07 +0300 Message-ID: References: <119c0543-387d-4fad-b7fe-b4e07a7be4f8@default> 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="25022"; 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 Bernoulli , Emacs developers , Philippe Vaucher , Adam Porter , Kyle Meyer , Eli Zaretskii To: Drew Adams , Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 02 00:16:52 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 1jUdxj-0006NK-8U for ged-emacs-devel@m.gmane-mx.org; Sat, 02 May 2020 00:16:51 +0200 Original-Received: from localhost ([::1]:42782 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUdxi-0007AD-AC for ged-emacs-devel@m.gmane-mx.org; Fri, 01 May 2020 18:16:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34374) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUdx7-0006jL-Rr for emacs-devel@gnu.org; Fri, 01 May 2020 18:16:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUdx7-0006Rh-BD for emacs-devel@gnu.org; Fri, 01 May 2020 18:16:13 -0400 Original-Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:44995) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jUdx5-0006JD-U7; Fri, 01 May 2020 18:16:12 -0400 Original-Received: by mail-wr1-x435.google.com with SMTP id d17so13293880wrg.11; Fri, 01 May 2020 15:16:11 -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=tlg95bNHlDf6YNNsOEVh6fzYUh8R8r04lgPWBsVIY10=; b=Ik+JpbxxD6OKa91/NaOeSFe4iVSn+Oa+Zqc5LRw8bHnS4fG2oqXrdmARgEYHl3RVC9 5cxUeP3L7UPJ3BU9j9joZZJJ31bbA5RqD1uMCjmpsZ3YVSJleEQByNAT0s2s0HvhmRID o8DrRO3HnH9YiE+8sQNXtH8zsLb8L3vShm65YisZAHV7JkNqY277NBJy2hqfhb+P0mcK TZnjSB9mSVleyvvjp14xxbfP64mRfy8pAvg9qShj2NiSXucz7T97PGffJ6vpxvXHjNx9 6WSk6zhdLfQo7A7EFTrYi4yHSsOkgV1LWGmT77K5H2+YcVfewuIC366COxh1L2r1TCc5 EVfA== 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=tlg95bNHlDf6YNNsOEVh6fzYUh8R8r04lgPWBsVIY10=; b=UA/Hi22Fw3H90FbDxvva1SVX1RcEIqhtjRcFHNj3oLX7Gz15iXUVWejWQlAihXUWys HjgkZHuHcmH6RGURkt0APWtt42y3j5Tqx0BfraGRN3e2ybWw4K+nFy3UrQJz5Fq9ly7R DVBp1+yRF2yIl45amSvi/zDJlpWv6BKXNb1Rk0sR9W0xRs2+TEIqGAdcANS9R2IBH1k7 e8zgdW9u0jk+KPdA1NuuFhXdJRxFWSSMPxrPfJxKUUrNc3zDPOigfdJpJLXvWfWuvhVR kLBN0IMygkb4hA0blXwrt+HTonCAAMtLm/l61XKmw/MWYajkid4fKMblLCvqZCFjC25U TecA== X-Gm-Message-State: AGi0PuYdTNrwPhEuapppYdEvyaDtNlkAR5wx749K5pjPiaB3RacMRHZy gnT7Cy6zNlfnXxH5DrZ1tDw= X-Google-Smtp-Source: APiQypKd0BzPSKdNcx50ZKxJYjNPin9zGr0RUpPy0hPoMVN6fsc/gcJIxo7WCxPEyb7demD2gBIjoA== X-Received: by 2002:a5d:404a:: with SMTP id w10mr6005379wrp.397.1588371370227; Fri, 01 May 2020 15:16:10 -0700 (PDT) Original-Received: from [192.168.0.3] ([66.205.73.129]) by smtp.googlemail.com with ESMTPSA id p7sm6393192wrf.31.2020.05.01.15.16.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 01 May 2020 15:16:09 -0700 (PDT) In-Reply-To: <119c0543-387d-4fad-b7fe-b4e07a7be4f8@default> Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=raaahh@gmail.com; helo=mail-wr1-x435.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::435 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:248346 Archived-At: On 01.05.2020 20:20, Drew Adams wrote: > 1. Progressive matching, i.e., narrowing the set > of candidates by matching another pattern. > (Rinse and repeat.) > > 2. Pruning, by excluding matches. > > 3. On-demand help on individual candidates. This is all high-maintenance. It requires the user to master the matching interface first, with extra keys and new behaviors. 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.