From unknown Wed Aug 20 05:17:37 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#33937 <33937@debbugs.gnu.org> To: bug#33937 <33937@debbugs.gnu.org> Subject: Status: 26.1; mhtml-mode fails to capture font-lock-keywords-case-fold-search Reply-To: bug#33937 <33937@debbugs.gnu.org> Date: Wed, 20 Aug 2025 12:17:37 +0000 retitle 33937 26.1; mhtml-mode fails to capture font-lock-keywords-case-fol= d-search reassign 33937 emacs submitter 33937 Leo Liu severity 33937 normal tag 33937 fixed thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 31 10:14:04 2018 Received: (at submit) by debbugs.gnu.org; 31 Dec 2018 15:14:04 +0000 Received: from localhost ([127.0.0.1]:43571 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gdzGW-0006sC-9C for submit@debbugs.gnu.org; Mon, 31 Dec 2018 10:14:04 -0500 Received: from eggs.gnu.org ([208.118.235.92]:59969) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gdzGT-0006rr-PZ for submit@debbugs.gnu.org; Mon, 31 Dec 2018 10:14:02 -0500 Received: from lists.gnu.org ([208.118.235.17]:34897) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gdzGM-0004wJ-DV for submit@debbugs.gnu.org; Mon, 31 Dec 2018 10:13:55 -0500 Received: from eggs.gnu.org ([208.118.235.92]:35544) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gdzGL-0005yo-Ff for bug-gnu-emacs@gnu.org; Mon, 31 Dec 2018 10:13:54 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gdzGD-0004hh-18 for bug-gnu-emacs@gnu.org; Mon, 31 Dec 2018 10:13:51 -0500 Received: from mail-pg1-x52e.google.com ([2607:f8b0:4864:20::52e]:44943) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gdzGC-0004fF-QP for bug-gnu-emacs@gnu.org; Mon, 31 Dec 2018 10:13:44 -0500 Received: by mail-pg1-x52e.google.com with SMTP id t13so12779307pgr.11 for ; Mon, 31 Dec 2018 07:13:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=Egg0R868aozIEFYUj3jhreNKH4oMS2ltf2fmmdOQWA4=; b=pU/kV9jsFECBawK4wZk/zVonnld2282HY9VZEr7hF9ahaVMkzoPFKZoppV7EWwMYFR uDBhElSQqK2lmFU667FIUkv7Z6Uk56X0peoRxjkKKev6cFDGlyqcCq9vFKl8byc71B7I T0JehV7msF6AqOUvZlOXqF+PwXoFR4JCHMAknStjUi7xeGgwIFVdUwKuCLaI9HC82tJI gtZitjUnU57NIZq0GN8w3TB1BC/P/G2Q6emqmIH7Zpy7dsOKob6VfFjFgg6EfHYVy31r rQSI9v6V0GFpiigddNmUJ4NcYKVO/xHivvYveVGSj74xEUyUrMFNrZqnjs1OTWVvKdqJ sowg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=Egg0R868aozIEFYUj3jhreNKH4oMS2ltf2fmmdOQWA4=; b=eFkDwv88Ucyd6lNVtoRB8m8Mw7bQ2YPwNa3hxTL619eBH19VzXCWetNwUmTQyFqE0D KvFe2CuHCy/91qN8AnbPeLy+BFUfKFmC3vYmybfalqerHQCiDWyOLIr0iXDZnALITwFo rUdiXZNhVdfaGnZA/hB7mcFD73Gxbpnv/crdu7ZkuZq2ra8S0PWMCpgeXMHJABYCJocM qPDagazHUq0i1gbS0ZaC1SnzaC9zHdZzZBXtmUe6BahpfAP392FYFbCHuZrbEw0mkUjM tNsw66jZPvTtpXFL8S+9s2Oy0llSdarRWL4hXGHBo0pSCnm9GYAQoXMA86pR6R9wLtqd p+nQ== X-Gm-Message-State: AJcUukeYptY5R5QBc+VYlMdGfR1lyLT6b31+tc1uOJWOr/FXzCj8O6CN Il8mMI7zuhCsTMfXQh7L4e19ZYSM X-Google-Smtp-Source: ALg8bN4HCFd5xgqOTN98pEfBzGfXk0xt5cMBMGb8srkMbqyEI9kQh+CmIVwqq6mi4MqW3vKZa4IZbA== X-Received: by 2002:a63:4c04:: with SMTP id z4mr7902657pga.312.1546269223432; Mon, 31 Dec 2018 07:13:43 -0800 (PST) Received: from Zeuss-MacBook-Air.local ([112.208.181.189]) by smtp.gmail.com with ESMTPSA id b9sm68992815pfi.118.2018.12.31.07.13.41 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 31 Dec 2018 07:13:42 -0800 (PST) From: Leo Liu To: bug-gnu-emacs@gnu.org Subject: 26.1; mhtml-mode fails to capture font-lock-keywords-case-fold-search X-Debbugs-CC: Date: Mon, 31 Dec 2018 23:13:39 +0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::52e X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) In mhtml-mode moving into doesn't set up font-lock-keywords-case-fold-search properly, which still has the value carried over from html-mode. The reason is font-lock doesn't make font-lock-keywords-case-fold-search buffer-local when its value is nil thus it is skipped by mhtml--construct-submode. From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 30 15:26:52 2019 Received: (at 33937) by debbugs.gnu.org; 30 Oct 2019 19:26:52 +0000 Received: from localhost ([127.0.0.1]:51500 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iPtcJ-0005LZ-Pm for submit@debbugs.gnu.org; Wed, 30 Oct 2019 15:26:51 -0400 Received: from quimby.gnus.org ([80.91.231.51]:33322) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iPtcI-0005LQ-1I for 33937@debbugs.gnu.org; Wed, 30 Oct 2019 15:26:50 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iPtcC-0002Za-NN; Wed, 30 Oct 2019 20:26:47 +0100 From: Lars Ingebrigtsen To: Leo Liu Subject: Re: 26.1; mhtml-mode fails to capture font-lock-keywords-case-fold-search References: Date: Wed, 30 Oct 2019 20:26:44 +0100 In-Reply-To: (Leo Liu's message of "Mon, 31 Dec 2018 23:13:39 +0800") Message-ID: <87mudiowzv.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: Leo Liu writes: > In mhtml-mode moving into doesn't set up > font-lock-keywords-case-fold-search properly, which still has the value > carried over from html-mode. > > The reason is font-lock doe [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 33937 Cc: 33937@debbugs.gnu.org, Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Leo Liu writes: > In mhtml-mode moving into doesn't set up > font-lock-keywords-case-fold-search properly, which still has the value > carried over from html-mode. > > The reason is font-lock doesn't make font-lock-keywords-case-fold-search > buffer-local when its value is nil thus it is skipped by > mhtml--construct-submode. This is due to commit 558ca3c1225f6035442733d5d3fb5fd4c40a0a45 Author: Stefan Monnier Date: Tue Feb 12 16:49:21 2008 +0000 (font-lock-set-defaults): Unset previously set variables when needed. which does this with many of the font-lock variables: ;; Case fold during regexp fontification? - (when (nth 2 defaults) - (set (make-local-variable 'font-lock-keywords-case-fold-search) t)) + (if (nth 2 defaults) + (set (make-local-variable 'font-lock-keywords-case-fold-search) t) + (kill-local-variable 'font-lock-keywords-case-fold-search)) It's slightly puzzling -- font-lock-keywords-case-fold-search is permanently buffer-local, but I guess that puzzlement was there before this patch, but the kill-local-variable thing is what makes mhtlm not work. Stefan, do you remember the reason for this change? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 30 17:19:12 2019 Received: (at 33937) by debbugs.gnu.org; 30 Oct 2019 21:19:12 +0000 Received: from localhost ([127.0.0.1]:51728 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iPvN2-0003hK-GM for submit@debbugs.gnu.org; Wed, 30 Oct 2019 17:19:12 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:54068) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iPvN0-0003h5-EC for 33937@debbugs.gnu.org; Wed, 30 Oct 2019 17:19:11 -0400 Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id AE69B449665; Wed, 30 Oct 2019 17:19:04 -0400 (EDT) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 3E559449661; Wed, 30 Oct 2019 17:19:03 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1572470343; bh=8r3Gjzx7dVaYNws7KXZg9tqUuyTY/i5gKdzhWnp7PSo=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=hPKk3vDIHE13YTSBMc+tmJKFmyxUniBEzhGrykXNoUxEGsSZOy2INrZtx01w2bxb7 tjkYwB4/nnKPr+Um/dC+AwAd+i1lQvXN4IS6ntluzy8Xt6eNsK3cJrihJWQOPujy3U er1Tz7vpEuOJTqDmKVb1DIKU8KmwjPN2RlnjXBkuQY6fioGsPqyom7t/0Jt0B8Y/Ly E4G4xp02p7sSSq+OjA3ZbIX1CINbZDu+Yy4hY4pL1IxTHPDFYMdhV42N5A2W8b3T6V TJkP/OEMyelTbAT10coiVvKhGMijdCJS1G0OgcAjt1x8uSG4adaN1lu4e4vvgKz7JH Euj2qhS7yZPjw== Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 20F1B12089B; Wed, 30 Oct 2019 17:19:03 -0400 (EDT) From: Stefan Monnier To: Lars Ingebrigtsen Subject: Re: 26.1; mhtml-mode fails to capture font-lock-keywords-case-fold-search Message-ID: References: <87mudiowzv.fsf@gnus.org> Date: Wed, 30 Oct 2019 17:19:00 -0400 In-Reply-To: <87mudiowzv.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 30 Oct 2019 20:26:44 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.087 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain X-SPAM-LEVEL: X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 33937 Cc: 33937@debbugs.gnu.org, Leo Liu X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > ;; Case fold during regexp fontification? > - (when (nth 2 defaults) > - (set (make-local-variable 'font-lock-keywords-case-fold-search) t)) > + (if (nth 2 defaults) > + (set (make-local-variable 'font-lock-keywords-case-fold-search) t) > + (kill-local-variable 'font-lock-keywords-case-fold-search)) > > It's slightly puzzling -- font-lock-keywords-case-fold-search is > permanently buffer-local, but I guess that puzzlement was there before > this patch, but the kill-local-variable thing is what makes mhtlm not > work. > > Stefan, do you remember the reason for this change? I can't remember the specific case, but I remember that it was basically the inverse situation where font-lock-keywords-case-fold-search was left at `t` instead of resetting it to the default nil. I guess we should just (setq-local font-lock-keywords-case-fold-search (nth 2 defaults)) instead, Stefan From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 31 09:08:41 2019 Received: (at 33937) by debbugs.gnu.org; 31 Oct 2019 13:08:42 +0000 Received: from localhost ([127.0.0.1]:52220 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQABt-0007fG-MR for submit@debbugs.gnu.org; Thu, 31 Oct 2019 09:08:41 -0400 Received: from quimby.gnus.org ([80.91.231.51]:45274) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQABs-0007f6-Hb for 33937@debbugs.gnu.org; Thu, 31 Oct 2019 09:08:41 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iQABn-0000XT-Dd; Thu, 31 Oct 2019 14:08:37 +0100 From: Lars Ingebrigtsen To: Stefan Monnier Subject: Re: 26.1; mhtml-mode fails to capture font-lock-keywords-case-fold-search References: <87mudiowzv.fsf@gnus.org> Date: Thu, 31 Oct 2019 14:08:34 +0100 In-Reply-To: (Stefan Monnier's message of "Wed, 30 Oct 2019 17:19:00 -0400") Message-ID: <87y2x1kqp9.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: Stefan Monnier writes: >> ; ; Case fold during regexp fontification? >> - (when (nth 2 defaults) >> - (set (make-local-variable 'font-lock-keywords-case-fold-search) t)) >> + (if (nth 2 defaults) >> + (set (make-local-variab [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 33937 Cc: 33937@debbugs.gnu.org, Leo Liu X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Stefan Monnier writes: >> ;; Case fold during regexp fontification? >> - (when (nth 2 defaults) >> - (set (make-local-variable 'font-lock-keywords-case-fold-search) t)) >> + (if (nth 2 defaults) >> + (set (make-local-variable 'font-lock-keywords-case-fold-search) t) >> + (kill-local-variable 'font-lock-keywords-case-fold-search)) >> >> It's slightly puzzling -- font-lock-keywords-case-fold-search is >> permanently buffer-local, but I guess that puzzlement was there before >> this patch, but the kill-local-variable thing is what makes mhtlm not >> work. >> >> Stefan, do you remember the reason for this change? > > I can't remember the specific case, but I remember that it was basically > the inverse situation where font-lock-keywords-case-fold-search was left > at `t` instead of resetting it to the default nil. > > I guess we should just > > (setq-local font-lock-keywords-case-fold-search (nth 2 defaults)) > > instead, I've now done this change, which should fix the reported problem. But I'm slightly worried that this may have some impact if there's a global setting somewhere that should be respected... Not for font-lock-keywords-case-fold-search (which is always buffer-local), but for font-lock-syntax-table and font-lock-keywords-only. Hm... perhaps I should have left those two alone, although it seems odd to treat them differently... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 31 09:08:48 2019 Received: (at control) by debbugs.gnu.org; 31 Oct 2019 13:08:48 +0000 Received: from localhost ([127.0.0.1]:52223 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQAC0-0007fZ-0D for submit@debbugs.gnu.org; Thu, 31 Oct 2019 09:08:48 -0400 Received: from quimby.gnus.org ([80.91.231.51]:45290) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQABv-0007fO-K7 for control@debbugs.gnu.org; Thu, 31 Oct 2019 09:08:44 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iQABs-0000Xc-Qr for control@debbugs.gnu.org; Thu, 31 Oct 2019 14:08:42 +0100 Date: Thu, 31 Oct 2019 14:08:40 +0100 Message-Id: <87woclkqp3.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #33937 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: tags 33937 fixed close 33937 27.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 33937 fixed close 33937 27.1 quit From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 31 16:30:19 2019 Received: (at 33937) by debbugs.gnu.org; 31 Oct 2019 20:30:19 +0000 Received: from localhost ([127.0.0.1]:54367 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQH5H-0001c9-2t for submit@debbugs.gnu.org; Thu, 31 Oct 2019 16:30:19 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:55156) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQH5C-0001ar-1d for 33937@debbugs.gnu.org; Thu, 31 Oct 2019 16:30:14 -0400 Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 5DCC74496B6; Thu, 31 Oct 2019 16:30:08 -0400 (EDT) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 266A1449695; Thu, 31 Oct 2019 16:30:07 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1572553807; bh=3A1KL1L/nbApcC2k8+N3P4rlWLb263ZPHnPcXIkssl0=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=FjOObe1VcEXsjczNHZBxvZauebjKVZJAGQOvelDLEZ4TvYDguGcQt+xJ5ADut2Ci7 wTTjyvsDtHdHOaVkd7H5Hg0latyQvNU1gMdc/uR/oC9WxaDlDn++MHGRn1HXD5WbLT Wllu3yeqYLUV7LgcgzPmbhk/JBqmNDK9Zyeunyv9a9TbKSunAfgosE7wT710DyGd67 orjHpvVmJ8FfY7MMzztph0gpWTej3DiV/MB7ULpTKPcu78Ge7SZOZPS4qRnDwUR+df SEAXNONmxf22lFwhr/+UWzOWJi2A8Sx9qk1etsLEI4wTLp31fSder5Hb8jc0OWoxec g1KgyWxdHWIIQ== Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id D7081120045; Thu, 31 Oct 2019 16:30:06 -0400 (EDT) From: Stefan Monnier To: Lars Ingebrigtsen Subject: Re: 26.1; mhtml-mode fails to capture font-lock-keywords-case-fold-search Message-ID: References: <87mudiowzv.fsf@gnus.org> <87y2x1kqp9.fsf@gnus.org> Date: Thu, 31 Oct 2019 16:30:05 -0400 In-Reply-To: <87y2x1kqp9.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 31 Oct 2019 14:08:34 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.085 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 33937 Cc: 33937@debbugs.gnu.org, Leo Liu X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > I've now done this change, which should fix the reported problem. But > I'm slightly worried that this may have some impact if there's a global > setting somewhere that should be respected... Not for > font-lock-keywords-case-fold-search (which is always buffer-local), but > for font-lock-syntax-table and font-lock-keywords-only. I think global settings for font-lock-syntax-table and font-lock-keywords-only don't make much sense anyway, so it should be fine. > [...] it seems odd to treat them differently... Indeed, Stefan From unknown Wed Aug 20 05:17:37 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 29 Nov 2019 12:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator