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.

Spent a few hours here?

Emacs Tutorial

Emacs Init

Emacs Keys

Elisp Basics

Elisp Examples

Elisp Advanced

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

Editing Brackets

Org Mode

HTML

Emacs Efficiency

Misc