Emacs: Name Completion

By Xah Lee. Date: . Last updated: .

completion-at-point

Alt+x completion-at-pointCtrl+Alt+i
For completing the word under cursor, mostly used in in a programing language source code. This works best in emacs-lisp-mode for coding emacs lisp. Usually does not work for other languages, such as JavaScript, Python, Ruby, unless you install supporting packages.
emacs completion at point 2017 07 11
completion-at-point, with plain gnu emacs in emacs-lisp-mode.

hippie-expand

hippie-expand
For expanding current word to any matching string that occurs in any existing buffers.

[see Emacs: Hippie Expand]

Abbrev Mode

abbrev-mode
For expanding current word to any string, emoji, template, etc. You define the abbrevs.

[see Emacs: Abbrev Mode]

Completion for Minibuffer Prompts

ido-mode
For auto completion in minibuffer, for buffer/file names. [see Emacs: Ido Mode]
icomplete-mode
For all minibuffer prompt command completion. [see Emacs: Icomplete Mode]

[see Emacs: icomplete vs ido mode]

2012-11-29 thanks to Ba Manzi (杨贵龙) for a tip.

If you have a question, put $5 at patreon and message me on xah discord.
Or support me by Buy Xah Emacs Tutorial

Emacs Tutorial

Emacs Init

Emacs Keys

ELisp

ELisp Examples

ELisp Write Major Mode


Emacs Tutorial

Quick Start

Manage Windows

File

Buffer

Find Replace

Copy/Paste

Unicode

Whitespace

Rectangle Edit

Line Wrap

Shell

View Special File

Working with Brackets

Org Mode

HTML

Emacs Efficiency

Misc