From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Harald_J=c3=b6rg?= Newsgroups: gmane.emacs.devel Subject: cperl-mode: Eliminating references to obsolete packages Date: Wed, 23 Sep 2020 20:37:27 +0200 Message-ID: <63ad78b2-ec6b-8215-e775-db5889f4f94e@posteo.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20800"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Sep 23 20:39:09 2020 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 1kL9fX-0005Gv-QE for ged-emacs-devel@m.gmane-mx.org; Wed, 23 Sep 2020 20:39:07 +0200 Original-Received: from localhost ([::1]:43248 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kL9fW-00066Q-OH for ged-emacs-devel@m.gmane-mx.org; Wed, 23 Sep 2020 14:39:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56950) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kL9eB-0004NG-NC for emacs-devel@gnu.org; Wed, 23 Sep 2020 14:37:45 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:50095) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kL9e6-0001eh-3E for emacs-devel@gnu.org; Wed, 23 Sep 2020 14:37:42 -0400 Original-Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 111B8240100 for ; Wed, 23 Sep 2020 20:37:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1600886253; bh=o6+zHeuetbTIXXomsKqWIsdQHHmltmeCPNi79kxPtb0=; h=To:From:Subject:Autocrypt:Date:From; b=T7WHJJ50XmfrU0A1aJx37jnFwQDKS5lVSSSNO3e6PBqyjEsNNx5xzMwxYOEmCgKC8 5qoFDhXxUlqQ0jCLf0UrN0Oz3yjI5oc5BjqCOAmjFiDlReYJyPLooWNzdmYL3Idp6k CKsUwjMi90nM/C8ALziXZ6rRXg7QyzCPkgQIISsHkjbNzWMv2jAwZlxirTDWdObSCh uzLX+hMZXvB39N98w0aRd9S7mK5sAs5rSooI9uTDVINHCXA6v1Vt3Ilp9+8x3n4S1z Xkg3rjZrRcXaOI8xDvbwWxdJEPXtQ1WI8dLs8+FQLyvibCj3VDmyKDGjR5gCphGq62 aX8UU6CYLWY/g== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BxRjz5KX0z9rxW for ; Wed, 23 Sep 2020 20:37:27 +0200 (CEST) Autocrypt: addr=haj@posteo.de; keydata= mQINBF0DVrIBEAC7TRlIilBg/5Dx7R2rV4FBDEavbyMT2cS2wWyksh7JA8e17LNmTdakf+Bm u6C2m6+frolteYRlkreoyAg0fj/5tDw/s5dJDw3tM0b+m/pj2HcwTSRpQSEy5lBiCg11E6Mt F9UngCfkGtJzu8PBWXc1RDQVBwRn5MZbpMZZatE8NOq9AA3Yg6sY11Ez3xIvYU2R7a4OSxmc RJV2+dhdQ4oOTBIGQ2urQSU81kyRtkx+/Yh8WefMrk9nF3nzYziLS53euCAXyzklwYmD6Li3 XSu7wYp5fISky9DK6DPFK7h4RXEL4GFAhy31ehrVnNTcGRohM1Dm9BV9dwXkwlaeT3q0X+nE SXVqPDHtv748bXNIg2WVCZ0WgShcA46XVlSE9Fm+w0HI/1m1L4BaMmQ7gyK5dEchbhxohkk0 AqC3hEJ4ULRidrsCoCWGMFKiOIb9rjeC00vhrUkVJDkPWEGLXjhnRQykb6cESko0rPrSDLqX 9YqaNQ6KO9Un6uogE7YnXYg35EXJ8ORdX257IbXNbFVpgM8FFsl48WV3Pl9WNdADhnnOrz3O wzyK58i/BTsnjVX8ghbWkQcPQ2Kprt+4YR2trEi7TM5Uqzzrg0vp7Oe/9KZBxdxCE67thV7h ElW3CHb4q6o31b4cFmLbtFesSy+hnUU4UymgHgi/hvhxioBxIQARAQABtBxIYXJhbGQgSsO2 cmcgPGhhakBwb3N0ZW8uZGU+iQJOBBMBCAA4FiEEIpYEZLQynxF8Q17KN4XzzzqAcpsFAl0D VrICGwMFCwkIBwIGFQgJCgsCBBYCAwECHgECF4AACgkQN Content-Language: en-US Received-SPF: pass client-ip=185.67.36.66; envelope-from=haj@posteo.de; helo=mout02.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/23 14:37:33 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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.23 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:256374 Archived-At: Hello Emacs, My history with Emacs development is rather short, so I'd like to check some assumptions. cperl-mode.el has quite some conditionals checking for features of which I assume that they are now either completely dead, or always available: - (featurep 'choose-color): choose-color.el used to be downloadable from Ilya Zakharevich's web page in the 20th century, but it is gone now. I suggest it is safe to assume the value is always nil. - (featurep 'font-lock-extra): I failed to find any reference where this came from and suggest also to assume the value is always nil. - (featurep 'mode-compile): It seems that mode-compile.el was never part of GNU Emacs, and it seems to be abandoned by now. I suggest it should be eliminated. - (boundp 'font-lock-constant-face): - also for other faces. I guess it is safe to assume this is always true, and the current list of available faces as visible in the info page "Faces for Font Lock" hasn't changed (much) since Emacs 26. I'd be grateful for a pointer to recent changes in this face list! I'd like to prepare a patch which removes all conditionals querying these functions, the associate code branches, and related customization variables. But before I do so, I'd like to check with people who have been contributing to Emacs longer than I have. Are there any opinions or objections? -- Cheers, haj