[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: indentation problem II
From: |
Ikumi Keita |
Subject: |
Re: indentation problem II |
Date: |
Fri, 22 Apr 2022 19:18:51 +0900 |
Hi Arash,
>>>>> Arash Esbati <arash@gnu.org> writes:
> Thanks for your responses. Indeed, there is a big chance that inserting
> a single & doesn't match the user expectation. This makes the change
> even smaller:
> diff --git a/style/amsmath.el b/style/amsmath.el
> index 5e7812e7..f72f8be8 100644
> --- a/style/amsmath.el
> +++ b/style/amsmath.el
> @@ -57,7 +57,8 @@
> "align*" "gather*" "flalign*" "multline*" "equation*"
> "split"
> "cases"
> - "matrix" "smallmatrix" "pmatrix" "bmatrix" "Bmatrix" "vmatrix" "Vmatrix"
> + "matrix" "smallmatrix"
> + "bmatrix" "Bmatrix" "pmatrix" "vmatrix" "Vmatrix"
> "subequations"
> '("subarray" "Alignment"))
This part can be omitted.
> +(defun LaTeX-item-equation-matrix ()
Maybe the function name should be reconsidered since it has little
to do with equation.
> + (insert (make-string n ?&))))))
Maybe
(insert-char ?& n)
is better. (Sorry, I wasn't aware of this usage of `insert-char' when I
wrote the similar code for `LaTeX-insert-ampersands'.)
Regards,
Ikumi Keita
#StandWithUkraine #StopWarInUkraine
P.S. Oops, it's too late. You already have installed the commit in the
git repo.
- Re: indentation problem II, (continued)
- Re: indentation problem II, Uwe Brauer, 2022/04/21
- [Culprit found prettify-symbols-mode] (was: indentation problem II), Uwe Brauer, 2022/04/21
- Re: indentation problem II, Arash Esbati, 2022/04/21
- Re: indentation problem II, Ikumi Keita, 2022/04/21
- Re: indentation problem II, Uwe Brauer, 2022/04/21
- Re: indentation problem II, Arash Esbati, 2022/04/21
- Re: indentation problem II, Uwe Brauer, 2022/04/21
- Re: indentation problem II, Uwe Brauer, 2022/04/21
- Re: indentation problem II, Arash Esbati, 2022/04/22
- Re: indentation problem II,
Ikumi Keita <=
- Re: indentation problem II, Arash Esbati, 2022/04/22
- Re: indentation problem II, Ikumi Keita, 2022/04/22