From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: Inline completion preview Date: Mon, 30 Oct 2023 17:52:49 +0000 Message-ID: References: <786888dea9bf587fbaa902b66ec9bdd4@condition-alpha.com> 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="30217"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eshel Yaron , Juri Linkov , Eli Zaretskii , emacs-devel@gnu.org To: Alexander Adolf Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Oct 30 18:54:08 2023 Return-path: Envelope-to: ged-emacs-devel@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 1qxWSm-0007Zd-Ho for ged-emacs-devel@m.gmane-mx.org; Mon, 30 Oct 2023 18:54:08 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qxWRp-0006xE-1x; Mon, 30 Oct 2023 13:53:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qxWRn-0006vN-9W for emacs-devel@gnu.org; Mon, 30 Oct 2023 13:53:07 -0400 Original-Received: from mail-lf1-x12b.google.com ([2a00:1450:4864:20::12b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qxWRk-0002sZ-EB; Mon, 30 Oct 2023 13:53:06 -0400 Original-Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-507e85ebf50so6678077e87.1; Mon, 30 Oct 2023 10:53:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698688381; x=1699293181; darn=gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=S17fbCJsMkhMn5hrU4O5DETX4us7W17GJtnPBwx2pts=; b=RgsXDD96j01X4qF8WqGmhKq+iIKJYoO9OGXy8gl6Za0OUuWlUsOmZt+kuC/2wDNYZ1 Yv3cBIrni1JwbQb1P4NAMMg9taqvhi3OUNrFW/ePRm/Wme5AOCzoshbwPNjMNKIvEulN RP7AuQDZ3A3cn0h9WwIejzkE6QlNqBxv2fGNo0k4uCQjL+F6ri2FrEzmVEY++vqUH4nI YzvGFAKQlI+mr6HktUdtmWx/33ejt5jybGe466rQtnPaBQnHFPE3UKMgorsGqXVE+Wlw 4R3jbUh8arizUB1vtvWP0J8m2eoQ47otFQlBN6OLKPgJZA2hhCRlsKcZs16Zz3wZFvgm 8MJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698688381; x=1699293181; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=S17fbCJsMkhMn5hrU4O5DETX4us7W17GJtnPBwx2pts=; b=WV4SaGBhjzZZYaBcKH5MemJpa4OTeuCXSZH1e7MCB0nmGABRRSM/Se0iHILJQefuvK QH1o8adVdWIzgdi7nfNE0DvK6mGZCp+itsxXM07WRNBuT2wuW6Xa8tWOVsENWamOb/tF YW3eckDaTBWT8GhomKOdSkEge54l9VfDz33qNDzqb5LBfcKN+fKBeP2/VDARIYswvcz5 0m+cD74L1IEvv/ICVPTPbWpueW6+YkpY8nJ5Yq4fp7AbqcgnN09Jxsl2s1h1hQGAGaAK UTsJfzpjlkkBt0qMdTNm9jwklyhUuqznE4O/c0cJTm7/uyWTzB1gWhrKadbRBZuV8eBL QsQw== X-Gm-Message-State: AOJu0YxYLTk56RcAqfB6qZvkzFCCfSmUBC5oruYTyicRNuGtca3cjbLn Is6z0jn5lxLKcMStjAQdrIyAzoMjhTfaa6Nohio= X-Google-Smtp-Source: AGHT+IEq0QVo99Cjpb4vZ4ylsmKIxQeaeWXoUagVeIrcWPeT/VQlUhCMzq+FYh7+XSQKNhXxqk3mTjgmhPrdzxjIiag= X-Received: by 2002:a05:6512:3995:b0:509:fbf:f235 with SMTP id j21-20020a056512399500b005090fbff235mr5831392lfu.6.1698688380898; Mon, 30 Oct 2023 10:53:00 -0700 (PDT) In-Reply-To: <786888dea9bf587fbaa902b66ec9bdd4@condition-alpha.com> Received-SPF: pass client-ip=2a00:1450:4864:20::12b; envelope-from=joaotavora@gmail.com; helo=mail-lf1-x12b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:312001 Archived-At: On Mon, Oct 30, 2023 at 5:32=E2=80=AFPM Alexander Adolf wrote: > I wanted to use those other 3rd party packages with company, so I had to > accept the complexity of my dot-emacs code. Hence, for me the only way > to avoid the complexity in my dot-emacs would have been to not use the > other 3rd party packages, or to not use company, or both. No. I don't use any third party packages and I get to use Company in exactly the same contexts you use Corfu. Read below. > > [...] > > We should not compare apples to oranges and make decisions > > based on that. > > I'm not sure I follow you here. Could you perhaps be so kind to shed > some more light on what you were referring to here? Well, I thought I was pretty clear, but OK, here goes spelled out again: In your first post to this thread you mentioned that Company had an "ecosystem" and needed "complicated setup" to configure it. Then you stated that Corfu solved this problem. I can agree to the first part (that Company does have an "ecosystem" of various third-party plugin extensions) and I may even agree to the fact that those extensions are complicated to setup (who knows, they might be, I don't know which ones you mean and I've never tried them). But comparing _that_ to Corfu is unfair and "apples to oranges", since Corfu only sets out to do what the built-in, 1st party, "company-capf" backend does. Company can do quite a bit more, which you may or not appreciate -- and you clearly don't. That is just fine, so I suggested that if what you appreciate is Corfu's purported simplicity of setup, then in Company, you need only add that one line to your setup: (setq company-backends '(company-capf)) Furthermore, I mentioned two confirmed known problems with Corfu that are known to necessitate third-party extensions based on advice to work with core Emacs facilities such as Eglot. I also mentioned Corfu's known inability to work with TTY Emacsen out of the box, and someone pointed out that that needs an extra package and its dependency. For a fair comparison, these things should be added to Corfu's "simple" setup. It's only once you get two Emacsen side by side, running each Company and Corfu with their respective "simple" setups, that you'll be comparing apples to apples and make a strong point. Else, you'll be comparing apples to oranges and your point will be very weak. Hoping that is enough light shed, Jo=C3=A3o