Yes, I was more thinking about `LaTeX-flushleft-env-list-local' (or
something like that). I asked for this because I think we need more
flexibility in AUCTeX's indentation code. My plea is to implement an
interface and don't setq-local custom variables and then append stuff
them later.
That's ambitious, and seems good.
The proposed solution fails if a user defines a comment environment
without using the comment package.
Is there a simple way to define a comment environment without using the
comment package? (I'm not really opposed to your idea, just out of
curiosity)
I was thinking about the standard way of defining environments with
\newenvironment{comment} :-)
Ah, understood. Sorry, what I had in mind was an environment which
hides everything in it :-)
Best,
Ikumi Keita