GNU bug report logs -
#48518
13.0.11; LaTeX environment C-c C-e on region doesn't indent properly
Previous Next
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
Message #34 received at 48518 <at> debbugs.gnu.org (full text, mbox):
It seems that it still doesn't work quite right for any environments
listed in `LaTeX-indent-environment-list`, for example `equation`,
`align`, `cases`, `picture`, among many others.
Furthermore, I noticed the following.
If after selecting the environment, there is no additional prompt, say
for example for `cases`, the opening and closing `\begin{cases}` and
`\end{cases}` get indented correctly, but the content enclosed in it
(which was previously the highlighted region) stays unchanged.
If after selecting the environment, there is an additional prompt, say
for example for `equation`, the opening `\begin{equation}` gets indented
correctly, but the closing `\end{equation}` has no indentation at all
(id est is all the way left starting at column 0), and the content
enclosed also behaves as described before, unchanged indentation.
It should be easy to reproduce, I don't even think it is necessary to
already be in an indented environment to see this behaviour, but one can
try inside of an `itemize` environment for example, with wrongly
indented text spanning multiple lines and the highlight starting in the
middle of a line to see the effect the best.
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.