all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jean Louis <bugs@gnu.support>
To: Hongyi Zhao <hongyi.zhao@gmail.com>
Cc: auctex@gnu.org, help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: Tooltip and incremental drop-down menus of automatic completion.
Date: Mon, 14 Jun 2021 11:18:07 +0300	[thread overview]
Message-ID: <YMcQv2GHBePECsZI@protected.localdomain> (raw)
In-Reply-To: <CAGP6POJRqAc1pYsPGWwBd4MNtypbvX7fT50Dae8kOt6xsRptbQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1144 bytes --]

* Hongyi Zhao <hongyi.zhao@gmail.com> [2021-06-14 10:04]:
> When I typeset LaTeX source file in Emacs with auctex enabled, I
> want to know if the features like tooltip and incremental drop-down
> menus of automatic completion are available.

I don't know about the tooltip, that usually shortly explains the icon
in the toolbar.

Completion of macros is available with C-M-i, for example you write:

\use and press C-M-i then you get possible completions:

Click on a completion to select it.
In this buffer, type RET to select the completion near point.

Possible completions are:
usebox
usecounter
usepackage

If you write:

\usep

and press C-M-i it completes to \usepackage

Now to get an incremental drop down meny I may recommend using package
`ivy' from GNU ELPA as that would open up the possible completions
when using macro completion key bindings C-M-i 

See screenshot attached, as it shows possible incremental completion
next to the cursor, that is `ivy' package doing it.

-- 
Jean

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

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

[-- Attachment #2: 2021-06-14-11:15:03.png --]
[-- Type: image/png, Size: 6960 bytes --]

  reply	other threads:[~2021-06-14  8:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-14  7:02 Tooltip and incremental drop-down menus of automatic completion Hongyi Zhao
2021-06-14  8:18 ` Jean Louis [this message]
2021-06-14  9:57   ` Hongyi Zhao
2021-06-14 12:00     ` Jean Louis
2021-06-14 12:06     ` Basil L. Contovounesios
2021-06-14 12:05 ` Basil L. Contovounesios

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=YMcQv2GHBePECsZI@protected.localdomain \
    --to=bugs@gnu.support \
    --cc=auctex@gnu.org \
    --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.
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.