emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [BUG] (error "Lisp nesting exceeds `max-lisp-eval-depth'")


From: Sebastien Vauban
Subject: Re: [O] [BUG] (error "Lisp nesting exceeds `max-lisp-eval-depth'")
Date: Wed, 13 Feb 2013 11:31:03 +0100
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.93 (windows-nt)

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




reply via email to

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