[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#21007: Acknowledgement (25.0.50; Around advice doesn't seem to work)

From: Mark Karpov
Subject: bug#21007: Acknowledgement (25.0.50; Around advice doesn't seem to work)
Date: Wed, 08 Jul 2015 14:10:04 +0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

address@hidden (GNU bug Tracking System) writes:

> Thank you for filing a new bug report with debbugs.gnu.org.
> This is an automatically generated reply to let you know your message
> has been received.
> Your message is being forwarded to the package maintainers and other
> interested parties for their attention; they will reply in due course.
> Your message has been sent to the package maintainer(s):
>  address@hidden
> If you wish to submit further information on this problem, please
> send it to address@hidden
> Please do not send mail to address@hidden unless you wish
> to report a problem with the Bug-tracking system.

I've many pieces of advice in my configuration file, they all work fine
(without ‘ad-activate’, just with ‘advice-add’). I didn't know that I
need to explicitly activate them.

If advice need to be activated, there should be consistency in
that. Either all pieces of advice must be activated or none. But this is
just my opinion, perhaps ‘advice-add’ can activate stuff by default or

As for ‘ad-activate’, I only can say that despite the fact that my
advice is visible in description of ‘dired-create-directory’, when I

  (ad-activate 'dired-create-directory)

I get clear message that ‘dired-create-directory’ is not advised. This
blows my mind.

Debugger entered--Lisp error: (error "ad-activate: `dired-create-directory' is 
not advised")
  signal(error ("ad-activate: `dired-create-directory' is not advised"))
  error("ad-activate: `%s' is not advised" dired-create-directory)
  (progn (mk-disable-ido (quote dired-create-directory)))
  eval((progn (mk-disable-ido (quote dired-create-directory))) t)
  funcall-interactively(eval-last-sexp nil)
  #<subr call-interactively>(eval-last-sexp nil nil)
  ad-Advice-call-interactively(#<subr call-interactively> eval-last-sexp nil 
  apply(ad-Advice-call-interactively #<subr call-interactively> (eval-last-sexp 
nil nil))
  call-interactively(eval-last-sexp nil nil)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]