From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pedro Andres Aranda Gutierrez Newsgroups: gmane.emacs.devel Subject: MINI-PATCH: add how to turn auto-completion in test buffers off Date: Thu, 4 Apr 2024 19:29:30 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000001c6fe6061548b0e6" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3675"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Apr 04 19:30:47 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 1rsQvH-0000ou-5q for ged-emacs-devel@m.gmane-mx.org; Thu, 04 Apr 2024 19:30:47 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rsQua-0002FB-KE; Thu, 04 Apr 2024 13:30:04 -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 1rsQuX-0002Ea-90 for emacs-devel@gnu.org; Thu, 04 Apr 2024 13:30:01 -0400 Original-Received: from mail-ej1-x630.google.com ([2a00:1450:4864:20::630]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rsQuV-0005wW-4D for emacs-devel@gnu.org; Thu, 04 Apr 2024 13:30:00 -0400 Original-Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-a4e79d7d21dso84484066b.1 for ; Thu, 04 Apr 2024 10:29:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712251797; x=1712856597; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=4KcT0VYLum1ac+bksYhU5BPiDH/feiO/Zr4dQW525Pw=; b=m9o9q5j4PcPW0wPnMpQcNe2elI54vqjJQbLqf170FI7MDgZkE8EiRwdJGP1CvoSQyZ +Ur7R/WGuSWAEyxyc9DNsBFmeeUIN/hlQAkI/+OxUkB2btzEXpilhQw07U6KTG9GjbaD bswakjdsk5SQav5uBokLFJF0FN94TaF0KC564y3498bihzkPJ/BzmwRynKIAASImiPeF lbSbA2RELpElR4/jFSJxisEruCtFG3pPWbXYyt68BHFDEQlm5TGUofjGQx+Kah5Ej5XS Wka/A164tmmVw3WPPVrUsr9JtNP7wLUD1ek3Efmn9Qe56xuF+VxD8Z+y0XiWJ+PeseWH 0tWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712251797; x=1712856597; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=4KcT0VYLum1ac+bksYhU5BPiDH/feiO/Zr4dQW525Pw=; b=HO4OmIoH74McSIILoSd4NeYb/tGG0LDdBaIH4la97uICIivH5K4IsZX5LdSFq3f8Fl Xb4Q4IIehInnJ+17KO+Pb1ijGPgAZsPKl7zyVvtqH2SK0evaxMw47yTXmk+r84WBny7I g3NPoBWwy2u46nFKUYfrK7NrLwaCfVXRGOiC+zw/9eagXvDYqccZb+R2f2s268/S9nPa PCuTCcGCchYbK6ioS56AFBESmofEdbQT3Ftke+JATfWNK4oRbSAjb+JYzMpBzRmzRdYY Aeo/8wAx+pndd/Z+tA5baBXqn2gPaYtrGPpZJNbzrzNgzzfenreaYX2aUggLFztw6e4w hSdA== X-Gm-Message-State: AOJu0Yy5++o0STMdspkNZqa5uHZXOrlrkJsIjF2jLah2IteVR1WRfx5J Ab3Dd43wIJWNJgmRekKfJa1XZKkM0jn8p+ix6t6AfADPuxj4BCkhXJobA6Fy0DFubunMxmFVg4X ZLTVNHr/z4yJjH8ZMd++ledclPw0QU8YSEoo= X-Google-Smtp-Source: AGHT+IFHDZozXNroKA7vSnI1ey1+m2BbT5yGWiDWBBCZsNdlgsQqLWcpvwG6PyKKlkaL1C/6xPVM4mvY9/p+LXeK0Mg= X-Received: by 2002:a50:aa95:0:b0:565:f7c7:f23c with SMTP id q21-20020a50aa95000000b00565f7c7f23cmr2773961edc.3.1712251796740; Thu, 04 Apr 2024 10:29:56 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::630; envelope-from=paaguti@gmail.com; helo=mail-ej1-x630.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, HTML_MESSAGE=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:317524 Archived-At: --0000000000001c6fe6061548b0e6 Content-Type: text/plain; charset="UTF-8" Hi, I find auto-completion suggestions when writing text quite intrusive and distracting. It has taken me some Emacs Lisp reading to find out how to turn it off. Attached is a micro-patch to add a small hint to turn it off. A reminder: there are people who need to be not disturbed with external stimuli when working (for example attention deficits, etc.) Thx, /PA ---cut here--- diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi index b034fecd77b..8a61117142d 100644 --- a/doc/lispref/modes.texi +++ b/doc/lispref/modes.texi @@ -1056,7 +1056,8 @@ Basic Major Modes @samp{"} and @samp{\} characters as having punctuation syntax (@pxref{Syntax Class Table}), and arranges for @code{completion-at-point} to complete words based on the spelling -dictionary (@pxref{Completion in Buffers}). +dictionary (@pxref{Completion in Buffers}), unless variable +@code{text-mode-ispell-word-completion} is set to @code{nil}. An example of a major mode derived from Text mode is HTML mode. @xref{HTML Mode,,SGML and HTML Modes, emacs, The GNU Emacs Manual}. ---cut here--- -- Fragen sind nicht da, um beantwortet zu werden, Fragen sind da um gestellt zu werden Georg Kreisler Headaches with a Juju log: unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run a leader-deposed hook here, but we can't yet --0000000000001c6fe6061548b0e6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I find auto-completion suggestions= =C2=A0when writing text quite intrusive and distracting. It has taken me so= me Emacs Lisp reading to find out how to turn it off. Attached is a micro-p= atch to add a small hint to turn it off. A reminder: there are people who n= eed to be not disturbed with external stimuli when working (for example att= ention deficits, etc.)

Thx, /PA

---cut here---
diff --git a/doc/lispref/modes.texi b/doc/l= ispref/modes.texi
index b034fecd77b..8a61117142d 100644
--- a/doc/lis= pref/modes.texi
+++ b/doc/lispref/modes.texi
@@ -1056,7 +1056,8 @@ Ba= sic Major Modes
=C2=A0@samp{"} and @samp{\} characters as having pu= nctuation syntax
=C2=A0(@pxref{Syntax Class Table}), and arranges for=C2=A0@code{completion-at-point} to complete words based on the spelling-dictionary (@pxref{Completion in Buffers}).
+dictionary (@pxref{Compl= etion in Buffers}), unless variable
+@code{text-mode-ispell-word-complet= ion} is set to @code{nil}.
=C2=A0
=C2=A0An example of a major mode de= rived from Text mode is HTML mode.
=C2=A0@xref{HTML Mode,,SGML and HTML = Modes, emacs, The GNU Emacs Manual}.
---cut here---
--
Fragen sind nicht da, um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler
Headaches with a Juju log:
unit-basic-16: 09:17:36 W= ARNING juju.worker.uniter.operation we should run a leader-deposed hook her= e, but we can't yet

--0000000000001c6fe6061548b0e6--