GNU bug report logs - #16807
24.3.50; changes in advice.el break multi-term.el

Previous Next

Package: emacs;

Reported by: henry atting <snd <at> online.de>

Date: Wed, 19 Feb 2014 07:33:04 UTC

Severity: normal

Tags: notabug, wontfix

Found in version 24.3.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 16807 in the body.
You can then email your comments to 16807 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#16807; Package emacs. (Wed, 19 Feb 2014 07:33:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to henry atting <snd <at> online.de>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 19 Feb 2014 07:33:05 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: henry atting <snd <at> online.de>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50; changes in advice.el break multi-term.el
Date: Wed, 19 Feb 2014 06:55:21 +0100
 In GNU Emacs 24.3.50.1 (i686-pc-linux-gnu, GTK+ Version 3.8.6)
 of 2014-02-08 on bye

I know multi-term.el is not part of emacs and, what is more, isn't
developed anymore as far as I can see. So take it much more as a brief
remark than as a bug report.

Following function and macro where removed from advice.el:

(defmacro ad-macro-p (definition)
  ;;"non-nil if DEFINITION is a macro."
  (` (eq (car-safe (, definition)) 'macro)))


(defun ad-advised-definition-p (definition)
  ;;"non-nil if DEFINITION was generated from advice information."
  (if (or (ad-lambda-p definition)
	  (ad-macro-p definition)
	  (ad-compiled-p definition))
      (let ((docstring (ad-docstring definition)))
	(and (stringp docstring)
	     (string-match
	      ad-advised-definition-docstring-regexp docstring)))))

But multi-term depends on it.

Putting these lines somewhere at the beginning of ~/.emacs works for me
as a workaround.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16807; Package emacs. (Fri, 28 Feb 2014 02:31:01 GMT) Full text and rfc822 format available.

Message #8 received at 16807 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: henry atting <snd <at> online.de>
Cc: 16807 <at> debbugs.gnu.org
Subject: Re: bug#16807: 24.3.50; changes in advice.el break multi-term.el
Date: Thu, 27 Feb 2014 21:30:30 -0500
OK, thanks for the info.
I don't think those definitions are coming back, so from the Emacs side
there isn't really anything to do here. It seems pretty odd that
multi-term would be using those, I doubt if it really needed to do so
(but I've never looked at it).




Added tag(s) notabug and wontfix. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 28 Feb 2014 02:31:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 16807 <at> debbugs.gnu.org and henry atting <snd <at> online.de> Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 28 Feb 2014 02:31:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16807; Package emacs. (Fri, 28 Feb 2014 13:58:01 GMT) Full text and rfc822 format available.

Message #15 received at 16807 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: henry atting <snd <at> online.de>
Cc: 16807 <at> debbugs.gnu.org
Subject: Re: bug#16807: 24.3.50; changes in advice.el break multi-term.el
Date: Fri, 28 Feb 2014 08:56:59 -0500
> (defmacro ad-macro-p (definition)

multi-term.el can use the new `macrop' instead.  But I don't see any use
of ad-macro-p in
https://github.com/milkypostman/multi-term/blob/master/multi-term.el

> (defun ad-advised-definition-p (definition)

multi-term.el doesn't really need this anyway, it seems.  I.e. you can
just replace it with (defun ad-advised-definition-p (def) t))

Both of these were too internal to be worth providing (even as obsolete
definitions).


        Stefan




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 29 Mar 2014 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 141 days ago.

Previous Next


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