[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: Correct Way to Create Sibling Headings

From: Peter Jones
Subject: [Orgmode] Re: Correct Way to Create Sibling Headings
Date: Sat, 13 Sep 2008 17:17:47 -0600
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (darwin)

Carsten Dominik <address@hidden> writes:
> M-RET and M-S-RET will remain the same, i.e. they will insert the
> heading directly after the current line, therefore making any content
> of the entry part of the new entry.  I believe this still makes sense,
> because it feels more like direct editing of the text file.  In this
> case, the idea is that if you want to insert the new heading after all
> the content, you would first move the cursor to after the content.
> I am redefining C-RET and C-S-RET in the way you propose.  The will
> now also insert a new heading *before* the current if the cursor is at
> the beginning of the line.  And they will achieve the insertion
> without folding siblings.
> Finally, I am introducing a new option `org-insert-heading-respect-
> content', default nil.  If you set this to t, M-RET and M-S-RET will
> behave just like C-RET and C-S-RET, respectively, so in this way you
> can make this behavior the default.

Great!  I can't wait to update and try this out.

Peter Jones, http://pmade.com
pmade inc.  Louisville, CO US

reply via email to

[Prev in Thread] Current Thread [Next in Thread]