Bernt Hansen <be...@norang.ca> writes:

> Carsten Dominik <carsten.domi...@gmail.com> writes:
>
>> On Jul 15, 2010, at 3:30 AM, Bernt Hansen wrote:
>>
>>> Bernt Hansen <be...@norang.ca> writes:
>>>
>>>>    5. org-reveal (C-c C-r) works slightly differently in Emacs 22 and
>>>>       23.  I actually prefer the Emacs 22 version.
>>>>
>>>>       If I am in a folded buffer and C-c C-r on a headline the
>>>>       following task is /not/ revealed in Emacs 23 but it is in
>>>>       Emacs 22.
>>
>> What do you mean by "the following task".
>> Can you make a step-by-step guide, please?

What do you mean by "the following task"  ;)

My confusion seems to be what is the 'following headline' in the
description for org-show-following-headline.

This turns out to be pilot error I think.  It's a combination of
narrowing to subtree and not understanding that org-reveal shows only
the next SIBLING task (as opposed to the next child task.)

>
> Okay.  Of course today I can't reproduce that behaviour at will :-P
> I'll post a recipe when I can reproduce it reliably with a simple
> example.

Here;s my recipe:

This works the same in Emacs 22 and Emacs 23 so I was mistaken about it
being an Emacs 23 only issue -- I just notice this more in Emacs 23 at
work.

,----[ sample.org ]
| * one
| * two
| ** two.one
| ** two.two
| *** TODO two.two.one
| **** TODO next subtask
| *** TODO two.two.three
| ** two.three
| * three
`----

If you put the point on the headline for two.two
C-x n s
M-x hide-other RET

then

C-c C-r

seems to do nothing.

It does not reveal the task two.two.one which is what I want so I can
safely edit the content of two.two.

C-c C-r seems to do nothing when the buffer is narrowed to subtree and
there is no sibling task after the current task you want to reveal --
even if that task has child tasks.  I think it is working as designed
but it isn't as convenient as it could be.

I have
   org-show-hierarchy-above t
and
   org-show-following-heading t

I expected (incorrectly it seems) that org-show-following-heading would
show the next heading in the file (i.e. two.two.one (the child of
two.two) not the sibling which is not part of the narrowed buffer)

Regards,
Bernt

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to