From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#46302: 28.0.50; cperl-mode cleanup: Eliminate dead code Date: Fri, 05 Feb 2021 09:57:40 +0100 Message-ID: <871rdunb7f.fsf@gnus.org> References: <87tuqrtz91.fsf@hajtower> <878s83objc.fsf@gnus.org> <87o8gztqlv.fsf@hajtower> 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="22949"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 46302@debbugs.gnu.org To: haj@posteo.de (Harald =?UTF-8?Q?J=C3=B6rg?=) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 05 09:58:09 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1l7wwL-0005pw-Gr for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Feb 2021 09:58:09 +0100 Original-Received: from localhost ([::1]:56430 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l7wwK-0006yU-JB for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Feb 2021 03:58:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56942) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7wwE-0006yL-AP for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2021 03:58:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59419) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l7wwE-0006Yx-2i for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2021 03:58:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l7wwE-0007PN-20 for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2021 03:58:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 Feb 2021 08:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46302 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 46302-submit@debbugs.gnu.org id=B46302.161251547328462 (code B ref 46302); Fri, 05 Feb 2021 08:58:02 +0000 Original-Received: (at 46302) by debbugs.gnu.org; 5 Feb 2021 08:57:53 +0000 Original-Received: from localhost ([127.0.0.1]:42732 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7ww5-0007Oz-Cl for submit@debbugs.gnu.org; Fri, 05 Feb 2021 03:57:53 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:38462) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7ww3-0007Ok-EU for 46302@debbugs.gnu.org; Fri, 05 Feb 2021 03:57:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=U8vVauVgGDSeXOfWdKVZXQlTDBurt4JMTEO18q/70MA=; b=pIdBWiYC+pwQc00mWYInJ9hMzA I3MEGXHMxr9m60p+X1gjEg4WVRZDmYWCe3RFSbHU3ayzdyFRRQ2ZH8bfut5Gl42kwTpU3B0KRSDHP QMTg2sqidHZyq9Xd/FwgFVrqOr6ap9dTJZMxsxE/6+q67cPwiszXc9hmJsdwhpPAV4G4=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l7wvt-0000dY-Ea; Fri, 05 Feb 2021 09:57:45 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAFVBMVEVbJYRgJoR8UYKM fm5ROkbY1sf///8tWHUmAAAAAWJLR0QGYWa4fQAAAAd0SU1FB+UCBQgeLC/JgUcAAAGqSURBVDjL bZRdloMgDIVh2nkH7bxXOzsgvncOuAKa/W9lkhtQ+5NzaCUfNzei6Nwh/P4fjnkXkQ3O+xjdW0gy duDDMa9EgXev5aIzBRYEW7eHKGaNq4xBxoTZ5BVgHodhGuIwhRjnWd1da/lwC5oxD+fjlgzOdw/r xeILKQMoFOb5djP7UW12xSCWszYwDdNTqT2C+wD6dnxQ+OCDfwLSseSwryYT3/IevwrG9zwVgCwX r6HgnBrIG88AJ81kTK2MzPMVpSj1lQQutf9UkVJaayvRRUEVKdHCdOggZyjGnIiZbCVXU6rHWVZU XlAoG2jmJWVmtiJcCSvuAi7SnZVSwI9SpEmU2jxKWXh5aLcpAJAkagP8QNPN/ADSAxd3eWNOopA8 bm6Fh/St4KKAKTfzouYEQK2Zst1HyXd5qCNAk/T2gseWJFaTDHeT6muouyv7KAMKq6WlvmsDNSe5 D4afbokB+SHuUYpu+w9KMWErLSrAaHUSrbxLDCxVkTxGXqu52BOUa4CV69LtTUFLURsBNfEOhtmi /+M4f/qWtO+JnlXfjoN+UmTYmfoHNuavkJlx2q0AAAAldEVYdGRhdGU6Y3JlYXRlADIwMjEtMDIt MDVUMDg6MzA6NDQrMDA6MDCmvUZQAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIxLTAyLTA1VDA4OjMw OjQ0KzAwOjAw1+D+7AAAAABJRU5ErkJggg== X-Now-Playing: Shirley & Dolly Collins's _Harking Back_: "Hopping Down In Kent" In-Reply-To: <87o8gztqlv.fsf@hajtower> ("Harald =?UTF-8?Q?J=C3=B6rg?="'s message of "Thu, 04 Feb 2021 23:28:28 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:199344 Archived-At: haj@posteo.de (Harald J=C3=B6rg) writes: > Did I hallucinate? I had a look: The variable _is_ obsolete as of > font-lock.el: > > (make-obsolete-variable 'font-lock-syntactic-keywords > 'syntax-propertize-function "24.1") > > Isn't `make-obsolete-variable` supposed to generate a compiler warning? It is supposed to, but somehow it didn't... I just tried putting a (setq-local font-lock-syntactic-keywords (if cperl-syntaxify-by-font-lock '((cperl-fontify-syntaxically)) into the function, and I got a=20 cperl-mode.el:1678:15: Warning: =E2=80=98font-lock-syntactic-keywords=E2=80= =99 is an obsolete variable (as of 24.1); use =E2=80=98syntax-propertize-function=E2=80=99= instead. as expected. Hm... perhaps it's because of this? - (if cperl-use-syntax-table-text-property - (if (eval-when-compile (fboundp 'syntax-propertize-rules)) - (progn And the compiler got confused and didn't output a warning (always)? --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no