bug-auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#48518: 13.0.11; LaTeX environment C-c C-e on region doesn't indent p


From: Ikumi Keita
Subject: bug#48518: 13.0.11; LaTeX environment C-c C-e on region doesn't indent properly
Date: Thu, 20 May 2021 21:26:49 +0900

Hi Berthold,

>>>>> Berthold Lorke <berthold@lorke.de> writes:
> Whenever I highlight a region and do C-c C-e of any kind, the result
> will not have the text indented correctly, and the closing
> "\end{environment}" will also not be indented correctly.  Merely the
> "\begin{environment} is indented correctly.

I guess you didn't enable `auto-fill-mode'. Try `M-x auto-fill-mode' in
the document buffer and do the same thing. If it works as expected, add
(add-hook 'LaTeX-mode-hook 'turn-on-auto-fill)
or
(add-hook 'text-mode-hook 'turn-on-auto-fill)
into your init file (init.el or .emacs).

Regards,
Ikumi Keita





reply via email to

[Prev in Thread] Current Thread [Next in Thread]