emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matt Lundin <mdl@imapmail.org>
To: Cassio Koshikumo <ckoshikumo@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Two issues with :VISIBILITY: property
Date: Tue, 07 Dec 2010 06:30:12 -0500	[thread overview]
Message-ID: <87bp4xx1kr.fsf@fastmail.fm> (raw)
In-Reply-To: <AANLkTi=MOAohfuAhGGsev7xWev8iE4BrppPPhWfk4EER@mail.gmail.com> (Cassio Koshikumo's message of "Mon, 6 Dec 2010 22:12:45 -0200")

Cassio Koshikumo <ckoshikumo@gmail.com> 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

  reply	other threads:[~2010-12-07 11:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-29 16:04 Two issues with :VISIBILITY: property Cassio Koshikumo
2010-12-06  4:41 ` Matt Lundin
2010-12-07  0:12   ` Cassio Koshikumo
2010-12-07 11:30     ` Matt Lundin [this message]
2010-12-09  9:49     ` Carsten Dominik
2010-12-11  3:55       ` Cassio Koshikumo
2010-12-06  4:45 ` [PATCH] Revert "Fix :VISIBILITY: handling of nested "folded" properties" Matt Lundin
2010-12-06  9:07   ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bp4xx1kr.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=ckoshikumo@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).