You are welcome. Good to hear that you have a good solution now.
Carsten
On Thu, Aug 22, 2019 at 9:14 PM Nathan Neff wrote:
>
>
> On Wed, Aug 21, 2019 at 12:28 AM Carsten Dominik wrote:
>
>> Hi Nate,
>>
>> What do you mean by passing "the right argument". Which argument do you
>> want to
On Wed, Aug 21, 2019 at 12:28 AM Carsten Dominik wrote:
> Hi Nate,
>
> What do you mean by passing "the right argument". Which argument do you
> want to pass?
>
I mean the hard-coded 1 on org-next-visible-heading.
>
> At first, I thought the direct way to fix your function would be
>
>
Hi Nate,
What do you mean by passing "the right argument". Which argument do you
want to pass?
At first, I thought the direct way to fix your function would be
(defun njn-subheading-respect-content ()
(interactive "")
(org-next-visible-heading 1)
(org-insert-heading nil)
)
because in
On Tue, Aug 20, 2019 at 5:42 PM Nathan Neff wrote:
>
>
> On Fri, Aug 16, 2019 at 4:03 AM Carsten Dominik wrote:
>
>>
>>
>> On Fri, Aug 16, 2019 at 10:21 AM Nathan Neff
>> wrote:
>>
>>> Hello all,
>>>
>>> Something that's eluded me all this time has been an
>>> "Insert subheading, after the
On Fri, Aug 16, 2019 at 4:03 AM Carsten Dominik wrote:
>
>
> On Fri, Aug 16, 2019 at 10:21 AM Nathan Neff
> wrote:
>
>> Hello all,
>>
>> Something that's eluded me all this time has been an
>> "Insert subheading, after the content, but before other subheadings"
>>
>> For example:
>> If my
On Fri, Aug 16, 2019 at 10:21 AM Nathan Neff wrote:
> Hello all,
>
> Something that's eluded me all this time has been an
> "Insert subheading, after the content, but before other subheadings"
>
> For example:
> If my cursor is anywhere between lines 1 and 4, I would like the subheading
> to be
Hello all,
Something that's eluded me all this time has been an
"Insert subheading, after the content, but before other subheadings"
For example:
If my cursor is anywhere between lines 1 and 4, I would like the subheading
to be inserted at line 5.
1* Heading
:PROPERTIES:...
2 Some content
3