* folding broken in sparse TODO tree
@ 2007-06-01 0:38 Jason Dunsmore
2007-06-01 7:07 ` Carsten Dominik
0 siblings, 1 reply; 7+ messages in thread
From: Jason Dunsmore @ 2007-06-01 0:38 UTC (permalink / raw)
To: emacs-orgmode
I think this may be a bug. When I show a sparse TODO tree with
org-show-todo-tree, 4th level and deeper headings don't unfold
correctly.
If you put this in an empty org-mode buffer:
* level 1
notes
** level 2
notes
*** level 3
notes
**** TODO level 4
notes
Then press C-c C-v, go to the level 4 header, and press Tab, it isn't
unfolded and an "EMPTY ENTRY" message is displayed. This is with
org-mode 7.75 and GNU Emacs 22.0.97.1.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: folding broken in sparse TODO tree
2007-06-01 0:38 folding broken in sparse TODO tree Jason Dunsmore
@ 2007-06-01 7:07 ` Carsten Dominik
2007-06-01 20:57 ` Jason Dunsmore
0 siblings, 1 reply; 7+ messages in thread
From: Carsten Dominik @ 2007-06-01 7:07 UTC (permalink / raw)
To: Jason Dunsmore; +Cc: emacs-orgmode
On Jun 1, 2007, at 2:38, Jason Dunsmore wrote:
> I think this may be a bug. When I show a sparse TODO tree with
> org-show-todo-tree, 4th level and deeper headings don't unfold
> correctly.
This has nothing to do with level 4, but with the fact that you
have no final newline after the final line.
Still, a bug, fixed for 4.76
Thanks.
- Carsten
--
Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: folding broken in sparse TODO tree
2007-06-01 7:07 ` Carsten Dominik
@ 2007-06-01 20:57 ` Jason Dunsmore
2007-06-01 21:18 ` Carsten Dominik
0 siblings, 1 reply; 7+ messages in thread
From: Jason Dunsmore @ 2007-06-01 20:57 UTC (permalink / raw)
To: emacs-orgmode
On 6/1/07, Carsten Dominik <dominik@science.uva.nl> wrote:
>
> On Jun 1, 2007, at 2:38, Jason Dunsmore wrote:
>
> > I think this may be a bug. When I show a sparse TODO tree with
> > org-show-todo-tree, 4th level and deeper headings don't unfold
> > correctly.
>
> This has nothing to do with level 4, but with the fact that you
> have no final newline after the final line.
>
> Still, a bug, fixed for 4.76
>
I think there is still a related bug in 4.76. If you put the
following in an empty buffer:
* level 1
** TODO level 2.0
** level 2.1
** level 2.3
Press C-c C-v, go to the level 2.1 header, and press Tab, it isn't
unfolded and the EMPTY ENTRY message appears.
Thanks for your work on org-mode.
Jason
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: folding broken in sparse TODO tree
2007-06-01 20:57 ` Jason Dunsmore
@ 2007-06-01 21:18 ` Carsten Dominik
2007-06-01 21:34 ` Jason Dunsmore
0 siblings, 1 reply; 7+ messages in thread
From: Carsten Dominik @ 2007-06-01 21:18 UTC (permalink / raw)
To: Jason Dunsmore; +Cc: emacs-orgmode
On Jun 1, 2007, at 22:57, Jason Dunsmore wrote:
> On 6/1/07, Carsten Dominik <dominik@science.uva.nl> wrote:
>>
>> On Jun 1, 2007, at 2:38, Jason Dunsmore wrote:
>>
>> > I think this may be a bug. When I show a sparse TODO tree with
>> > org-show-todo-tree, 4th level and deeper headings don't unfold
>> > correctly.
>>
>> This has nothing to do with level 4, but with the fact that you
>> have no final newline after the final line.
>>
>> Still, a bug, fixed for 4.76
>>
>
> I think there is still a related bug in 4.76. If you put the
> following in an empty buffer:
>
> * level 1
> ** TODO level 2.0
> ** level 2.1
> ** level 2.3
>
> Press C-c C-v, go to the level 2.1 header, and press Tab, it isn't
> unfolded and the EMPTY ENTRY message appears.
Well, the 2.1 is empty, or am I missing something???
- Carsten
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: folding broken in sparse TODO tree
2007-06-01 21:18 ` Carsten Dominik
@ 2007-06-01 21:34 ` Jason Dunsmore
2007-06-04 8:09 ` Carsten Dominik
2007-06-06 6:45 ` Carsten Dominik
0 siblings, 2 replies; 7+ messages in thread
From: Jason Dunsmore @ 2007-06-01 21:34 UTC (permalink / raw)
To: emacs-orgmode
On 6/1/07, Carsten Dominik <dominik@science.uva.nl> wrote:
>
> On Jun 1, 2007, at 22:57, Jason Dunsmore wrote:
>
> > On 6/1/07, Carsten Dominik <dominik@science.uva.nl> wrote:
> >>
> >> On Jun 1, 2007, at 2:38, Jason Dunsmore wrote:
> >>
> >> > I think this may be a bug. When I show a sparse TODO tree with
> >> > org-show-todo-tree, 4th level and deeper headings don't unfold
> >> > correctly.
> >>
> >> This has nothing to do with level 4, but with the fact that you
> >> have no final newline after the final line.
> >>
> >> Still, a bug, fixed for 4.76
> >>
> >
> > I think there is still a related bug in 4.76. If you put the
> > following in an empty buffer:
> >
> > * level 1
> > ** TODO level 2.0
> > ** level 2.1
> > ** level 2.3
> >
> > Press C-c C-v, go to the level 2.1 header, and press Tab, it isn't
> > unfolded and the EMPTY ENTRY message appears.
>
>
> Well, the 2.1 is empty, or am I missing something???
>
Yes, well, there are no notes for that heading, but there are further
level 2 items, which I expected to be unfolded by pressing Tab. Would
there be anything inconsistant with that behavior? Otherwise, it's
difficult for me to tell which items with "..." in a sparse TODO tree
can be unfolded and which can't. Maybe a different symbol can signify
which items can't be unfolded if there is a problem with making Tab
unfold further items at the same level.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: folding broken in sparse TODO tree
2007-06-01 21:34 ` Jason Dunsmore
@ 2007-06-04 8:09 ` Carsten Dominik
2007-06-06 6:45 ` Carsten Dominik
1 sibling, 0 replies; 7+ messages in thread
From: Carsten Dominik @ 2007-06-04 8:09 UTC (permalink / raw)
To: emacs-orgmode
On Jun 1, 2007, at 23:34, Jason Dunsmore wrote:
>> > I think there is still a related bug in 4.76. If you put the
>> > following in an empty buffer:
>> >
>> > * level 1
>> > ** TODO level 2.0
>> > ** level 2.1
>> > ** level 2.3
>> >
>> > Press C-c C-v, go to the level 2.1 header, and press Tab, it isn't
>> > unfolded and the EMPTY ENTRY message appears.
>>
>>
>> Well, the 2.1 is empty, or am I missing something???
>>
>
> Yes, well, there are no notes for that heading, but there are further
> level 2 items, which I expected to be unfolded by pressing Tab. Would
> there be anything inconsistant with that behavior? Otherwise, it's
> difficult for me to tell which items with "..." in a sparse TODO tree
> can be unfolded and which can't. Maybe a different symbol can signify
> which items can't be unfolded if there is a problem with making Tab
> unfold further items at the same level.
Now I see what you mean. No.
TAB only show what is below this entry, not what it coming after it.
The reason for this is that normally, you would start from Overview
mode and then work your way down using TAB. In this case, when you
press TAB on "level 1", all level 2 entries will be shown,
so the situation you describe would never arise.
Now, when you use C-c C-v or any other sparse-tree command,
the tree is not displayed in a consistent state, in order
to allow for a compact display of the matches[1].
To get the tree locally back to a more consistent state, you can use
the command C-u C-c C-r.
However, I do see that it might be intuitive in the situation you
describe to allow TAB to make the tree more consistent as well.
Need to think a bit about this possibility. Thanks for
the feedback.
- Carsten
[1] You could, in fact, make it even more compact by configuring
org-show-following-heading to nil.
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>
--
Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: folding broken in sparse TODO tree
2007-06-01 21:34 ` Jason Dunsmore
2007-06-04 8:09 ` Carsten Dominik
@ 2007-06-06 6:45 ` Carsten Dominik
1 sibling, 0 replies; 7+ messages in thread
From: Carsten Dominik @ 2007-06-06 6:45 UTC (permalink / raw)
To: Jason Dunsmore; +Cc: emacs-orgmode
On Jun 1, 2007, at 23:34, Jason Dunsmore wrote:
> On 6/1/07, Carsten Dominik <dominik@science.uva.nl> wrote:
>>
>> On Jun 1, 2007, at 22:57, Jason Dunsmore wrote:
>>
>> > On 6/1/07, Carsten Dominik <dominik@science.uva.nl> wrote:
>> >>
>> >> On Jun 1, 2007, at 2:38, Jason Dunsmore wrote:
>> >>
>> >> > I think this may be a bug. When I show a sparse TODO tree with
>> >> > org-show-todo-tree, 4th level and deeper headings don't unfold
>> >> > correctly.
>> >>
>> >> This has nothing to do with level 4, but with the fact that you
>> >> have no final newline after the final line.
>> >>
>> >> Still, a bug, fixed for 4.76
>> >>
>> >
>> > I think there is still a related bug in 4.76. If you put the
>> > following in an empty buffer:
>> >
>> > * level 1
>> > ** TODO level 2.0
>> > ** level 2.1
>> > ** level 2.3
>> >
>> > Press C-c C-v, go to the level 2.1 header, and press Tab, it isn't
>> > unfolded and the EMPTY ENTRY message appears.
>>
>>
>> Well, the 2.1 is empty, or am I missing something???
>>
>
> Yes, well, there are no notes for that heading, but there are further
> level 2 items, which I expected to be unfolded by pressing Tab. Would
> there be anything inconsistant with that behavior?
This will be changed in the next version. TAB on such a line
will now make sure that the headline after the end of the
subtree (i.e. the next sibling or higher level entry)
is visible. I agree with you that this makes things more
consistent and self-explanatory. Thanks a lot!
- Carsten
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2007-06-06 7:21 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-01 0:38 folding broken in sparse TODO tree Jason Dunsmore
2007-06-01 7:07 ` Carsten Dominik
2007-06-01 20:57 ` Jason Dunsmore
2007-06-01 21:18 ` Carsten Dominik
2007-06-01 21:34 ` Jason Dunsmore
2007-06-04 8:09 ` Carsten Dominik
2007-06-06 6:45 ` Carsten Dominik
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).