From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: How to stop M-down from opening folded items? Date: Mon, 07 May 2012 22:38:37 +0200 Message-ID: <8762c73ewi.fsf@gmail.com> References: <87zk9jaitn.fsf@dod.no> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:50244) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SRUkP-0005SX-QV for emacs-orgmode@gnu.org; Mon, 07 May 2012 16:41:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SRUkN-0005Kg-Rv for emacs-orgmode@gnu.org; Mon, 07 May 2012 16:41:33 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:57829) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SRUkN-0005KL-JA for emacs-orgmode@gnu.org; Mon, 07 May 2012 16:41:31 -0400 Received: by wgbds1 with SMTP id ds1so4023741wgb.30 for ; Mon, 07 May 2012 13:41:28 -0700 (PDT) In-Reply-To: <87zk9jaitn.fsf@dod.no> (Steinar Bang's message of "Mon, 07 May 2012 21:32:04 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hello, Steinar Bang writes: >>>>>> Steinar Bang : > >> I use M-up and M-down a lot to move items in plain lists up and down in >> the list. In the org-mode delivered with emacs 23 the item you moved >> past stayed folded. But in git org-mode and in 7.8.09, the item you >> move past is opened. > >> Is there a way to get the old behaviour back? Ie. that items you move >> past with M-up or M-down, stays folded? > > Looking at the code of org-list-swap-items it doesn't look like this is > possible to configure. But I'm not giving up quite yet. > > I tried modifying the value of org-cycle-include-plain-lists. > > I had org-cycle-include-plain-lists set to the value of integrate. > > But changing the value of org-cycle-include-plain-lists to either nil or > t had no effect on org-list-swap-items, that I could see. I think this should be fixed now. Could you confirm this? Thank you for submitting the problem. Regards, -- Nicolas Goaziou