GNU bug report logs - #58689
13.1.4; LaTeX-modify-environment fails to modify a single line environment.

Previous Next

Package: auctex;

Reported by: Jean-Jacques Rétorré <jj.retorre <at> gmail.com>

Date: Fri, 21 Oct 2022 14:41:02 UTC

Severity: normal

Found in version 13.1.4

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

Bug is archived. No further changes may be made.

Full log


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

From: Ikumi Keita <ikumi <at> ikumi.que.jp>
To: Jean-Jacques Rétorré <jj.retorre <at> gmail.com>
Cc: 58689 <at> debbugs.gnu.org
Subject: Re: bug#58689: 13.1.4;
 LaTeX-modify-environment fails to modify a single line environment.
Date: Mon, 24 Oct 2022 00:26:01 +0900
Hi Jean-Jacques,

>>>>> Jean-Jacques Rétorré <jj.retorre <at> gmail.com> writes:
> As a MWE

> ,----
> | \documentclass{article}
> | \begin{document}
> | \begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix}
> | \end{document}
> `----

> C-u C-c C-e RET bmatrix produce

> ,----
> | \documentclass{article}
> | \begin{bmatrix}
> | \begin{pmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix}
> | \end{document}
> `----

Thank you for the report. AUCTeX assumes that \begin and \end lie on
their own lines in general, hence the behavior.

Looking at the relevant code, I think I can do something for
LaTeX-modify-environment to cover the situation where \begin and \end
are on the same line. I expect that I can have spare time to manage this
issue on November.

Regards,
Ikumi Keita
#StandWithUkraine #StopWarInUkraine




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

Previous Next


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