From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ivan Andrus Newsgroups: gmane.emacs.bugs Subject: bug#19327: 24.4.51; Wrong advice class reported Date: Tue, 9 Dec 2014 08:44:51 -0700 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b15ae2b7a00730509ca6c09 X-Trace: ger.gmane.org 1418139987 24026 80.91.229.3 (9 Dec 2014 15:46:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Dec 2014 15:46:27 +0000 (UTC) To: 19327@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 09 16:46:20 2014 Return-path: Envelope-to: geb-bug-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 1XyMzT-0006xe-GU for geb-bug-gnu-emacs@m.gmane.org; Tue, 09 Dec 2014 16:46:19 +0100 Original-Received: from localhost ([::1]:41094 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XyMzS-0007kh-LO for geb-bug-gnu-emacs@m.gmane.org; Tue, 09 Dec 2014 10:46:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43173) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XyMzH-0007cJ-Az for bug-gnu-emacs@gnu.org; Tue, 09 Dec 2014 10:46:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XyMzD-00075P-03 for bug-gnu-emacs@gnu.org; Tue, 09 Dec 2014 10:46:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34375) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XyMzC-00075L-SW for bug-gnu-emacs@gnu.org; Tue, 09 Dec 2014 10:46:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XyMzC-0005fF-Ml for bug-gnu-emacs@gnu.org; Tue, 09 Dec 2014 10:46:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ivan Andrus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Dec 2014 15:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 19327 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.141813990321691 (code B ref -1); Tue, 09 Dec 2014 15:46:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 Dec 2014 15:45:03 +0000 Original-Received: from localhost ([127.0.0.1]:59821 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XyMyE-0005dn-SF for submit@debbugs.gnu.org; Tue, 09 Dec 2014 10:45:03 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:41047) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XyMyC-0005d7-Q2 for submit@debbugs.gnu.org; Tue, 09 Dec 2014 10:45:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XyMyB-0006Hf-Co for submit@debbugs.gnu.org; Tue, 09 Dec 2014 10:45:00 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:57818) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XyMyB-0006HS-9u for submit@debbugs.gnu.org; Tue, 09 Dec 2014 10:44:59 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42709) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XyMy6-0006vV-PJ for bug-gnu-emacs@gnu.org; Tue, 09 Dec 2014 10:44:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XyMy5-0006Ai-4s for bug-gnu-emacs@gnu.org; Tue, 09 Dec 2014 10:44:54 -0500 Original-Received: from mail-pa0-x22f.google.com ([2607:f8b0:400e:c03::22f]:48193) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XyMy4-0006AQ-P3 for bug-gnu-emacs@gnu.org; Tue, 09 Dec 2014 10:44:53 -0500 Original-Received: by mail-pa0-f47.google.com with SMTP id kq14so781632pab.20 for ; Tue, 09 Dec 2014 07:44:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=vaNxIeq3FAIoGaaA8L3oHelWfdMPQKUS2yFbMdUWPkI=; b=Mh1UkjkVJ1eo8BQ0A8L+5H1GamPRzWZRrM2//32l7ol6u+KjdQtg8C0TLHtg7xJLx5 7RAbsMTtdzdiUGvnOyeo6Xf95nlXvtNoo0e/3io6Ew1DsvY1sb3VFmLP0LaemKU0aHhR rMUd23YACYGx+u95pUzWbej7XuBCPEvQfLh9Nv4kls+q/fXOf+5frGT/Re9gMA1rfElE +o+3fHvsI4ZAkaoY6S74c2s+fc0i+dN7Eu3BWo3NKxmVZa74yUVAtaAYhnTbeWwrY1v3 dC+wpu2ApDqEMci7R9eESt5cK7saYpAC86JxWOmsKeC/eMKxmy3Jhg5cx0L12QsK6NPj q78w== X-Received: by 10.68.131.3 with SMTP id oi3mr6470712pbb.27.1418139891529; Tue, 09 Dec 2014 07:44:51 -0800 (PST) Original-Received: by 10.70.16.4 with HTTP; Tue, 9 Dec 2014 07:44:51 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:97081 Archived-At: --047d7b15ae2b7a00730509ca6c09 Content-Type: text/plain; charset=UTF-8 Starting from emacs -Q, evaluate the following: (defadvice save-buffers-kill-emacs (before allow-elnode-to-die-when-quitting activate) (set-process-query-on-exit-flag (cdr-safe (assoc 8314 elnode-server-socket)) nil)) Then C-h f save-buffers-kill-emacs RET. The results I get have the following line: :around advice: `ad-Advice-save-buffers-kill-emacs' Notice that the advice was defined as before advice (and errors if `ad-do-it' is used), but is reported as :around advice. -Ivan Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-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: Undo! Quit save-buffers-kill-emacs is undefined [2 times] s-\ is undefined toggle-input-method: Recursive use of `toggle-input-method' Quit Undo! Making completion list... Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils help-mode easymenu advice help-fns time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer 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 make-network-process cocoa ns multi-tty emacs) Memory information: ((conses 16 74709 7163) (symbols 48 18001 0) (miscs 40 57 299) (strings 32 10711 4417) (string-bytes 1 288430) (vectors 16 9505) (vector-slots 8 387032 7040) (floats 8 57 405) (intervals 56 278 24) (buffers 960 13)) --047d7b15ae2b7a00730509ca6c09 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Starting from emacs -Q, evaluate the following:
(defadvice save-buffers-kill-emacs
=C2=A0=C2=A0=C2=A0=C2=A0(b= efore allow-elnode-to-die-when-quitting activate)
=C2=A0=C2=A0(set-pr= ocess-query-on-exit-flag
=C2=A0=C2=A0 (cdr-safe (assoc 8314 elnode-se= rver-socket)) nil))

Then C-h f save-buffers-kill-emacs RET= .=C2=A0 The results I get have the
following line:

= =C2=A0=C2=A0=C2=A0=C2=A0:around advice: `ad-Advice-save-buffers-kill-emacs&= #39;

Notice that the advice was defined as before advice (= and errors if
`ad-do-it' is used), but is reported as :around adv= ice.

-Ivan


Important settings:=
=C2=A0=C2=A0value of $LANG: en_US.UTF-8
=C2=A0=C2=A0locale-cod= ing-system: utf-8-unix

Major mode: Lisp Interaction
<= div style=3D"color:rgb(0,0,0);font-family:Times,sans-serif;font-size:14px">=
Minor modes in effect:
=C2=A0=C2=A0tooltip-mode: t
= =C2=A0=C2=A0electric-indent-mode: t
=C2=A0=C2=A0mouse-wheel-mode: t
=C2=A0=C2=A0tool-bar-mode: t
=C2=A0=C2=A0menu-bar-mode: t
<= div style=3D"color:rgb(0,0,0);font-family:Times,sans-serif;font-size:14px">= =C2=A0=C2=A0file-name-shadow-mode: t
=C2=A0=C2=A0global-font-lock-mod= e: t
=C2=A0=C2=A0font-lock-mode: t
=C2=A0=C2=A0blink-cursor-mod= e: t
=C2=A0=C2=A0auto-composition-mode: t
=C2=A0=C2=A0auto-encr= yption-mode: t
=C2=A0=C2=A0auto-compression-mode: t
=C2=A0=C2= =A0line-number-mode: t
=C2=A0=C2=A0transient-mark-mode: t

<= /div>
Recent messages:
Undo!
Quit
save-buffers-kill-emacs=
<C-tab> is undefined [2 times]

s-\ is undefin= ed
toggle-input-method: Recursive use of `toggle-input-method'
Quit
Undo!
Making completion list...

Load-= path shadows:
None found.

Features:
(shadow s= ort gnus-util mail-extr emacsbug message format-spec rfc822 mml
mml-s= ec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-ut= ils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util
mail-prsv= r mail-utils help-mode easymenu advice help-fns time-date
tooltip e= lectric uniquify ediff-hook vc-hooks lisp-float-type mwheel
ns-win to= ol-bar dnd fontset image regexp-opt fringe tabulated-list
newcommen= t lisp-mode prog-mode register page menu-bar rfn-eshadow timer
select= scroll-bar mouse jit-lock font-lock syntax facemenu font-core
frame = cham georgian utf-8-lang misc-lang vietnamese tibetan thai
tai-viet = lao korean japanese hebrew greek romanian slovak czech european
ethio= pic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help
si= mple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp
files text-properties overlay sha1 md5 base64 format env code-pages mule<= /div>
custom widget hashtable-print-readable backquote make-network-process=
cocoa ns multi-tty emacs)

Memory information:
=
((conses 16 74709 7163)
(symbols 48 18001 0)
(miscs 40 57 299)=
(strings 32 10711 4417)
(string-bytes 1 288430)
(vectors= 16 9505)
(vector-slots 8 387032 7040)
(floats 8 57 405)
<= div style=3D"color:rgb(0,0,0);font-family:Times,sans-serif;font-size:14px">= (intervals 56 278 24)
(buffers 960 13))

--047d7b15ae2b7a00730509ca6c09--