Re: [PATCH] Fix bug in org-indent-region when org-adapt-indentation is set to headline-data

2022-07-19 Thread Ihor Radchenko
Bastien Guerry writes: > Feel free to push the fix if it seems right to you. We can revert it > back or improve it if needed. Applied onto main via 9917d6954. Best, Ihor

Re: [PATCH] Fix bug in org-indent-region when org-adapt-indentation is set to headline-data

2022-07-18 Thread Bastien Guerry
Hi Ihor, I'm mostly AFK this week so I won't be able to investigate, I remember this area was fragile. Feel free to push the fix if it seems right to you. We can revert it back or improve it if needed. Thanks a lot! -- Bastien

[PATCH] Fix bug in org-indent-region when org-adapt-indentation is set to headline-data (was: [feature] Consistent fixed indentation of headline data)

2022-07-18 Thread Ihor Radchenko
Valentin Lab writes: >>> @@ -1216,6 +1259,13 @@ >>> (org-test-with-temp-text "* H\n:PROPERTIES:\n:key:\n:END:" >>> (org-indent-region (point-min) (point-max)) >>> (buffer-string) >>> + ;; ;; Indent property drawers according to