emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* cycling bug
@ 2009-06-26 22:55 Samuel Wales
  2009-06-27  7:06 ` Carsten Dominik
  2009-06-28  6:57 ` Carsten Dominik
  0 siblings, 2 replies; 4+ messages in thread
From: Samuel Wales @ 2009-06-26 22:55 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: cycling bug
  2009-06-26 22:55 cycling bug Samuel Wales
@ 2009-06-27  7:06 ` Carsten Dominik
  2009-06-27 16:01   ` Samuel Wales
  2009-06-28  6:57 ` Carsten Dominik
  1 sibling, 1 reply; 4+ messages in thread
From: Carsten Dominik @ 2009-06-27  7:06 UTC (permalink / raw)
  To: Samuel Wales; +Cc: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: cycling bug
  2009-06-27  7:06 ` Carsten Dominik
@ 2009-06-27 16:01   ` Samuel Wales
  0 siblings, 0 replies; 4+ messages in thread
From: Samuel Wales @ 2009-06-27 16:01 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: cycling bug
  2009-06-26 22:55 cycling bug Samuel Wales
  2009-06-27  7:06 ` Carsten Dominik
@ 2009-06-28  6:57 ` Carsten Dominik
  1 sibling, 0 replies; 4+ messages in thread
From: Carsten Dominik @ 2009-06-28  6:57 UTC (permalink / raw)
  To: Samuel Wales; +Cc: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-06-28  6:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-26 22:55 cycling bug Samuel Wales
2009-06-27  7:06 ` Carsten Dominik
2009-06-27 16:01   ` Samuel Wales
2009-06-28  6:57 ` 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).