auctex
[Top][All Lists]
Advanced

[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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]