From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: Need help with ad-do-it, it loops Date: Sat, 9 May 2009 12:53:56 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1241866461 32013 80.91.229.12 (9 May 2009 10:54:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 9 May 2009 10:54:21 +0000 (UTC) Cc: =?UTF-8?Q?R=C3=A9mi_Letot?= , Emacs-Devel devel To: Stefan Monnier , Sven Joachim , Romain Francoise Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 09 12:54:12 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M2kC3-0004mC-Jr for ged-emacs-devel@m.gmane.org; Sat, 09 May 2009 12:54:11 +0200 Original-Received: from localhost ([127.0.0.1]:49613 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M2kC3-0003f8-4O for ged-emacs-devel@m.gmane.org; Sat, 09 May 2009 06:54:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M2kBy-0003ez-5g for emacs-devel@gnu.org; Sat, 09 May 2009 06:54:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M2kBt-0003aZ-6w for emacs-devel@gnu.org; Sat, 09 May 2009 06:54:05 -0400 Original-Received: from [199.232.76.173] (port=47626 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M2kBt-0003aQ-0W for emacs-devel@gnu.org; Sat, 09 May 2009 06:54:01 -0400 Original-Received: from mail-bw0-f161.google.com ([209.85.218.161]:64148) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M2kBs-0003DL-1a for emacs-devel@gnu.org; Sat, 09 May 2009 06:54:00 -0400 Original-Received: by bwz5 with SMTP id 5so1852549bwz.42 for ; Sat, 09 May 2009 03:53:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=KPp+vexDz9SFSSdTr9shPDtaGbut/U2PpqtBROXzkic=; b=tb83jE6Jtcg2HCdr2yHlX7bC87tFEPOIiJUpFGdtiP101Lt+Pg+wkJzydKv5yOAehg Yjz9gdsWcY/3tV+GSW3BbJcVUjX7fu9ZMlVZ7/s01GuJmDu8s4peraFRZfWLQj3O6q8D Nv0Ax6R19mHBgVye/rEMMjHCdDilh/5oSsu8w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=lB6vai7euY2eqvqRobJ6fa+MeW5XfcN4Ar22R7kWC8P39JqdebdOp+vy4SbiCWVjhk McLPEPN7lmodZpWYB2BzaKn6D1zFmgI8rn4cs0f9upFIKe3mJXGD/Y0s/e1ObUL76ALb JvjFmoxBqQaB42Xp2il8f3hIAMCjXDTpSttn4= Original-Received: by 10.223.126.66 with SMTP id b2mr2741822fas.18.1241866436970; Sat, 09 May 2009 03:53:56 -0700 (PDT) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:110795 Archived-At: 2009/5/8 Lennart Borgman : > 2009/5/8 Lennart Borgman : >> On Fri, May 8, 2009 at 9:30 PM, Stefan Monnier wrote: >>>>>> I have a strange case of looping in MuMaMo/nXhtml. One user (R=C3=A9= 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'") >>>>>> =C2=A0 ad-Orig-syntax-ppss-flush-cache(192 192) >>>>>> =C2=A0 apply(ad-Orig-syntax-ppss-flush-cache 192 192) >>>>>> =C2=A0 ... >>>>>> =C2=A0 ad-Orig-syntax-ppss-flush-cache(192 192) >>>>>> =C2=A0 apply(ad-Orig-syntax-ppss-flush-cache 192 192) >>>>>> =C2=A0 syntax-ppss-flush-cache(192 192) >>>>>> =C2=A0 self-insert-command(1) >>>>>> =C2=A0 newline(nil) >>>>>> =C2=A0 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. =C2=A0This 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=C3=A9mi to check this. It looks like this problem disappe= ars >> when he compiles Emacs himself from CVS. > > R=C3=A9mi 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=C3=A9mi built himself from CVS, but not in the snapshot that R=C3=A9mi have been using: "(R=C3=A9mi'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?