Re: behavior of (org-insert-heading-respect-content)

2021-09-26 Thread Victor A. Stoichita
Le 18 Sep 2021, Marco Wahl a écrit : > Would be great if you could test the fix. Hi Marco! Sorry, I was unable to try it until today. I just did and It works perfectly. Thanks! Victor

Re: behavior of (org-insert-heading-respect-content)

2021-09-26 Thread Bastien
Marco Wahl writes: > Bastien! > >> Marco Wahl writes: >> >>> Would be great if you could test the fix. >> >> If you're confident with the fix, please go ahead and push the commit. > > This has been committed some days ago. See > > >

Re: behavior of (org-insert-heading-respect-content)

2021-09-26 Thread Marco Wahl
Bastien! > Marco Wahl writes: > >> Would be great if you could test the fix. > > If you're confident with the fix, please go ahead and push the commit. This has been committed some days ago. See

Re: behavior of (org-insert-heading-respect-content)

2021-09-26 Thread Bastien
Hi Marco, Marco Wahl writes: > Would be great if you could test the fix. If you're confident with the fix, please go ahead and push the commit. Thanks, -- Bastien

Re: behavior of (org-insert-heading-respect-content)

2021-09-18 Thread Marco Wahl
Victor! > Le 13 Sep 2021, Marco Wahl a écrit : > >> As far is I see it, the intended behavior of >> org-insert-heading-respect-content with point before the first heading >> is to >> >> - insert the new heading immediately before the first heading. Respect

Re: behavior of (org-insert-heading-respect-content)

2021-09-17 Thread Victor A. Stoichita
Le 13 Sep 2021, Marco Wahl a écrit : > As far is I see it, the intended behavior of > org-insert-heading-respect-content with point before the first heading > is to > > - insert the new heading immediately before the first heading. Respect > the content! Hi Marco !

Re: behavior of (org-insert-heading-respect-content)

2021-09-13 Thread Marco Wahl
ent works as > expected even when point is not in a subtree. It seems to only fail if > point is on the 1st line. As far is I see it, the intended behavior of org-insert-heading-respect-content with point before the first heading is to - insert the new heading immediately before the first heading.

Re: behavior of (org-insert-heading-respect-content)

2021-09-09 Thread Victor A. Stoichita
Le 09 Sep 2021, Marco Wahl a écrit : > My impression is that org-insert-heading-respect-content should be > called only with point in a subtree. > > The fix would be to signal an error when point is not located in a > subtree. > > Does this sound reasonable? In a way, yes. I guess that the

Re: behavior of (org-insert-heading-respect-content)

2021-09-09 Thread Marco Wahl
Hi! "Victor A. Stoichita" writes: > I see the following behavior which seems erroneous to me : > - When I issue (org-insert-heading-respect-content) in a brand new org > buffer, with point at point-min I get the error "Beginning of buffer" > and no heading is inserted. > - If I write

behavior of (org-insert-heading-respect-content)

2021-09-09 Thread Victor A. Stoichita
Hi, I see the following behavior which seems erroneous to me : - When I issue (org-insert-heading-respect-content) in a brand new org buffer, with point at point-min I get the error "Beginning of buffer" and no heading is inserted. - If I write something on the 1st line, say "test", but no