emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/man/custom.texi


From: Richard M . Stallman
Subject: [Emacs-diffs] Changes to emacs/man/custom.texi
Date: Mon, 28 Mar 2005 16:05:54 -0500

Index: emacs/man/custom.texi
diff -c emacs/man/custom.texi:1.82 emacs/man/custom.texi:1.83
*** emacs/man/custom.texi:1.82  Sun Mar  6 17:12:54 2005
--- emacs/man/custom.texi       Mon Mar 28 21:05:54 2005
***************
*** 1636,1641 ****
--- 1636,1662 ----
  (global-set-key [H-M-right] 'forward-word)
  @end example
  
+ @cindex keypad
+   Many keyboards have a ``numeric keypad'' on the right hand side.
+ The numeric keys in the keypad double up as cursor motion keys,
+ toggled by a key labelled @samp{Num Lock}.  By default, Emacs
+ translates these keys to the corresponding keys in the main keyboard
+ (@pxref{Keyboard Translations}).  For example, when @samp{Num Lock} is
+ on, the key labelled @samp{8} on the numeric keypad produces
+ @code{kp-8}, which is translated to @kbd{8}; when @samp{Num Lock} is
+ off, the same key produces @code{kp-up}, which is translated to
+ @key{UP}.  If you rebind a key such as @kbd{8} or @key{UP}, it affects
+ the equivalent keypad key too.  However, if you rebind a @samp{kp-}
+ key directly, that won't affect its non-keypad equivalent.
+ 
+   Emacs provides a convenient method for binding the numeric keypad
+ keys, using the variables @code{keypad-setup},
+ @code{keypad-numlock-setup}, @code{keypad-shifted-setup}, and
+ @code{keypad-numlock-shifted-setup}.  These can be found in the
+ @samp{keyboard} customization group (@pxref{Easy Customization}).  You
+ can rebind the keys to perform other tasks, such as issuing numeric
+ prefix arguments.
+ 
  @node Named ASCII Chars
  @subsection Named @acronym{ASCII} Control Characters
  




reply via email to

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