unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: "Rémi Letot" <remi@lybrafox.be>,
	"Emacs-Devel devel" <emacs-devel@gnu.org>
Subject: Re: Need help with ad-do-it, it loops
Date: Fri, 8 May 2009 23:22:26 +0200	[thread overview]
Message-ID: <e01d8a50905081422q7d431d23j9471c65177fc4421@mail.gmail.com> (raw)
In-Reply-To: <e01d8a50905081313g410a8eaaufa9775556457659f@mail.gmail.com>

2009/5/8 Lennart Borgman <lennart.borgman@gmail.com>:
> On Fri, May 8, 2009 at 9:30 PM, Stefan Monnier <monnier@iro.umontreal.ca> 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".)




  reply	other threads:[~2009-05-08 21:22 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-07 22:15 Need help with ad-do-it, it loops Lennart Borgman
2009-05-08  9:01 ` AW: " klaus.berndl
2009-05-08 10:30   ` Lennart Borgman
2009-05-08 13:26 ` Stefan Monnier
2009-05-08 16:28   ` Lennart Borgman
2009-05-08 19:30     ` Stefan Monnier
2009-05-08 20:13       ` Lennart Borgman
2009-05-08 21:22         ` Lennart Borgman [this message]
2009-05-09 10:53           ` Lennart Borgman
2009-05-09 17:06             ` Sven Joachim
2009-05-09 17:26               ` Lennart Borgman
     [not found]             ` <e01d8a50905090405x2f1a5dc8s64d05cda7fc51366@mail.gmail.com>
     [not found]               ` <87iqk9oq03.fsf@elegiac.orebokech.com>
2009-05-11  6:38                 ` Lennart Borgman
2009-05-11 14:51                   ` Romain Francoise
2009-05-11 15:14                     ` Lennart Borgman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e01d8a50905081422q7d431d23j9471c65177fc4421@mail.gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=remi@lybrafox.be \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).