www.delorie.com/gnu/docs/calc/calc_372.html   search  
 
Buy the book!


GNU Emacs Calc 2.02 Manual

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

A.7 Key Bindings

Calc is normally bound to the M-# key. To set up this key binding, include the following command in your `.emacs' or `lisp/default' file. (This is done automatically by `make private' or `make public', respectively.)

 
(global-set-key "\e#" 'calc-dispatch)

Note that calc-dispatch actually works as a prefix for various two-key sequences. If you have a convenient unused function key on your keyboard, you may wish to bind calc-dispatch to that as well. You may even wish to bind other specific Calc functions like calc or quick-calc to other handy function keys.

Even if you bind calc-dispatch to other keys, it is best to bind it to M-# as well if you possibly can: There are references to M-# all throughout the Calc manual which would confuse novice users if they didn't work as advertised.

Another key binding issue is the DEL key. Some installations use a different key (such as backspace) for this purpose. Calc normally scans the entire keymap and maps all keys defined like DEL to the calc-pop command. However, this may be slow. You can set the variable calc-scan-for-dels to nil to cause only the actual DEL key to be mapped to calc-pop; this will speed loading of Calc.

 

  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003