From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: cycling bug Date: Sun, 28 Jun 2009 08:57:47 +0200 Message-ID: References: <20524da70906261555i26d3533ar6b43f6cb57f3544c@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v935.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MKoKs-00051e-5r for emacs-orgmode@gnu.org; Sun, 28 Jun 2009 02:57:58 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MKoKn-00051S-O3 for emacs-orgmode@gnu.org; Sun, 28 Jun 2009 02:57:57 -0400 Received: from [199.232.76.173] (port=37489 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MKoKn-00051P-H5 for emacs-orgmode@gnu.org; Sun, 28 Jun 2009 02:57:53 -0400 Received: from mx20.gnu.org ([199.232.41.8]:26886) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MKoKm-0003hJ-P0 for emacs-orgmode@gnu.org; Sun, 28 Jun 2009 02:57:53 -0400 Received: from mail-ew0-f208.google.com ([209.85.219.208]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MKoKm-000771-1N for emacs-orgmode@gnu.org; Sun, 28 Jun 2009 02:57:52 -0400 Received: by ewy4 with SMTP id 4so2104457ewy.42 for ; Sat, 27 Jun 2009 23:57:51 -0700 (PDT) In-Reply-To: <20524da70906261555i26d3533ar6b43f6cb57f3544c@mail.gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Samuel Wales Cc: emacs-orgmode@gnu.org 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