From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Francesco_Potort=C3=AC?= Newsgroups: gmane.emacs.devel Subject: Re: c-font-lock-extra-types and friends Date: Thu, 09 Mar 2023 10:47:25 +0100 Organization: The GNU project Message-ID: <875ybamf2p.fsf@tucano.isti.cnr.it> References: <83wn3v8z34.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35039"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, Eli Zaretskii To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Mar 09 10:47:57 2023 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 1paCsN-0008xT-JC for ged-emacs-devel@m.gmane-mx.org; Thu, 09 Mar 2023 10:47:55 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1paCs2-0004WO-DR; Thu, 09 Mar 2023 04:47:34 -0500 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 1paCs0-0004WA-Bl for emacs-devel@gnu.org; Thu, 09 Mar 2023 04:47:32 -0500 Original-Received: from relay3.ehiweb.it ([79.98.45.20] helo=plesklin7.if1.ehiweb.it) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1paCry-0001lF-Dr; Thu, 09 Mar 2023 04:47:31 -0500 Original-Received: from tucano.isti.cnr.it (tucano.isti.cnr.it [146.48.81.102]) by plesklin7.if1.ehiweb.it (Postfix) with ESMTPSA id B9A181005C4; Thu, 9 Mar 2023 10:47:26 +0100 (CET) In-Reply-To: X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 X-PPP-Message-ID: <20230309094726.20434.33284@plesklin7.if1.ehiweb.it> X-PPP-Vhost: potorti.it Received-SPF: softfail client-ip=79.98.45.20; envelope-from=pot@gnu.org; helo=plesklin7.if1.ehiweb.it X-Spam_score_int: -7 X-Spam_score: -0.8 X-Spam_bar: / X-Spam_report: (-0.8 / 5.0 requ) BAYES_00=-1.9, KHOP_HELO_FCRDNS=0.399, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665 autolearn=no 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:304177 Archived-At: >On Sun, Mar 05, 2023 at 08:57:35 +0200, Eli Zaretskii wrote: >> Every time I visit etags.c, I need to confirm the application of the >> file-local vars, because c-font-lock-extra-types doesn't have the >> appropriate safe-local-variable-p property. Is there any reason not >> to consider its value safe by default if it is a list of strings? Alan: >I can't see any reason at all. > >I'll have a look at adding the appropriate settings to CC Mode. I suspect the problem is more general. I'd say the same about font-lock-defaults