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


Message #37 received at 48518 <at> debbugs.gnu.org (full text, mbox):

From: Arash Esbati <arash <at> gnu.org>
To: Berthold Lorke <berthold <at> lorke.de>
Cc: Ikumi Keita <ikumi <at> ikumi.que.jp>, 48518 <at> debbugs.gnu.org
Subject: Re: bug#48518: 13.0.11; LaTeX environment C-c C-e on region doesn't
 indent properly
Date: Tue, 20 Dec 2022 20:30:04 +0100
Berthold Lorke <berthold <at> lorke.de> writes:

> 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.

Are you still using 13.0.11?  If yes, can you please update first from
ELPA?  Thanks.

I'm not sure if I understand what you describe.  If I take this .tex
file:

--8<---------------cut here---------------start------------->8---
\documentclass{article}

\begin{document}

Furthermore, I noticed the following.

\end{document}

%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:
--8<---------------cut here---------------end--------------->8---

Mark the sentence and hit 'C-c C-e equation RET', this is what I get:

--8<---------------cut here---------------start------------->8---
\documentclass{article}

\begin{document}

\begin{equation}
  \label{eq:1}
  Furthermore, I noticed the following.
\end{equation}

\end{document}

%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:
--8<---------------cut here---------------end--------------->8---

Am I missing something?

Best, Arash




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.