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: Thu, 14 Feb 2019 16:21:51 +0000 Message-ID: References: <20190202232827.27331.87300@vcs0.savannah.gnu.org> <20190202232828.4AE452159A@vcs0.savannah.gnu.org> <87lg2mynrg.fsf@gmail.com> <871s4czm5n.fsf@gmail.com> <875ztm9yow.fsf@telefonica.net> 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="112289"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel To: =?UTF-8?Q?=C3=93scar_Fuentes?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 14 17:22:15 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 1guJmB-000T66-6p for ged-emacs-devel@m.gmane.org; Thu, 14 Feb 2019 17:22:15 +0100 Original-Received: from localhost ([127.0.0.1]:51092 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1guJmA-00056e-18 for ged-emacs-devel@m.gmane.org; Thu, 14 Feb 2019 11:22:14 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42274) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1guJm1-00055O-Ot for emacs-devel@gnu.org; Thu, 14 Feb 2019 11:22:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1guJm0-0005JR-1o for emacs-devel@gnu.org; Thu, 14 Feb 2019 11:22:05 -0500 Original-Received: from mail-qt1-x834.google.com ([2607:f8b0:4864:20::834]:35637) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1guJlz-0005IM-Ox for emacs-devel@gnu.org; Thu, 14 Feb 2019 11:22:03 -0500 Original-Received: by mail-qt1-x834.google.com with SMTP id p48so7502007qtk.2 for ; Thu, 14 Feb 2019 08:22:03 -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=FTPtRzq11vIx5+xACQiw38he0u+wGirhjbrKvhCelqM=; b=cYhwWoLl4XLcVv2jo6VfOSrgjalFKt3iOm51E+Mkyi+aZZgVdyFB2quWRIqdOnNtsy g4NfRRhLExVgYV5X8MdMGTmcccZw/WjFeyDrEFkJ6nMSAoNLUdr6DwtXif7Blotlr67+ zxPu5wFmw4Mu0Siy+0F6fnCWDz5Q80Ylz7wuOxasGXXI/DCpV66BE0x+iIFjqruMucK+ JrPnMIpTRSwm3OHScZBKOJcs2S2fxpJ8QwrMFfJW9jDLKrCUez6vGCJcqoCGYTHYxMl2 BS+6T+53ctW2vhc1Nw2ZKDBzTq1lSqmnZKu0k+MkyRYdh2PyXWbyWO49XD8Z7d4ENyXx PR0A== 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=FTPtRzq11vIx5+xACQiw38he0u+wGirhjbrKvhCelqM=; b=tiIrvqIJLFQBCyc8O1iHOszYOulFP97jnzVst0atf+Wyd0Qoe2jXvq8NBdtNFgvNCq H+EqmBxMR79dAjWfWMtxnfkhMPB7QMKk3QfncO7u5Hk1JlZqcWgMtloaUSDhO5tE7eXL T1+JmgqT/bGSGbo1plCDit7Ayj6zGgC87n2dpt/eMh+ME32JKX/H9tlp6JrTBE0P3GOb hV8R4KEJ+mP6ffZXD0z/MiCwlUoBuGDYSNJxxg0c5lq7RsQsW6N/NS5xkO4ZWQtuKeCn 8rmuIAEX7KM7WWRuP+QE5Rb/W6wj2RWkqFES3c3h3AcLyf2nbhdVtzV3DdLWw4DbKcl2 HLpA== X-Gm-Message-State: AHQUAuZ11WEbHaNM7K29uvfAteT0R3lr3kWVhGKsEHE8EtTDqIHXakm1 SGvCQH+DT+M/3iarxyK3OcYVmBoS/ZUaLCKvXFg= X-Google-Smtp-Source: AHgI3IYB8QwdPa8xA/NahADMg1z3AmvcridJ/Zm/SQh95tYeOlXbMj5HV0mCUSSeF5Ia25BhZ7iXvcMzA07j+QZmxts= X-Received: by 2002:ac8:16d0:: with SMTP id y16mr3638355qtk.345.1550161322917; Thu, 14 Feb 2019 08:22:02 -0800 (PST) In-Reply-To: <875ztm9yow.fsf@telefonica.net> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::834 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:233332 Archived-At: On Thu, Feb 14, 2019 at 3:33 PM =C3=93scar Fuentes wrote: > > Jo=C3=A3o T=C3=A1vora writes: > > > Eventually we could weight the number and length > > of holes differently so we can get this: > > > > score(foo,barfoobaz) > score(foo,fabrobazo) > > > score(foo,fotttttttttttttttttttttto) > > > > Which would be nicer, I think. > > My experience on this type of discussions about flx says that you should > design a scoring algorithm based on some generic, human-related > heuristic that makes sense to you and stick to it. You will hear lots of > complaints by those that dislike the system, showing specific examples > that demonstrate "obvious" deficiencies on your approach. But it is > impossible to create something that makes everybody happy. I agree with all your arguments, but I do think Stefan has a pretty good point in that example. There's no reason not to heed it. > As long as Emacs can't read our minds, there will be no good-enough > completion mechanism. And even then... we are dealing with the Emacs > user base, you know :-) Indeed...