From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: irenezerafa Newsgroups: gmane.emacs.bugs Subject: bug#51819: The Senselessness of Emacs Company Mode Date: Tue, 16 Nov 2021 23:24:45 +0000 Message-ID: <3MrKAAqmjrgofaJ20S377p52aXYjeL5kbOXXzH159e3j47V1KzE3DzcNvCKZHROcBLM11jsxCtLQpuV1-DWH2O-Fl9tmIOwqEpea_TTVrQk=@protonmail.com> References: <87k0hbfryj.fsf@gnus.org> <3HH5OTjwiEa88ERSj68bCu9Csjgz9OYjUG6L5IyHtmwPK1MKtzmNTPuOGVuit4Rr8XddlRKtCDNBv1vRhuBFEd2qUCsJP268H7lADLShZ7w=@protonmail.com> Reply-To: irenezerafa 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="24632"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Lars Ingebrigtsen , 51819@debbugs.gnu.org To: Carlos Pita Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 17 00:25:14 2021 Return-path: Envelope-to: geb-bug-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 1mn7pC-0006Ct-DD for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 17 Nov 2021 00:25:14 +0100 Original-Received: from localhost ([::1]:59688 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mn7pA-0002L2-HZ for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Nov 2021 18:25:12 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:59750) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mn7p0-0002Kr-5c for bug-gnu-emacs@gnu.org; Tue, 16 Nov 2021 18:25:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47885) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mn7oz-0007ea-Ti for bug-gnu-emacs@gnu.org; Tue, 16 Nov 2021 18:25:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mn7oz-0007Uk-RA for bug-gnu-emacs@gnu.org; Tue, 16 Nov 2021 18:25:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: irenezerafa Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Nov 2021 23:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51819 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 51819-submit@debbugs.gnu.org id=B51819.163710509628787 (code B ref 51819); Tue, 16 Nov 2021 23:25:01 +0000 Original-Received: (at 51819) by debbugs.gnu.org; 16 Nov 2021 23:24:56 +0000 Original-Received: from localhost ([127.0.0.1]:59431 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mn7ot-0007UE-QA for submit@debbugs.gnu.org; Tue, 16 Nov 2021 18:24:56 -0500 Original-Received: from mail-40135.protonmail.ch ([185.70.40.135]:29578) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mn7or-0007Tv-Cn for 51819@debbugs.gnu.org; Tue, 16 Nov 2021 18:24:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1637105086; bh=qknVD68UVYZ8ES8ot8LkW0gDYZh97RYp3qwhjdXD7VE=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=etJYkmU0lEbJ2UXswXRMZ5sMaJGwtzI42akdAMcOP7EczyERrvr4q5hpnvxRJmNnE h5WGVc3c938bmNVQspqFwH3aofj4zo0Xf9IKPbMAI72witYRMVjcWSw0Qho1lnNamx nlCqZSS0CRVD2HVRReTztho9w99mcwuCgf+wRagw= In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:220165 Archived-At: =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original Me= ssage =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 On Tuesday, November 16th, 2021 at 10:48 PM, Carlos Pita wrote: > > I did not know this. Thought company is the OOTB one, than an external = thing. > > > > How does one use the auto-completion you are discussing? > > This is described in the manual: > > https://www.gnu.org/software/emacs/manual/html_node/emacs/Symbol-Completi= on.html > Be aware that it's not a fancy popup that updates itself while you're > typing, instead it's more like what you get in bash. Nevertheless: It is the mini-buffer thing. It is not so easy to go through and make the = selections though. Emacs cam be quite straining on the fingers. > - The protocol is already there, when you install company most of the > things work OOTB because of the core protocol. Of course if company > adds extra features on top of it there is no way this could be > supported without installing further company-.* extensions as the one= s > you listed at the top, but there is ample consensus not to do > that without good reason and alternatives have already emerged with > core APIs full-compatibility as a strong guiding principle. I > encourage you to visit the projects in https://github.com/minad/, > especially vertico, consult, embark, marginalia and corfu. You don't > need to install anything, just read about them and decide, you can > pick only the parts that you're interested in. I've only installed > corfu for now because I find the child frame nicer and more > convenient than the default UI, but I could easily live without > that. > - The protocol is already very customizable without installing > anything else. See for example the variable completion-styles. You ca= n > set it to flex for fuzzy matching. You mentioned you're using > orderless: it also leverages this core mechanism in order to provide > a different completion strategy. > So, as you can see, there is more here than you first thought, it's > not really "haphazard evolution". > > once something becomes a fundamental functionality (e.g. completion), > > evolution should move consciously after some time. > I hope I've convinced you this is indeed what's happening. Indeed, > most of what I've described has been there for many many years. Am glad to hear it. From about Emacs 28 things are quite better than distributions whose repositories still ship with Emacs 25 or earlier. > > I use ivy, company and orderless. > ivy implements its own protocols, be aware that there is a world of > ivy-.* stuff too. Also be aware that some of the packages in > https://github.com/minad/ are alternatives to ivy (it's not another > case of NIH though, because the idea is to stick to the roots for > good). > ivy can do completion-at-point too: > https://www.reddit.com/r/emacs/comments/57fnar/ivy_completion_at_point_in= _an_overlay/ > Maybe that's enough for your needs so you don't have to install anything = else. > Best regards, I am very interested in completion of words as I write documents. Although= coding related stuff is also handy. I customarily have key bindings to switch bet= ween orderless, ivy, company. All depending on the work at the time. Thanks Carlos