From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marcin Borkowski Newsgroups: gmane.emacs.help Subject: Can an :around advice know the name of the function it is advising? Date: Sun, 14 Feb 2016 09:02:16 +0100 Message-ID: <874mdbra7r.fsf@mbork.pl> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1455436973 25610 80.91.229.3 (14 Feb 2016 08:02:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 14 Feb 2016 08:02:53 +0000 (UTC) To: Help Gnu Emacs mailing list Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Feb 14 09:02:45 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aUrdg-0002d6-2o for geh-help-gnu-emacs@m.gmane.org; Sun, 14 Feb 2016 09:02:40 +0100 Original-Received: from localhost ([::1]:48504 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUrdf-0004jB-3x for geh-help-gnu-emacs@m.gmane.org; Sun, 14 Feb 2016 03:02:39 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41817) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUrdV-0004iy-3S for help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 03:02:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUrdR-0006az-3O for help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 03:02:29 -0500 Original-Received: from mail.mojserwer.eu ([2a01:5e00:2:52::8]:41956) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUrdQ-0006YK-TP for help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 03:02:25 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id DE8CE9D2002 for ; Sun, 14 Feb 2016 09:02:19 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Original-Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GL0tv3sTKR9n for ; Sun, 14 Feb 2016 09:02:17 +0100 (CET) Original-Received: from localhost (unknown [109.232.24.28]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 6C57B9D2001 for ; Sun, 14 Feb 2016 09:02:17 +0100 (CET) User-agent: mu4e 0.9.13; emacs 25.1.50.2 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2a01:5e00:2:52::8 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:109162 Archived-At: Hi all, I would like to be able for an :around advice to know not only the "original function" it is supposed to call, but also its /name/. (Yes, I now a function need not have /one/ name -- it may have more or less -- but assume that I added the advice to a command having one name in a usual manner.) Is it even possible? (I guess not, but I wanted to make sure.) TIA, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University