From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: [BUG] (error "Lisp nesting exceeds `max-lisp-eval-depth'") Date: Wed, 13 Feb 2013 11:31:03 +0100 Message-ID: <86d2w45wuw.fsf@somewhere.org> References: <867gmdj3x2.fsf@somewhere.org> <87ehgk7cfx@ch.ristopher.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Christopher, Christopher Schmidt wrote: > Sebastien Vauban writes: >> Since the last pull I made, I can't expand anymore BBDB aliases in >> Gnus... because of Org! >> Debugger entered--Lisp error: (error "Lisp nesting exceeds >> max-lisp-eval-depth'") > > It looks like this is orgstruct-mode and yas-snippet both hijacking the > TAB key and ultimately falling back to each other. Could you please > give master + this patch a try? > > --- a/lisp/org.el > +++ b/lisp/org.el > @@ -8672,7 +8672,8 @@ should be checked in for a command to execute outside of tables." > 'item-body))) > (org-run-like-in-org-mode ',fun) > t)) > - (let ((binding (let ((orgstruct-mode)) (key-binding ,key)))) > + (let* ((orgstruct-mode) > + (binding (key-binding ,key))) > (if (keymapp binding) > (set-temporary-overlay-map binding) > (call-interactively Well, it seems to yes. Thanks! What's weird is that I applied the patch, and then did C-M-x with the cursor in the function. I did test composing an email, and it still did not work. I restarted Emacs to be really, really sure, and now it works! So, I don't know what's bad in the above procedure (C-M-x of the fucntion), but your patch works, yes. Best regards, Seb -- Sebastien Vauban