From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: Inlinetask bodies begun with a link (or other invisible elements) are not folded correctly Date: Sun, 17 May 2015 19:24:32 +0200 Message-ID: <87bnhj86cv.fsf@nicolasgoaziou.fr> References: <5558B267.4040909@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47992) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yu2HP-0006Ig-Su for emacs-orgmode@gnu.org; Sun, 17 May 2015 13:23:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yu2HP-0003nb-4M for emacs-orgmode@gnu.org; Sun, 17 May 2015 13:23:11 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:41995) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yu2HO-0003nR-VI for emacs-orgmode@gnu.org; Sun, 17 May 2015 13:23:11 -0400 In-Reply-To: <5558B267.4040909@gmail.com> (Anders Johansson's message of "Sun, 17 May 2015 17:23:19 +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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Anders Johansson Cc: emacs-orgmode@gnu.org Hello, Anders Johansson writes: > I had an inlinetask that started with a link, like this: > > **************** Inlinetask heading > [[file:filename][link desc]] some text. Some more text. > **************** END > > It didn't fold on TAB. Looking into org-inlinetask-toggle-visibility I see > > ;; Inlinetask was folded: expand it. > ((get-char-property (1+ start) 'invisible) > > which is true for all kind of chars that are invisible I guess (even > if the value of the 'invisible property is 'org-link) Fixed. Thank you. Regards, -- Nicolas Goaziou