[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

Y.1 Conceptos de abreviaturas

Una abreviatura es una palabra que fue definida para expandirse a una expansión especificada. Cuando inserta un carácter separador de palabras después de la abreviatura, ésta se expande, reemplazando la abreviatura con su expansión. Por ejemplo, si `foo' está definido como una abreviatura que expande a `find outer otter', entonces ud. puede insertar `find outer otter.' en el búfer tecleando f o o ..

Abbrevs expand only when Abbrev mode (a minor mode) is enabled. Disabling Abbrev mode does not cause abbrev definitions to be forgotten, but they do not expand until Abbrev mode is enabled again. The command M-x abbrev-mode toggles Abbrev mode; with a numeric argument, it turns Abbrev mode on if the argument is positive, off otherwise. @xref{Minor Modes}. abbrev-mode is also a variable; Abbrev mode is on when the variable is non-nil. The variable abbrev-mode automatically becomes local to the current buffer when it is set.

Abbrev definitions can be mode-specific--active only in one major mode. Abbrevs can also have global definitions that are active in all major modes. The same abbrev can have a global definition and various mode-specific definitions for different major modes. A mode-specific definition for the current major mode overrides a global definition.

Abbrevs can be defined interactively during the editing session. Lists of abbrev definitions can also be saved in files and reloaded in later sessions. Some users keep extensive lists of abbrevs that they load in every session.


This document was generated by Roberto on abril, 2 2007 using texi2html 1.76.