From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#67527: 30.0.50; FR: Add an option to disable ispell completion in text-mode Date: Fri, 12 Jan 2024 16:09:24 +0200 Message-ID: <83ttniiqy3.fsf@gnu.org> References: <83jzoipr5v.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21981"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 67527@debbugs.gnu.org, simon@ecksd.com To: Eason Huang Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 12 15:10:38 2024 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 1rOIF4-0005Rc-2u for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 12 Jan 2024 15:10:38 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rOIEe-0008BK-OP; Fri, 12 Jan 2024 09:10:12 -0500 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 1rOIEX-00087K-Gq for bug-gnu-emacs@gnu.org; Fri, 12 Jan 2024 09:10:06 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rOIEW-00019J-ND for bug-gnu-emacs@gnu.org; Fri, 12 Jan 2024 09:10:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rOIEU-0002uf-Aq for bug-gnu-emacs@gnu.org; Fri, 12 Jan 2024 09:10:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 Jan 2024 14:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67527 X-GNU-PR-Package: emacs Original-Received: via spool by 67527-submit@debbugs.gnu.org id=B67527.170506858811168 (code B ref 67527); Fri, 12 Jan 2024 14:10:02 +0000 Original-Received: (at 67527) by debbugs.gnu.org; 12 Jan 2024 14:09:48 +0000 Original-Received: from localhost ([127.0.0.1]:35231 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rOIEF-0002u3-PB for submit@debbugs.gnu.org; Fri, 12 Jan 2024 09:09:48 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60618) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rOIEB-0002tl-KR for 67527@debbugs.gnu.org; Fri, 12 Jan 2024 09:09:46 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rOIE6-0000lU-55; Fri, 12 Jan 2024 09:09:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=M7EXX7Gu6YsnceCLqDst0xSQpq8CNMKRAIB8CNAWHgo=; b=jyD26YXG/Y3F RWlGaxVDOgEJ3fQzRivWkBjdUiulCBqmU8SdL6lEOmDo/TQgNsdQt7GnYTCM8o43QCqWczxeuX1u0 vcdEbH5c+6D8zxBkuKqD4k+FT3Xhco/9Z4a07NgwWR33Td/fOfNiHL2u9KAH343tRBdCzCxMRpAI1 qTMgXbRnyYs8dAN+glBOt3tDVtLWJ9FonMpr6rhcHcyXSlfxwgInMk7unsi7G+GR6kGc+0H2qnrPF Vd6XcSE9uKBQKoadBNurONMPM6oIBGscRlhMmD8lWezA2Af7GwzYwuGYko1Mt5MwX8n/OZbyAQ9NR eWeEqBGncP7yUmxokj+ARA==; In-Reply-To: (message from Eason Huang on Fri, 12 Jan 2024 20:46:09 +0800) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:278029 Archived-At: > From: Eason Huang > Cc: Simon Manning , 67527@debbugs.gnu.org > Date: Fri, 12 Jan 2024 20:46:09 +0800 > > Eli Zaretskii writes: > > >> From: Simon Manning > >> Date: Mon, 8 Jan 2024 12:55:00 -0500 > >> > >> For what it's worth, I've hit the same issue as Eason and have had to use the same workaround. The > >> behavior is quite annoying with this (I think quite common?) setup because you can't really type > >> without completion popups for simple words continuously showing up. > > > > We add ispell-completion-at-point to completion-at-point-functions > > with DEPTH of 10. So if other packages use DEPTH omitted or nil when > > adding their functions to completion-at-point-functions, they should > > be called before ispell-completion-at-point. Does that happen? if > > not, why not? If it does happen, why isn't that a good enough > > resolution of the situation where several candidates compete for the > > privilege of providing a completion? > > > > I took a liberty to add back Eason to the discussion, in the hope that > > he could explain why DEPTH of 10 didn't solve his situation. > > > Because I don't have any ohter capf backends in the org buffer(outside > the SRC code block), ispell-completion-at-point is the only one. > > When the cursor is inside the SRC code block, no this issue. I guess I'm confused. In your original report, which started this discussion, you said: Because when I enable the autocomplete by corfu or company, it will always popup the candidate when I input English characters. I don't want to diable the autocomplete of corfu or company, because I need it in org code block. I was asking about that part in your report -- how did the new support for completion-at-point in text mode and its descendants change the behavior when you enable autocomplete by corfu or company, and why were you talking about disabling autocomplete of corfu and company?