GNU bug report logs - #23523
Advised function misconstrued as being aliased in Help

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: Kaushal Modi <kaushal.modi@HIDDEN>; merged with #21299; dated Thu, 12 May 2016 16:35:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Severity set to 'minor' from 'normal' Request was from Glenn Morris <rgm@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Changed bug title to 'Advised function misconstrued as being aliased in Help' from '25.0.93; Around advice miscontrued as alias, but not always' Request was from Kaushal Modi <kaushal.modi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Merged 21299 23523. Request was from Glenn Morris <rgm@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 23523 <at> debbugs.gnu.org:


Received: (at 23523) by debbugs.gnu.org; 12 May 2016 16:47:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 12 12:47:36 2016
Received: from localhost ([127.0.0.1]:49210 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1b0tlw-0001a5-7U
	for submit <at> debbugs.gnu.org; Thu, 12 May 2016 12:47:36 -0400
Received: from mail-oi0-f49.google.com ([209.85.218.49]:35541)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <kaushal.modi@HIDDEN>) id 1b0tlu-0001Zt-KY
 for 23523 <at> debbugs.gnu.org; Thu, 12 May 2016 12:47:34 -0400
Received: by mail-oi0-f49.google.com with SMTP id x19so128979322oix.2
 for <23523 <at> debbugs.gnu.org>; Thu, 12 May 2016 09:47:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=hJyTzhCguKBdCWz2wfmKSE12rQM7g4PcUYKQ/SbjxoU=;
 b=bw5ZhY//bc4wKNwOB7NOLf3A18vPcR6y1X/0S+tcm05ZjmU37om/eyD8nYzFQKakv+
 qUj+4q+eGxNUkFb3I5qRUqurY0SZk/CnOCdBJpU5nV6bW9cmlx9LvW6sMyrzNobH4uzt
 D/XpNPG3IOBxAlGePS4VmdTxg/1oFOz8wpbkGfSH2bpWA04/cW5ZfLcGGs7ts5CfUWEe
 9VrWuUvAwlIxjQ4ebRfweu6/EXifLJdWKqWwZaav3+xYmO/VL6ybhzwUEUxb9W76nKbW
 +xpdopzl7J7LqLuGlD/cPMIrPISmtMHyifxjGetAzXXwcqxhEmgR0UwdsgvzAa3wB1im
 psUg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=hJyTzhCguKBdCWz2wfmKSE12rQM7g4PcUYKQ/SbjxoU=;
 b=KtpBKiJzzIgQLMmibOeMNXKfYIMNDSHe4n3zUqNEY5CmHLh7Dsn7UDmDlV2qRB1pQ4
 z6olEV9+3XO/+e8kytTeEagaqEMhFBVmKeitJ4KoI4DVQHiDEzzAdivk+IrPDeqqjOBz
 jAC2cEpv08R0IyRw9housIjkyhBB45qFCIvyktT3BxDhy3HJy4WL6tXuWB4apS0MP4oo
 O1/Zslyk/+TkujAIepC8+YHEqonLbKKMvnJR0KoGnKYdNe2xMGBZNaX/7zuafFD+G55g
 gjNhah2DrRwpzltBSwHstOmPMdHlEgDNFpkVVu23S1ebFozW4VbU1kU6v8+bjvlmQNr8
 0rWw==
X-Gm-Message-State: AOPr4FVMsMy3ojXwGSW/6EZDHdoGV5oNkNYICH57e2O+EkE1k1wqOY1roRo77bkMdDzPo7Me972IEuhFmCU4UA==
X-Received: by 10.202.203.147 with SMTP id b141mr5293594oig.159.1463071648821; 
 Thu, 12 May 2016 09:47:28 -0700 (PDT)
MIME-Version: 1.0
References: <CAFyQvY39hd1_K=oaoJTvmb5hxrZT9U0j3oiMmuJbW5X=FWe4Fw@HIDDEN>
 <y5futnxm6b.fsf@HIDDEN>
In-Reply-To: <y5futnxm6b.fsf@HIDDEN>
From: Kaushal Modi <kaushal.modi@HIDDEN>
Date: Thu, 12 May 2016 16:47:19 +0000
Message-ID: <CAFyQvY18UD2MP=t_1iuKK2D8zAyydOTe6yh25XtcUYL2UWvs-Q@HIDDEN>
Subject: Re: bug#23523: 25.0.93;
 Around advice miscontrued as alias, but not always
To: Glenn Morris <rgm@HIDDEN>
Content-Type: multipart/alternative; boundary=001a1134e9e4e8d8150532a7e95f
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 23523
Cc: 23523 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

--001a1134e9e4e8d8150532a7e95f
Content-Type: text/plain; charset=UTF-8

Yes it is! Can you please send email to control?

I do not know if the order of bug # in the merge command matter.

Are

merge 21299 23523

and

merge 23523 21299

equivalent?

Or does the order matter?

On Thu, May 12, 2016 at 12:42 PM Glenn Morris <rgm@HIDDEN> wrote:

>
> Is this a duplicate of https://debbugs.gnu.org/21299 ?
>
-- 

-- 
Kaushal Modi

--001a1134e9e4e8d8150532a7e95f
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Yes it is! Can you please send email to control?<div><br><=
/div><div>I do not know if the order of bug # in the merge command matter.<=
/div><div><br></div><div>Are=C2=A0</div><div><br></div><div>merge=C2=A02129=
9 23523</div><div><br></div><div>and</div><div><br></div><div>merge 23523 2=
1299</div><div><br></div><div>equivalent?</div><div><br></div><div>Or does =
the order matter?</div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr=
">On Thu, May 12, 2016 at 12:42 PM Glenn Morris &lt;<a href=3D"mailto:rgm@g=
nu.org">rgm@HIDDEN</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quot=
e" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">=
<br>
Is this a duplicate of <a href=3D"https://debbugs.gnu.org/21299" rel=3D"nor=
eferrer" target=3D"_blank">https://debbugs.gnu.org/21299</a> ?<br>
</blockquote></div><div dir=3D"ltr">-- <br></div><p dir=3D"ltr">-- <br>
Kaushal Modi</p>

--001a1134e9e4e8d8150532a7e95f--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#23523; Package emacs. Full text available.

Message received at 23523 <at> debbugs.gnu.org:


Received: (at 23523) by debbugs.gnu.org; 12 May 2016 16:42:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 12 12:42:48 2016
Received: from localhost ([127.0.0.1]:49206 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1b0thI-0001Sk-LJ
	for submit <at> debbugs.gnu.org; Thu, 12 May 2016 12:42:48 -0400
Received: from eggs.gnu.org ([208.118.235.92]:39778)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rgm@HIDDEN>) id 1b0thG-0001SX-1k
 for 23523 <at> debbugs.gnu.org; Thu, 12 May 2016 12:42:47 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <rgm@HIDDEN>) id 1b0thA-0003bJ-0l
 for 23523 <at> debbugs.gnu.org; Thu, 12 May 2016 12:42:41 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48635)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <rgm@HIDDEN>)
 id 1b0th8-0003aD-De; Thu, 12 May 2016 12:42:38 -0400
Received: from rgm by fencepost.gnu.org with local (Exim 4.82)
 (envelope-from <rgm@HIDDEN>)
 id 1b0th6-0005Ay-KG; Thu, 12 May 2016 12:42:36 -0400
From: Glenn Morris <rgm@HIDDEN>
To: Kaushal Modi <kaushal.modi@HIDDEN>
Subject: Re: bug#23523: 25.0.93;
 Around advice miscontrued as alias, but not always
References: <CAFyQvY39hd1_K=oaoJTvmb5hxrZT9U0j3oiMmuJbW5X=FWe4Fw@HIDDEN>
X-Spook: 9705 Samford Road plutonium Extreme weather TWA Treasury
X-Ran: D`=7W#o?C4'}LEG\^!HC2UXhH$<KCQWb|R2gi5ds&2s?1L.8";E7iLHA}I3k3)EN.cp<0|
X-Hue: magenta
X-Debbugs-No-Ack: yes
X-Attribution: GM
Date: Thu, 12 May 2016 12:42:36 -0400
In-Reply-To: <CAFyQvY39hd1_K=oaoJTvmb5hxrZT9U0j3oiMmuJbW5X=FWe4Fw@HIDDEN>
 (Kaushal Modi's message of "Thu, 12 May 2016 16:34:26 +0000")
Message-ID: <y5futnxm6b.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -6.4 (------)
X-Debbugs-Envelope-To: 23523
Cc: 23523 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.4 (------)


Is this a duplicate of https://debbugs.gnu.org/21299 ?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#23523; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 12 May 2016 16:34:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 12 12:34:52 2016
Received: from localhost ([127.0.0.1]:49196 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1b0tZc-0001Gi-BK
	for submit <at> debbugs.gnu.org; Thu, 12 May 2016 12:34:52 -0400
Received: from eggs.gnu.org ([208.118.235.92]:38484)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <kaushal.modi@HIDDEN>) id 1b0tZZ-0001GW-Vp
 for submit <at> debbugs.gnu.org; Thu, 12 May 2016 12:34:50 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <kaushal.modi@HIDDEN>) id 1b0tZS-0001cZ-TJ
 for submit <at> debbugs.gnu.org; Thu, 12 May 2016 12:34:44 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:51099)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <kaushal.modi@HIDDEN>) id 1b0tZS-0001cM-PY
 for submit <at> debbugs.gnu.org; Thu, 12 May 2016 12:34:42 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:57686)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <kaushal.modi@HIDDEN>) id 1b0tZP-0002HE-LB
 for bug-gnu-emacs@HIDDEN; Thu, 12 May 2016 12:34:41 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <kaushal.modi@HIDDEN>) id 1b0tZM-0001at-Df
 for bug-gnu-emacs@HIDDEN; Thu, 12 May 2016 12:34:38 -0400
Received: from mail-oi0-x22f.google.com ([2607:f8b0:4003:c06::22f]:36341)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <kaushal.modi@HIDDEN>) id 1b0tZM-0001ap-68
 for bug-gnu-emacs@HIDDEN; Thu, 12 May 2016 12:34:36 -0400
Received: by mail-oi0-x22f.google.com with SMTP id x201so128558971oif.3
 for <bug-gnu-emacs@HIDDEN>; Thu, 12 May 2016 09:34:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:from:date:message-id:subject:to;
 bh=Xg31WyEQsLkNtE9Tms1Ty5H8Fe8nQVpO0QbHzI2kR54=;
 b=yuEWWaOowPHvUdwJv56cxE40QdA/S39+5/mJCP0Iv2iwtklbtmxOPOUygBSuBlyL/J
 PGGkuG+U8GPgw4b0AcBpsVG+iTqfEmDVKRpCWjERklAT2xY7uISvJEnRnd1YcgRUjagi
 6RRUlQGuZP6xrbt3yyw8iwk7ze1dVdueqBz52zEGo4UsPSIBya20Ne/dL5xM4+KDIbeZ
 Jct+cBeSb7sJMjhLNc+IS8vQU3Po6ZynKNf66+MXmf8m3KFt3l2oOriGb93n8+kSrcyv
 HP3n5ugqiIpb2PdSccENJkPvp7aN2rZlA4jczRwotH+AJS2NtyGcgIz7tJOtSAqkTr19
 w5LQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=Xg31WyEQsLkNtE9Tms1Ty5H8Fe8nQVpO0QbHzI2kR54=;
 b=hCsZtxswEztgsdWs9S/XtVWza5lW+7hCeokiWuK8tUdQCrX/e5PQrz6dYeDgB/wtQ0
 3HqluEvqXOoFZwh9X9wG1K0zAc8JNqkPYb7yTMD9QQo2eZ7KB0Ivb0PSrLKETIIJ6bXu
 sKx2m5/G9rzVbGgGnn6QZfOMG9ywJLInUiM8IxXN/88KcE1AN5pCpgn794Z5SaTL7h8z
 Yh2tQ9ly1YSBLuF/J+hO/28VduVf0/Z8pN7VrNnGECdS8RY46kDBp8mLNJlsjR2QdqLv
 4rxtrDTfs1QBPS3XSCH9PaIPGKHUlCv+/uHCcen36hkD1iNZqHoTz5J5ZFYaPVN4trnD
 kWqg==
X-Gm-Message-State: AOPr4FUXTzUOEYcuGHuPHKWATuxpXfuJ65pwp9URO1CGqFti/Ms0M/U83CfGuQV273MN8vBSCFC6pw/GdIeItA==
X-Received: by 10.157.5.184 with SMTP id 53mr6434913otd.60.1463070875566; Thu,
 12 May 2016 09:34:35 -0700 (PDT)
MIME-Version: 1.0
From: Kaushal Modi <kaushal.modi@HIDDEN>
Date: Thu, 12 May 2016 16:34:26 +0000
Message-ID: <CAFyQvY39hd1_K=oaoJTvmb5hxrZT9U0j3oiMmuJbW5X=FWe4Fw@HIDDEN>
Subject: 25.0.93; Around advice miscontrued as alias, but not always
To: "bug-gnu-emacs@HIDDEN" <bug-gnu-emacs@HIDDEN>
Content-Type: multipart/alternative; boundary=001a1136e642d1e7570532a7bb85
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

--001a1136e642d1e7570532a7bb85
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

--text follows this line--

Here's a short elisp snippet to try in an emacs -Q session:

=3D=3D=3D=3D=3D
(defun foo (orig-fun &rest args)
  (apply orig-fun args))
(advice-add 'report-emacs-bug :around #'foo)
(advice-add 'pop-to-mark-command :around #'foo)
=3D=3D=3D=3D=3D

After evaluating the above, if I do C-h f report-emacs-bug, I get:

=3D=3D=3D=3D=3D
report-emacs-bug is an alias for =E2=80=98report-emacs-bug=E2=80=99 in =E2=
=80=98emacsbug.el=E2=80=99.

It is bound to <menu-bar> <help-menu> <send-emacs-bug-report>.

(report-emacs-bug TOPIC &optional UNUSED)

Report a bug in GNU Emacs.
Prompts for bug subject.  Leaves you in a mail buffer.
=3D=3D=3D=3D=3D

But for C-h f pop-to-mark-command, I get:

=3D=3D=3D=3D=3D
pop-to-mark-command is an interactive compiled Lisp function in
=E2=80=98simple.el=E2=80=99.

(pop-to-mark-command)

:around advice: =E2=80=98foo=E2=80=99

Jump to mark, and pop a new position for mark off the ring.
(Does not affect global mark ring).
=3D=3D=3D=3D=3D

I picked pop-to-mark-command just randomly. I noticed the misinformation
for report-emacs-bug (irony!) only. Then at random advised
pop-to-mark-command too, but emacs does not misunderstand that advice as
alias.

And here comes the twist.. After above, in the same session, once I do M-x
report-emacs-bug and then if I do C-h f report-emacs-bug, I then get:

=3D=3D=3D=3D=3D
report-emacs-bug is an interactive autoloaded compiled Lisp function
in =E2=80=98emacsbug.el=E2=80=99.

It is bound to <menu-bar> <help-menu> <send-emacs-bug-report>.

(report-emacs-bug TOPIC &optional UNUSED)

:around advice: =E2=80=98foo=E2=80=99

Report a bug in GNU Emacs.
Prompts for bug subject.  Leaves you in a mail buffer.
=3D=3D=3D=3D=3D

So what's the mystery? Emacs cannot tell if a function is advised until it
is evaluated and executed?



In GNU Emacs 25.0.93.5 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.23)
 of 2016-05-05 built on
Repository revision: 5e814e02f0b0b85fa486975eced09e4a7ed8ce5c
Windowing system distributor 'The X.Org Foundation', version 11.0.60900000
System Description: Red Hat Enterprise Linux Workstation release 6.6
(Santiago)

Configured using:
 'configure --with-modules
 --prefix=3D/home/kmodi/usr_local/apps/6/emacs/emacs-25
 'CPPFLAGS=3D-fgnu89-inline -I/home/kmodi/usr_local/6/include
 -I/usr/include/freetype2 -I/usr/include' 'CFLAGS=3D-ggdb3 -O0'
 'CXXFLAGS=3D-ggdb3 -O0' 'LDFLAGS=3D-L/home/kmodi/usr_local/6/lib
 -L/home/kmodi/usr_local/6/lib64 -ggdb3'
 PKG_CONFIG_PATH=3D/home/kmodi/usr_local/6/lib/pkgconfig:/home/kmodi/usr_lo=
cal/6/lib64/pkgconfig:/cad/adi/apps/gnu/linux/x86_64/6/lib/pkgconfig:/cad/a=
di/apps/gnu/linux/x86_64/6/lib64/pkgconfig:/usr/lib/pkgconfig:/usr/lib64/pk=
gconfig:/usr/share/pkgconfig:/lib/pkgconfig:/lib64/pkgconfig'

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS
NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK2 X11 MODULES

Important settings:
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=3Dnone
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Mark set
foo
nil [2 times]
Type C-x 1 to delete the help window.


Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message dired format-spec rfc822 mml
mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail
rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils cl-extra
help-fns help-mode easymenu cl-loaddefs pcase cl-lib time-date mule-util
tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type
mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt
fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register
page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock
font-lock syntax facemenu font-core frame cl-generic cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese charscript case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice
loaddefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote dbusbind inotify dynamic-setting
system-font-setting font-render-setting move-toolbar gtk x-toolkit x
multi-tty make-network-process emacs)

Memory information:
((conses 16 88305 8121)
 (symbols 48 19775 0)
 (miscs 40 47 172)
 (strings 32 14598 4870)
 (string-bytes 1 436699)
 (vectors 16 12461)
 (vector-slots 8 434860 5020)
 (floats 8 168 71)
 (intervals 56 264 4)
 (buffers 976 12)
 (heap 1024 38706 719))

--=20

--=20
Kaushal Modi

--001a1136e642d1e7570532a7bb85
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><span style=3D"line-height:1.5">--text follows this l=
ine--</span><br></div><div><br></div><div>Here&#39;s a short elisp snippet =
to try in an emacs -Q session:</div><div><br></div><div>=3D=3D=3D=3D=3D</di=
v><div><div>(defun foo (orig-fun &amp;rest args)</div><div>=C2=A0 (apply or=
ig-fun args))</div><div>(advice-add &#39;report-emacs-bug :around #&#39;foo=
)</div><div>(advice-add &#39;pop-to-mark-command :around #&#39;foo)</div></=
div><div>=3D=3D=3D=3D=3D</div><div><br></div><div>After evaluating the abov=
e, if I do C-h f report-emacs-bug, I get:</div><div><br></div><div>=3D=3D=
=3D=3D=3D</div><div><div>report-emacs-bug is an alias for =E2=80=98report-e=
macs-bug=E2=80=99 in =E2=80=98emacsbug.el=E2=80=99.</div><div><br></div><di=
v>It is bound to &lt;menu-bar&gt; &lt;help-menu&gt; &lt;send-emacs-bug-repo=
rt&gt;.</div><div><br></div><div>(report-emacs-bug TOPIC &amp;optional UNUS=
ED)</div><div><br></div><div>Report a bug in GNU Emacs.</div><div>Prompts f=
or bug subject.=C2=A0 Leaves you in a mail buffer.</div></div><div>=3D=3D=
=3D=3D=3D</div><div><br></div><div>But for C-h f pop-to-mark-command, I get=
:</div><div><br></div><div>=3D=3D=3D=3D=3D</div><div><div>pop-to-mark-comma=
nd is an interactive compiled Lisp function in</div><div>=E2=80=98simple.el=
=E2=80=99.</div><div><br></div><div>(pop-to-mark-command)</div><div><br></d=
iv><div>:around advice: =E2=80=98foo=E2=80=99</div><div><br></div><div>Jump=
 to mark, and pop a new position for mark off the ring.</div><div>(Does not=
 affect global mark ring).</div></div><div>=3D=3D=3D=3D=3D</div><div><br></=
div><div>I picked pop-to-mark-command just randomly. I noticed the misinfor=
mation for report-emacs-bug (irony!) only. Then at random advised pop-to-ma=
rk-command too, but emacs does not misunderstand that advice as alias.</div=
><div><br></div><div>And here comes the twist.. After above, in the same se=
ssion, once I do M-x report-emacs-bug and then if I do C-h f report-emacs-b=
ug, I then get:</div><div><br></div><div>=3D=3D=3D=3D=3D</div><div><div>rep=
ort-emacs-bug is an interactive autoloaded compiled Lisp function</div><div=
>in =E2=80=98emacsbug.el=E2=80=99.</div><div><br></div><div>It is bound to =
&lt;menu-bar&gt; &lt;help-menu&gt; &lt;send-emacs-bug-report&gt;.</div><div=
><br></div><div>(report-emacs-bug TOPIC &amp;optional UNUSED)</div><div><br=
></div><div>:around advice: =E2=80=98foo=E2=80=99</div><div><br></div><div>=
Report a bug in GNU Emacs.</div><div>Prompts for bug subject.=C2=A0 Leaves =
you in a mail buffer.</div><div>=3D=3D=3D=3D=3D</div></div><div><br></div><=
div>So what&#39;s the mystery? Emacs cannot tell if a function is advised u=
ntil it is evaluated and executed?</div><div><br></div><div><br></div><div>=
<br></div><div>In GNU Emacs 25.0.93.5 (x86_64-unknown-linux-gnu, GTK+ Versi=
on 2.24.23)</div><div>=C2=A0of 2016-05-05 built on=C2=A0</div><div>Reposito=
ry revision: 5e814e02f0b0b85fa486975eced09e4a7ed8ce5c</div><div>Windowing s=
ystem distributor &#39;The X.Org Foundation&#39;, version 11.0.60900000</di=
v><div>System Description:<span class=3D"Apple-tab-span" style=3D"white-spa=
ce:pre">	</span>Red Hat Enterprise Linux Workstation release 6.6 (Santiago)=
</div><div><br></div><div>Configured using:</div><div>=C2=A0&#39;configure =
--with-modules</div><div>=C2=A0--prefix=3D/home/kmodi/usr_local/apps/6/emac=
s/emacs-25</div><div>=C2=A0&#39;CPPFLAGS=3D-fgnu89-inline -I/home/kmodi/usr=
_local/6/include</div><div>=C2=A0-I/usr/include/freetype2 -I/usr/include&#3=
9; &#39;CFLAGS=3D-ggdb3 -O0&#39;</div><div>=C2=A0&#39;CXXFLAGS=3D-ggdb3 -O0=
&#39; &#39;LDFLAGS=3D-L/home/kmodi/usr_local/6/lib</div><div>=C2=A0-L/home/=
kmodi/usr_local/6/lib64 -ggdb3&#39;</div><div>=C2=A0PKG_CONFIG_PATH=3D/home=
/kmodi/usr_local/6/lib/pkgconfig:/home/kmodi/usr_local/6/lib64/pkgconfig:/c=
ad/adi/apps/gnu/linux/x86_64/6/lib/pkgconfig:/cad/adi/apps/gnu/linux/x86_64=
/6/lib64/pkgconfig:/usr/lib/pkgconfig:/usr/lib64/pkgconfig:/usr/share/pkgco=
nfig:/lib/pkgconfig:/lib64/pkgconfig&#39;</div><div><br></div><div>Configur=
ed features:</div><div>XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBU=
S GCONF GSETTINGS</div><div>NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE L=
IBOTF XFT ZLIB</div><div>TOOLKIT_SCROLL_BARS GTK2 X11 MODULES</div><div><br=
></div><div>Important settings:</div><div>=C2=A0 value of $LANG: en_US.UTF-=
8</div><div>=C2=A0 value of $XMODIFIERS: @im=3Dnone</div><div>=C2=A0 locale=
-coding-system: utf-8-unix</div><div><br></div><div>Major mode: Lisp Intera=
ction</div><div><br></div><div>Minor modes in effect:</div><div>=C2=A0 tool=
tip-mode: t</div><div>=C2=A0 global-eldoc-mode: t</div><div>=C2=A0 electric=
-indent-mode: t</div><div>=C2=A0 mouse-wheel-mode: t</div><div>=C2=A0 tool-=
bar-mode: t</div><div>=C2=A0 menu-bar-mode: t</div><div>=C2=A0 file-name-sh=
adow-mode: t</div><div>=C2=A0 global-font-lock-mode: t</div><div>=C2=A0 fon=
t-lock-mode: t</div><div>=C2=A0 blink-cursor-mode: t</div><div>=C2=A0 auto-=
composition-mode: t</div><div>=C2=A0 auto-encryption-mode: t</div><div>=C2=
=A0 auto-compression-mode: t</div><div>=C2=A0 line-number-mode: t</div><div=
>=C2=A0 transient-mark-mode: t</div><div><br></div><div>Recent messages:</d=
iv><div>For information about GNU Emacs and the GNU system, type C-h C-a.</=
div><div>Mark set</div><div>foo</div><div>nil [2 times]</div><div>Type C-x =
1 to delete the help window.</div><div><br></div><div><br></div><div>Load-p=
ath shadows:</div><div>None found.</div><div><br></div><div>Features:</div>=
<div>(shadow sort mail-extr emacsbug message dired format-spec rfc822 mml</=
div><div>mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodie=
s</div><div>mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader se=
ndmail</div><div>rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils c=
l-extra</div><div>help-fns help-mode easymenu cl-loaddefs pcase cl-lib time=
-date mule-util</div><div>tooltip eldoc electric uniquify ediff-hook vc-hoo=
ks lisp-float-type</div><div>mwheel x-win term/common-win x-dnd tool-bar dn=
d fontset image regexp-opt</div><div>fringe tabulated-list newcomment elisp=
-mode lisp-mode prog-mode register</div><div>page menu-bar rfn-eshadow time=
r select scroll-bar mouse jit-lock</div><div>font-lock syntax facemenu font=
-core frame cl-generic cham georgian</div><div>utf-8-lang misc-lang vietnam=
ese tibetan thai tai-viet lao korean</div><div>japanese eucjp-ms cp51932 he=
brew greek romanian slovak czech european</div><div>ethiopic indian cyrilli=
c chinese charscript case-table epa-hook</div><div>jka-cmpr-hook help simpl=
e abbrev minibuffer cl-preloaded nadvice</div><div>loaddefs button faces cu=
s-face macroexp files text-properties overlay</div><div>sha1 md5 base64 for=
mat env code-pages mule custom widget</div><div>hashtable-print-readable ba=
ckquote dbusbind inotify dynamic-setting</div><div>system-font-setting font=
-render-setting move-toolbar gtk x-toolkit x</div><div>multi-tty make-netwo=
rk-process emacs)</div><div><br></div><div>Memory information:</div><div>((=
conses 16 88305 8121)</div><div>=C2=A0(symbols 48 19775 0)</div><div>=C2=A0=
(miscs 40 47 172)</div><div>=C2=A0(strings 32 14598 4870)</div><div>=C2=A0(=
string-bytes 1 436699)</div><div>=C2=A0(vectors 16 12461)</div><div>=C2=A0(=
vector-slots 8 434860 5020)</div><div>=C2=A0(floats 8 168 71)</div><div>=C2=
=A0(intervals 56 264 4)</div><div>=C2=A0(buffers 976 12)</div><div>=C2=A0(h=
eap 1024 38706 719))</div><div><br></div></div><div dir=3D"ltr">-- <br></di=
v><p dir=3D"ltr">-- <br>
Kaushal Modi</p>

--001a1136e642d1e7570532a7bb85--




Acknowledgement sent to Kaushal Modi <kaushal.modi@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#23523; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 13 Jun 2016 22:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.