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:32:49 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=gb18030 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26250"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Daniel =?gb2312?B?TWFydKiqbg==?= , emacs-devel@gnu.org, Alan Mackenzie To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Sep 16 20:34:40 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 1oZGAg-0006PW-NK for ged-emacs-devel@m.gmane-mx.org; Fri, 16 Sep 2022 20:34:38 +0200 Original-Received: from localhost ([::1]:49788 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oZGAf-0005v9-Ls for ged-emacs-devel@m.gmane-mx.org; Fri, 16 Sep 2022 14:34:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56076) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZG9I-00050h-5H for emacs-devel@gnu.org; Fri, 16 Sep 2022 14:33:12 -0400 Original-Received: from mail-pj1-x1032.google.com ([2607:f8b0:4864:20::1032]:54196) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oZG9E-0001uA-IS for emacs-devel@gnu.org; Fri, 16 Sep 2022 14:33:11 -0400 Original-Received: by mail-pj1-x1032.google.com with SMTP id q3so21860981pjg.3 for ; Fri, 16 Sep 2022 11:32:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:user-agent :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date; bh=aWeRSNkUXoz1DCeYJRYVnFJL2iRXdBSSgW+qshv67z0=; b=cNp0j3EOmBTdgfRR+NBtBuXgB/KNG9UxBCLHVBAn3GCIFghsIU6MoeQ1pJ5TuogEmr kn4ZINX6wbl9hfHW7bVlLRyj2kQkniqTEzyrF7bA447lFZOcmADXHIn145daqkakf8Qh QowKc40JSZi/Vk8ZTYGcjAlC2viHBZ4N6DchvA5vH5WTYJy5vh+PExWVLiBwdIUdaVUB wASv7wnFLgOMYPxRaOd5NwFmyyp/tJ5EyKK9Ft++/OjGl7MWq1Opte7yo5122JmO0gAQ lZKshD0a5F8M23Xf8AJ7by1tJglPvbbpCGtxF5nsFxzneuR0lGc4OBuHVpEu/HDFvj+E rS1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:user-agent :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date; bh=aWeRSNkUXoz1DCeYJRYVnFJL2iRXdBSSgW+qshv67z0=; b=vat2b74A55BIoZypAAbrTsYqI8tki6pgnvO5YxbM92Id9wJ1/oH/TnQMGGk8Y0oh+x 6ivNyNBc2H7ApZCMcNkmxsKa4ZIHjc3eq9XVwMQm7gyl/53PKjsKfUd7XNlMBfM40QQx qdGx2Shoma/gU7nhYMw5jK9Khf5qQegxZMzHtj59xZK5SsJb75CsNSh43CzwnxLHaGZq rzdxgzVVseLf2o84Inqs0Fm4Vg0brls3Li5wrHkv590C7xcca/JzBT+/OhvHrsiOP1IO QBcCx36gmAQQptb/GBOnvYXlyaNvUFsoo/9I9+7/dMAOKmwhorWtf6g+JX08zoYgPlza 5HpA== X-Gm-Message-State: ACrzQf2/XIQEKy13T+Bs9jdGeCgVhBGBy5hJTGz5uUyoPSdK7U4YLch3 9qId2z+0UYcAmJ5XWrHQ6eXHmw== X-Google-Smtp-Source: AMsMyM6Ph9hIk/fLk+H9stuivRwpNuaNzuQnF5FW4Krfj//Ki9FmF4Svt2Lq82YD9fqwDTRZbldW7Q== X-Received: by 2002:a17:90b:1b4f:b0:202:b066:322 with SMTP id nv15-20020a17090b1b4f00b00202b0660322mr16987911pjb.226.1663353172477; Fri, 16 Sep 2022 11:32:52 -0700 (PDT) Original-Received: from raman9 (c-24-4-174-65.hsd1.ca.comcast.net. [24.4.174.65]) by smtp.gmail.com with ESMTPSA id y13-20020a1709027c8d00b0016bf5557690sm15098159pll.4.2022.09.16.11.32.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Sep 2022 11:32:51 -0700 (PDT) In-Reply-To: (Stefan Monnier's message of "Fri, 16 Sep 2022 14:26:35 -0400") Received-SPF: pass client-ip=2607:f8b0:4864:20::1032; envelope-from=raman@google.com; helo=mail-pj1-x1032.google.com X-Spam_score_int: -175 X-Spam_score: -17.6 X-Spam_bar: ----------------- X-Spam_report: (-17.6 / 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, 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:295498 Archived-At: Stefan Monnier writes: For completeness: After a git pull and running rgrep shows a few more places: -*- mode: rg; default-directory: "~/sourceforge/emacs/" -*- rg started at Fri Sep 16 11:30:17 /home/raman/.cargo/bin/rg --color=3Dalways --colors=3Dmatch:fg:red --colors= =3Dpath:fg:magenta --colors=3Dline:fg:green --colors=3Dcolumn:none -n --col= umn --type-add=3Dgyp\:\*.gyp --type-add=3Dgyp\:\*.gypi -i --heading --no-co= nfig --type=3Delisp -e font-lock-reference-face File: lisp/progmodes/cperl-mode.el 6060 8 ;; font-lock-reference-face 6067 8 ;; font-lock-reference-face File: lisp/progmodes/cc-fonts.el 32 19 ;; Emacs), or `font-lock-reference-face'. 40 36 ;; `font-lock-builtin-face' or `font-lock-reference-face' in Em= acs. 102 21 (cc-bytecomp-defvar font-lock-reference-face) ; For Emacs 29 117 24 ((and (c-face-name-p 'font-lock-reference-face) 118 12 (eq font-lock-reference-face 'font-lock-reference-face)) 119 4 'font-lock-reference-face) 137 4 'font-lock-reference-face))) 148 29 (if (and (c-face-name-p 'font-lock-reference-face) 149 10 (eq font-lock-reference-face 'font-lock-reference-face)) 153 9 'font-lock-reference-face File: etc/themes/deeper-blue-theme.el 74 6 `(font-lock-reference-face ((,class (:foreground "LightCoral"))= )) File: etc/themes/whiteboard-theme.el 54 6 `(font-lock-reference-face ((,class (:foreground "salmon")))) rg finished (16 matches found) at Fri Sep 16 11:30:17 >> It was an obsolete alias since Emacs 20.3 and was removed by this >> commit: > [...] >> 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. > > There was one reference left in `lisp/cedet/semantic/grammar.el` which > I just fixed, the rest is all in CC-mode, which I'll leave to Alan. > > > Stefan > --=20 Thanks, --Raman(I Search, I Find, I Misplace, I Research) =817=A94 Id: kg:/m/0285kf1 =950=DC8