From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: [Emacs-diffs] scratch/new-flex-completion-style 2c75775 2/2: Score, sort and annotate flex-style completions according to match tightness Date: Tue, 12 Mar 2019 16:12:12 -0700 (PDT) Message-ID: <53c4f3f2-500a-42d3-b9bf-d3ab6ed46868@default> References: <20190202232827.27331.87300@vcs0.savannah.gnu.org> <20190202232828.4AE452159A@vcs0.savannah.gnu.org> <556bfb2e-4720-c86a-c964-f057b50041b6@yandex.ru> <87va1xw7ms.fsf@gmail.com> <212f7cc9-c0c6-bcf8-f200-ea74db261dc3@yandex.ru> <2733dee8-f5a6-396f-228a-84f225d43a1c@yandex.ru> <407232ad-b1ef-7338-5fd2-735da9721562@yandex.ru> <5c032aeb-c2a1-06cd-14bb-121b7116d713@yandex.ru> <06a2ade2-3dcf-4bff-9647-a49788b9ca0c@default> <35c2f3f3-0ea5-3247-dd80-1afef7ee5c44@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="217211"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel@gnu.org To: Dmitry Gutov , Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 13 00:21:38 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 1h3qiG-000uOM-Vj for ged-emacs-devel@m.gmane.org; Wed, 13 Mar 2019 00:21:37 +0100 Original-Received: from localhost ([127.0.0.1]:34926 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h3qiF-0001cs-Ry for ged-emacs-devel@m.gmane.org; Tue, 12 Mar 2019 19:21:35 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:51944) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h3qi3-0001ZS-FQ for emacs-devel@gnu.org; Tue, 12 Mar 2019 19:21:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h3qZH-0007D9-2y for emacs-devel@gnu.org; Tue, 12 Mar 2019 19:12:19 -0400 Original-Received: from aserp2130.oracle.com ([141.146.126.79]:47294) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h3qZG-0007CF-Pe for emacs-devel@gnu.org; Tue, 12 Mar 2019 19:12:18 -0400 Original-Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x2CMxVH0056979; Tue, 12 Mar 2019 23:12:16 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=QP7xuvj2Va+zrTNs6F7QaLF3o8jsABp4U4y/Nf0LmNE=; b=2z3wpaRPLp/wYhHstyrTN0eMAHa+/3EJQe/0wSg0amo1IhSPtWGmxdCEXe3aAmWosYn0 /nerpTm51IrNtq59nczgreeND2DzWtMUv+qjiAi7mWBVIQRghNfcXOsxJe9eZuhVTmYH XrQcEMBntQPKQBHk7EBB98vniRSlLtEv46m+y0Ehk2telpcRN+nZT/AWSekiS5aeJELc uIKLZ+w4qnaVRE16oc2Gj+/tf8+XlekDrGab/HmJHPazBCUg4sQMtPOQT21nZCg4llrE hSwxoudxjg4WyPw/+IXfOdw5rNyoE0AKUU4AGyB9Uhqv24rFdpLaQZGRSPd97eA95oNM XQ== Original-Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp2130.oracle.com with ESMTP id 2r430er7wj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 12 Mar 2019 23:12:16 +0000 Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id x2CNCFp7000727 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 12 Mar 2019 23:12:16 GMT Original-Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x2CNCEFc010280; Tue, 12 Mar 2019 23:12:15 GMT In-Reply-To: <35c2f3f3-0ea5-3247-dd80-1afef7ee5c44@yandex.ru> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4822.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9193 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=18 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1903120149 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 141.146.126.79 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:234124 Archived-At: > > The basic idea is to allow the use of both ordinary > > two-valued (true/false) predicates and three-valued > > (true/false/dunno) predicates, combining the latter > > in a chain. > > > > I use this in Bookmark+, for example, to sort > > candidates that are bookmarks of different kinds. >=20 > That's a pretty cute idea. >=20 > I don't know if having a heterogeneous set of candidates is going to be > a significant use case, though. If different kinds of scores can be more meaningful for some candidates than for others, or not available for some candidates, then you have heterogeneous data to compare, and multiple comparators can be relevant. I got the impression that such was the case, but as I said, I haven't really followed this thread.