[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Need help with ad-do-it, it loops
From: |
Lennart Borgman |
Subject: |
Re: Need help with ad-do-it, it loops |
Date: |
Fri, 8 May 2009 23:22:26 +0200 |
2009/5/8 Lennart Borgman <address@hidden>:
> On Fri, May 8, 2009 at 9:30 PM, Stefan Monnier <address@hidden> wrote:
>>>>> I have a strange case of looping in MuMaMo/nXhtml. One user (Rémi) has
>>>>> this problem on Debian. This happens after starting from "emacs -Q"
>>>>> and just loading nXhtml and pressing RET in the scratch buffer. The
>>>>> output from the debugger says
>>>>
>>>>> Debugger entered--Lisp error: (error "Lisp nesting exceeds
>>>>> `max-lisp-eval-depth'")
>>>>> ad-Orig-syntax-ppss-flush-cache(192 192)
>>>>> apply(ad-Orig-syntax-ppss-flush-cache 192 192)
>>>>> ...
>>>>> ad-Orig-syntax-ppss-flush-cache(192 192)
>>>>> apply(ad-Orig-syntax-ppss-flush-cache 192 192)
>>>>> syntax-ppss-flush-cache(192 192)
>>>>> self-insert-command(1)
>>>>> newline(nil)
>>>>> call-interactively(newline nil nil)
>>>> [...]
>>>>> I can't understand how this can loop. Any suggestions?
>>>>
>>>> Well, since you carefully hid the answer in "...", we can't
>>>> really answer.
>>
>>> It just looping with the output
>>
>> So ad-Orig-syntax-ppss-flush-cache is now a function that calls
>> ad-Orig-syntax-ppss-flush-cache rather than being the original function
>> bound to syntax-ppss-flush-cache. This shouldn't happen.
>> To see it, try M-: (symbol-function 'ad-Orig-syntax-ppss-flush-cache).
>>
>> It means that it's either a bug in advice.el or that the function was
>> manipulated in odd ways which confused advice, or something like that.
>
> I have asked Rémi to check this. It looks like this problem disappears
> when he compiles Emacs himself from CVS.
Rémi has answered, please see
https://bugs.launchpad.net/nxhtml/+bug/369800. (I can not copy and
paste the answers here since the output contains "binary characters".)
- Need help with ad-do-it, it loops, Lennart Borgman, 2009/05/07
- AW: Need help with ad-do-it, it loops, klaus.berndl, 2009/05/08
- Re: Need help with ad-do-it, it loops, Stefan Monnier, 2009/05/08
- Re: Need help with ad-do-it, it loops, Lennart Borgman, 2009/05/08
- Re: Need help with ad-do-it, it loops, Stefan Monnier, 2009/05/08
- Re: Need help with ad-do-it, it loops, Lennart Borgman, 2009/05/08
- Re: Need help with ad-do-it, it loops,
Lennart Borgman <=
- Re: Need help with ad-do-it, it loops, Lennart Borgman, 2009/05/09
- Re: Need help with ad-do-it, it loops, Sven Joachim, 2009/05/09
- Re: Need help with ad-do-it, it loops, Lennart Borgman, 2009/05/09
- Message not available
- Message not available
- Re: Need help with ad-do-it, it loops, Lennart Borgman, 2009/05/11
- Re: Need help with ad-do-it, it loops, Romain Francoise, 2009/05/11
- Re: Need help with ad-do-it, it loops, Lennart Borgman, 2009/05/11