GNU bug report logs - #77005
31.0.50; Add note about font-lock-keywords-case-fold-search usage

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: Elijah Gabe PĂ©rez <eg642616@HIDDEN>; dated Fri, 14 Mar 2025 05:43:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Severity set to 'wishlist' from 'normal' Request was from Stefan Kangas <stefankangas@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 77005 <at> debbugs.gnu.org:


Received: (at 77005) by debbugs.gnu.org; 15 Mar 2025 08:33:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 15 04:33:45 2025
Received: from localhost ([127.0.0.1]:38708 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ttMxl-0005wN-Af
	for submit <at> debbugs.gnu.org; Sat, 15 Mar 2025 04:33:45 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:37400)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ttMxj-0005w8-8c
 for 77005 <at> debbugs.gnu.org; Sat, 15 Mar 2025 04:33:43 -0400
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 <eliz@HIDDEN>)
 id 1ttMxd-0002Bv-Qo; Sat, 15 Mar 2025 04:33:37 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=BEdRSRWxXaK2UrqgKwKYFv30dg5/i0drmkePXsUMSvY=; b=X8m/FmrXiQcAeyrxvQJr
 TpKIGIoBIUf5V9rAySkS5Sq3mq/wNsBet7km1vAGKaClVFwbgBR7m1mwOntcRXHBYxSbh2lY2R2dF
 kEdoX+Tc7WwjB5Jrr2vVg0FnyBMr08bhECKCxozAzXnvQrLBD5720cezwrPtejelp6NO1q/m8tvLm
 qLuzbORO4SXO21hb41H1O46HnJdOKXbThiXZKdngkCIo6tAzppfGdAreah5nCEUTIujSZI2ZrD6gZ
 Q1+7ezfZUg/fmxWZHlpRvpPLpdbJemgpotViJLNF3MSV6hdLGng2dz0kxC2BBQYTEsRCMLyi4mBQd
 rQOQlvBsVQVFkw==;
Date: Sat, 15 Mar 2025 10:33:29 +0200
Message-Id: <86y0x6y9pi.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Elijah Gabe =?iso-8859-1?Q?P=E9rez?= <eg642616@HIDDEN>
In-Reply-To: <87r02za07t.fsf@HIDDEN> (message from Elijah Gabe
 =?iso-8859-1?Q?P=E9rez?= on Fri, 14 Mar 2025 13:20:06 -0600)
Subject: Re: bug#77005: 31.0.50; Add note about
 font-lock-keywords-case-fold-search usage
References: <87frjgnp7i.fsf@HIDDEN> <86frjfztww.fsf@HIDDEN>
 <87r02za07t.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 77005
Cc: 77005 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Elijah Gabe Pérez <eg642616@HIDDEN>
> Cc: 77005 <at> debbugs.gnu.org
> Date: Fri, 14 Mar 2025 13:20:06 -0600
> 
> Eli Zaretskii <eliz@HIDDEN> writes: 
> 
>  How did you see that, and where? 
> 
> Mostly in third-party major-mode. But also in built-in ones, for example css-mode that have
> font-lock-keywords-case-fold-search set to 't. 
> 
> I haven't seen any minor mode that uses this variable. I guess the reason is to avoid conflicts with the major
> mode. 
> 
>  We need to understand the issue better to reply to this question. So please provide more details. 
> 
> My idea is to add a kind of note to font-lock-keywords-case-fold-search documentation in lispref tex file to
> avoid any confusion that this can be used in minor modes. 

I wonder why is this necessary.  Minor modes are not supposed to
affect font-lock in the first place, are they?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#77005; Package emacs. Full text available.

Message received at 77005 <at> debbugs.gnu.org:


Received: (at 77005) by debbugs.gnu.org; 14 Mar 2025 19:20:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 14 15:20:19 2025
Received: from localhost ([127.0.0.1]:36307 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ttAZv-0000jI-3T
	for submit <at> debbugs.gnu.org; Fri, 14 Mar 2025 15:20:19 -0400
Received: from mail-oi1-x243.google.com ([2607:f8b0:4864:20::243]:42192)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <eg642616@HIDDEN>)
 id 1ttAZr-0000hd-0g
 for 77005 <at> debbugs.gnu.org; Fri, 14 Mar 2025 15:20:15 -0400
Received: by mail-oi1-x243.google.com with SMTP id
 5614622812f47-3f6a92f2328so1294432b6e.0
 for <77005 <at> debbugs.gnu.org>; Fri, 14 Mar 2025 12:20:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1741980009; x=1742584809; darn=debbugs.gnu.org;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=X9F2xyg78aS+09jQCPCOo1nqhtCUJEIu34yM9epcsQo=;
 b=VW2+mEC6p2/DeiQox4EaFZG4Ma3npahPnK6vjbjWt6JaqMBrN6/6Luj1YaLR/KKNzf
 xWfC37LhUkmTV2L7q/6HZevX5O2bdDVAlA5hHIzER+dFzGchzwIHGNabDEHUWGOCK7Es
 w7Mrj+Cc/hVLS54FTlIhcW7o0TqsHkeunW8eJcCthZbnF76P0tPQUhRfNVCJIDED6muW
 AQL6wmc95GQIKWtJ0VVEmqG5j27qPt7CP9XuGk2d02WsuIyW9nfEXQJ1st6G0wN8BBAz
 /k/HIJy6LdcPQnIKcCXAm+wXEhn/EmPpHqtu3qkh61KD1AMU1LvDb3OzFTlps64Oun1k
 VBnw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1741980009; x=1742584809;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=X9F2xyg78aS+09jQCPCOo1nqhtCUJEIu34yM9epcsQo=;
 b=CCSOYwr9gSkeyHdw5KfctjXNuNtO6sS5vQuy/OZxfDqUCwkddZIBvuealDW07fA1fB
 7APKDmWpPv6zksfk/OlGAm7VvgTSz83E9+LhOhahhtda9OHOCWLk8/5SCugyQHBKJp1Q
 xrGVSDgxxHdTKqgaK9tTW/1FvzSHD5tlHtVcaZCg3XybsmueWAL7z6YcbE4rsjUt7sQJ
 5s7KOx2Pg5SJgVi/0nq+iK5ZWezzOXrx2l4SQMf5cxBgH+qU8/GJMSezbP7Q8p21juWR
 L4HoE6kDF9xoqTw3sq6PIjR0Cm7U4Ucg3kQMuBceHUfrCjZ+WXrfxvAdIhNZceCjF/l0
 UEyQ==
X-Gm-Message-State: AOJu0YxX96eLNgh45o5y2er7AIDuD+ZG8OE3l4SfbRAB5hEg5EFvoemr
 NQ2BiVh/v0oJtQsnn6y7Ns8oyox/SHVNLkzPFdpsaC7htO1yJ6JSbqoYlqFm
X-Gm-Gg: ASbGncshjdM2F7Tku40BrPndQflGAmKdVn3Yvu+VG9bSNXyLU9SMpVHkLu646osjvLW
 G2JcMWa/k00z7M3ddE7vYAM6nBgepHnfyxpsM4/JznD12KehZN9D+x3x4ShpZh9nN7PkIGCNg9O
 e96ifRZbB7GJmIAeaR3nKfu1PakBBc2EFtZo4mStHrtNIEcWBhhjrMbSkAwPPEmrkkdIGHKKp3t
 nzKCpYbLjMEXCuOxU66Nnedh+CKyKNMuIR+NUTkYUCatJqMsvGhVpRlnQ61mBJO4XlWDTo+yAVO
 Qh07F2PRWjGu/HtaUApEYLs=
X-Google-Smtp-Source: AGHT+IEPQUZGzFP/nrTRjDsPKmVLjLWW6e9Olkr1OkR/fC1T1RGW0Y/VopPAbs3bVgGePPwK1JqwbA==
X-Received: by 2002:a05:6808:188f:b0:3f7:edd1:2a06 with SMTP id
 5614622812f47-3fcb9835696mr4464890b6e.6.1741980008831; 
 Fri, 14 Mar 2025 12:20:08 -0700 (PDT)
Received: from fedora ([2806:10ae:e:8def::a]) by smtp.gmail.com with ESMTPSA id
 5614622812f47-3fcd452130fsm803091b6e.14.2025.03.14.12.20.07
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 14 Mar 2025 12:20:08 -0700 (PDT)
From: =?utf-8?Q?Elijah_Gabe_P=C3=A9rez?= <eg642616@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#77005: 31.0.50; Add note about
 font-lock-keywords-case-fold-search usage
In-Reply-To: <86frjfztww.fsf@HIDDEN>
References: <87frjgnp7i.fsf@HIDDEN> <86frjfztww.fsf@HIDDEN>
Date: Fri, 14 Mar 2025 13:20:06 -0600
Message-ID: <87r02za07t.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: 77005
Cc: 77005 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

--=-=-=
Content-Type: multipart/alternative; boundary="==-=-="

--==-=-=
Content-Type: text/plain

Eli Zaretskii <eliz@HIDDEN> writes:

#+begin_quote
How did you see that, and where?
#+end_quote

Mostly in third-party major-mode.  But also in built-in ones, for
example css-mode that have font-lock-keywords-case-fold-search set to 't.

I haven't seen any minor mode that uses this variable.  I guess the
reason is to avoid conflicts with the major mode.

#+begin_quote
We need to understand the issue better to reply to this question.  So
please provide more details.
#+end_quote

My idea is to add a kind of note to
font-lock-keywords-case-fold-search documentation in lispref tex file
to avoid any confusion that this can be used in minor modes.

Something like this:
#+begin_src diff
diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi
index 768d78229aa..02e7a6f553f 100644
--- a/doc/lispref/modes.texi
+++ b/doc/lispref/modes.texi
@@ -3573,6 +3573,9 @@ Search-based Fontification
 @defvar font-lock-keywords-case-fold-search
 Non-@code{nil} means that regular expression matching for the sake of
 @code{font-lock-keywords} should be case-insensitive.
+
+@strong{Warning:} This variable is intended to be used by major modes
+and it's not recommended change it by minor modes
 @end defvar
 
 @node Customizing Keywords
#+end_src


--==-=-=
Content-Type: text/html

<p>
Eli Zaretskii &lt;eliz@HIDDEN&gt; writes:
</p>

<blockquote>
<p>
How did you see that, and where?
</p>
</blockquote>

<p>
Mostly in third-party major-mode.  But also in built-in ones, for
example css-mode that have font-lock-keywords-case-fold-search set to 't.
</p>

<p>
I haven't seen any minor mode that uses this variable.  I guess the
reason is to avoid conflicts with the major mode.
</p>

<blockquote>
<p>
We need to understand the issue better to reply to this question.  So
please provide more details.
</p>
</blockquote>

<p>
My idea is to add a kind of note to
font-lock-keywords-case-fold-search documentation in lispref tex file
to avoid any confusion that this can be used in minor modes.
</p>

<p>
Something like this:
</p>
<div class="org-src-container">
<pre style="color: #FCFCFA; background-color: #2D2A2E; padding: 0.5em; border-radius: 5px;" class="src src-diff"><span style="color: #78DCE8;">diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi</span>
<span style="color: #78DCE8;">index 768d78229aa..02e7a6f553f 100644</span>
<span style="color: #78DCE8;">--- </span><span style="color: #78DCE8;">a/doc/lispref/modes.texi</span>
<span style="color: #78DCE8;">+++ </span><span style="color: #78DCE8;">b/doc/lispref/modes.texi</span>
<span style="color: #AB9DF2;">@@ -3573,6 +3573,9 @@</span><span style="color: #78DCE8;"> Search-based Fontification</span>
<span style="color: #dddddb;"> @defvar font-lock-keywords-case-fold-search</span>
<span style="color: #dddddb;"> Non-@code{nil} means that regular expression matching for the sake of</span>
<span style="color: #dddddb;"> @code{font-lock-keywords} should be case-insensitive.</span>
<span style="color: #A9DC76;">+</span>
<span style="color: #A9DC76;">+</span><span style="color: #A9DC76; background-color: #221F22;">@strong{Warning:} This variable is intended to be used by major modes</span>
<span style="color: #A9DC76;">+</span><span style="color: #A9DC76; background-color: #221F22;">and it's not recommended change it by minor modes</span>
<span style="color: #dddddb;"> @end defvar</span>

 @node Customizing Keywords
</pre>
</div>

--==-=-=--

--=-=-=
Content-Type: text/plain



-- 
                                          - E.G via GNU Emacs and Org.

--=-=-=--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#77005; Package emacs. Full text available.

Message received at 77005 <at> debbugs.gnu.org:


Received: (at 77005) by debbugs.gnu.org; 14 Mar 2025 12:19:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 14 08:19:46 2025
Received: from localhost ([127.0.0.1]:60487 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tt40w-0005Yv-3o
	for submit <at> debbugs.gnu.org; Fri, 14 Mar 2025 08:19:46 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:60016)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tt40q-0005YU-86
 for 77005 <at> debbugs.gnu.org; Fri, 14 Mar 2025 08:19:40 -0400
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 <eliz@HIDDEN>)
 id 1tt40j-0005ah-14; Fri, 14 Mar 2025 08:19:33 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=Ec4/gWN0tLoYeQJiLbVbtgA0a5rNVfzhAxmVK4xAF88=; b=UDWtLCYcYlw0CzjqIAtX
 RnyicgnEOPDJkmqeN+4IywKmTiqsiwUsOQNSTrwQEFxfm/n7EuRsu3tn3fMZqxs6IzsXO/3v3xzxV
 cOF5Dxa4bvoi3bbvcsMACjdAk3gusmNpU5GkWC+lRhI8ePdHLfFJyKAcpccYjfFpD1NPEBhwN08I1
 BcAT1LHF4krgrSESWP5cce75sIaQNbLH737hb8rJJewUJyWApFya7R1tNoWFkL2ADDmyIOh0HHCWs
 1pOS2jGLktxmfumw1Y03w7lr8Xm5iS/Tvfi8+VI1K3HGofhC/g/IBWgs3ycMMJkTAgTacY+94hytt
 kns1Xw7ZevgQ5A==;
Date: Fri, 14 Mar 2025 14:19:27 +0200
Message-Id: <86frjfztww.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Elijah Gabe =?iso-8859-1?Q?P=E9rez?= <eg642616@HIDDEN>
In-Reply-To: <87frjgnp7i.fsf@HIDDEN> (message from Elijah Gabe
 =?iso-8859-1?Q?P=E9rez?= on Thu, 13 Mar 2025 23:41:53 -0600)
Subject: Re: bug#77005: 31.0.50;
 Add note about font-lock-keywords-case-fold-search usage
References: <87frjgnp7i.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 77005
Cc: 77005 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Elijah Gabe Pérez <eg642616@HIDDEN>
> Date: Thu, 13 Mar 2025 23:41:53 -0600
> 
> I have seen that font-lock-keywords-case-fold-search is more preferably used by major modes than minor
> modes. 

How did you see that, and where?

> However, I have not found a note in documentation that says where to use it. 
> 
> Shouldn't a note be added to the documentation about this? 

We need to understand the issue better to reply to this question.  So
please provide more details.

Thanks.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#77005; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 14 Mar 2025 05:42:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 14 01:42:16 2025
Received: from localhost ([127.0.0.1]:59548 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tsxoG-0006Wb-5C
	for submit <at> debbugs.gnu.org; Fri, 14 Mar 2025 01:42:16 -0400
Received: from lists.gnu.org ([2001:470:142::17]:48606)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eg642616@HIDDEN>)
 id 1tsxoE-0006WJ-Mv
 for submit <at> debbugs.gnu.org; Fri, 14 Mar 2025 01:42:15 -0400
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 <eg642616@HIDDEN>)
 id 1tsxo6-0007JM-HC
 for bug-gnu-emacs@HIDDEN; Fri, 14 Mar 2025 01:42:07 -0400
Received: from mail-oa1-x41.google.com ([2001:4860:4864:20::41])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <eg642616@HIDDEN>)
 id 1tsxo4-0001kX-3k
 for bug-gnu-emacs@HIDDEN; Fri, 14 Mar 2025 01:42:05 -0400
Received: by mail-oa1-x41.google.com with SMTP id
 586e51a60fabf-2b8e2606a58so872261fac.0
 for <bug-gnu-emacs@HIDDEN>; Thu, 13 Mar 2025 22:42:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1741930921; x=1742535721; darn=gnu.org;
 h=mime-version:message-id:date:subject:to:from:from:to:cc:subject
 :date:message-id:reply-to;
 bh=9Bs34xTHB6svKn8NuPlIh16CvwQ06t9WfK3XV1sKFjo=;
 b=GDKlzYeD+v0lIl6UH7JWbY1kOxhumwY+iHoU525zOx746PmssyKKIf6xl/TkNd9NB6
 opBOTIf+xZVsXLoVcR99B4KEKPUiMn0ueFQfKVKcCSC/2Z7mChie267aS67LoEx/CvBy
 lXuZ3tNVk9h5f8Tv8n4hUHlTg2XtocrEpvtwsor54YHdFTwb3Um3tpbyTavVHRmDouau
 MQ01QaNdIvDYFNAXmXEznMfQeHcL/dw24l3R6TRRv4Nwmp1JZcXUxRKxIy9cJNn2cn7W
 t1fgHuEMqrQ3Xt7DfAG5iJjaQjwAmzCNPsMX6SGrjmmLP+AaWc1rp5kSBlUegcZFU/6W
 1QJw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1741930921; x=1742535721;
 h=mime-version:message-id:date:subject:to:from:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=9Bs34xTHB6svKn8NuPlIh16CvwQ06t9WfK3XV1sKFjo=;
 b=TznnQKsHfgzHQ2mHCyR4AvQSyrHqOcZvhcm+dicbMXwoYLlhjn85LAHxJhm6L+oCEl
 QM1hDMwuIWSaKPC5ciAPizXl/73D34Bo0Pa3osk8pbEtLn8SDa28Fcqby643YX/aZK3E
 FraaUjXF438WY1G2lx827hijB2q2GyqGVtQu89wvSSiiZOGhnOvZuXZg9zRQY8dqpr3N
 Cdo/snAlNZcBNXpCtYtXCwMUBIszfjftjDm4Bo9limY2/7C+48ODwOwLN+gag+YjM/jt
 qz+L/2fsmgggmwKfeCiZHAWQGj3q/6tJcB4XgH7eVt7k6yiZCbBns1ab09hfM6ciTA0S
 4Ymw==
X-Gm-Message-State: AOJu0YwVnhSdJJ451gQBl/dvehSZiD0wfer8ZrWkOk8cn7PhZKTG7LBN
 1J8mRfTu1HR86kxuQCv0PiHWYsJkxgTi/X05pJGAKZ+wHJRF0aG4NbQjFcEh
X-Gm-Gg: ASbGnctMqoOfMhWk89hQa84z346d8YN4j0hPbxsrugBpVLMm6zOyHfa9a9YbQqwXao2
 U5bo4I9c0KO1ERUfAYLxVmencD1uiWqSqXo+nd3EqX8gAoiSZ/lGxTDhP1NIz3ZR7Q0O/02uXip
 EIoyypb+/F6z8YLl7s6sp0FsrUUt3Lq6OH4XiGM/1Txxx4+LCWNeUfwHcTuBY2IEfs2cFp4q1il
 RHwfGSiuVfoXOPuJd4j0klKHMgQGqIcBmgUADT27qP9bBu8ocknPqgloKIXuOj15HCIT5E9DXR6
 rH69spQa+9TN
X-Google-Smtp-Source: AGHT+IFMXb24d4oL3FQEViYi6yM9NOJhwPmHidTuSxD7lpI0zn2IjfoDmxqHbxTGV5hyE8hsN52IxQ==
X-Received: by 2002:a05:6870:e93:b0:2c2:3eb4:e53 with SMTP id
 586e51a60fabf-2c6911febd2mr668145fac.37.1741930921301; 
 Thu, 13 Mar 2025 22:42:01 -0700 (PDT)
Received: from fedora ([2806:10ae:e:8def::a]) by smtp.gmail.com with ESMTPSA id
 586e51a60fabf-2c670f86555sm669742fac.8.2025.03.13.22.42.00
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 13 Mar 2025 22:42:00 -0700 (PDT)
From: =?utf-8?Q?Elijah_Gabe_P=C3=A9rez?= <eg642616@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 31.0.50; Add note about font-lock-keywords-case-fold-search usage
X-Debbugs-Cc: 
Date: Thu, 13 Mar 2025 23:41:53 -0600
Message-ID: <87frjgnp7i.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
Received-SPF: pass client-ip=2001:4860:4864:20::41;
 envelope-from=eg642616@HIDDEN; helo=mail-oa1-x41.google.com
X-Spam_score_int: -17
X-Spam_score: -1.8
X-Spam_bar: -
X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, 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-Spam-Score: 1.2 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview: I have seen that font-lock-keywords-case-fold-search is more
 preferably used by major modes than minor modes. However, I have not found
 a note in documentation that says where to use it. Shouldn't a note be added
 to the documentation about this? 
 Content analysis details:   (1.2 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 1.0 SPF_SOFTFAIL           SPF: sender does not match SPF record (softfail)
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (eg642616[at]gmail.com)
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
 in digit (eg642616[at]gmail.com)
 0.0 HTML_MESSAGE           BODY: HTML included in message
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org]
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.2 (/)

--=-=-=
Content-Type: multipart/alternative; boundary="==-=-="

--==-=-=
Content-Type: text/plain


I have seen that font-lock-keywords-case-fold-search is more preferably
used by major modes than minor modes.

However, I have not found a note in documentation that says where to use
it.

Shouldn't a note be added to the documentation about this?



--==-=-=
Content-Type: text/html

<p>
I have seen that font-lock-keywords-case-fold-search is more preferably
used by major modes than minor modes.
</p>

<p>
However, I have not found a note in documentation that says where to use
it.
</p>

<p>
Shouldn't a note be added to the documentation about this?
</p>

--==-=-=--

--=-=-=
Content-Type: text/plain



-- 
                              - E.G via GNU Emacs and Org.

--=-=-=--




Acknowledgement sent to Elijah Gabe PĂ©rez <eg642616@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#77005; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 15 Mar 2025 12:15:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.