From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonas =?utf-8?Q?H=C3=B6rsch?= Subject: Re: [PATCH] Re: [BUG] org-cycle on hidden inline task makes also other inline tasks visible Date: Tue, 29 Oct 2013 23:38:31 +0100 Message-ID: <8738njd7o8.fsf@kafka.loc> References: <87ioyftsdn.fsf@kafka.loc> <87a9hsc9f9.fsf@kafka.loc> <87r4b3c0c8.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49743) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbHvw-0007IG-Ml for emacs-orgmode@gnu.org; Tue, 29 Oct 2013 18:38:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VbHvq-0005cz-OJ for emacs-orgmode@gnu.org; Tue, 29 Oct 2013 18:38:44 -0400 Received: from mail-ea0-x229.google.com ([2a00:1450:4013:c01::229]:46877) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbHvq-0005bv-FM for emacs-orgmode@gnu.org; Tue, 29 Oct 2013 18:38:38 -0400 Received: by mail-ea0-f169.google.com with SMTP id k11so249225eaj.28 for ; Tue, 29 Oct 2013 15:38:36 -0700 (PDT) In-Reply-To: <87r4b3c0c8.fsf@gmail.com> 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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Hej, On Tue, Oct 29 2013, Nicolas Goaziou wrote: > You need to detail which function is modified and how. > > Also, if you haven't signed FSF papers, you need to add TINYCHANGE at > the end of the message. thanks for bearing with me. is this alright? --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-org-inlinetask-fix-inlinetask-unfolding.patch Content-Transfer-Encoding: quoted-printable From=201c6e67b06d0eb22c6d79387c8c6d07c23500f91d Mon Sep 17 00:00:00 2001 From: Jonas Hoersch Date: Tue, 29 Oct 2013 17:07:49 +0100 Subject: [PATCH] org-inlinetask: fix inlinetask unfolding * lisp/org-inlinetask.el (org-inlinetask-toggle-visibility): Don't use `org-show-entry` as it cannot unfold an inlinetask properly. TINYCHANGE =2D-- lisp/org-inlinetask.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/org-inlinetask.el b/lisp/org-inlinetask.el index 112d3df..ca7572b 100644 =2D-- a/lisp/org-inlinetask.el +++ b/lisp/org-inlinetask.el @@ -315,7 +315,8 @@ If the task has an end part, also demote it." ((=3D end start)) ;; Inlinetask was folded: expand it. ((get-char-property (1+ start) 'invisible) =2D (org-show-entry)) + (outline-flag-region start end nil) + (org-cycle-hide-drawers 'children)) (t (outline-flag-region start end t))))) =20 (defun org-inlinetask-remove-END-maybe () =2D-=20 1.8.4 --=-=-=-- --==-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBAgAGBQJScDjoAAoJECrXDlJwTJyRDFMQAL7OikitQ0eYA9uFi0Wa5hr2 x3vjB0WMXsaZG599G0lkK1dl3ZcNZv4W5c5ApZFwTMGVc7LSnyYmEpouX/t9far9 3ED9VW1gywfyZuSR7MB/ZsCoeOg6R0mKUPTY7m9eJobgW66WC5BrV+mHQV8acQVZ vqdSq7y4gjgkBNZ7Fxy3p5EHW/kx672Aqyu0lAlBwF33/OU/qY5DdEqnzkk7BMDj s6s4fXYhSbhHAjQjuFDcfgf0Q8byNnRqiUupOoW5KZYl4uUhjR9+HcD54reyTyPq Oh/7fir/fEubPt3HROiTfL99ZySv68Sixqf+BVMPbTvB0uUBVEmsAhhXsazankmj bVQP9RXI40rn2dL7xsEqd61RMchrLUZs462Gs0PQlY9bUx6vUKzXduD+iLygAxiT AOkfxqEk620HFDt7gfAy92VgUeGDO9d7ylHTMPErHd9/gpFcLBL8GJOZlBS8rhKf QIpUGmi6IC6NMVp2+Aw89wbwmMqTq0cxSRG5L7XXuVMhptNl1NZ7gB2dYv3IBYMa 52YyTd/3D38G8G4pqsIipyO+2y3T9+Lwz6Wi1EJcTTQU7DCj4lLh7YNugyWkQ8pT 86jRHyf9SEL0L/XXXjfG95TaP5I1dMdkwkFnAzhjKMFezr8ih/Ib5YwmQ2/8arSA qFyrLU/6iQ4TBdJ5Ldt1 =8fhC -----END PGP SIGNATURE----- --==-=-=--