emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* M-RET and C-RET
@ 2011-11-25 16:49 sindikat
  2011-11-26  6:08 ` Tom Prince
  0 siblings, 1 reply; 9+ messages in thread
From: sindikat @ 2011-11-25 16:49 UTC (permalink / raw)
  To: emacs-orgmode

Hello everyone, 

M-RET works with both headings and plainlists, it's DWIM.
C-RET works only with headings. I wanted to ask, why C-RET is not DWIM? 
Wouldn't users want to add new list item respecting the content? 

Thanks in advance.

^ permalink raw reply	[flat|nested] 9+ messages in thread
* M-RET and C-RET
@ 2011-11-26 19:53 sindikat
  2011-12-02 16:13 ` Michael Brand
  0 siblings, 1 reply; 9+ messages in thread
From: sindikat @ 2011-11-26 19:53 UTC (permalink / raw)
  To: emacs-orgmode

> 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 
:)

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-12-05 17:24 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-25 16:49 M-RET and C-RET sindikat
2011-11-26  6:08 ` Tom Prince
  -- strict thread matches above, loose matches on Subject: below --
2011-11-26 19:53 sindikat
2011-12-02 16:13 ` 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

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).