emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Bastien <bzg@gnu.org>
Cc: Eric Abrahamsen <eric@ericabrahamsen.net>, emacs-orgmode@gnu.org
Subject: Re: M-RET and C-RET turn current line of text into a heading?
Date: Fri, 17 May 2013 15:26:09 +0200	[thread overview]
Message-ID: <2124E424-ABF1-48A9-B53B-B70831E7DF9D@gmail.com> (raw)
In-Reply-To: <87zjvvla10.fsf@bzg.ath.cx>

Hi everyone,

yes, thanks for making this table, Samuel.

I think the functionality is a bit overkill, in particular the implementation
with pressing M-RET twice for special functionality.  This becomes too
confusing, I think.

The elementary function of M-RET is continue in the current list/outline.
C-RET is a way to get out of list environments and to get a new heading.
Both are entirely necessary when taking notes, IMO.

So I would propose the following adapted version of Samuel's table:

|-------------+------------------+--------+--------------------------------|
| command     | context          | pos    | action                         |
|-------------+------------------+--------+--------------------------------|
| c-ret       | any              | any    | create headline below 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    | turn into headline, this is    |
|             |                  |        | just a special case of split   |
| m-ret       | line             | middle | turn rest of line into heading |
| m-ret       | line             | end    | new heading after line         |
| C-o M-ret   | line             | beg    | new heading before line        |
|-------------+------------------+--------+--------------------------------|

There was discussion about `C-c *'.  For me the main application
of this command it to turn an item into a headline, and to turn *several*
lines into a series of headline (by selecting the lines first) - this is
a very frequent application when I paste text that I then need to structure.
Nobody mentioned this in this thread, so maybe this feature is not known
well enough.

- Carsten

  parent reply	other threads:[~2013-05-17 13:26 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-15  4:58 M-RET and C-RET turn current line of text into a heading? Eric Abrahamsen
2013-05-15  7:54 ` Christian Moe
2013-05-15  8:22   ` Eric Abrahamsen
2013-05-15  9:01     ` Christian Moe
2013-05-15  9:30       ` Eric Abrahamsen
2013-05-20 15:54   ` John Hendy
2013-05-20 16:00     ` John Hendy
2013-05-20 16:14       ` Matt Lundin
2013-05-20 18:41         ` John Hendy
2013-05-15 18:39 ` Samuel Wales
2013-05-16  3:17   ` Eric Abrahamsen
2013-05-16  3:42     ` Samuel Wales
2013-05-16 11:49       ` Eric Abrahamsen
2013-05-16  7:22     ` Daniel Bausch
2013-05-16  9:21       ` Detlef Steuer
2013-05-16 13:48     ` Rick Frankel
2013-05-16 16:10     ` Eric S Fraga
2013-05-16  6:21   ` Bastien
2013-05-16  9:23     ` Miro Bezjak
2013-05-16 19:11     ` Jason F. McBrayer
2013-05-17 11:20       ` Carsten Dominik
2013-05-17 13:42         ` Jason F. McBrayer
2013-05-17 13:26     ` Carsten Dominik [this message]
2013-05-17 19:07       ` Rick Frankel

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=2124E424-ABF1-48A9-B53B-B70831E7DF9D@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=bzg@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=eric@ericabrahamsen.net \
    /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).