From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#73881: 31.0.50; Unexpected warnings about recursive occurrences of obsolete functions Date: Sat, 19 Oct 2024 17:34:31 +0300 Message-ID: <86wmi4jh54.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11519"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 73881@debbugs.gnu.org To: Eshel Yaron Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 19 16:35:52 2024 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 1t2AYZ-0002mG-7P for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 19 Oct 2024 16:35:51 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t2AYO-0008J7-Jt; Sat, 19 Oct 2024 10:35:40 -0400 Original-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 1t2AYN-0008Iu-2y for bug-gnu-emacs@gnu.org; Sat, 19 Oct 2024 10:35:39 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t2AYM-0006Dv-R6 for bug-gnu-emacs@gnu.org; Sat, 19 Oct 2024 10:35:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-version:References:In-Reply-To:From:Date:To:Subject; bh=KV68yfvqBanCnvcoSPfUShprRYZqxA4WP8y112b8rEo=; b=Skqcrqll5XNy9LCIVzBYxcivCCxNc8nn6jepYNZrFHnLP0rTvr969d81dd06KF/2caMKoQfUNhspzfvNbGrEYWR7SfsL0YLmP0rl7zZUlPljtZ6UG774bUGbXd5p8D2N4jIfKptsGtJH2REeXJs0C8IlJ8/e4qfWSCvE0cWgAdQpu5d0TdTUhFWpT/e6uIfbcctXwz/s5a/EEPvQjfYg0eYrxyFi+xQsoCa536JIwF4BAjr+Se2zTNZIQzZtdJ4IIzr/waplGiSXk2My5sWXl3RiWrMEzuazW0b1nObS/arqr13OK1kiyvT4bzmtTFdML4lc50wshy5hhuF6taV9tg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t2AYk-0003Uo-6x for bug-gnu-emacs@gnu.org; Sat, 19 Oct 2024 10:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 19 Oct 2024 14:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73881 X-GNU-PR-Package: emacs Original-Received: via spool by 73881-submit@debbugs.gnu.org id=B73881.172934852013034 (code B ref 73881); Sat, 19 Oct 2024 14:36:02 +0000 Original-Received: (at 73881) by debbugs.gnu.org; 19 Oct 2024 14:35:20 +0000 Original-Received: from localhost ([127.0.0.1]:44249 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2AY3-0003OA-KW for submit@debbugs.gnu.org; Sat, 19 Oct 2024 10:35:19 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:38852) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2AY1-0003Nx-K9 for 73881@debbugs.gnu.org; Sat, 19 Oct 2024 10:35:18 -0400 Original-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 1t2AXY-0005xL-6o; Sat, 19 Oct 2024 10:34:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=KV68yfvqBanCnvcoSPfUShprRYZqxA4WP8y112b8rEo=; b=iEKK434G5hBdEDu1eUGD 9rXctOJ81vMVZR9713vQuEVAyB1MPVOyBOG0xipzolI2ARCFA+4/b7JC3WMrFulZAmOGsaGcn78c6 K+i+pdoaSK/o2TJVCZW84lhnPBUBbejy0NMxL2bebxE96J+781lolJm1XAfM6IRxdfLQlhHx9x3KF TfquwP15LhXlabTsboi1Vw1op4jW8eRoNAZpDjF6jcKfrTLhiYXMiO8KluPLyTT1AgktfYl4D41O3 Pl6whQB5LmoAncskhOSPwt0yCUnOESajFOZPnQHxcBMSPLu3UMYS6tG1ZIO0GxtG93yq65jZEPZyN VGPNLOy5TiJL4Q==; In-Reply-To: (bug-gnu-emacs@gnu.org) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:293888 Archived-At: > Date: Sat, 19 Oct 2024 15:21:22 +0200 > From: Eshel Yaron via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > > 1. emacs -Q > 2. (require 'allout) or otherwise load allout.el > 3. Byte-compile allout.el with M-x byte-compile-file > 4. See warnings: > > --8<---------------cut here---------------start------------->8--- > In allout-old-expose-topic: > allout.el:5092:29: Warning: ¡®allout-old-expose-topic¡¯ is an obsolete function > (as of 28.1); use ¡®allout-expose-topic¡¯ instead. > allout.el:5097:44: Warning: ¡®allout-old-expose-topic¡¯ is an obsolete function > (as of 28.1); use ¡®allout-expose-topic¡¯ instead. > allout.el:5106:8: Warning: ¡®allout-old-expose-topic¡¯ is an obsolete function > (as of 28.1); use ¡®allout-expose-topic¡¯ instead. > --8<---------------cut here---------------end--------------->8--- > > These warnings are unhelpful since these are recursive calls within the > definition of the obsolete function itself. They need not be replaced > with another function as the warnings suggest. Ideally, recursive calls > to obsolete functions should not produce such warnings. >From where I stand, this could be closed as wontfix, unless someone sees an easy fix. I don't see any harm from emitting these warnings in this scenario. The warnings are correct.