Re: BUG: (org-insert-subheading) fails when on true begin of line (first star) of heading

2024-02-10 Thread Ihor Radchenko
Ihor Radchenko writes: > Michael Dauer writes: > >> I understand that it's behavior is derived from org-insert-heading. But IMO >> that does not make sense for this function, advice all that it is taking >> the current indentation level as basis to devote the new heading as child >> of the previ

Re: BUG: (org-insert-subheading) fails when on true begin of line (first star) of heading

2023-05-13 Thread Ihor Radchenko
Michael Dauer writes: > I understand that it's behavior is derived from org-insert-heading. But IMO > that does not make sense for this function, advice all that it is taking > the current indentation level as basis to devote the new heading as child > of the previous heading. It e.g. created a "

Re: BUG: (org-insert-subheading) fails when on true begin of line (first star) of heading

2023-05-12 Thread Michael Dauer
I understand that it's behavior is derived from org-insert-heading. But IMO that does not make sense for this function, advice all that it is taking the current indentation level as basis to devote the new heading as child of the previous heading. It e.g. created a "orphan" grand child instead of a

Re: BUG: (org-insert-subheading) fails when on true begin of line (first star) of heading

2023-05-11 Thread Ihor Radchenko
Michael Dauer writes: > Example > * h1 > <>** h11 > > brings: > * h1 > *** <> > ** h11 This is expected. `org-insert-subheading' inherits what `org-insert-heading' does: Insert a new heading or an item with the same depth at point. **

BUG: (org-insert-subheading) fails when on true begin of line (first star) of heading

2023-05-11 Thread Michael Dauer
Example * h1 <>** h11 brings: * h1 *** <> ** h11 expected: * h1 ** h11 *** <> Org mode version 9.7-pre (release_9.6.4-327-gf81ba4