From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master b0e318d 2/2: Score flex-style completions according to match tightness Date: Sat, 16 Mar 2019 14:25:00 +0000 Message-ID: References: <20190213212413.868.40960@vcs0.savannah.gnu.org> <20190213212415.148B9209D7@vcs0.savannah.gnu.org> <0ba3ca47-c7d6-a608-536e-94784ba3384b@yandex.ru> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000005f93e5058436eca4" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="46131"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 16 15:27:29 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h5AHY-000Bst-Gt for ged-emacs-devel@m.gmane.org; Sat, 16 Mar 2019 15:27:28 +0100 Original-Received: from localhost ([127.0.0.1]:42458 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5AHX-0006az-B4 for ged-emacs-devel@m.gmane.org; Sat, 16 Mar 2019 10:27:27 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:48189) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5AHQ-0006aW-9c for emacs-devel@gnu.org; Sat, 16 Mar 2019 10:27:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h5AFQ-0003Pe-Cc for emacs-devel@gnu.org; Sat, 16 Mar 2019 10:25:17 -0400 Original-Received: from mail-qt1-x836.google.com ([2607:f8b0:4864:20::836]:40505) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h5AFO-0003Na-93 for emacs-devel@gnu.org; Sat, 16 Mar 2019 10:25:14 -0400 Original-Received: by mail-qt1-x836.google.com with SMTP id f11so13299225qti.7 for ; Sat, 16 Mar 2019 07:25:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wrrm3wdyyzdZkWXLaujJkP8p8saGKW5n4LzoNW7nyzU=; b=Hh3LeyqiKxp0H9lxrEdVSiEX/DByik9dsGALeZRUEXtHoLXwmMgLJxyZXVRlwYzI/Y PFNUxiiJAxC57NWJx/REbGbvUCK4fpGbJhf3+K7V5ZBsyfU5hcgCgeNq8pvmzCYU/x7z W02CNv/N8m556090rmpEHyn4GYWRH+qYyopJdijUFEXoy0tEC1RPCvNvjTV07R06K9Ad XvOU1OLA+XloN6nubGNR56m7tQ6KUs3UPzBDKeIsjuiCNmh0fdAJdUP+kROqy/TOV6e3 CuEcbnDBwvP/520O1l7aneYms+QsFINpXKJudUTakYGUkEUu9z/QfDJoYnC0s0es4mbY j1xQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wrrm3wdyyzdZkWXLaujJkP8p8saGKW5n4LzoNW7nyzU=; b=Co+dK38XqFnudu3AmR+MPIhy44J5gQFmENqTl2KdMgouoHDhVVyZyD9AMr1lXVxd/C fsWVT14Tz3s+JIyR/Hk9bv57BjZbl6pkxff3Y/0tBMUvxb9T8v453ysGxWfdpItA6AeC tsxfvGSmlbVmTycx4xxMHbGtedB/4oFdPL4GjeNN//Vypdyc/+RLx1wj+MTm5SNO6xc/ 7SnuV92/kONIejIm5Y3/EHsuB7VypTO227WAuTPVnA6C/WcxwqjLujEdW0edfXpr/2if TD0dUUhpwq0GL+so/hed52KFUVKMZNoFAUGcv/C4N6Fhq+qndhLeZtmiMUqs+DX2Hxi2 3AMg== X-Gm-Message-State: APjAAAVIsGykv8pEbbm+SRg7FT2MbsJvKvcWm92HEXAonUVbgE3mgxYm acNWoF2qFo9L1rbZk7xObMZc7ymAwWARNo1DAWI= X-Google-Smtp-Source: APXvYqzgCr3ibUo1xlvbj5Gtq06t4qsyCtPqD/pXlujpTMm4qpCjK2sPEe7Z/BDRuX1Yb/IkHVGEHXhDkz1rpXpc23E= X-Received: by 2002:aed:3e8e:: with SMTP id n14mr7397056qtf.390.1552746312339; Sat, 16 Mar 2019 07:25:12 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::836 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:234217 Archived-At: --0000000000005f93e5058436eca4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Mar 16, 2019, 13:35 Stefan Monnier wrote= : > > Regardless of the decision of where to put sorting function based > > on flex scores, completion-pcm--... is a most suitable place to add the > > scoring, since this is where the string is propertized (and the scoring > > is closely related to that. > > Also, I think the scoring would be valuable for `partial-completion` and > `initialism` styles as well (i.e. for all users of PCM). > Yes, I forgot to mention before that I think so too. Jo=C3=A3o > --0000000000005f93e5058436eca4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sat, Mar 16, 2019, 13:35 Stefan Monnier <monnier@iro.umontreal.ca> wrote:
> Regardless of the decision of where = to put sorting function based
> on flex scores, completion-pcm--... is a most suitable place to add th= e
> scoring, since this is where the string is propertized (and the scorin= g
> is closely related to that.

Also, I think the scoring would be valuable for `partial-completion` and `initialism` styles as well (i.e. for all users of PCM).

Yes, I forgot to me= ntion before that I think so too.

Jo=C3=A3o
--0000000000005f93e5058436eca4--