From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Lander Subject: Re: org-meta-return and lists Date: Wed, 3 Nov 2010 17:50:15 -0400 Message-ID: <9CF95D54-DC0F-4FC6-B5B2-5AF1D2454EEE@yahoo.com> References: <87oca6uq6q.wl%n.goaziou@gmail.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=53564 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PDor9-0002Gj-RU for emacs-orgmode@gnu.org; Wed, 03 Nov 2010 21:43:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PDlDn-00062B-Gr for emacs-orgmode@gnu.org; Wed, 03 Nov 2010 17:50:20 -0400 Received: from smtp104.prem.mail.ac4.yahoo.com ([76.13.13.43]:48118) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PDlDn-00061w-Dv for emacs-orgmode@gnu.org; Wed, 03 Nov 2010 17:50:19 -0400 In-Reply-To: <87oca6uq6q.wl%n.goaziou@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Tom Short , Nicolas Goaziou Cc: emacs-orgmode Mode 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 "") (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