From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Re: Two issues with :VISIBILITY: property Date: Tue, 07 Dec 2010 06:30:12 -0500 Message-ID: <87bp4xx1kr.fsf@fastmail.fm> References: <87bp4z1pii.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=37602 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PPvkP-0006h6-71 for emacs-orgmode@gnu.org; Tue, 07 Dec 2010 06:30:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PPvkM-0004wi-Uh for emacs-orgmode@gnu.org; Tue, 07 Dec 2010 06:30:16 -0500 Received: from out2.smtp.messagingengine.com ([66.111.4.26]:38309) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PPvkM-0004wH-Q6 for emacs-orgmode@gnu.org; Tue, 07 Dec 2010 06:30:14 -0500 In-Reply-To: (Cassio Koshikumo's message of "Mon, 6 Dec 2010 22:12:45 -0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Cassio Koshikumo Cc: emacs-orgmode@gnu.org Cassio Koshikumo writes: > Thanks a lot, Matt! The patch did correct the second issue. > > About the first one: > >> I cannot replicate this. When I move the headlines, they remain folded. > > It's strange that you cannot replicate this behavior. I got today's > snapshot and disabled all my customizations to try a vanilla install, > and it's still there. > > Just to make sure we're talking about the same thing: when you move > the Level 1 tree (the one that has the PROPERTY drawer) it really > keeps folded? I ask because I noticed that, if I move one of its > children, everything remains folded. But if I move the parent tree, > the entire tree gets expanded. > > By the way, it doesn't even take a VISIBILITY setting to cause this. Say I have: > > * Chapter 1 > Text under Chapter 1. > > ** Section A > Text under Section A. > > * Chapter 2 > Text under Chapter 2. > > ** Section B > Text under Section B. > > Using S-TAB, I go to OVERVIEW: > > * Chapter 1... > * Chapter 2... > > Now I place the cursor on "Chapter 1" and press TAB: > > * Chapter 1 > Text under Chapter 1. > > ** Section A... > > * Chapter 2... > > Right now, "Section A" remains folded, which is what you'd expect > (because "Chapter 1" is only showing its children). But, if I move > "Chapter 1" down, putting it after "Chapter 2", "Section A" gets > expanded: > > * Chapter 2... > > * Chapter 1 > Text under Chapter 1. > > ** Section A > Text under Section A. > > This behavior is absolutely consistent here... If you really cannot > replicate it, I wonder what could be causing it in my installation. You are right. I can replicate this now, following the steps above. I'm not sure whether this is the intended behavior or not. Perhaps someone who understands the code better than I do can chime in.... Best, Matt