help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Autocompletion for partially typesetted stuff in auctex.


From: Hongyi Zhao
Subject: Re: Autocompletion for partially typesetted stuff in auctex.
Date: Sat, 12 Jun 2021 16:14:36 +0800

On Sat, Jun 12, 2021 at 11:41 AM Jean Louis <bugs@gnu.support> wrote:
>
> * Hongyi Zhao <hongyi.zhao@gmail.com> [2021-06-08 11:18]:
> > On Tue, Jun 8, 2021 at 3:21 PM Jean Louis <bugs@gnu.support> wrote:
> > >
> > > * Hongyi Zhao <hongyi.zhao@gmail.com> [2021-06-08 07:41]:
> > > > The following description is an excerpt from
> > > > <https://www.gnu.org/software/auctex/features.html>:
> > > >
> > > >   There is a completion mechanism for partially written macros
> > > > available as well.
> > > >
> > > > But I want to know if it can help to complete the commands/macro names
> > > > defined in any packages called in the preamble of the current project
> > > > documents.
> > > >
> > > > Any hints will be highly appreciated.
> > >
> > > Try M-x pabbrev-mode
> > >
> > > It will capture words in many buffers and use such for completion.
> >
> > If I type a command used in the TeX document for the first time, in
> > this case, it does not appear in any buffers, but only in LaTeX
> > package definition files. I don't know if your above-mentioned method
> > applies to this situation also.
>
> Please see Emacs package `auctex' and the manual section below:
> (info "(auctex) Completion")
>
> As that will give you wanted completion.
>
> Do you use `auctex'?

I just plain to switch from other TeX editors currently used by me,
say, `TeXstudio', to `auctex'.

Regards
-- 
Assoc. Prof. Hongyi Zhao <hongyi.zhao@gmail.com>
Theory and Simulation of Materials
Hebei Vocational University of Technology and Engineering
NO. 552 North Gangtie Road, Xingtai, China



reply via email to

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