From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.help Subject: Re: Question completion style. Date: Fri, 15 Nov 2019 10:12:19 +0100 Message-ID: <87o8xdo64s.fsf@gnu.org> References: <20191106140300.vs3qfd3r7om6sqvz.ref@Ergus> <20191106140300.vs3qfd3r7om6sqvz@Ergus> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="91168"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Ergus Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 15 10:12:46 2019 Return-path: Envelope-to: geh-help-gnu-emacs@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 1iVXek-000NYN-J1 for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Nov 2019 10:12:42 +0100 Original-Received: from localhost ([::1]:36890 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iVXej-0002TG-4z for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Nov 2019 04:12:41 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47923) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iVXeS-0002NT-Qv for help-gnu-emacs@gnu.org; Fri, 15 Nov 2019 04:12:25 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:41493) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iVXeS-0004ym-Kf; Fri, 15 Nov 2019 04:12:24 -0500 Original-Received: from auth2-smtp.messagingengine.com ([66.111.4.228]:56625) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1iVXeS-00016x-7Q; Fri, 15 Nov 2019 04:12:24 -0500 Original-Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailauth.nyi.internal (Postfix) with ESMTP id 951D521236; Fri, 15 Nov 2019 04:12:23 -0500 (EST) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Fri, 15 Nov 2019 04:12:23 -0500 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudefhedgtdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufhffjgfkfgggtgesthdtre dttdertdenucfhrhhomhepvfgrshhsihhlohcujfhorhhnuceothhsughhsehgnhhurdho rhhgqeenucfkphepkeegrddufedvrdelledrgeeinecurfgrrhgrmhepmhgrihhlfhhroh hmpehthhhorhhnodhmvghsmhhtphgruhhthhhpvghrshhonhgrlhhithihqdekieejfeek jeekgedqieefhedvleekqdhtshguhheppehgnhhurdhorhhgsehfrghsthhmrghilhdrfh hmnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Original-Received: from thinkpad-t440p (p5484632e.dip0.t-ipconnect.de [84.132.99.46]) by mail.messagingengine.com (Postfix) with ESMTPA id 9C6C63060060; Fri, 15 Nov 2019 04:12:22 -0500 (EST) In-Reply-To: <20191106140300.vs3qfd3r7om6sqvz@Ergus> (Ergus's message of "Wed, 6 Nov 2019 15:03:00 +0100") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:121837 Archived-At: Ergus writes: Hi! > The new flex completion style seems to be very useful and should work > in most of the cases. My question is about what is the best > (suggested) configuration for it. I see that completion-styles already > have 3 values do you thing is more useful to append || prepped || > replace one of the actual values || set just flex....? I'd recommend to append new styles, or at least keep the basic style (there's a mail on this list or maybe help-gnus-emacs and a bug report about tramp completion not kicking in with some completion-styles). > Which one should give a good list of candidates in most of the cases > without killing performance? Have a look at `completion-category-overrides' which allows you to use different styles depending on what you complete. For example, IMHO initials completion is awesome for completing long filenames when you already know what file you want to complete but is not very useful for buffer names. (FWIW, I haven't found a category where flex would be useful to me. It matches far too much for my personal preference so that it never speeds up completion for me.) Bye, Tassilo