From: Jean Louis <bugs@gnu.support>
To: Hongyi Zhao <hongyi.zhao@gmail.com>
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: Autocompletion for partially typesetted stuff in auctex.
Date: Sat, 12 Jun 2021 06:07:37 +0300 [thread overview]
Message-ID: <YMQk+dGCLktchAk1@protected.localdomain> (raw)
In-Reply-To: <CAGP6POJXP22ms0S2VRCO=hi8cSBRAhvhn15UreQ+oiNJ_YMciA@mail.gmail.com>
* 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/
next prev parent reply other threads:[~2021-06-12 3:07 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-08 4:40 Autocompletion for partially typesetted stuff in auctex Hongyi Zhao
2021-06-08 7:18 ` Jean Louis
2021-06-08 8:17 ` Hongyi Zhao
2021-06-08 14:29 ` Jean Louis
2021-06-08 15:42 ` Hongyi Zhao
2021-06-12 3:07 ` Jean Louis [this message]
2021-06-12 8:14 ` Hongyi Zhao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YMQk+dGCLktchAk1@protected.localdomain \
--to=bugs@gnu.support \
--cc=help-gnu-emacs@gnu.org \
--cc=hongyi.zhao@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).