emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Samuel Wales <samologist@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: cycling bug
Date: Sun, 28 Jun 2009 08:57:47 +0200	[thread overview]
Message-ID: <D5145451-86CD-4F0F-B9CC-2798E479C228@gmail.com> (raw)
In-Reply-To: <20524da70906261555i26d3533ar6b43f6cb57f3544c@mail.gmail.com>

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

      parent reply	other threads:[~2009-06-28  6:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-26 22:55 Samuel Wales
2009-06-27  7:06 ` Carsten Dominik
2009-06-27 16:01   ` Samuel Wales
2009-06-28  6:57 ` Carsten Dominik [this message]

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=D5145451-86CD-4F0F-B9CC-2798E479C228@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=samologist@gmail.com \
    --subject='Re: cycling bug' \
    /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

Code repositories for project(s) associated with this 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).