Hi Marshall,
Am Mi., 12. Mai 2021 um 16:11 Uhr schrieb Marshall Ward
<
marsha...@gmail.com>:
>
> I see, you want to remove the indentation of comments entirely, and have it entirely depend on the previous line.
>
> While I didn't introduce the comment indentation, I do personally find it useful to stay inside of the comment block, particularly when writing code snippets. At the least, I think this would need to be something disabled by the user, as
suggested by Christian.
I do not entirely understand your reasoning here, about "staying
inside of the comment block, particularly when writing code snippets".
BTW, referring to Christian's message from 7 August 2020, to be
precise, Christian suggested checking for *existing* options to
disable?
As I see it, when writing a comment block, the indentation would be
preserved after having indented the first line following the "lead in"
line starting by ``..``, maybe this would satisfy your need I do not
understand completely?
> There could also be some odd consequences here, e.g. autoindentation of the whole file, that would need to be explored.
Wouldn't that be a bad idea, when the indentation in the ReST file has
been adapted also in other places manually?
However I think you are right about that my proposed change would
possibly affect the re-indentation behaviour. I do not know enough
about how indentation is deduced when re-indenting a paragraph or a
selection to assess the consequences.
In some places, the current indentation code produces odd results; you
can see them in the asciinema cast I posted on 14 April
(
https://asciinema.org/a/406969). It is a bit longish (25 minutes),
probabaly it is a good idea to download it and play it back locally
with reduction of pauses and/or general speed-up. It should have been
recorded using a 80x25 terminal, if I am not mistaken.
I noticed that the URL given in your first post cannot be clicked to follow it.
For the moment, I am continuing replying by email because of its
existing context. Let me know if you want me to change that.
Possibly it would suffice to post the results in the PR conversation?
Best,
Friedrich