Hi, here is a bug, a test case, and a poss workaround if the bug is not fixable. Thanks. * bug: cycling a headline with body reveals too much of children * it only occurs with org-cycle-include-plain-lists set to t * to reproduce, try cycling the following *** regular -- this works ***** one ******* one one ***** two ***** three *** text -- this works text ***** one ******* one one ***** two ***** three *** WAIT logbook -- bug :LOGBOOK: - State "WAIT" from "" [2009-06-26 Fri 15:46] :END: ***** one ******* one one ***** two ***** three *** tree -- bug - test - test - test - test - test - test ***** one ******* one one ***** two ***** three * poss workaround for if there is no fix *** that variable could control cycling only when point is on list items -- Myalgic encephalomyelitis is causing death and severe suffering worse than MS. Conflicts of interest are destroying research. People get the disease at any time permanently. Do science and justice matter to you? http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm
I don't understand what the problem is....
- Carsten
On Jun 27, 2009, at 12:55 AM, Samuel Wales wrote:
> Hi, here is a bug, a test case, and a poss workaround if the bug is
> not fixable.
>
> Thanks.
>
> * bug: cycling a headline with body reveals too much of children
> * it only occurs with org-cycle-include-plain-lists set to t
> * to reproduce, try cycling the following
> *** regular -- this works
> ***** one
> ******* one one
> ***** two
> ***** three
> *** text -- this works
> text
> ***** one
> ******* one one
> ***** two
> ***** three
> *** WAIT logbook -- bug
> :LOGBOOK:
> - State "WAIT" from "" [2009-06-26 Fri 15:46]
> :END:
> ***** one
> ******* one one
> ***** two
> ***** three
> *** tree -- bug
> - test
> - test
> - test
> - test
> - test
> - test
> ***** one
> ******* one one
> ***** two
> ***** three
> * poss workaround for if there is no fix
> *** that variable could control cycling only when point is on list
> items
>
> --
> Myalgic encephalomyelitis is causing death and severe suffering
> worse than MS. Conflicts of interest are destroying research.
> People get the disease at any time permanently. Do science and
> justice matter to you? http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Hi Carsten, Cycling goes children, subtree, folded. Try children on each of the test cases below. You will find that the presence of a body on the top level node will cause children to be more like subtree. Thanks. On Sat, Jun 27, 2009 at 00:06, Carsten Dominik<carsten.dominik@gmail.com> wrote: > I don't understand what the problem is.... > > - Carsten > > On Jun 27, 2009, at 12:55 AM, Samuel Wales wrote: > >> Hi, here is a bug, a test case, and a poss workaround if the bug is not >> fixable. >> >> Thanks. >> >> * bug: cycling a headline with body reveals too much of children >> * it only occurs with org-cycle-include-plain-lists set to t >> * to reproduce, try cycling the following >> *** regular -- this works >> ***** one >> ******* one one >> ***** two >> ***** three >> *** text -- this works >> text >> ***** one >> ******* one one >> ***** two >> ***** three >> *** WAIT logbook -- bug >> :LOGBOOK: >> - State "WAIT" from "" [2009-06-26 Fri 15:46] >> :END: >> ***** one >> ******* one one >> ***** two >> ***** three >> *** tree -- bug >> - test >> - test >> - test >> - test >> - test >> - test >> ***** one >> ******* one one >> ***** two >> ***** three >> * poss workaround for if there is no fix >> *** that variable could control cycling only when point is on list items >> >> -- >> Myalgic encephalomyelitis is causing death and severe suffering >> worse than MS. Conflicts of interest are destroying research. >> People get the disease at any time permanently. Do science and >> justice matter to you? >> http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm >> >> >> _______________________________________________ >> Emacs-orgmode mailing list >> Remember: use `Reply All' to send replies to the list. >> Emacs-orgmode@gnu.org >> http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > -- Myalgic encephalomyelitis is causing death and severe suffering worse than MS. Conflicts of interest are destroying research. People get the disease at any time permanently. Do science and justice matter to you? http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm
Hi Samuel,
well, you can't have the cake and eat it.
If you want plain list items to be treated like headlines for cycling,
then they will be. What it happening that outline looks for the first
"headline" after the one where the cursor is on. Then it decides that
this is a child, the first and oldest, and then it shows all
headings below that are hierarchically equal or higher than this child.
plain list item are level 100 I believe.
Including plain list items into cycling works by simply temporarily
extending outline-regexp in include list items. It is a hack,
not a full implementation. Too complex for now to be fixed.
- Carsten
On Jun 27, 2009, at 12:55 AM, Samuel Wales wrote:
> Hi, here is a bug, a test case, and a poss workaround if the bug is
> not fixable.
>
> Thanks.
>
> * bug: cycling a headline with body reveals too much of children
> * it only occurs with org-cycle-include-plain-lists set to t
> * to reproduce, try cycling the following
> *** regular -- this works
> ***** one
> ******* one one
> ***** two
> ***** three
> *** text -- this works
> text
> ***** one
> ******* one one
> ***** two
> ***** three
> *** WAIT logbook -- bug
> :LOGBOOK:
> - State "WAIT" from "" [2009-06-26 Fri 15:46]
> :END:
> ***** one
> ******* one one
> ***** two
> ***** three
> *** tree -- bug
> - test
> - test
> - test
> - test
> - test
> - test
> ***** one
> ******* one one
> ***** two
> ***** three
> * poss workaround for if there is no fix
> *** that variable could control cycling only when point is on list
> items
>
> --
> Myalgic encephalomyelitis is causing death and severe suffering
> worse than MS. Conflicts of interest are destroying research.
> People get the disease at any time permanently. Do science and
> justice matter to you? http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode