[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: The auto-completion behavior of parenthesis.
From: |
Hongyi Zhao |
Subject: |
Re: The auto-completion behavior of parenthesis. |
Date: |
Thu, 27 Jul 2023 22:32:11 +0800 |
On Thu, Jul 27, 2023 at 10:05 PM Arash Esbati <arash@gnu.org> wrote:
>
> Hongyi Zhao <hongyi.zhao@gmail.com> writes:
>
> > In AUCTeX mode, I noticed that `{', and `[' can be completed
> > automatically, while `(' doesn't. Any tips for this behavior?
>
> AUCTeX provides a variable called `LaTeX-electric-left-right-brace' for
> this purpose which is initally disabled:
>
> ,----[ C-h v LaTeX-electric-left-right-brace RET ]
> | LaTeX-electric-left-right-brace is a variable defined in ‘latex.el’.
> |
> | Its value is t
> | Original value was nil
> |
> | If non-nil, insert right brace with suitable macro after typing left brace.
> |
> | You can customize this variable.
> |
> `----
>
> See also here[1] for more information.
Very strange. I've enabled this option, as shown below:
[ C-h v LaTeX-electric-left-right-brace RET ]
LaTeX-electric-left-right-brace is a variable defined in ‘latex.el’.
Its value is t
Original value was nil
If non-nil, insert right brace with suitable macro after typing left brace.
You can customize this variable.
[back]
But I still cannot observe the corresponding completion of the
innermost `(' as shown in the attached screenshot.
>
> Best, Arash
>
> Footnotes:
> [1]
> https://www.gnu.org/software/auctex/manual/auctex/Quotes.html#index-LaTeX_002delectric_002dleft_002dright_002dbrace
Regards,
Zhao
image.png
Description: PNG image
- The auto-completion behavior of parenthesis., Hongyi Zhao, 2023/07/22
- Re: The auto-completion behavior of parenthesis., Arash Esbati, 2023/07/27
- Re: The auto-completion behavior of parenthesis.,
Hongyi Zhao <=
- Re: The auto-completion behavior of parenthesis., David Kastrup, 2023/07/27
- Re: The auto-completion behavior of parenthesis., Arash Esbati, 2023/07/27
- Re: The auto-completion behavior of parenthesis., Hongyi Zhao, 2023/07/28
- Re: The auto-completion behavior of parenthesis., Hongyi Zhao, 2023/07/28
- Re: The auto-completion behavior of parenthesis., Ikumi Keita, 2023/07/28
- Re: The auto-completion behavior of parenthesis., Hongyi Zhao, 2023/07/28
- Re: The auto-completion behavior of parenthesis., Hongyi Zhao, 2023/07/28
- Re: The auto-completion behavior of parenthesis., Ikumi Keita, 2023/07/28
- Re: The auto-completion behavior of parenthesis., Hongyi Zhao, 2023/07/28
- Re: The auto-completion behavior of parenthesis., Ikumi Keita, 2023/07/28