GNU bug report logs - #48518
13.0.11; LaTeX environment C-c C-e on region doesn't indent properly

Previous Next

Package: auctex;

Reported by: Berthold Lorke <berthold <at> lorke.de>

Date: Wed, 19 May 2021 10:58:02 UTC

Severity: normal

Tags: fixed

Found in version 13.0.11

Done: Ikumi Keita <ikumi <at> ikumi.que.jp>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ikumi Keita <ikumi <at> ikumi.que.jp>
To: Berthold Lorke <berthold <at> lorke.de>
Cc: 48518 <at> debbugs.gnu.org
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 <at> 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




This bug report was last modified 2 years and 108 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.