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: new-flex-completion-style Date: Tue, 19 Feb 2019 09:16:27 +0000 Message-ID: References: <20190202232827.27331.87300@vcs0.savannah.gnu.org> <20190202232828.4AE452159A@vcs0.savannah.gnu.org> <87lg2mynrg.fsf@gmail.com> <87wolwvn8k.fsf@gmail.com> 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="71796"; 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 Tue Feb 19 10:17:12 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 1gw1WZ-000IY9-H8 for ged-emacs-devel@m.gmane.org; Tue, 19 Feb 2019 10:17:11 +0100 Original-Received: from localhost ([127.0.0.1]:44761 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gw1WY-0005uO-AV for ged-emacs-devel@m.gmane.org; Tue, 19 Feb 2019 04:17:10 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:33494) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gw1WQ-0005u3-5p for emacs-devel@gnu.org; Tue, 19 Feb 2019 04:17:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gw1WP-0002jS-Dz for emacs-devel@gnu.org; Tue, 19 Feb 2019 04:17:02 -0500 Original-Received: from mail-qt1-x82f.google.com ([2607:f8b0:4864:20::82f]:46059) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gw1WP-0002fR-5v for emacs-devel@gnu.org; Tue, 19 Feb 2019 04:17:01 -0500 Original-Received: by mail-qt1-x82f.google.com with SMTP id d18so12270340qtg.12 for ; Tue, 19 Feb 2019 01:16:40 -0800 (PST) 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:content-transfer-encoding; bh=N8PB3KBJNGG//ehtHtznu/ZQg2vNuZ0uyCFdWhOPvYs=; b=QgntKr65wKerLzOIS+tOmtplPC5B+tvSJUggboPJDaQOF9+1VN1y4iXwq0VwRH5cAA myb7dTS7ayYPofvHb8RywcLxl6ZbtUkR+MUnPIM02F9fpDYQH+VIcNlGDa+LJU4q7pzP hA7ZDbvEYuZRcWPyBDCc0m5HQD6lXnBEodoLnCGJMwns+OK+wMRu7VAkc6X/LyJj2dA5 OLDYMWqOnPUjB9Tvw1iLNcbGewgqWZK9o1hVelGZ0WFCz6B8CawkjxbPFGP/QHAmvXmP PfhHuLprtts5kK5F62SgXLHJGr6MpoAYZ/d8ldz2pE4kFa5JVo3A9Q9cyDa1H41jKU2u 8w8g== 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:content-transfer-encoding; bh=N8PB3KBJNGG//ehtHtznu/ZQg2vNuZ0uyCFdWhOPvYs=; b=aGlsguXZaOb440F0ibW1FwwOuylNhlje3CbagCA5v9QN/sbluT0RR2E+ZHU3ZDipN1 KPQp+29+jh4NzzjhQPbenWsjsI7CCzqeiuE72739iLv550LjBUQ+hfV9wRgh4upYOxdE pJmXMMrq3crgD7+eWmmehmYtGtcCr3bTwlXJSGHqG4+j3at2O1Pjy2qmtZSQfYargpQL A6lzPr1azNZXM+Urdf/XmFgOYqkADNijAt5oX7IqEDtL1KeKIADjWej5c2EU3UVopmw7 z/OBXOmJVJ4j9aw0I1uwi6etyc7bDgeE+U+85YO6Mfeou2WLwr9Y8ZhfTYhIjK+7NMlY Z4MA== X-Gm-Message-State: AHQUAuZRa9TdSamlSh28d71cfX8J6ennnFr91K4ZPLaoJp+U8QNAi+rw BwJx+nB9Jr4HzAmGJFKAxKEVt/qf7Fg2OaHaxGE= X-Google-Smtp-Source: AHgI3IZaJ9ewjRTm4lMZCc5c/o9hDOzW6K90aLMhrF5aw3lAIwr/MTp6YjsMfPS1NB0IUiFVtZ343/+YimjoJ/LgWMQ= X-Received: by 2002:aed:2a6d:: with SMTP id k42mr22720526qtf.390.1550567799399; Tue, 19 Feb 2019 01:16:39 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::82f 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:233449 Archived-At: On Mon, Feb 18, 2019 at 11:35 PM Stefan Monnier wrote: > > + Fcons (Qcategory, Qbuffer), > > + Fcons (Qcycle_sort_function, Qidentity)); > > else > > return Qnil; > > } > That easy, huh? Yep, and does the right thing default-wise, too. If I'm not mistaken, I'd say it behaves exactly like ido-switch-to-buffer now, which doesn't use score-based sorting, when icomplete-mode is used with the new flex completion style. BTW, has the council of completion elders reached any sort of white-smoke decision vis-=C3=A0-vis where to score-sort? > I think a more precise description would be that cycle-sort-function now > also overrides the use of minibuffer-history-variable. That's in the commit message's subject line, but OK I've changed it.