[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: advice.el and bytecomp: Did something change recently?
From: |
T.V Raman |
Subject: |
Re: advice.el and bytecomp: Did something change recently? |
Date: |
Fri, 17 Apr 2020 12:45:48 -0700 |
this is what I meant by "it's hard to debug with the complexity of
Emacspeak".
I've failed to produce a minimal repro case --- what I do observe:
1. Some advice defs are not taking effect i.e. I dont get the
expected auditory feedback.
2. Evaluating the advice definition makes it work, even though the
file containing the advice was already loaded when it was failing.
Stefan Monnier writes:
> > Is there any additional information that I can provide
>
> A reproduceable test case?
> When I try
>
> M-: (defadvice sm-foo (before test activate) (message "before-advice"))
> RET
> M-: (defun sm-foo () (message "body")) RET
> M-: (sm-foo) RET
>
> the advice works just fine.
>
>
> Stefan
--
Id: kg:/m/0285kf1
--
Id: kg:/m/0285kf1