[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Wrong indentation of align* env with empheq.el
From: |
Ikumi Keita |
Subject: |
Re: Wrong indentation of align* env with empheq.el |
Date: |
Mon, 28 Nov 2022 22:38:37 +0900 |
Hi Arash,
>>>>> Arash Esbati <arash@gnu.org> writes:
> Can someone please enlighten me why the environment is indented? It
> seems that `indent-according-to-mode' after
> (insert TeX-esc "begin" TeX-grop environment TeX-grcl)
> inside `LaTeX-insert-environment' adds the indentation, but I don't
> understand why.
It seems that this recent commit is responsible:
,----
| e4ceb88bb7cb4f406874de196aa71118449fe373
| Author: Arash Esbati <arash@gnu.org>
| AuthorDate: Tue Nov 22 21:10:32 2022 +0100
| Commit: Arash Esbati <arash@gnu.org>
| CommitDate: Tue Nov 22 21:10:32 2022 +0100
|
| Bind a value to `LaTeX-current-environment' locally
`----
When I change `LaTeX-env-args' to
(defun LaTeX-env-args (environment &rest args)
"Insert ENVIRONMENT and arguments defined by ARGS."
; (let ((LaTeX-current-environment environment))
(LaTeX-insert-environment environment)
(LaTeX--env-parse-args args));)
, indentation gets back to correct behavior.
Regards,
Ikumi Keita
#StandWithUkraine #StopWarInUkraine
- Wrong indentation of align* env with empheq.el, Arash Esbati, 2022/11/28
- Re: Wrong indentation of align* env with empheq.el,
Ikumi Keita <=
- Re: Wrong indentation of align* env with empheq.el, Arash Esbati, 2022/11/28
- Re: Wrong indentation of align* env with empheq.el, Ikumi Keita, 2022/11/29
- Re: Wrong indentation of align* env with empheq.el, Arash Esbati, 2022/11/29
- Re: Wrong indentation of align* env with empheq.el, Ikumi Keita, 2022/11/30
- Re: Wrong indentation of align* env with empheq.el, Arash Esbati, 2022/11/30
- Re: Wrong indentation of align* env with empheq.el, Ikumi Keita, 2022/11/30