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

2023-02-03 Thread Ikumi Keita
Hi Berthold, thanks for the report. > Berthold Lorke writes: > Okay, I am sorry if I am bugging you (no pun intended), but I now > still do believe there is a problem. > I am using auctex 13.1.9. Let us assume the following inside of a > buffer in `tex-mode` with auctex installed. I did th

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

2023-02-03 Thread Arash Esbati
Hi Keita, Ikumi Keita writes: > Currenty, `LaTeX-insert-environment' doesn't indent the active region if > the environment is in `LaTeX-indent-environment-list'. Yes, this was also my conclusion after having a brief look. > Could you try the attached patch? Thanks, I tried and it works. Let'

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

2023-02-03 Thread Berthold Lorke
hey guys! thanks for checking out and trying to fix it! i tried the patch and it seems like everything works fine now! thanks! ___ bug-auctex mailing list bug-auctex@gnu.org https://lists.gnu.org/mailman/listinfo/bug-auctex

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

2023-02-03 Thread Ikumi Keita
> Berthold Lorke writes: > hey guys! thanks for checking out and trying to fix it! > i tried the patch and it seems like everything works fine now! thanks! Thanks for checking. Sorry for not being carefull enough to fix bug#28382[1] last year. :-( To developers: I'm a bit unsure whether th

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

2023-02-03 Thread Arash Esbati
Ikumi Keita writes: > To developers: > I'm a bit unsure whether there is regression with this fix or not. Do > you think it should be delayed until the new tarball release is out? My tendency is to install the change. It seems to fix a bug, and fixes before release are OK, at least in my book :

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

2023-02-03 Thread Ikumi Keita
Hi Arash, > Arash Esbati writes: > My tendency is to install the change. It seems to fix a bug, and fixes > before release are OK, at least in my book :-) Alright, I've pushed the commit. Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine __

bug#28382: 11.90.2.2017-07-25; Wrapping content in an equation with LaTeX-environment results in invalid LaTeX

2023-02-03 Thread Ikumi Keita
[ Responding to a year-old bug ] > Ikumi Keita writes: > Hi Thibaut, sorry for very late reply. > Thibaut Verron writes: >>> If now you insert the equation first, select it, and use `C-c C-e` to >>> wrap it in an "equation" environment, the result is >>> \begin{equation} >>> 2+2=4\label