calculator-mode-map
calculator-mode-map is a variable defined in `
calculator.el
'.
Its value is shown
below.
- This variable may be risky if used as a file-local variable.
Documentation:
The calculator key map.
Value:
(keymap
(menu-bar keymap
(Calculator menu-item "Calculator"
(keymap "Calculator"
(Help menu-item "Help" menu-function-78 :keys "?")
(nil-9 menu-item "---")
(Copy menu-item "Copy" calculator-copy)
(Paste menu-item "Paste" calculator-paste)
(nil-9-4 menu-item "---")
(Electric\ mode menu-item "Electric mode" menu-function-79 :key-sequence nil :enable
(not calculator-electric-mode))
(Normal\ mode menu-item "Normal mode" menu-function-80 :key-sequence nil :enable calculator-electric-mode)
(nil-9-7 menu-item "---")
(Functions menu-item "Functions"
(keymap "Functions"
(Repeat-right menu-item "Repeat-right" menu-function-81 :keys ">")
(Repeat-left menu-item "Repeat-left" menu-function-82 :keys "<")
(nil menu-item "------General------")
(Reciprocal menu-item "Reciprocal" menu-function-83 :keys ";")
(Log menu-item "Log" menu-function-84 :keys "L")
(Square-root menu-item "Square-root" menu-function-85 :keys "Q")
(Factorial menu-item "Factorial" menu-function-86 :keys "!")
(nil-7 menu-item "------Trigonometric------")
(Sinus menu-item "Sinus" menu-function-87 :keys "S")
(Cosine menu-item "Cosine" menu-function-88 :keys "C")
(Tangent menu-item "Tangent" menu-function-89 :keys "T")
(Inv-Sinus menu-item "Inv-Sinus" menu-function-90 :keys "IS")
(Inv-Cosine menu-item "Inv-Cosine" menu-function-91 :keys "IC")
(Inv-Tangent menu-item "Inv-Tangent" menu-function-92 :keys "IT")
(nil-14 menu-item "------Bitwise------")
(Or menu-item "Or" menu-function-93 :keys "|")
(Xor menu-item "Xor" menu-function-94 :keys "#")
(And menu-item "And" menu-function-95 :keys "&")
(Not menu-item "Not" menu-function-96 :keys "~")))
(Saved\ List menu-item "Saved List"
(keymap "Saved List"
(Eval+Save menu-item "Eval+Save" calculator-save-on-list)
(Prev\ number menu-item "Prev number" calculator-saved-up)
(Next\ number menu-item "Next number" calculator-saved-down)
(Delete\ current menu-item "Delete current" calculator-clear :enable
(and calculator-display-fragile calculator-saved-list
(=
(car calculator-stack)
(nth calculator-saved-ptr calculator-saved-list))))
(Delete\ all menu-item "Delete all" calculator-clear-saved)
(nil-9 menu-item "---")
(List-total menu-item "List-total" menu-function-97 :keys "l")
(List-average menu-item "List-average" menu-function-98 :keys "v")))
(Registers menu-item "Registers"
(keymap "Registers"
(Get\ register menu-item "Get register" calculator-get-register)
(Set\ register menu-item "Set register" calculator-set-register)))
(Modes menu-item "Modes"
(keymap "Modes"
(Radians menu-item "Radians" menu-function-99 :keys "D" :button
(:radio not
(or calculator-input-radix calculator-output-radix calculator-deg)))
(Degrees menu-item "Degrees" menu-function-100 :keys "D" :button
(:radio and calculator-deg
(not
(or calculator-input-radix calculator-output-radix))))
(nil-9 menu-item "---")
(Decimal menu-item "Decimal" menu-function-101 :keys "D" :button
(:radio and
(eq calculator-input-radix 'nil)
(eq calculator-output-radix 'nil)))
(Binary menu-item "Binary" menu-function-102 :keys "B" :button
(:radio and
(eq calculator-input-radix 'bin)
(eq calculator-output-radix 'bin)))
(Octal menu-item "Octal" menu-function-103 :keys "O" :button
(:radio and
(eq calculator-input-radix 'oct)
(eq calculator-output-radix 'oct)))
(Hexadecimal menu-item "Hexadecimal" menu-function-104 :keys "H" :button
(:radio and
(eq calculator-input-radix 'hex)
(eq calculator-output-radix 'hex)))
(Separate\ I/O menu-item "Separate I/O"
(keymap "Separate I/O"
(Decimal\ Input menu-item "Decimal Input" menu-function-105 :keys "id" :button
(:radio eq calculator-input-radix 'nil))
(Binary\ Input menu-item "Binary Input" menu-function-106 :keys "ib" :button
(:radio eq calculator-input-radix 'bin))
(Octal\ Input menu-item "Octal Input" menu-function-107 :keys "io" :button
(:radio eq calculator-input-radix 'oct))
(Hexadecimal\ Input menu-item "Hexadecimal Input" menu-function-108 :keys "ih" :button
(:radio eq calculator-input-radix 'hex))
(nil-9 menu-item "---")
(Decimal\ Output menu-item "Decimal Output" menu-function-109 :keys "od" :button
(:radio eq calculator-output-radix 'nil))
(Binary\ Output menu-item "Binary Output" menu-function-110 :keys "ob" :button
(:radio eq calculator-output-radix 'bin))
(Octal\ Output menu-item "Octal Output" menu-function-111 :keys "oo" :button
(:radio eq calculator-output-radix 'oct))
(Hexadecimal\ Output menu-item "Hexadecimal Output" menu-function-112 :keys "oh" :button
(:radio eq calculator-output-radix 'hex))))))
(Decimal\ Display menu-item "Decimal Display"
(keymap "Decimal Display"
(Standard\ display\,\ decimal\ point\ or\ scientific menu-item "Standard display, decimal point or scientific" menu-function-113 :key-sequence nil)
(Eng\ display menu-item "Eng display" menu-function-114 :key-sequence nil)
(Standard\ display\,\ decimal\ point\ with\ grouping menu-item "Standard display, decimal point with grouping" menu-function-115 :key-sequence nil)
(Standard\ display\,\ scientific menu-item "Standard display, scientific" menu-function-116 :key-sequence nil)
(Emacs\ printer menu-item "Emacs printer" menu-function-117 :key-sequence nil)
(nil-9 menu-item "---")
(Change\ Prev\ Display menu-item "Change Prev Display" calculator-displayer-prev)
(Change\ Next\ Display menu-item "Change Next Display" calculator-displayer-next)))
(nil-9-13 menu-item "---")
(Copy+Quit menu-item "Copy+Quit" calculator-save-and-quit)
(Quit menu-item "Quit" calculator-quit))))
(8 . calculator-backspace)
(27 keymap
(27 keymap
(27 . calculator-quit)))
(backspace . calculator-backspace)
(C-insert . calculator-copy)
(copy . calculator-copy)
(104 . calculator-help)
(63 . calculator-help)
(f1 . calculator-help)
(help . calculator-help)
(delete . calculator-clear)
(127 . calculator-clear)
(4 . calculator-clear)
(insert . calculator-paste)
(S-insert . calculator-paste)
(paste . calculator-paste)
(mouse-2 . calculator-paste)
(25 . calculator-paste)
(C-return . calculator-save-and-quit)
(C-kp-enter . calculator-save-and-quit)
(3 . calculator-clear-saved)
(C-delete . calculator-clear-saved)
(32 . calculator-save-on-list)
(space . calculator-save-on-list)
(enter . calculator-enter)
(linefeed . calculator-enter)
(kp-enter . calculator-enter)
(return . calculator-enter)
(13 . calculator-enter)
(10 . calculator-enter)
(113 . calculator-quit)
(7 . calculator-quit)
(down . calculator-saved-down)
(14 . calculator-saved-down)
(up . calculator-saved-up)
(16 . calculator-saved-up)
(125 . calculator-displayer-next)
(123 . calculator-displayer-prev)
(34 . calculator-rotate-displayer-back)
(39 . calculator-rotate-displayer)
(72 . calculator-radix-mode)
(88 . calculator-radix-mode)
(79 . calculator-radix-mode)
(66 . calculator-radix-mode)
(103 . calculator-get-register)
(115 . calculator-set-register)
(68 . calculator-dec/deg-mode)
(101 . calculator-exp)
(46 . calculator-decimal)
(kp-decimal . calculator-decimal)
(kp-divide . calculator-op)
(kp-multiply . calculator-op)
(48 . calculator-digit)
(49 . calculator-digit)
(50 . calculator-digit)
(51 . calculator-digit)
(52 . calculator-digit)
(53 . calculator-digit)
(54 . calculator-digit)
(55 . calculator-digit)
(56 . calculator-digit)
(57 . calculator-digit)
(97 . calculator-digit)
(98 . calculator-digit)
(99 . calculator-digit)
(100 . calculator-digit)
(102 . calculator-digit)
(kp-0 . calculator-digit)
(kp-1 . calculator-digit)
(kp-2 . calculator-digit)
(kp-3 . calculator-digit)
(kp-4 . calculator-digit)
(kp-5 . calculator-digit)
(kp-6 . calculator-digit)
(kp-7 . calculator-digit)
(kp-8 . calculator-digit)
(kp-9 . calculator-digit)
(43 . calculator-op-or-exp)
(45 . calculator-op-or-exp)
(kp-add . calculator-op-or-exp)
(kp-subtract . calculator-op-or-exp)
(93 . calculator-close-paren)
(91 . calculator-open-paren)
(111 keymap
(100 . calculator-radix-output-mode)
(104 . calculator-radix-output-mode)
(120 . calculator-radix-output-mode)
(111 . calculator-radix-output-mode)
(98 . calculator-radix-output-mode)
(68 . calculator-radix-output-mode)
(72 . calculator-radix-output-mode)
(88 . calculator-radix-output-mode)
(79 . calculator-radix-output-mode)
(66 . calculator-radix-output-mode))
(105 keymap
(100 . calculator-radix-input-mode)
(104 . calculator-radix-input-mode)
(120 . calculator-radix-input-mode)
(111 . calculator-radix-input-mode)
(98 . calculator-radix-input-mode)
(68 . calculator-radix-input-mode)
(72 . calculator-radix-input-mode)
(88 . calculator-radix-input-mode)
(79 . calculator-radix-input-mode)
(66 . calculator-radix-input-mode))
(remap keymap
(self-insert-command . undefined)))