Re: The auto-completion behavior of parenthesis.

2023-07-30 Thread Hongyi Zhao
On Sun, Jul 30, 2023 at 3:40 PM Tassilo Horn wrote: > > Hongyi Zhao writes: > > > 1. You said: > > > > "emacs -Q" session resulted in built-in latex mode > > > > Yes. This is true in all my testings. > > > > After the above step 1, I observed the following behavior: > > > > 2. If AUCTeX hasn't

Re: The auto-completion behavior of parenthesis.

2023-07-30 Thread Tassilo Horn
Hongyi Zhao writes: > 1. You said: > > "emacs -Q" session resulted in built-in latex mode > > Yes. This is true in all my testings. > > After the above step 1, I observed the following behavior: > > 2. If AUCTeX hasn't installed by `package-install', after I installed > it by `package-install'

Re: The auto-completion behavior of parenthesis.

2023-07-28 Thread Hongyi Zhao
On Sat, Jul 29, 2023 at 11:53 AM Ikumi Keita wrote: > > Hi Hongyi, > > > Hongyi Zhao writes: > > On Sat, Jul 29, 2023 at 12:03 AM Ikumi Keita wrote: > >> > >> > Hongyi Zhao writes: > >> > I see, due to auctex has already been installed, I must test it as > >> > follows: > >> > >> >

Re: The auto-completion behavior of parenthesis.

2023-07-28 Thread Ikumi Keita
Hi Hongyi, > Hongyi Zhao writes: > On Sat, Jul 29, 2023 at 12:03 AM Ikumi Keita wrote: >> >> > Hongyi Zhao writes: >> > I see, due to auctex has already been installed, I must test it as follows: >> >> > emacs -Q >> > M-x package-reinstall RET auctex RET >> >> > Open a tex file, and

Re: The auto-completion behavior of parenthesis.

2023-07-28 Thread Hongyi Zhao
On Sat, Jul 29, 2023 at 12:03 AM Ikumi Keita wrote: > > > Hongyi Zhao writes: > > I see, due to auctex has already been installed, I must test it as follows: > > > emacs -Q > > M-x package-reinstall RET auctex RET > > > Open a tex file, and `M-: (setq LaTeX-electric-left-right-brace t) RET'

Re: The auto-completion behavior of parenthesis.

2023-07-28 Thread Ikumi Keita
> Hongyi Zhao writes: > I see, due to auctex has already been installed, I must test it as follows: > emacs -Q > M-x package-reinstall RET auctex RET > Open a tex file, and `M-: (setq LaTeX-electric-left-right-brace t) RET' > Then test the problem discussed here. > See the attached

Re: The auto-completion behavior of parenthesis.

2023-07-28 Thread Hongyi Zhao
On Fri, Jul 28, 2023 at 2:43 PM Ikumi Keita wrote: > > Hi, > > > Hongyi Zhao writes: > > After starting with 'emacs -Q', I tried to do the above test with the > > guidance here [1] to install auctex: > > > M-x package-install RET auctex RET > > > But I meet the following: > > > Install

Re: The auto-completion behavior of parenthesis.

2023-07-28 Thread Hongyi Zhao
On Fri, Jul 28, 2023 at 3:43 PM Hongyi Zhao wrote: > > On Fri, Jul 28, 2023 at 2:43 PM Ikumi Keita wrote: > > > > Hi, > > > > > Hongyi Zhao writes: > > > After starting with 'emacs -Q', I tried to do the above test with the > > > guidance here [1] to install auctex: > > > > > M-x

Re: The auto-completion behavior of parenthesis.

2023-07-28 Thread Ikumi Keita
Hi, > Hongyi Zhao writes: > After starting with 'emacs -Q', I tried to do the above test with the > guidance here [1] to install auctex: > M-x package-install RET auctex RET > But I meet the following: > Install package: auctex RET > no match I think that your local elpa database wasn't

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

The auto-completion behavior of parenthesis.

2023-07-22 Thread Hongyi Zhao
Hi here, In AUCTeX mode, I noticed that `{', and `[' can be completed automatically, while `(' doesn't. Any tips for this behavior? Regards, Zhao -- Assoc. Prof. Hongsheng Zhao Theory and Simulation of Materials Hebei Vocational University of Technology and Engineering No. 473, Quannan West