From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master b0e318d 2/2: Score flex-style completions according to match tightness Date: Sun, 17 Mar 2019 22:22:05 +0200 Message-ID: References: <20190213212413.868.40960@vcs0.savannah.gnu.org> <20190213212415.148B9209D7@vcs0.savannah.gnu.org> <0ba3ca47-c7d6-a608-536e-94784ba3384b@yandex.ru> <2fb59831-642d-e70f-057b-bcb2a0cc280a@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="121499"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 Cc: emacs-devel To: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 17 21:23:07 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 1h5cJH-000VVk-94 for ged-emacs-devel@m.gmane.org; Sun, 17 Mar 2019 21:23:07 +0100 Original-Received: from localhost ([127.0.0.1]:59815 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5cJG-00062Y-8N for ged-emacs-devel@m.gmane.org; Sun, 17 Mar 2019 16:23:06 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:39408) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5cIN-00060o-PC for emacs-devel@gnu.org; Sun, 17 Mar 2019 16:22:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h5cIM-0000Zv-Tu for emacs-devel@gnu.org; Sun, 17 Mar 2019 16:22:11 -0400 Original-Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]:37816) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h5cIM-0000ZI-At for emacs-devel@gnu.org; Sun, 17 Mar 2019 16:22:10 -0400 Original-Received: by mail-wm1-x32d.google.com with SMTP id v14so2149171wmf.2 for ; Sun, 17 Mar 2019 13:22:10 -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=28S5fySgIMmECkJ5uZC1lBJLU/bYj15oQRu5eeTEmG0=; b=D3WcNCT5HmDLmE85YbP0ab0NPuCuH9dytlSNODNVqcDLe+8uDQpuJk3d/7ti9SIGMj VQB48IYPc2vBVJJ+1+ufUKDuKUtjIlorPQXSLTo0t4rxhfiAHCEdL6bGCobdicpr+146 rncoiyO8i2bYcGEvV93GFoggqQeQAwveQGyZqniVKcdpHOlBvELs4hYoc7Q6DmUoQB+m IbhS5joHAJhYbTs68FPKHd2LQT25IEo8p/h2QXmfKUQB4kI5RlfxlQwjh7jkO1XVJINT hBSC3Po+fbW9alaBF4OfifMunQeiI30upQkXDvJC3oqg7Xd6sdTnv8YPybXiCtEvL5BR aR8w== 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=28S5fySgIMmECkJ5uZC1lBJLU/bYj15oQRu5eeTEmG0=; b=flddWZbMYToVMnTfiBgmHJi9L5x4UwYIOGrNhY9HjpWTdmYZQ4QP9+woHyIsqjjdGN Ila385BhthBB6enLQuOLuEmVVLvarUr8k0brOfN7M3ykpEFClQm2pV0Ek+FCCezxx1pD syvekcSbqUo6BWW13UoIP9vveHSpyNh/8aoH1b9zWkRXSY5wJ9g/NL1KzNrEQ5efkL7r zdKlFjuoR5WYFoJsU7VLITu0B5AWe94ScEE/QKAQleu8ngtiGJZ76KZa9rICqv9gDb+/ E1MgPHJpGftQ0REWU6IRkZttBCHTWiL/+7z2tAail27HpJryERYLSUuvkMSqVanSKFx6 NKLg== X-Gm-Message-State: APjAAAVv3Lm/tU4ORYeUtlerbLYRFEoI20VL1aS2S5Qtle5Vy5T6t7YD NSFWWc0OP4/ZS1Yg0BU+r+Pddsec X-Google-Smtp-Source: APXvYqw4loLT8esb38GPgrjCxl0Kvh5bI8Hjb/LPwLNKicflOoyiN/k7+/4+d9tPAJg9lAIArh+q2w== X-Received: by 2002:a1c:2b41:: with SMTP id r62mr643614wmr.94.1552854128172; Sun, 17 Mar 2019 13:22:08 -0700 (PDT) Original-Received: from [192.168.1.3] ([185.105.174.23]) by smtp.googlemail.com with ESMTPSA id d10sm23887167wrh.83.2019.03.17.13.22.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 17 Mar 2019 13:22:06 -0700 (PDT) In-Reply-To: Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::32d 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:234297 Archived-At: On 17.03.2019 21:09, João Távora wrote: >> You did, but that's neither here not there. A fix PR would be welcome, >> but I'll get around to it otherwise myself, no problem. > > I sent you a PR that should fix it. Thanks! > That would be nice, of course, but it's not strictly required to > start making use of it in company.el: you can look for it and act > accordingly when it's found. The sorting function to use should come from somewhere, right? But if you just want to try and see how well the sorting works, you can add one to `company-transformers`.