From: Anthony Lander <anthonylander@yahoo.com>
To: Tom Short <tshort.rlists@gmail.com>,
Nicolas Goaziou <n.goaziou@gmail.com>
Cc: emacs-orgmode Mode <emacs-orgmode@gnu.org>
Subject: Re: org-meta-return and lists
Date: Wed, 3 Nov 2010 17:50:15 -0400 [thread overview]
Message-ID: <9CF95D54-DC0F-4FC6-B5B2-5AF1D2454EEE@yahoo.com> (raw)
In-Reply-To: <87oca6uq6q.wl%n.goaziou@gmail.com>
Hi Tom,
On 10-Nov-3, at 4:07 PM, Nicolas Goaziou wrote:
> Hello,
>
>>>>>> Tom Short writes:
>
>> 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..
>
> Just use C-u M-RET to enforce an heading, wherever point is.
In order to avoid a prefix key, I did the following in my .emacs:
(defun my-org-mode-hook ()
(define-key org-mode-map (kbd "<C-M-return>") (lambda ()
(interactive) (org-insert-heading 1 nil))))
(add-hook 'org-mode-hook 'my-org-mode-hook)
I do not know how to get it back to the old behaviour (which I liked
as well).
-Anthony
next prev parent reply other threads:[~2010-11-04 1:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-03 19:40 org-meta-return and lists Tom Short
2010-11-03 20:07 ` Nicolas Goaziou
2010-11-03 21:50 ` Anthony Lander [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9CF95D54-DC0F-4FC6-B5B2-5AF1D2454EEE@yahoo.com \
--to=anthonylander@yahoo.com \
--cc=emacs-orgmode@gnu.org \
--cc=n.goaziou@gmail.com \
--cc=tshort.rlists@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.