all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Hongyi Zhao <hongyi.zhao@gmail.com>
To: Hongyi Zhao <hongyi.zhao@gmail.com>,
	help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: Autocompletion for partially typesetted stuff in auctex.
Date: Tue, 8 Jun 2021 16:17:30 +0800	[thread overview]
Message-ID: <CAGP6POJXP22ms0S2VRCO=hi8cSBRAhvhn15UreQ+oiNJ_YMciA@mail.gmail.com> (raw)
In-Reply-To: <YL8ZzakqQd7bgJpU@protected.localdomain>

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.

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	other threads:[~2021-06-08  8:17 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 [this message]
2021-06-08 14:29     ` Jean Louis
2021-06-08 15:42       ` Hongyi Zhao
2021-06-12  3:07     ` Jean Louis
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAGP6POJXP22ms0S2VRCO=hi8cSBRAhvhn15UreQ+oiNJ_YMciA@mail.gmail.com' \
    --to=hongyi.zhao@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.