all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* autocomplete on function names
@ 2007-08-29 20:05 jeanluc
  2007-08-30 20:46 ` Eli Zaretskii
       [not found] ` <mailman.75.1188506807.18990.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 3+ messages in thread
From: jeanluc @ 2007-08-29 20:05 UTC (permalink / raw)
  To: help-gnu-emacs

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?

thanks!

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: autocomplete on function names
  2007-08-29 20:05 autocomplete on function names jeanluc
@ 2007-08-30 20:46 ` Eli Zaretskii
       [not found] ` <mailman.75.1188506807.18990.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2007-08-30 20:46 UTC (permalink / raw)
  To: help-gnu-emacs

> 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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: autocomplete on function names
       [not found] ` <mailman.75.1188506807.18990.help-gnu-emacs@gnu.org>
@ 2007-08-30 22:42   ` jeanluc
  0 siblings, 0 replies; 3+ messages in thread
From: jeanluc @ 2007-08-30 22:42 UTC (permalink / raw)
  To: help-gnu-emacs

thanks!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-08-30 22:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-29 20:05 autocomplete on function names jeanluc
2007-08-30 20:46 ` Eli Zaretskii
     [not found] ` <mailman.75.1188506807.18990.help-gnu-emacs@gnu.org>
2007-08-30 22:42   ` jeanluc

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.