emacs-devel
[Top][All Lists]
Advanced

[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: Sat, 9 May 2009 12:53:56 +0200

2009/5/8 Lennart Borgman <address@hidden>:
> 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".)

It looks like there is still some problem with the Emacs snap-shot on
Debian/Ubuntu. For example syntax-ppss-flush-cache shows up adviced in
the Emacs that Rémi built himself from CVS, but not in the snapshot
that Rémi have been using:

  "(Rémi's) version of emacs-snapshot is 1:20090501-1, taken on
http://emacs.orebokech.com/ for debian sid"

I do not know at all how this is organized. Romain and/or Sven, can
you please help us with this?




reply via email to

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