From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.devel Subject: Re: MINI-PATCH: add how to turn auto-completion in test buffers off Date: Wed, 10 Apr 2024 15:35:34 +0200 Message-ID: References: <868r1p1u21.fsf@gnu.org> <86zfu5z93q.fsf@gnu.org> <86a5m4ytzn.fsf@gnu.org> <9ABD0212-9EC4-4F3F-9E7C-46DF6ADBD451@gmail.com> <86le5nybxa.fsf@gnu.org> <86y19lv01r.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vCbxfUV1OLxbQlrh" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3117"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Pedro Andres Aranda Gutierrez , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Apr 10 15:36:35 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 1ruY7u-0000aa-Vk for ged-emacs-devel@m.gmane-mx.org; Wed, 10 Apr 2024 15:36:35 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ruY74-00074f-9R; Wed, 10 Apr 2024 09:35:42 -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 1ruY72-00074R-RQ for emacs-devel@gnu.org; Wed, 10 Apr 2024 09:35:40 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ruY70-0001AX-Iu; Wed, 10 Apr 2024 09:35:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=adp0g2mIvFb65Qtn/MQNyaml1cH37JtYHwa7URiWnJE=; b=IamxEt5Kj/2Ip/2xrodFlxCujM AQMF/T2VpXzTIvTblhdvvfWXKV0ostl/Hwdjd4K6+3IilCZPWUK3uLAK/BLg4BI2PMX8VXbtBxF1I wRSXjbYtEhNYT1Qz3NNfGuHzgzxdQUN3RFaMt+HJTJYqwQ1tI9i+d91vKGjFUXKId0XwhfkOm2odh z9JHwPGBTriunySVCPe1MCP3EIErP9EEP/FdM2XJqVXMAWqZAYtxkhVnzRxB1HRC7p8F19MxV064Z ou4lvQzz12ZpY5dVljz69EYTM6BIaVNQcWEyUqd/29XiZpO6s1hInbUHxzWMGTGBmiPLf07c1sf51 PZk+YndQ==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.94.2) (envelope-from ) id 1ruY6w-0002bB-9L; Wed, 10 Apr 2024 15:35:34 +0200 Content-Disposition: inline In-Reply-To: <86y19lv01r.fsf@gnu.org> Received-SPF: pass client-ip=5.199.139.25; envelope-from=tomas@tuxteam.de; helo=mail.tuxteam.de 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, 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:317657 Archived-At: --vCbxfUV1OLxbQlrh Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 10, 2024 at 04:07:12PM +0300, Eli Zaretskii wrote: > > From: Pedro Andres Aranda Gutierrez > > Date: Wed, 10 Apr 2024 10:45:15 +0200 > > Cc: emacs-devel@gnu.org > >=20 > > Maybe the attached patch to the doc can help other people and show why = I was confused. It's the first time I > > have to disable a feature globally to then activate it for specific mod= es. > >=20 > > To a possible question about the motivation: > >=20 > > I use .txt for quick scribbles, logs etc. where completion-at-point sta= nds in the way of productivity, but I might > > give it a try in.. say.. org-mode. >=20 > Does what you suggest for the manual really work? Calling setopt in > this case modified the keymap of text-mode, and that has a global > effect. >=20 > I really don't think buffer-local tricks like this one belong to the > Emacs user manual. Users who have such a need will have to read the > code and figure this out for themselves. The purpose of documenting > this in the user manual is to make the feature discoverable; once > discovered, tweaking it should be easy, and doesn't need to be > described in the user manual. But how do you propose the OP solves their problem at hand? Asking because that'll likely become my problem on next version upgrade. Cheers & thanks --=20 tom=C3=A1s --vCbxfUV1OLxbQlrh Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCZhaVmAAKCRAFyCz1etHa RucXAJ9Z88psrt3hGHhzMoxt41YDqj7PPACcDgcshnIPnKy1ayimH5IIO3wld3E= =Zz3+ -----END PGP SIGNATURE----- --vCbxfUV1OLxbQlrh--