From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 18 04:18:45 2024 Received: (at submit) by debbugs.gnu.org; 18 Dec 2024 09:18:45 +0000 Received: from localhost ([127.0.0.1]:33402 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNqCa-0007rC-Jp for submit@debbugs.gnu.org; Wed, 18 Dec 2024 04:18:44 -0500 Received: from lists.gnu.org ([209.51.188.17]:48926) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNqCW-0007ql-5Q for submit@debbugs.gnu.org; Wed, 18 Dec 2024 04:18:44 -0500 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 1tNqCD-0000ee-WD for bug-auctex@gnu.org; Wed, 18 Dec 2024 04:18:23 -0500 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 ) id 1tNqCD-00030k-Ay for bug-auctex@gnu.org; Wed, 18 Dec 2024 04:18:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=kfICzwGbAklkPpUG43WjaCFS9aXsk+Levqhr31R5csg=; b=g1j9CBZlGVKQMb 8EcUoQKTgUFuWklkYL2rsBRwx1/bJJA1b+qFrSO9FGzNGRUUcgFBiPxl87qWGWf6z877MFLJ7Jpb5 1dQptJELNNeK9SiKN562glCYz6qsSLBe+F58pnWVEFGVDxbdieFuIKyDyWQe0gd5a7q9MSkX4Ewqh 7ID4w9avNzBhirTQubC2CYd4mH3JENcrIA2CeWKLIlRfGoXx7f0KN+hUaHbK5/mhCAGFes0rJ8a8l arFwEfosMrbGqU3OFBKMKqK84YVWXXqJPzogrNjYqzZvQj3bCR/vWV31e/8xUoBmjw1dARE+jU+YC WA3Z53gRT25XNE0wXtbA==; From: Arash Esbati To: "auctex-bugs" Subject: Compiler warning for tex-font.el Date: Wed, 18 Dec 2024 10:18:08 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) 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: -3.3 (---) Hi all, Emacs from master has obsoleted usage of font-lock face variables (3d3c109460). Building AUCTeX with this version, the only warning omitted is: In tex-font-lock-syntactic-face-function: tex-font.el:155:35: Warning: =E2=80=98font-lock-comment-face=E2=80=99 is an= obsolete variable (as of 31.1); use the quoted symbol instead: 'font-lock-comment-face I think we can easily fix this with this change: --8<---------------cut here---------------start------------->8--- diff --git a/tex-font.el b/tex-font.el index 84dfe71b..018c6e89 100644 --- a/tex-font.el +++ b/tex-font.el @@ -143,16 +143,14 @@ (defvar tex-font-lock-keywords tex-font-lock-keywords-1 "Default expressions to highlight in TeX modes.") - (defface tex-math-face '((t :inherit font-lock-string-face)) "Face used to highlight TeX math expressions." :group 'tex) -(defvar tex-math-face 'tex-math-face) ;; Use string syntax but math face for $...$. (defun tex-font-lock-syntactic-face-function (state) - (if (nth 3 state) tex-math-face font-lock-comment-face)) + (if (nth 3 state) 'tex-math-face 'font-lock-comment-face)) ;;;###autoload (defun tex-font-setup () --8<---------------cut here---------------end--------------->8--- Any comments? Best, Arash From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 19 00:00:18 2024 Received: (at 74939) by debbugs.gnu.org; 19 Dec 2024 05:00:18 +0000 Received: from localhost ([127.0.0.1]:36968 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tO8e2-00081P-2N for submit@debbugs.gnu.org; Thu, 19 Dec 2024 00:00:18 -0500 Received: from smtp1a.inetd.co.jp ([210.129.88.11]:60776) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tO8dz-00081G-Rv for 74939@debbugs.gnu.org; Thu, 19 Dec 2024 00:00:16 -0500 Received: from localhost (42-144-34-247.rev.home.ne.jp [42.144.34.247]) by smtp1a.inetd.co.jp (Postfix) with ESMTPSA id 1743A5C; Thu, 19 Dec 2024 14:00:12 +0900 (JST) From: Ikumi Keita To: Arash Esbati Subject: Re: bug#74939: Compiler warning for tex-font.el In-reply-to: References: Comments: In-reply-to Arash Esbati message dated "Wed, 18 Dec 2024 10:18:08 +0100." X-Mailer: MH-E 8.6+git; nmh 1.8; Emacs 29.4 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Date: Thu, 19 Dec 2024 14:00:11 +0900 Message-ID: <11525.1734584411@localhost> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74939 Cc: 74939@debbugs.gnu.org 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 (-) Hi Arash, >>>>> Arash Esbati writes: > In tex-font-lock-syntactic-face-function: > tex-font.el:155:35: Warning: ‘font-lock-comment-face’ is an obsolete > variable (as of 31.1); use the quoted symbol instead: > 'font-lock-comment-face > I think we can easily fix this with this change: [...] > Any comments? I'm fine with your idea. :-) Bye, Ikumi Keita #StandWithUkraine #StopWarInUkraine #Gaza #StopMassiveKilling #CeasefireNOW From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 19 01:33:34 2024 Received: (at 74939-done) by debbugs.gnu.org; 19 Dec 2024 06:33:34 +0000 Received: from localhost ([127.0.0.1]:37143 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tOA6I-0004hR-FV for submit@debbugs.gnu.org; Thu, 19 Dec 2024 01:33:34 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38606) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tOA6E-0004hA-J9 for 74939-done@debbugs.gnu.org; Thu, 19 Dec 2024 01:33:32 -0500 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 ) id 1tOA3z-0008ND-L7; Thu, 19 Dec 2024 01:31:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=OwGkbbreETj+HJ+VpZMbWpXMQZHwuM5/QM+1ZzWgpIE=; b=dKMdcghB9qhR0miYVTfT rxFExzuX9ybEhe5BicNaFaEKJEq6mLU8ONK8yn1yMxwr9Liew1EjYnKed8YiuKCCdROyR370Dap6q il90VdETMahAuqzFsL4e3VmCcV6p4OB05yFXF5xnYpi7i0CaZ3CNgWgqP5BB1L6gJt7fnYdhXUxQM 3ukVRc+d/Q4Iu2+d2Vdx+cX3jyDtSPlzP6A66F628KtmpZFeWiijzvcyjbPPKdP5dYjHbjvZD3/Wd k2tJLs0rGSXCzi5++gPGUb7cC3KLFiLpLKiH4ZuHkQyMyaADVJVTp8ATsucjndwRoFQNPj6uzHTS6 LlofyXeKYuQFEw==; From: Arash Esbati To: Ikumi Keita Subject: Re: bug#74939: Compiler warning for tex-font.el In-Reply-To: <11525.1734584411@localhost> (Ikumi Keita's message of "Thu, 19 Dec 2024 14:00:11 +0900") References: <11525.1734584411@localhost> Date: Thu, 19 Dec 2024 07:31:06 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74939-done Cc: 74939-done@debbugs.gnu.org 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 (---) Hi Keita, Ikumi Keita writes: > I'm fine with your idea. :-) Thanks for having a look. I installed that change and therefore closing this report. Best, Arash From unknown Tue Jun 17 20:20:41 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 16 Jan 2025 12:24:11 +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