[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Indenting the code written in square brackets as optional parameters
From: |
Arash Esbati |
Subject: |
Re: Indenting the code written in square brackets as optional parameters |
Date: |
Wed, 16 Mar 2022 11:37:22 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 |
Hi Keita,
Ikumi Keita <ikumi@ikumi.que.jp> writes:
> I think the attached patch works as expected. My approach is to include
> only additional delimiters in new user options, since braces "{" and "}"
> should always be considered to pull in indentation.
>
> To try indent inside square brackets, include
> (setq TeX-indent-open-delimiters "[")
> (setq TeX-indent-close-delimiters "]")
> somewhere in your init.el.
>
> If this proposal is acceptable, I can commit it the git repo
Thanks for working on this. Your patch LGTM, please go ahead and
install it. I will then install my change for indentation of
conditionals on top of it.
> and I'd appreciate if someone could write suitable paragraphs to
> include in .texi documentation ;-) .
Let's wait and see ;-)
Best, Arash
- Re: Indenting the code written in square brackets as optional parameters, (continued)
- Re: Indenting the code written in square brackets as optional parameters, Ikumi Keita, 2022/03/06
- Re: Indenting the code written in square brackets as optional parameters, Arash Esbati, 2022/03/08
- Re: Indenting the code written in square brackets as optional parameters, Ikumi Keita, 2022/03/08
- Re: Indenting the code written in square brackets as optional parameters, Arash Esbati, 2022/03/08
- Re: Indenting the code written in square brackets as optional parameters, Sašo Živanović, 2022/03/09
- Re: Indenting the code written in square brackets as optional parameters, निरंजन, 2022/03/09
- Re: Indenting the code written in square brackets as optional parameters, Sašo Živanović, 2022/03/09
- Re: Indenting the code written in square brackets as optional parameters, Arash Esbati, 2022/03/09
- Re: Indenting the code written in square brackets as optional parameters, Ikumi Keita, 2022/03/10
- Re: Indenting the code written in square brackets as optional parameters, Ikumi Keita, 2022/03/16
- Re: Indenting the code written in square brackets as optional parameters,
Arash Esbati <=
- Re: Indenting the code written in square brackets as optional parameters, Ikumi Keita, 2022/03/16
- Re: Indenting the code written in square brackets as optional parameters, निरंजन, 2022/03/16
- Re: Indenting the code written in square brackets as optional parameters, Sašo Živanović, 2022/03/16
- Re: Indenting the code written in square brackets as optional parameters, Arash Esbati, 2022/03/18
- Re: Indenting the code written in square brackets as optional parameters, Ikumi Keita, 2022/03/19
- Re: Indenting the code written in square brackets as optional parameters, Arash Esbati, 2022/03/19
- Re: Indenting the code written in square brackets as optional parameters, Ikumi Keita, 2022/03/20