emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tom Short <tshort.rlists@gmail.com>
To: emacs-orgmode@gnu.org
Subject: org-meta-return and lists
Date: Wed, 3 Nov 2010 15:40:21 -0400	[thread overview]
Message-ID: <AANLkTinpTSb207QiOf0XSscnn7UYa60wergNpiO1hjcF@mail.gmail.com> (raw)

With the new list handling mechanism in v7.02, org-meta-return acts
differently for me following lists. If I hit M-RET with the cursor in
the (blank) row or two after a list, it adds another list item.
Before, I'd get a new heading (what I want), and I'd only get another
list item if the cursor is still on a line with a list when I hit
M-RET..

Based on looking at the source of org-insert-heading and
org-in-item-p, I can reduce the behavior to within one empty row after
a list by setting org-empty-line-terminates-plain-lists to t. Anyone
know how I can go back to the previous behavior?

* heading
  - list item A
  - list item B
    <- When I hit M-RET here, I'd like a new heading.

- Tom

             reply	other threads:[~2010-11-03 19:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-03 19:40 Tom Short [this message]
2010-11-03 20:07 ` org-meta-return and lists Nicolas Goaziou
2010-11-03 21:50   ` Anthony Lander
2010-11-03 21:56     ` Tom Short

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=AANLkTinpTSb207QiOf0XSscnn7UYa60wergNpiO1hjcF@mail.gmail.com \
    --to=tshort.rlists@gmail.com \
    --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).