From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Schmidt Subject: Re: [BUG] (error "Lisp nesting exceeds `max-lisp-eval-depth'") Date: Wed, 13 Feb 2013 11:38:42 +0000 (GMT) Message-ID: <87obfoqw8l@ch.ristopher.com> References: <867gmdj3x2.fsf@somewhere.org> <87ehgk7cfx@ch.ristopher.com> <86d2w45wuw.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:56276) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5afp-0007AV-0c for emacs-orgmode@gnu.org; Wed, 13 Feb 2013 06:38:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U5afl-0001j6-Tw for emacs-orgmode@gnu.org; Wed, 13 Feb 2013 06:38:48 -0500 Received: from ristopher.com ([146.185.21.93]:55744 helo=saturn.ch.ristopher.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5afl-0001il-Ls for emacs-orgmode@gnu.org; Wed, 13 Feb 2013 06:38:45 -0500 In-Reply-To: <86d2w45wuw.fsf@somewhere.org> (Sebastien Vauban's message of "Wed, 13 Feb 2013 11:31:03 +0100") 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@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org "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 Christopher