From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Garreau\, Alexandre" Subject: Fixed [Was: Re: org-indent-line loops infinitely (when orgstruct++)] Date: Wed, 24 Oct 2018 17:45:23 +0200 Message-ID: <87o9bj9wmk.fsf@portable.galex-713.eu> References: <877ei7bbty.fsf@portable.galex-713.eu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41526) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gFLUs-00066i-CN for emacs-orgmode@gnu.org; Wed, 24 Oct 2018 11:55:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gFLUr-0002ek-K9 for emacs-orgmode@gnu.org; Wed, 24 Oct 2018 11:55:02 -0400 Received: from portable.galex-713.eu ([2a00:5884:8305::1]:45566) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gFLUr-0002eV-BV for emacs-orgmode@gnu.org; Wed, 24 Oct 2018 11:55:01 -0400 Received: from localhost ([::1] helo=portable.galex-713.eu) by portable.galex-713.eu with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gFLLY-0005hj-4Y for emacs-orgmode@gnu.org; Wed, 24 Oct 2018 17:45:24 +0200 In-Reply-To: <877ei7bbty.fsf@portable.galex-713.eu> (Alexandre Garreau's message of "Wed, 24 Oct 2018 17:31:37 +0200") 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" To: emacs-orgmode@gnu.org On 2018-10-24 at 17:31, Garreau, Alexandre wrote: > I finally found how people naturally made their mail with org, with > orgstruct++-mode, that I just tried. However that triggers an infinite > loop error (=E2=80=9Ccar: Lisp nesting exceeds =E2=80=98max-lisp-eval-dep= th=E2=80=99=E2=80=9D), because > then indent-line-function refers to org-indent-line, which when > orgstruct-is-++ is true, calls indent-line-function. > > Why that garbage? how is it supposed to be? Ok, then (cl-cadadr (assq 'indent-line-function org-fb-vars)) is supposed *not* to return org-indent-line, as now I cleaned my hooks (some modes where called several times redundantly in message-mode, text-mode, etc.), I see no more problems, sorry for the disturbance.