Re: The auto-completion behavior of parenthesis.

2023-07-27 Thread Hongyi Zhao
On Fri, Jul 28, 2023 at 2:36 AM Arash Esbati wrote: > > Hongyi Zhao writes: > > > 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 > >

Re: The auto-completion behavior of parenthesis.

2023-07-27 Thread Hongyi Zhao
On Fri, Jul 28, 2023 at 12:23 PM Hongyi Zhao wrote: > > On Fri, Jul 28, 2023 at 2:36 AM Arash Esbati wrote: > > > > Hongyi Zhao writes: > > > > > Very strange. I've enabled this option, as shown below: > > > > > > [ C-h v LaTeX-electric-left-right-brace RET ] > > >

Re: The auto-completion behavior of parenthesis.

2023-07-27 Thread Arash Esbati
Hongyi Zhao writes: > 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

Re: The auto-completion behavior of parenthesis.

2023-07-27 Thread David Kastrup
Hongyi Zhao writes: > On Thu, Jul 27, 2023 at 10:05 PM Arash Esbati wrote: >> >> Hongyi Zhao 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

Re: The auto-completion behavior of parenthesis.

2023-07-27 Thread Hongyi Zhao
On Thu, Jul 27, 2023 at 10:05 PM Arash Esbati wrote: > > Hongyi Zhao 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

Re: The auto-completion behavior of parenthesis.

2023-07-27 Thread Arash Esbati
Hongyi Zhao 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