From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Ergus Newsgroups: gmane.emacs.devel Subject: Re: Why fido, icycles, ido, icomplete Date: Thu, 7 Nov 2019 02:21:58 +0100 Message-ID: <20191107012158.a3vgc5co2li652mp@Ergus> References: <20191106212018.cnddqzlo5rpdhi6s.ref@Ergus> <20191106212018.cnddqzlo5rpdhi6s@Ergus> <877e4c1x3r.fsf@gmail.com> <87o8xoeik4.fsf@telefonica.net> <87k18ceh8w.fsf@telefonica.net> <87a7984j4p.fsf@gmail.com> <87bltoebpe.fsf@telefonica.net> 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="215366"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel@gnu.org To: =?utf-8?B?w5NzY2Fy?= Fuentes Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 07 02:23:05 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.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iSWVs-000tsY-Nu for ged-emacs-devel@m.gmane.org; Thu, 07 Nov 2019 02:23:04 +0100 Original-Received: from localhost ([::1]:38342 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iSWVq-00088P-S2 for ged-emacs-devel@m.gmane.org; Wed, 06 Nov 2019 20:23:02 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33881) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iSWV7-000882-JR for emacs-devel@gnu.org; Wed, 06 Nov 2019 20:22:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iSWV6-0003V6-El for emacs-devel@gnu.org; Wed, 06 Nov 2019 20:22:17 -0500 Original-Received: from sonic305-22.consmr.mail.ne1.yahoo.com ([66.163.185.148]:35537) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iSWV6-0003U6-9U for emacs-devel@gnu.org; Wed, 06 Nov 2019 20:22:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1573089735; bh=EXwxWs674Kno/LDZG5auWUTaTdrY0svR4rvPevKh+W8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject; b=Y9rd7Jr353dTKzK6wFVcp8eXlULbhzjsXcwinspcSMWJ9qCsdIUwzLxJCM5zUJorFZJjSBDPiAbmU87rayuPpu1qnMxsRqAhspL89uMRJVbg+bPS9P9ikP2v4qjsUthc57vAv5cCILZ4g+3w3heSqsd7As6wwjSI5T/FMEd19JWC2SGmHGJaFCVVzC+zBaPsRHuanjsLzPCUAmGG/zcKeuJyIbrl67gmlM6Vju3GM9ejn8kiIhMD9WtHS5xr/sr+MxOOqjr5XOx1faMU24N5Vw1P6iF1wRCRQ2B/d9gj5GCewdOnnsPLfOp9emWC0hD9FvEqmNx5Yc94PZJ/ef8s5g== X-YMail-OSG: IKoSksEVM1kU.SBcHZFDyMrlsPmmhNxoUHgGfOkTjT2cD8J5BtOwa64zAeIQO1j 2TMdIY3crAguEW2ByVje2CqgCykLI9my55Y1hdnV7iMUfEuA6A3MAsrz8DBL5U989LVyKK3BCH3z QWxBhFSh7W3bIxfEz.91dWQO4cYcOwQZeTZ0yETYJdoaWVM3R7RttGU6S8x7C.5K5tigZJTrL3Ph 4tFp_98iNxUtwPSux7KdbdWcT9Opj4JvlSqG8JESey8p7dZwq4F.IxYaSduHCrFsjVK0oufzdP76 I9x6zJVBqkeZaZqxM0Y53V0NcI6Tar_o3J5dr5DlaSIK4eXynsF6XSSHGbcg1FdB7zj7OEi_.5Se i1xZpF9tQ_JZyu1PAXUA.awBPRtfpuQQBR.ipJ1OIviQzBq89hODKEBXuoliwk.oDpoJL.FSDwLI Qcr0jbLPVvxZJMHYaIcXaodPgQFVtiFxK4HDGkRRw2gfItc9cuH9F67T37Qv3BYSLU8hxlepTVl0 0IOctSYcSx6nvWmwyEVTm.V8h8GW8vioY9U0NJW10fNVR2zAZpgoUyqKSeFay9LepXH..dqPDd.H L6VBF4ba.YZo4Ynt1b9qfgHTvjF3vQiMxQ27q5AnPYv.1f6DDIQwiS_u3m541UKguvIUXCOGfmDF S4lORAYWN2.AtLF4t0cu24qjroiYP9kWfWErtkui3rqbbHRhI2sbiq0U9Pmwc5bEwPunAgK6ZPfm SJ5HVMfAB0uUpOxotoae46HRV2XyMdqLV5CyjfxtedJr9fV6KSWRkRpgWFnL.KUMCYpIpcktRf0K 43HMP12q7SJcTkbx61iE__4yQnMjQsjFpRus48HMsf Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.ne1.yahoo.com with HTTP; Thu, 7 Nov 2019 01:22:15 +0000 Original-Received: by smtp404.mail.ir2.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 63bdab7521c5b5af955f77147e8f7cdc; Thu, 07 Nov 2019 01:22:13 +0000 (UTC) Content-Disposition: inline In-Reply-To: <87bltoebpe.fsf@telefonica.net> X-Mailer: WebService/1.1.14680 hermes Apache-HttpAsyncClient/4.1.4 (Java/1.8.0_181) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 66.163.185.148 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:241898 Archived-At: On Thu, Nov 07, 2019 at 02:07:09AM +0100, ??scar Fuentes wrote: >Jo??o T??vora writes: > >> ??scar Fuentes writes: >> >>> Jo??o T??vora writes: >>> >>>> It sounds like you're an ido-mode fan, so please try out >>>> fido-mode and tell me what you think is missing from it. I >>>> know a lot is, and I want to improve it. >>> >>> Has fido-mode support for flx-ido? Can I plug it in? Any other >>> completion system that I know on Emacs is unbearably dumb IMAO. >> >> I don't know flx. According to its github page flx is a "matching >> engine", what in Emacs is a "completion style", I believe. Right? A >> way to match a pattern to a universe/set of possible strings and to >> return a (possibly propertized/annotated) subset of those strings. > >It takes a set of candidates and a string as inputs. The algorithm >associates a score to each candidate based on the string and outputs a >list of matching candidates sorted by the score. > 1) Is this what amx (former smex) does? >> If so, and if flx adheres to the completion-styles API, then it's very >> easy to plug in. If it doesn't, maybe the author can find a way to >> adapt it, just like Thierry did recently in Helm. > >Where can I learn about that completion-styles API? > >> You can also try 'flex' and tell me what you think you are missing from >> flx. I don't find flex "unbearably dumb" :-) > >I have experience with ido's flex and can't compare. flx requires some >training but then it is extremely effective. I no longer bother to >memorize most keyboard shorcuts, because by just remembering *some* part >of the command's name it can be easily invoked through M-x, often with >less keypresses (and with much less chording). It is quite effective at >discovering new commands, once you have an idea of the naming convention >that a package uses. Last, but not least, it is the matching system used >by some of the "cool kids" that competes with Emacs (Sublime Text, to >name one). > if 1) is it like: ivy???regex-fuzzy + amx?