If I select everything in LaTeX-mode (AUCTeX) and auto-fill the region, the indentation of all lines is corrected. This is the part I like.
However, it also breaks all long lines (which I think is the actual purpose of that function). But I don't like hard line wrapping.
Is there a way I can fix the indentation of an entire file without the lines being wrapped in the actual text? Wrapping them in the displayed text is desired.