all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: autocomplete on function names
Date: Thu, 30 Aug 2007 23:46:43 +0300	[thread overview]
Message-ID: <umyw8bvik.fsf@gnu.org> (raw)
In-Reply-To: <1188417916.016679.173280@i38g2000prf.googlegroups.com> (message from jeanluc on Wed, 29 Aug 2007 13:05:16 -0700)

> From: jeanluc <jeanluc_picard_66@hotmail.com>
> Date: Wed, 29 Aug 2007 13:05:16 -0700
> 
> Assume that you are using emacs to write a program that will access a
> library of functions.
> 
> Is it possible to set up emacs so that as you start to type a function
> name, emacs can look to a file that contains all of the function names
> and if prompted can pop up a list from which you can pick the correct
> function name?

One way to do that is this: produce a file with a list of all the
functions, and visit it in Emacs.  Then use M-/ or C-M-/ to complete
on function names.  (These two commands look in all buffers, so if the
list of functions is in some buffer, you will get what you want.)

Another way is to generate a tag table for your library (using the
etags program that comes with Emacs), then use "M-x complete-tag" to
complete the name of the function at point, and select one of the
completions from the *Completions* buffer.

  reply	other threads:[~2007-08-30 20:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-29 20:05 autocomplete on function names jeanluc
2007-08-30 20:46 ` Eli Zaretskii [this message]
     [not found] ` <mailman.75.1188506807.18990.help-gnu-emacs@gnu.org>
2007-08-30 22:42   ` jeanluc

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=umyw8bvik.fsf@gnu.org \
    --to=eliz@gnu.org \
    --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.