From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Dimech Newsgroups: gmane.emacs.help Subject: Useful completion package in GNU ELPA Date: Tue, 22 Jun 2021 12:19:27 +0200 Message-ID: References: <87sg1a44t1.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13626"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org, Jean Louis To: Tassilo Horn Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 22 12:28:17 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lvddh-0003LO-BX for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 22 Jun 2021 12:28:17 +0200 Original-Received: from localhost ([::1]:46642 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lvddf-0003lN-Pb for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 22 Jun 2021 06:28:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45590) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lvdVi-0006VX-W1 for help-gnu-emacs@gnu.org; Tue, 22 Jun 2021 06:20:03 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:40333) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lvdVg-0007Rd-Sn; Tue, 22 Jun 2021 06:20:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1624357167; bh=ET7EGm6en4v+0cOfUlXdNC7FCYOCC64StsQCdsUqzv0=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=GlbOsKTuERxYBoyfHFwsI43CD8i71YEEyzknmX4gsPNRUfmigeiTICbV8O04ZWThH wjKp50yw54aSDoj1unxCVDnanV4LPuSIsaPPMjVdFiHT5URA8iLB6+y4eT+500oZWW mDpnUAIYs6oAd0i57qIZ61yy8ZWj7xhcknZigbbw= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [92.251.44.132] ([92.251.44.132]) by web-mail.gmx.net (3c-app-mailcom-bs06.server.lan [172.19.170.174]) (via HTTP); Tue, 22 Jun 2021 12:19:27 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <87sg1a44t1.fsf@gnu.org> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:xMmyFrvALOeYT1JdrT97cWbqrJtAmXf9MX3tOpSqTZOhrB2xhOAnUfduhceSLR28oqlSQ kt6Rfw51q0rNPbvJPWLv+21+3+0UBUt7oyuNvSZicPHcrFQxoROfe76fjgjc0QpOlRg166Jrx7NA D8RnY+oEnXhdieTjKvIunUxsfKDt0o4+vaJAtqy2UqJgqneO+sDXldweDKOOIro3cFKuUeMHOQ/G X3FWZ0gCI3AV+fQZEwoxc6yhTwhIi5NFkkWZC7f8I4LEIFifreNI0WrQYvuyKTjB9h8no6C230t2 sI= X-UI-Out-Filterresults: notjunk:1;V03:K0:0AvN/T+B2ak=:bjKxKBp4gd3XiBglvQHu0z XdZ2ZdhIlxv3K4YBuiec0tTJI+vTpS7KDKV1Eq7IbWrwEkn4UdUX9Q2PTkQRM3o/q9BaddJ25 v8LIadA3Wysm68Olnec1PuzzXL2K22d/3lhhYqsPmUb+us/3+MkUpTiu+HfzoPGO+EWdtZUaH LDqUMqhpanTuGV6HC0PhIB2W2n6XlWwqoeSq2K96L1vuuj4L3+RytnSVq7C+nAD4DPyAG7ySA XspNs/s6SnbCwIq8lOlroX6HDoMXKtME3qhkly6Ib8p5ONpd1pnmeb3Zmp+ykGwttxbMfe/rO 0OPcI7iByZnZRqDi9cKl6hQhf8meEHG0E1qLEvUkJhy62Qbpa5uvHzu+azp+yJ5c4bSfLuV9N OnZQAE4HqxCJ5RdM76t2qysDglV0Q5MG7XDzNUBixJsjOSj+gOfgUYtk1fuV84DbqQu2nb3At 1ktS2XTMxqcpF6Uphq6EcZpteLiofa1vqF4j6AvnooNmNVNPCIDaf78ZrM26cT0sg8c24cmCR xTS4qhVZNxToREYBGGIGAABWJIQMvmMPzCotvZjl3ctqQZfyXvPrWIjRB7M73HOYmBmQsbldF Sx9C06dYEp+bfcZh0bEHf70n+vyEBoADlkYfkoY+7zbNxYRQwe1DhGH+1uEzf/tXXu/nB6e2c Lv0J+hu3NGKJtDs+nZgwU288QZCz1RKzwgZ3Wc7CL+HNgUFalBanpFsiPBPSfWaSmiRdju+PA 9DMG6M7WA4hPSG035Gw07Q++upjY4hbD9F1jozRLVmLM7MDm01mENUnfL+pb6Eoh/g5zT3vY Received-SPF: pass client-ip=212.227.15.15; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:131185 Archived-At: > Sent: Tuesday, June 22, 2021 at 9:28 PM > From: "Tassilo Horn" > To: "Christopher Dimech" > Cc: "Jean Louis" , help-gnu-emacs@gnu.org > Subject: Re: Useful completion package in GNU ELPA > > Christopher Dimech writes: > > Hi Christopher, > > > The way you say it sounds very good. I wonder how it works with > > orderless and other completion styles such as partial-completion and > > initials. Or does aggressive-completion have such capability? > > It is agnostic of the used completion-styles but works best for those > where minibuffer-complete (or rather > aggressive-completion-auto-complete-fn) can complete the current > candidate further. That's the case for styles whose candidates usually > have a common prefix which can then be completed. > > With orderless, because of the orderlessiness, that's less common, e.g., > with input fo most styles would have as candidates foo-bar, foo-quux, > foo-baz and aggressive-completion could complete to foo-. With > orderless, baz-foo would also be a canditate so there is no common > prefix which could be completed. (Maybe it could complete at least > "foo" and then it's the users choice if she wants to complete at the > front or at the end by moving point...). > > Similar arguments hold for the flex completion style. > > So all in all, I'd say aggressive-completion works very good for the > styles basic, partial-completion, and substring and less good for more > "open and flexible" styles. Have not seen a problem but you seem to have tested it more thoroughly. Will do some more tests. > Bye, > Tassilo >