/[emacs]/emacs/man/custom.texi
ViewVC logotype

Diff of /emacs/man/custom.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.82 by rms, Sun Mar 6 17:12:54 2005 UTC revision 1.83 by rms, Mon Mar 28 21:05:54 2005 UTC
# Line 1636  word: Line 1636  word:
1636  (global-set-key [H-M-right] 'forward-word)  (global-set-key [H-M-right] 'forward-word)
1637  @end example  @end example
1638    
1639    @cindex keypad
1640      Many keyboards have a ``numeric keypad'' on the right hand side.
1641    The numeric keys in the keypad double up as cursor motion keys,
1642    toggled by a key labelled @samp{Num Lock}.  By default, Emacs
1643    translates these keys to the corresponding keys in the main keyboard
1644    (@pxref{Keyboard Translations}).  For example, when @samp{Num Lock} is
1645    on, the key labelled @samp{8} on the numeric keypad produces
1646    @code{kp-8}, which is translated to @kbd{8}; when @samp{Num Lock} is
1647    off, the same key produces @code{kp-up}, which is translated to
1648    @key{UP}.  If you rebind a key such as @kbd{8} or @key{UP}, it affects
1649    the equivalent keypad key too.  However, if you rebind a @samp{kp-}
1650    key directly, that won't affect its non-keypad equivalent.
1651    
1652      Emacs provides a convenient method for binding the numeric keypad
1653    keys, using the variables @code{keypad-setup},
1654    @code{keypad-numlock-setup}, @code{keypad-shifted-setup}, and
1655    @code{keypad-numlock-shifted-setup}.  These can be found in the
1656    @samp{keyboard} customization group (@pxref{Easy Customization}).  You
1657    can rebind the keys to perform other tasks, such as issuing numeric
1658    prefix arguments.
1659    
1660  @node Named ASCII Chars  @node Named ASCII Chars
1661  @subsection Named @acronym{ASCII} Control Characters  @subsection Named @acronym{ASCII} Control Characters
1662    

Legend:
Removed from v.1.82  
changed lines
  Added in v.1.83

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26