From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [bug] org-indent Date: Fri, 23 Jun 2017 13:53:59 +0200 Message-ID: <87wp826ht4.fsf@nicolasgoaziou.fr> References: <871sqbovrd.fsf@gmx.us> 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]:49016) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dONA4-0000wg-Uz for emacs-orgmode@gnu.org; Fri, 23 Jun 2017 07:54:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dONA4-00087r-5Y for emacs-orgmode@gnu.org; Fri, 23 Jun 2017 07:54:05 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:44404) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dONA3-00087c-VL for emacs-orgmode@gnu.org; Fri, 23 Jun 2017 07:54:04 -0400 In-Reply-To: <871sqbovrd.fsf@gmx.us> (rasmus@gmx.us's message of "Fri, 23 Jun 2017 12:15:18 +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: Rasmus Cc: emacs-orgmode@gnu.org Hello, Rasmus writes: > There's a bug in =E2=80=98org-indent--compute-prefixes=E2=80=99 near ";; = Inline tasks line > prefixes". > > If (bound-and-true-p org-inlinetask-show-first-star) is non-nil, then Org > tries to compute (substring heading-prefix 1). But the initial value of > =E2=80=98heading-prefix=E2=80=99 seems to be "", at least some of the tim= e (if > =E2=80=98indentation=E2=80=99 is 0). In my Emacs this results in an erro= r. You're right. I fixed the issue, along with another one, which was preventing fontification from first star in that case. Thank you. Regards, --=20 Nicolas Goaziou