From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: c-font-lock-extra-types and friends Date: Mon, 6 Mar 2023 12:27:09 +0000 Message-ID: References: <83wn3v8z34.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26730"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Mar 06 13:27:33 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 1pZ9wD-0006qO-KM for ged-emacs-devel@m.gmane-mx.org; Mon, 06 Mar 2023 13:27:33 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pZ9vx-0006oA-Ax; Mon, 06 Mar 2023 07:27:17 -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 1pZ9vu-0006mS-WD for emacs-devel@gnu.org; Mon, 06 Mar 2023 07:27:15 -0500 Original-Received: from mx3.muc.de ([193.149.48.5]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pZ9vt-000366-4N for emacs-devel@gnu.org; Mon, 06 Mar 2023 07:27:14 -0500 Original-Received: (qmail 90203 invoked by uid 3782); 6 Mar 2023 13:27:10 +0100 Original-Received: from acm.muc.de (pd953adf5.dip0.t-ipconnect.de [217.83.173.245]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Mon, 06 Mar 2023 13:27:10 +0100 Original-Received: (qmail 7211 invoked by uid 1000); 6 Mar 2023 12:27:09 -0000 Content-Disposition: inline In-Reply-To: <83wn3v8z34.fsf@gnu.org> X-Submission-Agent: TMDA/1.3.x (Ph3nix) X-Primary-Address: acm@muc.de Received-SPF: pass client-ip=193.149.48.5; envelope-from=acm@muc.de; helo=mx3.muc.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, 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:304034 Archived-At: Hello, Eli. 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? I can't see any reason at all. I'll have a look at adding the appropriate settings to CC Mode. -- Alan Mackenzie (Nuremberg, Germany).