GNU logs - #77005, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#77005: 31.0.50; Add note about font-lock-keywords-case-fold-search usage
Resent-From: Elijah Gabe =?UTF-8?Q?P=C3=A9rez?= <eg642616@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 14 Mar 2025 05:43:02 +0000
Resent-Message-ID: <handler.77005.B.174193093625090 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 77005
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 77005 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.174193093625090
          (code B ref -1); Fri, 14 Mar 2025 05:43:02 +0000
Received: (at submit) by debbugs.gnu.org; 14 Mar 2025 05:42:16 +0000
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: Elijah Gabe =?UTF-8?Q?P=C3=A9rez?= <eg642616@HIDDEN>
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-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.

--=-=-=--




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Elijah Gabe =?UTF-8?Q?P=C3=A9rez?= <eg642616@HIDDEN>
Subject: bug#77005: Acknowledgement (31.0.50; Add note about
 font-lock-keywords-case-fold-search usage)
Message-ID: <handler.77005.B.174193093625090.ack <at> debbugs.gnu.org>
References: <87frjgnp7i.fsf@HIDDEN>
X-Gnu-PR-Message: ack 77005
X-Gnu-PR-Package: emacs
Reply-To: 77005 <at> debbugs.gnu.org
Date: Fri, 14 Mar 2025 05:43:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 77005 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
77005: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D77005
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#77005: 31.0.50; Add note about font-lock-keywords-case-fold-search usage
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 14 Mar 2025 12:20:02 +0000
Resent-Message-ID: <handler.77005.B77005.174195478621389 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 77005
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Elijah Gabe =?UTF-8?Q?P=C3=A9rez?= <eg642616@HIDDEN>
Cc: 77005 <at> debbugs.gnu.org
Received: via spool by 77005-submit <at> debbugs.gnu.org id=B77005.174195478621389
          (code B ref 77005); Fri, 14 Mar 2025 12:20:02 +0000
Received: (at 77005) by debbugs.gnu.org; 14 Mar 2025 12:19:46 +0000
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>
In-Reply-To: <87frjgnp7i.fsf@HIDDEN> (message from Elijah Gabe
 =?UTF-8?Q?P=C3=A9rez?= on Thu, 13 Mar 2025 23:41:53 -0600)
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-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.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#77005: 31.0.50; Add note about font-lock-keywords-case-fold-search usage
Resent-From: Elijah Gabe =?UTF-8?Q?P=C3=A9rez?= <eg642616@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 14 Mar 2025 19:21:01 +0000
Resent-Message-ID: <handler.77005.B77005.17419800202821 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 77005
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 77005 <at> debbugs.gnu.org
Received: via spool by 77005-submit <at> debbugs.gnu.org id=B77005.17419800202821
          (code B ref 77005); Fri, 14 Mar 2025 19:21:01 +0000
Received: (at 77005) by debbugs.gnu.org; 14 Mar 2025 19:20:20 +0000
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: Elijah Gabe =?UTF-8?Q?P=C3=A9rez?= <eg642616@HIDDEN>
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-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.

--=-=-=--




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#77005: 31.0.50; Add note about font-lock-keywords-case-fold-search usage
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 15 Mar 2025 08:34:02 +0000
Resent-Message-ID: <handler.77005.B77005.174202762522843 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 77005
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Elijah Gabe =?UTF-8?Q?P=C3=A9rez?= <eg642616@HIDDEN>
Cc: 77005 <at> debbugs.gnu.org
Received: via spool by 77005-submit <at> debbugs.gnu.org id=B77005.174202762522843
          (code B ref 77005); Sat, 15 Mar 2025 08:34:02 +0000
Received: (at 77005) by debbugs.gnu.org; 15 Mar 2025 08:33:45 +0000
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>
In-Reply-To: <87r02za07t.fsf@HIDDEN> (message from Elijah Gabe
 =?UTF-8?Q?P=C3=A9rez?= on Fri, 14 Mar 2025 13:20:06 -0600)
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-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?




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


Received: (at control) by debbugs.gnu.org; 15 Mar 2025 12:02:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 15 08:02:05 2025
Received: from localhost ([127.0.0.1]:39459 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ttQDN-0008Dq-6e
	for submit <at> debbugs.gnu.org; Sat, 15 Mar 2025 08:02:05 -0400
Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]:56653)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>)
 id 1ttQCO-00089i-9q
 for control <at> debbugs.gnu.org; Sat, 15 Mar 2025 08:01:04 -0400
Received: by mail-ed1-x529.google.com with SMTP id
 4fb4d7f45d1cf-5e5dce099f4so3812890a12.1
 for <control <at> debbugs.gnu.org>; Sat, 15 Mar 2025 05:01:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1742040058; x=1742644858; darn=debbugs.gnu.org;
 h=to:subject:message-id:date:mime-version:from:from:to:cc:subject
 :date:message-id:reply-to;
 bh=2gwtFAO46lADL4EP/lz3PW2trHyyBXFcMfAQ/l+3U9E=;
 b=FgMSYkD5cDGQScGkT10l1EbfFqVOlcUfws/c2+CspwwCNmiKCH0vdJgGdZ09M+uVn5
 vUGafUUaETWUI75o4qLr6XoW2122ohLhZEDej4CKR8wS5w53IOmoD+IUjizHPpdH83XP
 v984LiimGUGeVDAslW/wQc0A1h+gK2fcbcmahL1fu43kzNH/EE8hV5sRia4lrJfiOORv
 O3YWyQ41c5Lxed5nBblJHcX0gYy2AofIWOT36/MAFgS8kCSF975ISG9j9sB8VDvw7c0a
 4qQaElrlvEab0NNzj/iailahR3BaL2YJ6z2pj3vs7b7yIy92xF7SviPBOWal/ESBsNY4
 oGQw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1742040058; x=1742644858;
 h=to:subject:message-id:date:mime-version:from:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=2gwtFAO46lADL4EP/lz3PW2trHyyBXFcMfAQ/l+3U9E=;
 b=E8TQQHSA2psiO9eoRe2WqTI9VuKaVNy5Qnj5mu/avYJ9/FXwBowO2NebTTlVIUkPMt
 jOVwYj8JhNDrbBNRdsnyTQ3f+djgQ3dZgu7DoBzVzJa+gi4GfOHroic6M5GaMaYvlWwH
 f4hs5ZKJjShLk6UOpZA6LZktuL8dGY0We9GIVEM+8LmD7aLJK42rxTdH7GOeEK3P7zpO
 80MRhEEVw2JOnalToqP7/1bSjWyN2XeJauOSu+Y6RoKuOMG3Q8B9j33xhxfr9aPNcbXo
 cthDtXYx7XxzgZoj2d7DUac4l7RXBTgzp3aA9sM666itsFusD2N+m2jQv4Z+B4NHKaLV
 3qTg==
X-Gm-Message-State: AOJu0Yx2Wmz/0ZBnr6+tdWfM+qJpDgUfQMArX5faNtHAksU7SJhyYkwj
 RxJwKnUZprD+hD1ihVc47dhOmi0XYKo7dlui36FLFGyPjZlkzivVZotlNeLwxCiDvb9n5U09MpW
 oU2vX0E4n9hWMTu8gzZjFz8EIkhow9GRm+Tw=
X-Gm-Gg: ASbGncs+eDt1Vg93GKq1NsNBqqTuGbcH8pboqVH+M1n9UM/lvJKLCPHxlWLeF9x5dfa
 88Vc/v6KXuMmKPU8hXNY0uFCWJ8EPK8s6VO2DfT0HdkvOiv1+SibnlxUiw9TA3/numyeJqZRspT
 bujX/lLzpLvddCCW5Tn7xfM5Rbeemz
X-Google-Smtp-Source: AGHT+IFVyJ1TPWY7wrsTaAklQweYr4vQLgNKPp9VfrFI7oIiOJez4JySaHL9XZY8gUM2y+z1P0nSPPhUBlPbjyE+UdM=
X-Received: by 2002:a05:6402:d0e:b0:5e7:b02b:1eb8 with SMTP id
 4fb4d7f45d1cf-5e89fa2c0ddmr4781919a12.14.1742040058113; Sat, 15 Mar 2025
 05:00:58 -0700 (PDT)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Sat, 15 Mar 2025 05:00:57 -0700
From: Stefan Kangas <stefankangas@HIDDEN>
MIME-Version: 1.0
Date: Sat, 15 Mar 2025 05:00:57 -0700
X-Gm-Features: AQ5f1JrBTQb-eHExRDZy6r4rbEfD9RH9I43AibKOYzEYSBP80GDyDhnGJ2fa1p4
Message-ID: <CADwFkmkkuJ0SEPNZsv2sdn8W4M=2Ta8nwd4wL34P38XvhYQOYQ@HIDDEN>
Subject: control message for bug #77005
To: control <at> debbugs.gnu.org
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: control
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: -1.0 (-)

severity 77005 wishlist
quit





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.