From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.bugs Subject: bug#66908: Exposing more public nadvice API Date: Fri, 03 Nov 2023 08:34:05 +0000 Message-ID: <878r7fw802.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22701"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Monnier , Visuwesh To: 66908@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 03 09:34:44 2023 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 1qypdc-0005eb-3Z for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 03 Nov 2023 09:34:44 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qypdO-0002pr-06; Fri, 03 Nov 2023 04:34:30 -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 1qypdM-0002p8-Qn for bug-gnu-emacs@gnu.org; Fri, 03 Nov 2023 04:34:28 -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 1qypdM-00063g-Ej for bug-gnu-emacs@gnu.org; Fri, 03 Nov 2023 04:34:28 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qypdu-0005s0-A8; Fri, 03 Nov 2023 04:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philip Kaludercic Original-Sender: "Debbugs-submit" Resent-CC: monnier@iro.umontreal.ca, visuweshm@gmail.com, bug-gnu-emacs@gnu.org Resent-Date: Fri, 03 Nov 2023 08:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 66908 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org X-Debbugs-Original-Xcc: Stefan Monnier , Visuwesh Original-Received: via spool by submit@debbugs.gnu.org id=B.169900049622549 (code B ref -1); Fri, 03 Nov 2023 08:35:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Nov 2023 08:34:56 +0000 Original-Received: from localhost ([127.0.0.1]:56717 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qypdo-0005rd-IO for submit@debbugs.gnu.org; Fri, 03 Nov 2023 04:34:56 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:45734) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qypdj-0005rJ-QB for submit@debbugs.gnu.org; Fri, 03 Nov 2023 04:34:55 -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 1qypd4-0002Fj-P9 for bug-gnu-emacs@gnu.org; Fri, 03 Nov 2023 04:34:11 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qypd3-00062K-2K for bug-gnu-emacs@gnu.org; Fri, 03 Nov 2023 04:34:10 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 6CCDA240027 for ; Fri, 3 Nov 2023 09:34:06 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1699000446; bh=S7a2ELNEfNdwjDeRObtmaTNajDBmp/0Ux0rK0h34eC0=; h=From:To:Subject:Autocrypt:Date:Message-ID:MIME-Version:From; b=Vb2QhziRawmNW28CCJK7A4AjNc85iZqem/GgM5kcsiMPojK8BWx/05anVf3GW6yE0 fmn/cmSvDPhNvIM1f8BSAPjnipOpiXdcQovuRmNpiIP0euSz/QR8JU27638ciH4Ebx Z1inPNa5KJFjQTuLJjVeJ0yRsjWE/7QoSEJkqeSXXZBUsDrAVih7Vebw7ZD6Gy6cgA ccshwT6sMR/WojYrTND6hT3jtPMi4k0tnSZVzI3lj3HSK64okHN2vOs/kanyF2rQ3n IQC8B9G89H7HBAt+XaFb5f6eHdekoBCH6BhVIRHV1x+K7z8qFTWEW2yInpxDVRMdL+ PWMyba61YETQA== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4SMDYT6wdKz9rxF for ; Fri, 3 Nov 2023 09:34:05 +0100 (CET) Autocrypt: addr=philipk@posteo.net; keydata= mDMEZBBQQhYJKwYBBAHaRw8BAQdAHJuofBrfqFh12uQu0Yi7mrl525F28eTmwUDflFNmdui0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiWBBMWCAA+FiEEDg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwMFCQHhM4AFCwkI BwIGFQoJCAsCBBYCAwECHgECF4AACgkQ8xYDWXahwulikAEA77hloUiSrXgFkUVJhlKBpLCHUjA0 mWZ9j9w5d08+jVwBAK6c4iGP7j+/PhbkxaEKa4V3MzIl7zJkcNNjHCXmvFcEuDgEZBBQQhIKKwYB BAGXVQEFAQEHQI5NLiLRjZy3OfSt1dhCmFyn+fN/QKELUYQetiaoe+MMAwEIB4h+BBgWCAAmFiEE Dg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwwFCQHhM4AACgkQ8xYDWXahwukm+wEA8cml4JpK NeAu65rg+auKrPOP6TP/4YWRCTIvuYDm0joBALw98AMz7/qMHvSCeU/hw9PL6u6R2EScxtpKnWof z4oM Received-SPF: pass client-ip=185.67.36.65; envelope-from=philipk@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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:273699 Archived-At: I would like to ask if it would be possible to have a public and "official" way to access information about advised functions, since all the accessory functions defined by `oclosure-define' appear to be marked as internal. Specifically `advice-cd*r' would be useful, though it might be that we (Visuwesh and I) are trying to do the wrong thing, since we want the return value to get a more sensible response from `func-arity' -- and I recall we had conversations about the complexity of this issue in the past before.