From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steinar Bang Subject: Re: How to stop M-down from opening folded items? Date: Mon, 07 May 2012 21:32:04 +0200 Message-ID: <87zk9jaitn.fsf@dod.no> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:58326) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SRTfV-0003mM-Lo for emacs-orgmode@gnu.org; Mon, 07 May 2012 15:32:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SRTfQ-00082p-OW for emacs-orgmode@gnu.org; Mon, 07 May 2012 15:32:25 -0400 Received: from plane.gmane.org ([80.91.229.3]:33295) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SRTfQ-00082I-HA for emacs-orgmode@gnu.org; Mon, 07 May 2012 15:32:20 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SRTfK-0002iO-32 for emacs-orgmode@gnu.org; Mon, 07 May 2012 21:32:14 +0200 Received: from cm-84.208.231.161.getinternet.no ([84.208.231.161]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 May 2012 21:32:14 +0200 Received: from sb by cm-84.208.231.161.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 May 2012 21:32:14 +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 >>>>> 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.