From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Newsgroups: gmane.emacs.bugs,gmane.emacs.help Subject: bug#10501: show all the advise Date: Fri, 18 Oct 2019 16:31:19 +0800 Message-ID: <87v9smjvzc.7.fsf@jidanni.org> References: <87mx9r8npy.fsf@web.de> <87lipa4ucz.fsf@jidanni.org> <87tv8crpco.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="123689"; mail-complaints-to="usenet@blaine.gmane.org" Cc: michael_heerdegen@web.de, help-gnu-emacs@gnu.org, 10501@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 18 10:32:57 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iLNgu-000W1U-Ut for geb-bug-gnu-emacs@m.gmane.org; Fri, 18 Oct 2019 10:32:57 +0200 Original-Received: from localhost ([::1]:36522 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLNgt-0001UD-Iy for geb-bug-gnu-emacs@m.gmane.org; Fri, 18 Oct 2019 04:32:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39119) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLNg4-0000ok-9v for bug-gnu-emacs@gnu.org; Fri, 18 Oct 2019 04:32:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iLNg2-0000ZT-QX for bug-gnu-emacs@gnu.org; Fri, 18 Oct 2019 04:32:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40474) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iLNg2-0000ZK-NN for bug-gnu-emacs@gnu.org; Fri, 18 Oct 2019 04:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iLNg2-00060Z-JS for bug-gnu-emacs@gnu.org; Fri, 18 Oct 2019 04:32:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87lipa4ucz.fsf@jidanni.org> Resent-From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 Oct 2019 08:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10501 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 10501-submit@debbugs.gnu.org id=B10501.157138749722036 (code B ref 10501); Fri, 18 Oct 2019 08:32:02 +0000 Original-Received: (at 10501) by debbugs.gnu.org; 18 Oct 2019 08:31:37 +0000 Original-Received: from localhost ([127.0.0.1]:49295 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iLNfd-0005j3-60 for submit@debbugs.gnu.org; Fri, 18 Oct 2019 04:31:37 -0400 Original-Received: from chocolate.birch.relay.mailchannels.net ([23.83.209.35]:48363) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iLNfb-0005hM-Tp for 10501@debbugs.gnu.org; Fri, 18 Oct 2019 04:31:36 -0400 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 8297A140E93; Fri, 18 Oct 2019 08:31:34 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a81.g.dreamhost.com (100-96-91-110.trex.outbound.svc.cluster.local [100.96.91.110]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id E5D051404CC; Fri, 18 Oct 2019 08:31:33 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Original-Received: from pdx1-sub0-mail-a81.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.5); Fri, 18 Oct 2019 08:31:34 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Decisive-Towering: 458c5bee26de6fc9_1571387494342_1127444017 X-MC-Loop-Signature: 1571387494342:3407249985 X-MC-Ingress-Time: 1571387494342 Original-Received: from pdx1-sub0-mail-a81.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a81.g.dreamhost.com (Postfix) with ESMTP id A730B8EC00; Fri, 18 Oct 2019 01:31:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type; s=jidanni.org; bh=rPG9apgG7wu7siPzsCPQJMNJz+c=; b=n++e5tanjFw/K eSVx4DbMFq20oJ6sjGtHNomROT+NNYqmXoc2ea0aPx98wDlXEB8ku4rls3kkmpz2 ACEbgjSAJykwDEXQw+j8GQVPutVXpgeEWHl+M/iTg1ZedHw9jiHCjLXCfLXmeYaW 9B/9mBclZQwxcxXG7o14U2+tQxg3cU= Original-Received: from jidanni.org (39-10-37-167.adsl.fetnet.net [39.10.37.167]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a81.g.dreamhost.com (Postfix) with ESMTPSA id 9E4508EC41; Fri, 18 Oct 2019 01:31:27 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a81 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:169651 gmane.emacs.help:121670 Archived-At: >>>>> "LI" == Lars Ingebrigtsen writes: LI> jidanni@jidanni.org writes: >>>> (info "(elisp) Advising Functions") should mention how to see all the >>>> advice currently present. Just like >>>> $ set >>>> in bash shows all the shell variables. >> MH> The variable `ad-advised-functions' could be a good starting point. And you MH> can use (ad-get-advice-info 'some-fun) to retrieve advice information of MH> `some-fun'. Those could be combined if you want. >> >> OK, I'll CC bug-gnu-emacs. Maybe they can add a show-all-advice >> function... LI> What's the use case here? Well, just like one would like to know where all the money lying around the house is, instead of spending hours looking through all the drawers, clothes closets and coat pockets.