From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: M-RET and C-RET turn current line of text into a heading? Date: Thu, 16 May 2013 08:21:47 +0200 Message-ID: <87zjvvla10.fsf@bzg.ath.cx> References: <87r4h83kld.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:43789) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcrZb-0003nu-0Y for emacs-orgmode@gnu.org; Thu, 16 May 2013 02:21:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UcrZW-0006lt-Bx for emacs-orgmode@gnu.org; Thu, 16 May 2013 02:21:54 -0400 Received: from mail-we0-x22c.google.com ([2a00:1450:400c:c03::22c]:44818) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcrZW-0006lb-55 for emacs-orgmode@gnu.org; Thu, 16 May 2013 02:21:50 -0400 Received: by mail-we0-f172.google.com with SMTP id w60so2342969wes.3 for ; Wed, 15 May 2013 23:21:49 -0700 (PDT) In-Reply-To: (Samuel Wales's message of "Wed, 15 May 2013 11:39:32 -0700") 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: Samuel Wales Cc: Eric Abrahamsen , emacs-orgmode@gnu.org Samuel Wales writes: > |-------------+------------------+--------+------------------------------| > | command | context | pos | action | > |-------------+------------------+--------+------------------------------| > | c-ret | any | any | create headline above ENTRY | > | m-ret | headline or item | beg | create new above header/item | > | m-ret | headline or item | middle | split | > | m-ret | headline or item | end | create new below header/item | > | m-ret | line | beg | create headline above LINE | > | m-ret twice | line | beg | create item above line | > | m-ret | line | middle | turn line into a headline | > | m-ret twice | line | middle | turn line into an item | > | m-ret | line | end | create headline below line | > | m-ret twice | line | end | create item below line | > |-------------+------------------+--------+------------------------------| Thanks a lot Samuel for writing this. Just a quick note to tell you that this discussion *is* important, and well read, as we plan to rewrite those functions. Presenting features wrt contexts so clearly is great -- thanks for doing this. -- Bastien