emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Steinar Bang <sb@dod.no>
To: emacs-orgmode@gnu.org
Subject: Re: How to stop M-down from opening folded items?
Date: Mon, 07 May 2012 21:32:04 +0200	[thread overview]
Message-ID: <87zk9jaitn.fsf@dod.no> (raw)
In-Reply-To: yb0vck8z4dp.fsf@dod.no

>>>>> Steinar Bang <sb@dod.no>:

> 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.

  reply	other threads:[~2012-05-07 19:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-07 10:12 How to stop M-down from opening folded items? Steinar Bang
2012-05-07 19:32 ` Steinar Bang [this message]
2012-05-07 20:38   ` Nicolas Goaziou
2012-05-08  9:02     ` Steinar Bang

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=87zk9jaitn.fsf@dod.no \
    --to=sb@dod.no \
    --cc=emacs-orgmode@gnu.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).