From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "T.V Raman" Newsgroups: gmane.emacs.devel Subject: Re: font-lock-reference-face no longer defined? Date: Fri, 16 Sep 2022 11:00:28 -0700 Message-ID: <25380.47548.142995.499469@retriever.mtv.corp.google.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28620"; mail-complaints-to="usenet@ciao.gmane.io" Cc: raman@google.com, emacs-devel@gnu.org To: mardani29@yahoo.es Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Sep 16 20:03:19 2022 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 1oZFgN-0007GL-21 for ged-emacs-devel@m.gmane-mx.org; Fri, 16 Sep 2022 20:03:19 +0200 Original-Received: from localhost ([::1]:36578 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oZFgM-0004Q3-2j for ged-emacs-devel@m.gmane-mx.org; Fri, 16 Sep 2022 14:03:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42082) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZFdi-0002IL-RF for emacs-devel@gnu.org; Fri, 16 Sep 2022 14:00:34 -0400 Original-Received: from mail-pg1-x534.google.com ([2607:f8b0:4864:20::534]:43569) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oZFdh-0000Qj-5v for emacs-devel@gnu.org; Fri, 16 Sep 2022 14:00:34 -0400 Original-Received: by mail-pg1-x534.google.com with SMTP id v4so21012410pgi.10 for ; Fri, 16 Sep 2022 11:00:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=references:in-reply-to:subject:cc:to:date:message-id :content-transfer-encoding:mime-version:from:from:to:cc:subject:date; bh=Xouv+uksiqFxozvYkJPDjVaDhm/BeWikZvrDRCSWxP4=; b=GOIGhMHtbwldXXzLg+TVB6WXLZcJiZT9X2ZFhca+68uAoj7GAaX996QBor/Ef1UAQT m2vSAN2RSx+VqP/UJqphbBnqGQJAH9Lp6ZItQRplGTV9csLDgoqfdvnOfDBJBCzlR0rR kVmQizpaNN4jvUeeWeeItArRjfe/CQkyX08LG7eP/0yrOxIMROpLU52XxjQdiB7UvVNA loJDCNrldvU68oIUv2NQk/uSyj/IBp7vvLxzojXijIBTSbbyAi9Mm+KmzVu7ERJ4G7my +crYHgHiE2sdjfpFwyzHJKak/crlgCcJakBoh0izgU3QPkd+G8Po9XHLF59+RnIRCf7L fccg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=references:in-reply-to:subject:cc:to:date:message-id :content-transfer-encoding:mime-version:from:x-gm-message-state:from :to:cc:subject:date; bh=Xouv+uksiqFxozvYkJPDjVaDhm/BeWikZvrDRCSWxP4=; b=mQqNUDMB0wC4AlpnUbYTaDWmWhZrhvI70ynW6gEvXGLMul2EOZYei15My+1e8i01DO UTri/FYxq0v2vmolJ8Nm9ERRfEb/A3K4Ir/gVj0FhNzBAmXtes+/UAeF0ADZkn+31rLo 8SL1bFt0TfeVh9XYRy2tLuOXV7nGKbcEbhL33GIVe6qTXGdkdMX70Nf4fvm8fBmZ8XAc x3LR5mYT5qtfIHSQG1n9tFJSxLQjYvoY2B+9x265h2JVcaMk53ij0ldUyOZYGB2ULLRw mJ3kehpd7hMgguoE//pZFNp0S87fJAjQv2ZCcpYumjz/3AQDuG35X3krbR6P7p8uiOl7 C/Pg== X-Gm-Message-State: ACrzQf0vjvwaFL06DNqnRg7UR2H6BdBR+qmT89j+bmwoB9LMUlE6K03d GiiVpPXkxiy36Im8MIhZjazslmIqiP2HUg== X-Google-Smtp-Source: AMsMyM6uisjhIkk91SslFey+TgCSnFZdzwZz8leW0nPMZyZEoTZN1ehoqbEhdMsoV/901vPyOn/3eg== X-Received: by 2002:aa7:8288:0:b0:546:416d:660 with SMTP id s8-20020aa78288000000b00546416d0660mr5966935pfm.75.1663351229886; Fri, 16 Sep 2022 11:00:29 -0700 (PDT) Original-Received: from retriever.mtv.corp.google.com ([2620:0:1000:1612:6ce9:b0e2:18d0:35c4]) by smtp.gmail.com with ESMTPSA id 32-20020a631360000000b0042bf6034b3fsm13913422pgt.55.2022.09.16.11.00.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Sep 2022 11:00:29 -0700 (PDT) In-Reply-To: X-Mailer: VM 8.1.1 under 29.0.50 (x86_64-pc-linux-gnu) Received-SPF: pass client-ip=2607:f8b0:4864:20::534; envelope-from=raman@google.com; helo=mail-pg1-x534.google.com X-Spam_score_int: -193 X-Spam_score: -19.4 X-Spam_bar: ------------------- X-Spam_report: (-19.4 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, NICE_REPLY_A=-1.816, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5 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" Xref: news.gmane.io gmane.emacs.devel:295495 Archived-At: thanks for confirming -- the right fix might be to purge those reference, or add the equivalent of a defalias -- at present, the somewhat random errors from jit-lock are very disruptive. Daniel Mart=C3=ADn writes: > "T.V Raman" writes: >=20 > > Background: > > > > There are times that I'm seeing errors from jit-lock re > > font-lock-reference-face not being defined -- have seen it while > > working in elisp files, but dont have a reliable repro case. > > > > Doing a recursive grep in the Emacs sources @HEAD, I see numerous= > > references to font-lock-reference-face but I indeed dont see it > > defined anywhere. Confused ... >=20 > It was an obsolete alias since Emacs 20.3 and was removed by this > commit: >=20 > commit 107f832577123ea7ebe867cba55601d0142f546f > Author: Stefan Kangas > Date: Sun Jul 31 11:33:42 2022 +0200 >=20 > Delete additional items obsolete since 20, 21 and 22 > =20 > * lisp/font-lock.el (font-lock-reference-face): Delete variable > alias obsolete since 20.3. > * lisp/progmodes/cc-cmds.el (c-toggle-auto-state): Delete alias > obsolete since 22.1. > * lisp/replace.el (query-replace-regexp-eval): Delete function > obsolete since 22.1. > (replace-count, replace-re-search-function): Doc fixes; adjust f= or > above deleted function. >=20 > Code should use font-lock-constant-face instead. I'm also confused > because I still see references to the old variable name in the Emacs= > codebase. --=20 Thanks, --Raman(I Search, I Find, I Misplace, I Research) =E2=99=89 Id: kg:/m/0285kf1 =F0=9F=A6=AE -- Thanks, --Raman(I Search, I Find, I Misplace, I Research) ♉ Id: kg:/m/0285kf1 🦮