emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "sindikat" <sindikat@mail36.net>
To: emacs-orgmode@gnu.org
Subject: M-RET and C-RET
Date: Sat, 26 Nov 2011 20:53:04 +0100	[thread overview]
Message-ID: <20111126195304.61776.qmail@rage.so36.net> (raw)

> You can use M-RET-may-split-line, to make it respect content in lists,
more or less. I would guess the reason that they are different is to be
able to always easily start a new heading. 

This is very helpful, thank you. But how to make it so M-RET will: 

1. not split line;
2. add new list item while on plain list;
AND
3. add new heading after content of the current heading? 

Maybe there should be a variable in addition to 'org-M-RET-may-split-line' 
such as 'org-M-RET-add-after-content'. 

Btw, i think it is bad to name an Emacs after keyboard combination, because 
it is ambiguous in case user remap M-RET. This is a minor issue, but still 
:)

             reply	other threads:[~2011-11-26 19:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-26 19:53 sindikat [this message]
2011-12-02 16:13 ` M-RET and C-RET Michael Brand
2011-12-03 10:24   ` Nicolas Goaziou
2011-12-03 16:58     ` Michael Brand
2011-12-04 10:33       ` Nicolas Goaziou
2011-12-04 21:38         ` Michael Brand
2011-12-05 17:23   ` Greg Troxel
  -- strict thread matches above, loose matches on Subject: below --
2011-11-25 16:49 sindikat
2011-11-26  6:08 ` Tom Prince

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=20111126195304.61776.qmail@rage.so36.net \
    --to=sindikat@mail36.net \
    --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).