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 14:10:19 +0100 Message-ID: <86txpgl5qc.fsf@somewhere.org> References: <867gmdj3x2.fsf@somewhere.org> <87ehgk7cfx@ch.ristopher.com> <86d2w45wuw.fsf@somewhere.org> <87obfoqw8l@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: >> 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. > > That is expected. The function is only executed the very first time you > enable orgstruct\(++\)-mode. > > orgstruct-mode is an ugly hack. So is yasnippet. There is no fix for > this problem, just a workaround that can introduce other issues in > somewhat rare and obscure corner cases. > > I applied the patch. > > 7c27e57 org.el: Disable orgstruct-mode when falling back to original command Thanks for the explanation to the mystery, and for the patch. Best regards, Seb -- Sebastien Vauban