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: Jean Louis
Subject: Re: Autocompletion for partially typesetted stuff in auctex.
Date: Sat, 12 Jun 2021 06:07:37 +0300
User-agent: Mutt/2.0.7+183 (3d24855) (2021-05-28)

* 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'?

-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/



reply via email to

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