Ihor Radchenko <yanta...@posteo.net> writes: >>> May you elaborate on the edge cases you encountered? >>> It may be a good idea to add such cases to the tests as well. >> >> I think they all reduced to the case where adding the spaces increased >> the minimum indent of the block, in which case `org-indent-line' would >> remove `block-content-ind' spaces from all other lines in the block. I >> attached a patch with a simple test where I also cleaned up the use of >> obsolete function `org-get-indentation' in `test-org.el'. > > May you please explain how the test in the patch is related to the > change you made in the code? The test seems to be passing both with and > without your change.
It has been a while since the last activity in this thread. May I know if you had a chance to look into my comments? -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>