?
Current Path : /usr/share/emacs/24.3/lisp/calc/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : //usr/share/emacs/24.3/lisp/calc/calc-store.elc |
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:10:46 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/calc/calc-store.el ;;; in Emacs version 24.3.1 ;;; with all optimizations. ;;; This file contains utf-8 non-ASCII characters, ;;; and so cannot be loaded into Emacs 22 or earlier. (and (boundp 'emacs-version) (< (aref emacs-version (1- (length emacs-version))) ?A) (string-lessp emacs-version "23") (error "`%s' was compiled for Emacs 23 or later" #$)) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301!\210\300\302!\207" [require calc-ext calc-macs] 2) (defvar calc-store-keep nil) (defalias 'calc-store #[(&optional var) "\302\303 !)\207" [calc-store-keep var t calc-store-into] 2 nil nil]) (defvar calc-given-value-flag nil) (defalias 'calc-store-into #[(&optional var) "\300\301!\207" [calc-do #[nil "\305\306\n\204 \307\310\311\"\n\2039 \n\312\236\211\203 A \2025 \313\n \206( \314\306!\315$\316\317\fP\320\n!\"))\202r \321\314\306!!\211\205r \n\205r \313\n@@\n@A\nA?\205U \315\nA?\205\\ \306$\316\317\fP\320\n@@!\"\210)\nA\211\204G \305*\207" [calc-given-value-flag calc-given-value var found msg nil 1 calc-read-var-name "Store: " t ((+ . calc-store-plus) (- . calc-store-minus) (* . calc-store-times) (/ . calc-store-div) (^ . calc-store-power) (| . calc-store-concat)) calc-store-value calc-top "" message "Stored to variable \"%s\"" calc-var-name calc-is-assignments] 6]] 2 nil nil]) (defalias 'calc-store-plus #[(&optional var) "\301\302\303#\207" [var calc-store-binary "+" +] 4 nil nil]) (defalias 'calc-store-minus #[(&optional var) "\301\302\303#\207" [var calc-store-binary "-" -] 4 nil nil]) (defalias 'calc-store-times #[(&optional var) "\301\302\303#\207" [var calc-store-binary "*" *] 4 nil nil]) (defalias 'calc-store-div #[(&optional var) "\301\302\303#\207" [var calc-store-binary "/" /] 4 nil nil]) (defalias 'calc-store-power #[(&optional var) "\301\302\303#\207" [var calc-store-binary "^" ^] 4 nil nil]) (defalias 'calc-store-concat #[(&optional var) "\301\302\303#\207" [var calc-store-binary "|" |] 4 nil nil]) (defalias 'calc-store-neg #[(n &optional var) "\302\303\304 [$\207" [var n calc-store-binary "n" /] 5 nil "p"]) (defalias 'calc-store-inv #[(n &optional var) "\302\303\304 [$\207" [var n calc-store-binary "&" ^] 5 nil "p"]) (defalias 'calc-store-incr #[(n &optional var) "\302\303\304 [$\207" [var n calc-store-binary "n" -] 5 nil "p"]) (defalias 'calc-store-decr #[(n &optional var) "\302\303\304 $\207" [var n calc-store-binary "n" -] 5 nil "p"]) (defalias 'calc-store-value #[(var value tag &optional pop) "\306 \203e \307 ! L\210\f\203 \204 \310\f!\210\311\312\313 !\nE!\210\2038 \314\315\316\317\320 !#\"\210) \321>\203O \n\242\322=\203O \316\323\320 !\"\202` \324>\203` \n\204` \316\325\320 !\"\326 !\210))\207" [msg var old value pop calc-store-keep "" calc-var-value calc-pop-stack calc-record-undo store symbol-name nil calc-record format ">%s%s" calc-var-name (var-e var-i var-pi var-phi var-gamma) special-const " (Note: Built-in definition of %s has been lost)" (var-inf var-uinf var-nan) " (Note: %s has built-in meanings which may interfere)" calc-refresh-evaltos tag calc-full-trail-vectors] 7]) (defalias 'calc-var-name #[(var) "9\203 \301!\302\303\"\203 \304\305O\207\207" [var symbol-name string-match "\\`var-." 4 nil] 3]) (defalias 'calc-store-binary #[(var tag func &optional val) "\300\301!\207" [calc-do #[nil "\306=\203\n \307\202 \206 \310\311!\204 \312\313\314\f\"!\205\215 \315!\211\242\316=\2035 \317\320\321!\"\210 \204P \322>\203I \317\323\321!\"\210\202P \317\324\321!\"\210 ;\203Y \325 ! \242\317=\203g \317\326\327 8\"\210\330\331\332 \203w \n E\202| \nE!\f ?\205\204 \311$\210\333\334\321!\")*\207" [calc-simplify-mode val value var tag old none num calc-top 1 calc-read-var-name format "Store %s: " calc-var-value special-const error "\"%s\" is a special constant" calc-var-name (var-inf var-uinf var-nan) "\"%s\" is a special variable" "No such variable: \"%s\"" math-read-expr "Bad format in variable contents: %s" 2 calc-store-value calc-normalize calc-is-inverse message "Variable \"%s\" changed" func] 7]] 2]) #@41 Keymap for reading Calc variable names. (defvar calc-var-name-map nil (#$ . 4239)) (byte-code "\204 \302 !\303\304\305#\210\306\307\310\"\210\306\311\312\"\210\302\207" [calc-var-name-map minibuffer-local-completion-map copy-keymap define-key " " self-insert-command mapc #[(x) "\302\303 !\304#\207" [calc-var-name-map x define-key char-to-string calcVar-digit] 4] "0123456789" #[(x) "\302\303 !\304#\207" [calc-var-name-map x define-key char-to-string calcVar-oper] 4] "+-*/^|"] 4) #@37 History for reading variable names. (defvar calc-read-var-name-history nil (#$ . 4734)) (defalias 'calc-read-var-name #[(prompt &optional calc-store-opers) "\306\211\307\310\311\312\307\n\"\"\313\314\315\306\306\316%+P\317\307\232?\205m \320\321\"\203i \204; \322\323!\202m \324\325\326\225O!\325\327\325\225\306O!\211\242\322=\203_ \322\330\3318\"\210\332!)\202m \324!)\207" [calc-given-value calc-aborted-prefix obarray minibuffer-completion-confirm minibuffer-completion-predicate minibuffer-completion-table nil "var-" mapcar #[(x) "\301\302O\207" [x 4 nil] 3] all-completions #[(x) "\301\302\303P!!\207" [x boundp intern "var-"] 4] t read-from-minibuffer calc-read-var-name-history "" string-match "\\`\\([-a-zA-Zα-ωΑ-Ω0-9]+\\) *:?=" error "Assignment is not allowed in this command" intern 0 1 math-read-expr "Bad format: %s" 2 math-evaluate-expr prompt calc-var-name-map var calc-given-value-flag svar] 8]) (defalias 'calcVar-digit #[nil "\301\302!\203 \303=\203 \304 \207\305c\210\306 \207\307\310!\207" [calc-store-opers calc-minibuffer-contains "\\'" 0 beep "q" self-insert-and-exit self-insert-command 1] 2 nil nil]) (defalias 'calcVar-oper #[nil "\301=\203 \302\303!\203 \304 \210\305 \207\306\307!\207" [calc-store-opers t calc-minibuffer-contains "\\'" erase-buffer self-insert-and-exit self-insert-command 1] 2 nil nil]) (defalias 'calc-store-map #[(&optional oper var) "\300\301!\207" [calc-do #[nil "\306\307 \233\"\310\f\206 \311\312!\211@&\204# \313\314\315\316\f8\"!&&\205\321 \317&!\211'\242\320=\203= \321\322\323&!\"\210'\204\\ &\324>\203T \321\325\323&!\"\210\202\\ \321\326\323&!\"\210(\327=\203g \330\202i ( \331V\205u \332 ST\")(\333\334!\210\335\336!\210';\203\215 \337'!''\242\321=\203\235 \321\340\316'8\"\210\341 \203\254 \342)'C\"\202\263 \342'C)\")\343&\344\fA@)B!\316\f8 S\\$\210\333\345\323&!\"+,\207" [calc-stack-top calc-stack calc-dollar-values calc-dollar-used oper nargs mapcar calc-get-stack-element 0 calc-get-operator "Store Mapping" calc-read-var-name format "Store Mapping %s: " 2 calc-var-value special-const error "\"%s\" is a special constant" calc-var-name (var-inf var-uinf var-nan) "\"%s\" is a special variable" "No such variable: \"%s\"" none num 1 calc-top-list message "Working..." calc-set-command-flag clear-message math-read-expr "Bad format in variable contents: %s" calc-is-inverse append calc-store-value calc-normalize "Variable \"%s\" changed" var old calc-simplify-mode values] 7]] 2 nil nil]) (defalias 'calc-store-exchange #[(&optional var) "\300\301!\207" [calc-do #[nil "\305\306\305\204 \307\310!\205W \311!\211\242\312=\203$ \313\314\315!\"\210\f\204? \316>\2038 \313\317\315!\"\210\202? \313\320\315!\"\210\n\206F \321\306!\322\305#\210\323 \324\315!P\f#)+\207" [top calc-given-value-flag calc-given-value var value nil 1 calc-read-var-name "Exchange with: " calc-var-value special-const error "\"%s\" is a special constant" calc-var-name (var-inf var-uinf var-nan) "\"%s\" is a special variable" "No such variable: \"%s\"" calc-top calc-store-value calc-pop-push-record "<>"] 6]] 2 nil nil]) (defalias 'calc-unstore #[(&optional var) "\300\301!\207" [calc-do #[nil "\204 \301\302!\205C \303>\203 \304!\242\305=\203 \306\307\"\210\310!\2035 J\2035 \306\311\312!\"\210\202<