From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#73881: 31.0.50; Unexpected warnings about recursive occurrences of obsolete functions Date: Tue, 29 Oct 2024 22:24:05 -0400 Message-ID: References: <86wmi4jh54.fsf@gnu.org> <86jze4j6wh.fsf@gnu.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4452"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , Andrea Corallo , 73881@debbugs.gnu.org, Stefan Kangas To: Eshel Yaron Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 30 03:25:28 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 1t5yOl-00010x-NH for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 30 Oct 2024 03:25:28 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t5yOO-0001tB-GR; Tue, 29 Oct 2024 22:25:04 -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 1t5yON-0001t2-0p for bug-gnu-emacs@gnu.org; Tue, 29 Oct 2024 22:25:03 -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 1t5yOM-0005DK-Cy for bug-gnu-emacs@gnu.org; Tue, 29 Oct 2024 22:25:02 -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:Date:References:In-Reply-To:From:To:Subject; bh=Lb6f4c9rW6VK8wTFUu2vo66s/JqVpPvS8KDg0dH+FHM=; b=BHhnWGnXucFpzdDZps+0bLC9MxmhpcS+iV0aRqmIqlF3ratpeZf45z8FOeLHEqo3tpSb+jByLaf41xdGa8VM9MDpdrfRPlymH9YAJlj3VJ3+af0mP4pykUgM96rt6OfyOkY46mdl4W1snnYygbNiShb0hkMr668QcTGIC5i4pWhkg8mtRvjbh9ybk6Pma7iOURYDO8837lQSNlYdLMfJiG2/bAMnKuwOOYT1WX4Fgo2xhzV13Vl82DYN0VYPP9iDqc6DVB1lbX7IhkCkx39JYfIdsYpqRpy1lQjlhAkjPlqiFr2PQlqMlzgjZeVhcvHo13Ueg+HyVSDsJmgKETbhqA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t5yOM-0004ko-1C for bug-gnu-emacs@gnu.org; Tue, 29 Oct 2024 22:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Oct 2024 02:25:01 +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.173025506518247 (code B ref 73881); Wed, 30 Oct 2024 02:25:01 +0000 Original-Received: (at 73881) by debbugs.gnu.org; 30 Oct 2024 02:24:25 +0000 Original-Received: from localhost ([127.0.0.1]:60409 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5yNk-0004kF-J2 for submit@debbugs.gnu.org; Tue, 29 Oct 2024 22:24:24 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:32378) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5yNh-0004k4-1n for 73881@debbugs.gnu.org; Tue, 29 Oct 2024 22:24:22 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 1C5C9444437; Tue, 29 Oct 2024 22:24:14 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1730255053; bh=UE+rKcKnuCOibUlSSFNAVk17ql6PZi5GZMwajeGdwpA=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=IF7/ri66aR9gksa/VYr3KoHn7NrwUrOcrwctqAaEsoITl5F3EnjiF+fHAj74m222r I9Tc7N+4CZ27RjGlqCLfOYfzlVtldDKrWIO80iPklD6SYyGQuAO0kDFag6eNsT/G32 0B1Q/zaS3zVzU1PutQ0kRkjeosCDPS2F1J9nw6Fs9vTR7Z02K2A5Op7jR8ydyr/OwQ wnQpBf9XzCPBkW0nU81GFMWt4NwTEhD0Z1pgqmY/TFHQJL0jQSrXXMWoY4NPSMtr81 8lWjFrFLi56y0C8Jnyz+aRm0qUKlN9qGQZD3Wt6marm+K3krJLj9L1p5PTqmQO1wOs yKLy2O1uu3A/g== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 09F3D444428; Tue, 29 Oct 2024 22:24:13 -0400 (EDT) Original-Received: from pastel (69-196-161-60.dsl.teksavvy.com [69.196.161.60]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id C06DD12041C; Tue, 29 Oct 2024 22:24:12 -0400 (EDT) In-Reply-To: (Eshel Yaron's message of "Tue, 29 Oct 2024 08:21:00 +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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:294541 Archived-At: > To me as well. Would there any harm in emitting the make-obsolete form > above the defalias form to cover also the warnings for recursive calls? I can come up with scenarios where it would, of course, but they're probably not too important. OTOH these entries are generated by a generic piece of code which handles all the `declare` thingies and puts them all after the function definition, and moving them *all* would seem a lot more risky. Stefan