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: Fri, 8 May 2009 23:22:26 +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 1241817876 5150 80.91.229.12 (8 May 2009 21:24:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 May 2009 21:24:36 +0000 (UTC) Cc: =?UTF-8?Q?R=C3=A9mi_Letot?= , Emacs-Devel devel To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 08 23:24:26 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 1M2XWg-0003Vz-1N for ged-emacs-devel@m.gmane.org; Fri, 08 May 2009 23:22:38 +0200 Original-Received: from localhost ([127.0.0.1]:42612 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M2XWf-00065s-4A for ged-emacs-devel@m.gmane.org; Fri, 08 May 2009 17:22:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M2XWa-000659-C5 for emacs-devel@gnu.org; Fri, 08 May 2009 17:22:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M2XWV-00062Y-N5 for emacs-devel@gnu.org; Fri, 08 May 2009 17:22:31 -0400 Original-Received: from [199.232.76.173] (port=32869 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M2XWV-00062V-Iz for emacs-devel@gnu.org; Fri, 08 May 2009 17:22:27 -0400 Original-Received: from mail-fx0-f169.google.com ([209.85.220.169]:45008) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M2XWV-0007je-46 for emacs-devel@gnu.org; Fri, 08 May 2009 17:22:27 -0400 Original-Received: by fxm17 with SMTP id 17so1707157fxm.42 for ; Fri, 08 May 2009 14:22:26 -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=FuOBMcKbT+8kOdhfhxoYIRAFqRU7/gjebtwZmknV+js=; b=ip0k/gDmTw5e/YiQKubEMou7VC6kc8hbewhwI0xQ6Nw/tHYMSV/A/tpTJlNHlXbos1 ADU3yJDMcOxyiaeAxGDVgSRj1xRbwsTiWJSz9ts4hQdCDSv25OmPoLAxv/U9eQj50H8R 9UmBpx5tmusw8f5cxneOHLtheI4nCfphyiXzc= 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=DWF2TJpmjqyQnJinGdajzauzrNsj6xnte+65GXR/z1zEpmGMiajIUHx6vNVWTVEzjJ ha2SLalDqHPDy/yDO/SkK/UpFxQ3/mnC/PZdP4uZFyCP6UX7SY9LCYuXUExgYRCHOiea salEuxdT9F7MUIA8H7lLe0Ezbw4A2i9yv6nEo= Original-Received: by 10.223.115.12 with SMTP id g12mr2468620faq.92.1241817746472; Fri, 08 May 2009 14:22:26 -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:110788 Archived-At: 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=A9m= i) 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 disappea= rs > 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".)