emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [PATCH] Re: [BUG] org-cycle on hidden inline task makes also oth


From: Jonas Hörsch
Subject: Re: [O] [PATCH] Re: [BUG] org-cycle on hidden inline task makes also other inline tasks visible
Date: Tue, 29 Oct 2013 23:38:31 +0100
User-agent: Notmuch/0.15.2 (http://notmuchmail.org) Emacs/24.3.1 (i686-pc-linux-gnu)

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?

From 1c6e67b06d0eb22c6d79387c8c6d07c23500f91d Mon Sep 17 00:00:00 2001
From: Jonas Hoersch <address@hidden>
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
---
 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
--- a/lisp/org-inlinetask.el
+++ b/lisp/org-inlinetask.el
@@ -315,7 +315,8 @@ If the task has an end part, also demote it."
      ((= end start))
      ;; Inlinetask was folded: expand it.
      ((get-char-property (1+ start) 'invisible)
-      (org-show-entry))
+      (outline-flag-region start end nil)
+      (org-cycle-hide-drawers 'children))
      (t (outline-flag-region start end t)))))
 
 (defun org-inlinetask-remove-END-maybe ()
-- 
1.8.4

Attachment: pgpB2Eiz096Tu.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]