Thanks for your work on this great package! I found some weird things on the cooperation between org, indent-region and org-modern and have no idea whether its a feature or a bug.
When org-adapt-indentation (a built-in variable) is set, indent-region is expected to indent heading, text and blocks to their correct level like this:
** A level-2 heading
something
something
#+begin_quote
a block
#+end_quote
and something
But when org-modern is turned on in this buffer, indent-region makes the region:
** A level-2 heading
something
something
#+begin_quote
a block
#+end_quote
and something
Every time I run indent-region, the block tag got indented once more, but the text after a block just remain unchanged.
Currently what I can do is define a function to turn off org-modern, indent and then turn on org-modern, and bind C-M-\ to it. Blocks get indented accordingly at this time, though they shouldn't.
Thanks for your work on this great package! I found some weird things on the cooperation between
org,indent-regionandorg-modernand have no idea whether its a feature or a bug.When
org-adapt-indentation(a built-in variable) is set,indent-regionis expected to indent heading, text and blocks to their correct level like this:But when
org-modernis turned on in this buffer,indent-regionmakes the region:Every time I run
indent-region, the block tag got indented once more, but the text after a block just remain unchanged.Currently what I can do is define a function to turn off
org-modern, indent and then turn onorg-modern, and bindC-M-\to it. Blocks get indented accordingly at this time, though they shouldn't.