help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: About Emacs features


From: Javier
Subject: Re: About Emacs features
Date: Thu, 16 Jan 2014 13:32:53 +0000 (UTC)
User-agent: tin/2.0.1-20111224 ("Achenvoir") (UNIX) (Linux/3.9.8-1-ARCH (x86_64))

To most straighforward way to complete a word is M-/ (ESC-/).  It just
guesses from the words you previously typed.  Press M-/ again to
change the choices for the word.  It should work in recent versions of
emacs without configuring anything.

M-/ (translated from <escape> /) runs the command dabbrev-expand,
which is an interactive autoloaded Lisp function in `dabbrev.el'.

It is bound to M-/.

------------------------------------------------------------
(dabbrev-expand ARG)

Expand previous word "dynamically".

Expands to the most recent, preceding word for which this is a prefix.
If no suitable preceding word is found, words following point are
considered.  If still no suitable word is found, then look in the
buffers accepted by the function pointed out by variable
`dabbrev-friend-buffer-function'.

A positive prefix argument, N, says to take the Nth backward *distinct*
possibility.  A negative argument says search forward.

If the cursor has not moved from the end of the previous expansion and
no argument is given, replace the previously-made expansion
with the next possible expansion not yet tried.

The variable `dabbrev-backward-only' may be used to limit the
direction of search to backward if set non-nil.

See also `dabbrev-abbrev-char-regexp' and C-M-/.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]