[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: Questions about creating new nodes (headings)
From: |
Bernt Hansen |
Subject: |
[Orgmode] Re: Questions about creating new nodes (headings) |
Date: |
Wed, 28 Apr 2010 17:13:44 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
Hi David,
Comments are inline below.
David Frascone <address@hidden> writes:
> Here are two questions (or maybe one question, and a bug report) from
> my note taking while reading the manual.
>
> ***** Best way to make next menu item? M-Enter seems to work pretty well.
> I'm not to happy with the way org-mode adds a blank line after a block
> of text when doing C-S-RET from the entry line, and M-RET from the
> block of text. Do most of you have a blank line after your text
> blocks, but before the next entry? And, I just noticed that it
> doesn't ALWAYS add the blank line . . . tres strange. The blank lines seem
> to have some correlation with having other blank lines after higher nodes.
> It is VERY strange behavior . . so far, unpredictable to me :)
Blank lines? What blank lines? Customize org-blank-before-new-entry.
I have the following setting:
,----
| org-blank-before-new-entry is a variable defined in `org.el'.
| Its value is
| ((heading)
| (plain-list-item))
|
`----
If you are in the body whatever blank lines you created will stay
,----[ before M-RET ]
| * TODO foo
| <point here>
`----
hitting M-RET gives me this
,----
| * TODO foo
|
| *
`----
Now you had a blank line after * TODO foo so it's the body of that item
and M-RET should preserve that.
I have org-insert-heading-respect-content set to t
I normally create headlines from the task itself so I don't press RET
on * TODO foo if I only want to make a new headline following it. Just
* TODO foo M-RET to get
,----
| * TODO foo
| *
`----
I get no extra blank lines with point on the heading and using C-S-RET.
>
> ***** C-<RET> does not seem to do what the info page suggests.
> It seems to go into a column selection mode. Which, by itself, is
> very useful, and I'll have to remember that. I can't seem to find
> the C-<RET> behavior anywhere (jump over the body, and add a new
> heading at the same level. C-S-<RET> Does do what it is supposed to,
> so, I guess a good workaround is C-S-<RET>, then backspace over the TODO.
,----
| ** TODO foo
|
| ** TODO foo
| foo bar baz<point here>
| a b c
| ** More stuff
| * rest of stuff
`----
with point at <point here> and C-RET I get this:
,----
| ** TODO foo
|
| ** TODO foo
| foo bar baz
| a b c
| ** <point here>
| ** More stuff
| * rest of stuff
`----
What version are you running and on what platform?
Regards,
Bernt