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.devel Subject: Re: MINI-PATCH: add how to turn auto-completion in test buffers off Date: Sun, 07 Apr 2024 14:48:57 +0300 Message-ID: <86zfu5z93q.fsf@gnu.org> References: <86y19t55hs.fsf@gnu.org> <86a5m856co.fsf@gnu.org> <868r1p1u21.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28976"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Pedro Andres Aranda Gutierrez Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Apr 07 13:49:45 2024 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 1rtR1s-0007Jk-0L for ged-emacs-devel@m.gmane-mx.org; Sun, 07 Apr 2024 13:49:44 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rtR1D-00035A-Hr; Sun, 07 Apr 2024 07:49:03 -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 1rtR1A-00033z-LM for emacs-devel@gnu.org; Sun, 07 Apr 2024 07:49:00 -0400 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 1rtR1A-0000vG-CP; Sun, 07 Apr 2024 07:49:00 -0400 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=7mziURSMoO1XDA8/Ujl4/mdT+cdU5cX0v1mGxV/2Afg=; b=TXfG+6/FwIcJ RU+9jdFG2ztL7Hq41Evoa/qGyMFRJqc5KS9ymWymseOty4aQi9I0zw/KiUogynyUuFCGpWD2xVvo1 hqgO82fs4BvMAT+1dxM5CtLMTYIvZK7EcX7SPcJOaYqLmCze/ftBeMRJJFj0as+ooSCnl30V0j0MA 9/4Ip0WRc98U2ONlXbJh7xOYKwsQTZsjlcu5YahQVdT1eWJQurPwTbRQI1H6T7Tb+KacVylCyr1AG on2X952W05FLbiXSaHbA2cb0NCBwTEWnm0zUNKT+lkQQoX34mh+GnRCPVU+pcJdqToF2Ddu3eNsC8 /NfRQz1lD/n4EXLSK3pbPQ==; In-Reply-To: (message from Pedro Andres Aranda Gutierrez on Sun, 7 Apr 2024 12:57:31 +0200) 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:317587 Archived-At: > From: Pedro Andres Aranda Gutierrez > Date: Sun, 7 Apr 2024 12:57:31 +0200 > Cc: emacs-devel@gnu.org > > > Is there any conceptual difference between providing flyspell/ispell-mode and providing > > auto-complete suggestions in text mode? > > Yes, there is: auto-complete suggestions happen _before_ you type, > whereas Flyspell happens _after_ you type. > > But is that enough to make the activation/deactivation process so different? > I mean. currently, if you want flyspell-mode for a specific mode, you > add > ``` > (flyspell-mode 1) > ``` > to the hook function with the rest of the customisations for that mode. > Now, for auto-complete it goes the other way round... you need to add code > to disable it and that is confusing (al4m). Sorry, I don't see the big difference. Flyspell-mode is off by default, whereas completion hints are on by default, that's all. > I missed it... (bad memories from the time when it took place) but yes, I'd like to be convinced why this feature > needs to be activated by default. Because we considered it to be very useful.