Mercurial > emacs
comparison lisp/calc/calc-help.el @ 41047:73f364fd8aaa
Style cleanup; don't put closing parens on their
own line, add "foo.el ends here" to each file, and update
copyright date.
author | Colin Walters <walters@gnu.org> |
---|---|
date | Wed, 14 Nov 2001 09:09:09 +0000 |
parents | 2fb9d407ae73 |
children | fcd507927105 |
comparison
equal
deleted
inserted
replaced
41046:14b73d89514a | 41047:73f364fd8aaa |
---|---|
1 ;; Calculator for GNU Emacs, part II [calc-help.el] | 1 ;; Calculator for GNU Emacs, part II [calc-help.el] |
2 ;; Copyright (C) 1990, 1991, 1992, 1993 Free Software Foundation, Inc. | 2 ;; Copyright (C) 1990, 1991, 1992, 1993, 2001 Free Software Foundation, Inc. |
3 ;; Written by Dave Gillespie, daveg@synaptics.com. | 3 ;; Written by Dave Gillespie, daveg@synaptics.com. |
4 | 4 |
5 ;; This file is part of GNU Emacs. | 5 ;; This file is part of GNU Emacs. |
6 | 6 |
7 ;; GNU Emacs is distributed in the hope that it will be useful, | 7 ;; GNU Emacs is distributed in the hope that it will be useful, |
41 calc-help-map))) | 41 calc-help-map))) |
42 (setq key (lookup-key calc-help-map key)) | 42 (setq key (lookup-key calc-help-map key)) |
43 (message "") | 43 (message "") |
44 (if key | 44 (if key |
45 (call-interactively key) | 45 (call-interactively key) |
46 (beep))) | 46 (beep)))) |
47 ) | |
48 | 47 |
49 (defun calc-help-for-help (arg) | 48 (defun calc-help-for-help (arg) |
50 "You have typed `h', the Calc help character. Type a Help option: | 49 "You have typed `h', the Calc help character. Type a Help option: |
51 | 50 |
52 B calc-describe-bindings. Display a table of all key bindings. | 51 B calc-describe-bindings. Display a table of all key bindings. |
82 (scroll-down)) | 81 (scroll-down)) |
83 (error (beep))))) | 82 (error (beep))))) |
84 (calc-unread-command (cdr key)) | 83 (calc-unread-command (cdr key)) |
85 (calc-help-prefix nil)) | 84 (calc-help-prefix nil)) |
86 (let ((calc-dispatch-help t)) | 85 (let ((calc-dispatch-help t)) |
87 (calc-help-prefix arg))) | 86 (calc-help-prefix arg)))) |
88 ) | |
89 | 87 |
90 (defun calc-describe-copying () | 88 (defun calc-describe-copying () |
91 (interactive) | 89 (interactive) |
92 (calc-info) | 90 (calc-info) |
93 (Info-goto-node "Copying") | 91 (Info-goto-node "Copying")) |
94 ) | |
95 | 92 |
96 (defun calc-describe-distribution () | 93 (defun calc-describe-distribution () |
97 (interactive) | 94 (interactive) |
98 (calc-info) | 95 (calc-info) |
99 (Info-goto-node "Reporting Bugs") | 96 (Info-goto-node "Reporting Bugs")) |
100 ) | |
101 | 97 |
102 (defun calc-describe-no-warranty () | 98 (defun calc-describe-no-warranty () |
103 (interactive) | 99 (interactive) |
104 (calc-info) | 100 (calc-info) |
105 (Info-goto-node "Copying") | 101 (Info-goto-node "Copying") |
106 (let ((case-fold-search nil)) | 102 (let ((case-fold-search nil)) |
107 (search-forward " NO WARRANTY")) | 103 (search-forward " NO WARRANTY")) |
108 (beginning-of-line) | 104 (beginning-of-line) |
109 (recenter 0) | 105 (recenter 0)) |
110 ) | |
111 | 106 |
112 (defun calc-describe-bindings () | 107 (defun calc-describe-bindings () |
113 (interactive) | 108 (interactive) |
114 (describe-bindings) | 109 (describe-bindings) |
115 (save-excursion | 110 (save-excursion |
139 (delete-region (match-end 1) (match-end 0)) | 134 (delete-region (match-end 1) (match-end 0)) |
140 (goto-char (match-beginning 1)) | 135 (goto-char (match-beginning 1)) |
141 (delete-backward-char 1) | 136 (delete-backward-char 1) |
142 (delete-char 1) | 137 (delete-char 1) |
143 (insert (format "%c .. %c" (min dig1 dig2) (max dig1 dig2))))) | 138 (insert (format "%c .. %c" (min dig1 dig2) (max dig1 dig2))))) |
144 (goto-char (point-min))) | 139 (goto-char (point-min)))) |
145 ) | |
146 | 140 |
147 (defun calc-describe-key-briefly (key) | 141 (defun calc-describe-key-briefly (key) |
148 (interactive "kDescribe key briefly: ") | 142 (interactive "kDescribe key briefly: ") |
149 (calc-describe-key key t) | 143 (calc-describe-key key t)) |
150 ) | |
151 | 144 |
152 (defun calc-describe-key (key &optional briefly) | 145 (defun calc-describe-key (key &optional briefly) |
153 (interactive "kDescribe key: ") | 146 (interactive "kDescribe key: ") |
154 (let ((defn (if (eq (key-binding key) 'calc-dispatch) | 147 (let ((defn (if (eq (key-binding key) 'calc-dispatch) |
155 (let ((key2 (calc-read-key-sequence | 148 (let ((key2 (calc-read-key-sequence |
296 desc | 289 desc |
297 (if (symbolp defn) defn (prin1-to-string defn)))))) | 290 (if (symbolp defn) defn (prin1-to-string defn)))))) |
298 (if inv (setq desc (concat "I " desc))) | 291 (if inv (setq desc (concat "I " desc))) |
299 (if hyp (setq desc (concat "H " desc))) | 292 (if hyp (setq desc (concat "H " desc))) |
300 (calc-describe-thing desc "Key Index" nil | 293 (calc-describe-thing desc "Key Index" nil |
301 (string-match "[A-Z][A-Z][A-Z]" desc))))) | 294 (string-match "[A-Z][A-Z][A-Z]" desc)))))) |
302 ) | |
303 | 295 |
304 (defun calc-describe-function (&optional func) | 296 (defun calc-describe-function (&optional func) |
305 (interactive) | 297 (interactive) |
306 (or func | 298 (or func |
307 (setq func (intern (completing-read "Describe function: " | 299 (setq func (intern (completing-read "Describe function: " |
310 (if (string-match "\\`calc-." func) | 302 (if (string-match "\\`calc-." func) |
311 (calc-describe-thing func "Command Index") | 303 (calc-describe-thing func "Command Index") |
312 (calc-describe-thing (if (string-match "\\`calcFunc-." func) | 304 (calc-describe-thing (if (string-match "\\`calcFunc-." func) |
313 (substring func 9) | 305 (substring func 9) |
314 func) | 306 func) |
315 "Function Index")) | 307 "Function Index"))) |
316 ) | |
317 | 308 |
318 (defun calc-describe-variable (&optional var) | 309 (defun calc-describe-variable (&optional var) |
319 (interactive) | 310 (interactive) |
320 (or var | 311 (or var |
321 (setq var (intern (completing-read "Describe variable: " | 312 (setq var (intern (completing-read "Describe variable: " |
322 obarray nil t "var-")))) | 313 obarray nil t "var-")))) |
323 (setq var (symbol-name var)) | 314 (setq var (symbol-name var)) |
324 (calc-describe-thing var "Variable Index" | 315 (calc-describe-thing var "Variable Index" |
325 (if (string-match "\\`var-." var) | 316 (if (string-match "\\`var-." var) |
326 (substring var 4) | 317 (substring var 4) |
327 var)) | 318 var))) |
328 ) | |
329 | 319 |
330 (defun calc-describe-thing (thing where &optional target not-quoted) | 320 (defun calc-describe-thing (thing where &optional target not-quoted) |
331 (message "Looking for `%s' in %s..." thing where) | 321 (message "Looking for `%s' in %s..." thing where) |
332 (let ((savewin (current-window-configuration))) | 322 (let ((savewin (current-window-configuration))) |
333 (calc-info) | 323 (calc-info) |
363 (or target thing) | 353 (or target thing) |
364 (or target thing)) nil t) | 354 (or target thing)) nil t) |
365 (search-forward (format "`%s'" (or target thing)) nil t) | 355 (search-forward (format "`%s'" (or target thing)) nil t) |
366 (search-forward (or target thing) nil t)))) | 356 (search-forward (or target thing) nil t)))) |
367 (beginning-of-line) | 357 (beginning-of-line) |
368 (message "Found `%s' in %s" thing where)) | 358 (message "Found `%s' in %s" thing where))) |
369 ) | |
370 | 359 |
371 (defun calc-view-news () | 360 (defun calc-view-news () |
372 (interactive) | 361 (interactive) |
373 (let ((path load-path)) | 362 (let ((path load-path)) |
374 (while (and path | 363 (while (and path |
382 (erase-buffer) | 371 (erase-buffer) |
383 (insert-file-contents (expand-file-name "README" (car path))) | 372 (insert-file-contents (expand-file-name "README" (car path))) |
384 (search-forward "Summary of changes") | 373 (search-forward "Summary of changes") |
385 (forward-line -1) | 374 (forward-line -1) |
386 (delete-region (point-min) (point)) | 375 (delete-region (point-min) (point)) |
387 (goto-char (point-min))) | 376 (goto-char (point-min)))) |
388 ) | |
389 | |
390 | |
391 | 377 |
392 (defun calc-full-help () | 378 (defun calc-full-help () |
393 (interactive) | 379 (interactive) |
394 (with-output-to-temp-buffer "*Help*" | 380 (with-output-to-temp-buffer "*Help*" |
395 (princ (format "GNU Emacs Calculator version %s of %s.\n" | 381 (princ (format "GNU Emacs Calculator version %s of %s.\n" |
442 calc-u-prefix-help | 428 calc-u-prefix-help |
443 calc-v-prefix-help | 429 calc-v-prefix-help |
444 calc-shift-Y-prefix-help | 430 calc-shift-Y-prefix-help |
445 calc-shift-Z-prefix-help | 431 calc-shift-Z-prefix-help |
446 calc-z-prefix-help))) | 432 calc-z-prefix-help))) |
447 (print-help-return-message)) | 433 (print-help-return-message))) |
448 ) | 434 |
449 | 435 (defvar calc-help-long-names '((?b . "binary/business") |
450 (defvar calc-help-long-names '( ( ?b . "binary/business" ) | 436 (?g . "graphics") |
451 ( ?g . "graphics" ) | 437 (?j . "selection") |
452 ( ?j . "selection" ) | 438 (?k . "combinatorics/statistics") |
453 ( ?k . "combinatorics/statistics" ) | 439 (?u . "units/statistics"))) |
454 ( ?u . "units/statistics" ) | |
455 )) | |
456 | 440 |
457 (defun calc-h-prefix-help () | 441 (defun calc-h-prefix-help () |
458 (interactive) | 442 (interactive) |
459 (calc-do-prefix-help | 443 (calc-do-prefix-help |
460 '("Help; Bindings; Info, Tutorial, Summary; News" | 444 '("Help; Bindings; Info, Tutorial, Summary; News" |
461 "describe: Key, C (briefly), Function, Variable") | 445 "describe: Key, C (briefly), Function, Variable") |
462 "help" ?h) | 446 "help" ?h)) |
463 ) | |
464 | 447 |
465 (defun calc-inverse-prefix-help () | 448 (defun calc-inverse-prefix-help () |
466 (interactive) | 449 (interactive) |
467 (calc-do-prefix-help | 450 (calc-do-prefix-help |
468 '("I + S (arcsin), C (arccos), T (arctan); Q (square)" | 451 '("I + S (arcsin), C (arccos), T (arctan); Q (square)" |
472 "I + f G (gamma-Q); f e (erfc); k B (etc., lower-tail dists)" | 455 "I + f G (gamma-Q); f e (erfc); k B (etc., lower-tail dists)" |
473 "I + V S (reverse sort); V G (reverse grade)" | 456 "I + V S (reverse sort); V G (reverse grade)" |
474 "I + v s (remove subvec); v h (tail)" | 457 "I + v s (remove subvec); v h (tail)" |
475 "I + t + (alt sum), t M (mean with error)" | 458 "I + t + (alt sum), t M (mean with error)" |
476 "I + t S (pop std dev), t C (pop covar)") | 459 "I + t S (pop std dev), t C (pop covar)") |
477 "inverse" nil) | 460 "inverse" nil)) |
478 ) | |
479 | 461 |
480 (defun calc-hyperbolic-prefix-help () | 462 (defun calc-hyperbolic-prefix-help () |
481 (interactive) | 463 (interactive) |
482 (calc-do-prefix-help | 464 (calc-do-prefix-help |
483 '("H + S (sinh), C (cosh), T (tanh); E (exp10), L (log10)" | 465 '("H + S (sinh), C (cosh), T (tanh); E (exp10), L (log10)" |
488 "H + v e (expand w/filler); V H (weighted histogram)" | 470 "H + v e (expand w/filler); V H (weighted histogram)" |
489 "H + a S (general solve eqn), j I (general isolate)" | 471 "H + a S (general solve eqn), j I (general isolate)" |
490 "H + a R (widen/root), a N (widen/min), a X (widen/max)" | 472 "H + a R (widen/root), a N (widen/min), a X (widen/max)" |
491 "H + t M (median), t S (variance), t C (correlation coef)" | 473 "H + t M (median), t S (variance), t C (correlation coef)" |
492 "H + c f/F/c (pervasive float/frac/clean)") | 474 "H + c f/F/c (pervasive float/frac/clean)") |
493 "hyperbolic" nil) | 475 "hyperbolic" nil)) |
494 ) | |
495 | 476 |
496 (defun calc-inv-hyp-prefix-help () | 477 (defun calc-inv-hyp-prefix-help () |
497 (interactive) | 478 (interactive) |
498 (calc-do-prefix-help | 479 (calc-do-prefix-help |
499 '("I H + S (arcsinh), C (arccosh), T (arctanh)" | 480 '("I H + S (arcsinh), C (arccosh), T (arctanh)" |
500 "I H + E (log10), L (exp10); f G (gamma-G)" | 481 "I H + E (log10), L (exp10); f G (gamma-G)" |
501 "I H + F (float ceiling), R (float truncate)" | 482 "I H + F (float ceiling), R (float truncate)" |
502 "I H + t S (pop variance)" | 483 "I H + t S (pop variance)" |
503 "I H + a S (general invert func); v h (rtail)") | 484 "I H + a S (general invert func); v h (rtail)") |
504 "inverse-hyperbolic" nil) | 485 "inverse-hyperbolic" nil)) |
505 ) | |
506 | 486 |
507 | 487 |
508 (defun calc-f-prefix-help () | 488 (defun calc-f-prefix-help () |
509 (interactive) | 489 (interactive) |
510 (calc-do-prefix-help | 490 (calc-do-prefix-help |
511 '("miN, maX; Hypot; Im, Re; Sign; [, ] (incr/decr)" | 491 '("miN, maX; Hypot; Im, Re; Sign; [, ] (incr/decr)" |
512 "Gamma, Beta, Erf, besselJ, besselY" | 492 "Gamma, Beta, Erf, besselJ, besselY" |
513 "SHIFT + int-sQrt; Int-log, Exp(x)-1, Ln(x+1); arcTan2" | 493 "SHIFT + int-sQrt; Int-log, Exp(x)-1, Ln(x+1); arcTan2" |
514 "SHIFT + Abssqr; Mantissa, eXponent, Scale" | 494 "SHIFT + Abssqr; Mantissa, eXponent, Scale" |
515 "SHIFT + incomplete: Gamma-P, Beta-I") | 495 "SHIFT + incomplete: Gamma-P, Beta-I") |
516 "functions" ?f) | 496 "functions" ?f)) |
517 ) | |
518 | 497 |
519 | 498 |
520 (defun calc-s-prefix-help () | 499 (defun calc-s-prefix-help () |
521 (interactive) | 500 (interactive) |
522 (calc-do-prefix-help | 501 (calc-do-prefix-help |
524 "Let; Copy; Declare; Insert, Perm; Edit" | 503 "Let; Copy; Declare; Insert, Perm; Edit" |
525 "Negate, +, -, *, /, ^, &, |, [, ]; Map" | 504 "Negate, +, -, *, /, ^, &, |, [, ]; Map" |
526 "SHIFT + Decls, GenCount, TimeZone, Holidays; IntegLimit" | 505 "SHIFT + Decls, GenCount, TimeZone, Holidays; IntegLimit" |
527 "SHIFT + LineStyles, PointStyles, plotRejects; Units" | 506 "SHIFT + LineStyles, PointStyles, plotRejects; Units" |
528 "SHIFT + Eval-, AlgSimp-, ExtSimp-, FitRules") | 507 "SHIFT + Eval-, AlgSimp-, ExtSimp-, FitRules") |
529 "store" ?s) | 508 "store" ?s)) |
530 ) | |
531 | 509 |
532 (defun calc-r-prefix-help () | 510 (defun calc-r-prefix-help () |
533 (interactive) | 511 (interactive) |
534 (calc-do-prefix-help | 512 (calc-do-prefix-help |
535 '("digits 0-9: recall, same as `s r 0-9'") | 513 '("digits 0-9: recall, same as `s r 0-9'") |
536 "recall" ?r) | 514 "recall" ?r)) |
537 ) | |
538 | 515 |
539 | 516 |
540 (defun calc-j-prefix-help () | 517 (defun calc-j-prefix-help () |
541 (interactive) | 518 (interactive) |
542 (calc-do-prefix-help | 519 (calc-do-prefix-help |
545 "Unselect, Clear; Display; Enable; Breakable" | 522 "Unselect, Clear; Display; Enable; Breakable" |
546 "' (replace), ` (edit), +, -, *, /, RET (grab), DEL" | 523 "' (replace), ` (edit), +, -, *, /, RET (grab), DEL" |
547 "SHIFT + swap: Left, Right; maybe: Select, Once" | 524 "SHIFT + swap: Left, Right; maybe: Select, Once" |
548 "SHIFT + Commute, Merge, Distrib, jump-Eqn, Isolate" | 525 "SHIFT + Commute, Merge, Distrib, jump-Eqn, Isolate" |
549 "SHIFT + Negate, & (invert); Unpack") | 526 "SHIFT + Negate, & (invert); Unpack") |
550 "select" ?j) | 527 "select" ?j)) |
551 ) | |
552 | 528 |
553 | 529 |
554 (defun calc-a-prefix-help () | 530 (defun calc-a-prefix-help () |
555 (interactive) | 531 (interactive) |
556 (calc-do-prefix-help | 532 (calc-do-prefix-help |
562 "SHIFT + Solve; Root, miN, maX; Poly-roots; Fit" | 538 "SHIFT + Solve; Root, miN, maX; Poly-roots; Fit" |
563 "SHIFT + Map; Tabulate, + (sum), * (prod); num-Integ" | 539 "SHIFT + Map; Tabulate, + (sum), * (prod); num-Integ" |
564 "relations: =, # (not =), <, >, [ (< or =), ] (> or =)" | 540 "relations: =, # (not =), <, >, [ (< or =), ] (> or =)" |
565 "logical: & (and), | (or), ! (not); : (if)" | 541 "logical: & (and), | (or), ! (not); : (if)" |
566 "misc: { (in-set); . (rmeq)") | 542 "misc: { (in-set); . (rmeq)") |
567 "algebra" ?a) | 543 "algebra" ?a)) |
568 ) | |
569 | 544 |
570 | 545 |
571 (defun calc-b-prefix-help () | 546 (defun calc-b-prefix-help () |
572 (interactive) | 547 (interactive) |
573 (calc-do-prefix-help | 548 (calc-do-prefix-help |
574 '("And, Or, Xor, Diff, Not; Wordsize, Clip" | 549 '("And, Or, Xor, Diff, Not; Wordsize, Clip" |
575 "Lshift, Rshift, roTate; SHIFT + signed Lshift, Rshift" | 550 "Lshift, Rshift, roTate; SHIFT + signed Lshift, Rshift" |
576 "SHIFT + business: Pv, Npv, Fv, pMt, #pmts, raTe, Irr" | 551 "SHIFT + business: Pv, Npv, Fv, pMt, #pmts, raTe, Irr" |
577 "SHIFT + business: Sln, sYd, Ddb; %ch") | 552 "SHIFT + business: Sln, sYd, Ddb; %ch") |
578 "binary/bus" ?b) | 553 "binary/bus" ?b)) |
579 ) | |
580 | 554 |
581 | 555 |
582 (defun calc-c-prefix-help () | 556 (defun calc-c-prefix-help () |
583 (interactive) | 557 (interactive) |
584 (calc-do-prefix-help | 558 (calc-do-prefix-help |
585 '("Deg, Rad, HMS; Float; Polar/rect; Clean, 0-9; %" | 559 '("Deg, Rad, HMS; Float; Polar/rect; Clean, 0-9; %" |
586 "SHIFT + Fraction") | 560 "SHIFT + Fraction") |
587 "convert" ?c) | 561 "convert" ?c)) |
588 ) | |
589 | 562 |
590 | 563 |
591 (defun calc-d-prefix-help () | 564 (defun calc-d-prefix-help () |
592 (interactive) | 565 (interactive) |
593 (calc-do-prefix-help | 566 (calc-do-prefix-help |
596 "Why; Line-nums, line-Breaks; <, =, > (justify); Plain" | 569 "Why; Line-nums, line-Breaks; <, =, > (justify); Plain" |
597 "\" (strings); Truncate, [, ]; SPC (refresh), RET" | 570 "\" (strings); Truncate, [, ]; SPC (refresh), RET" |
598 "SHIFT + language: Normal, One-line, Big, Unformatted" | 571 "SHIFT + language: Normal, One-line, Big, Unformatted" |
599 "SHIFT + language: C, Pascal, Fortran; TeX, Eqn" | 572 "SHIFT + language: C, Pascal, Fortran; TeX, Eqn" |
600 "SHIFT + language: Mathematica, W=Maple") | 573 "SHIFT + language: Mathematica, W=Maple") |
601 "display" ?d) | 574 "display" ?d)) |
602 ) | |
603 | 575 |
604 | 576 |
605 (defun calc-g-prefix-help () | 577 (defun calc-g-prefix-help () |
606 (interactive) | 578 (interactive) |
607 (calc-do-prefix-help | 579 (calc-do-prefix-help |
610 "x-axis: Range, Title, Log, Zero; lineStyle" | 582 "x-axis: Range, Title, Log, Zero; lineStyle" |
611 "SHIFT + y-axis: Range, Title, Log, Zero; pointStyle" | 583 "SHIFT + y-axis: Range, Title, Log, Zero; pointStyle" |
612 "SHIFT + Print; Device, Output-file; X-geometry" | 584 "SHIFT + Print; Device, Output-file; X-geometry" |
613 "SHIFT + Num-pts; Command, Kill, View-trail" | 585 "SHIFT + Num-pts; Command, Kill, View-trail" |
614 "SHIFT + 3d: Fast, Add; CTRL + z-axis: Range, Title, Log") | 586 "SHIFT + 3d: Fast, Add; CTRL + z-axis: Range, Title, Log") |
615 "graph" ?g) | 587 "graph" ?g)) |
616 ) | |
617 | 588 |
618 | 589 |
619 (defun calc-k-prefix-help () | 590 (defun calc-k-prefix-help () |
620 (interactive) | 591 (interactive) |
621 (calc-do-prefix-help | 592 (calc-do-prefix-help |
624 "Factors, Prime-test, Next-prime, Totient, Moebius" | 595 "Factors, Prime-test, Next-prime, Totient, Moebius" |
625 "Bernoulli, Euler, Stirling" | 596 "Bernoulli, Euler, Stirling" |
626 "SHIFT + Extended-gcd" | 597 "SHIFT + Extended-gcd" |
627 "SHIFT + dists: Binomial, Chi-square, F, Normal" | 598 "SHIFT + dists: Binomial, Chi-square, F, Normal" |
628 "SHIFT + dists: Poisson, student's-T") | 599 "SHIFT + dists: Poisson, student's-T") |
629 "combinatorics" ?k) | 600 "combinatorics" ?k)) |
630 ) | |
631 | 601 |
632 | 602 |
633 (defun calc-m-prefix-help () | 603 (defun calc-m-prefix-help () |
634 (interactive) | 604 (interactive) |
635 (calc-do-prefix-help | 605 (calc-do-prefix-help |
636 '("Deg, Rad, HMS; Frac; Polar; Inf; Alg, Total; Symb; Vec/mat" | 606 '("Deg, Rad, HMS; Frac; Polar; Inf; Alg, Total; Symb; Vec/mat" |
637 "Working; Xtensions; Mode-save" | 607 "Working; Xtensions; Mode-save" |
638 "SHIFT + Shifted-prefixes, mode-Filename; Record; reCompute" | 608 "SHIFT + Shifted-prefixes, mode-Filename; Record; reCompute" |
639 "SHIFT + simplify: Off, Num, Default, Bin, Alg, Ext, Units") | 609 "SHIFT + simplify: Off, Num, Default, Bin, Alg, Ext, Units") |
640 "mode" ?m) | 610 "mode" ?m)) |
641 ) | |
642 | 611 |
643 | 612 |
644 (defun calc-t-prefix-help () | 613 (defun calc-t-prefix-help () |
645 (interactive) | 614 (interactive) |
646 (calc-do-prefix-help | 615 (calc-do-prefix-help |
648 "Search, Rev; In, Out; <, >; Kill; Marker; . (abbrev)" | 617 "Search, Rev; In, Out; <, >; Kill; Marker; . (abbrev)" |
649 "SHIFT + time: Now; Part; Date, Julian, Unix, Czone" | 618 "SHIFT + time: Now; Part; Date, Julian, Unix, Czone" |
650 "SHIFT + time: newWeek, newMonth, newYear; Incmonth" | 619 "SHIFT + time: newWeek, newMonth, newYear; Incmonth" |
651 "SHIFT + time: +, - (business days)" | 620 "SHIFT + time: +, - (business days)" |
652 "digits 0-9: store-to, same as `s t 0-9'") | 621 "digits 0-9: store-to, same as `s t 0-9'") |
653 "trail/time" ?t) | 622 "trail/time" ?t)) |
654 ) | |
655 | 623 |
656 | 624 |
657 (defun calc-u-prefix-help () | 625 (defun calc-u-prefix-help () |
658 (interactive) | 626 (interactive) |
659 (calc-do-prefix-help | 627 (calc-do-prefix-help |
661 "Autorange; Remove, eXtract; Explain; View-table; 0-9" | 629 "Autorange; Remove, eXtract; Explain; View-table; 0-9" |
662 "Define, Undefine, Get-defn, Permanent" | 630 "Define, Undefine, Get-defn, Permanent" |
663 "SHIFT + View-table-other-window" | 631 "SHIFT + View-table-other-window" |
664 "SHIFT + stat: Mean, G-mean, Std-dev, Covar, maX, miN" | 632 "SHIFT + stat: Mean, G-mean, Std-dev, Covar, maX, miN" |
665 "SHIFT + stat: + (sum), - (asum), * (prod), # (count)") | 633 "SHIFT + stat: + (sum), - (asum), * (prod), # (count)") |
666 "units/stat" ?u) | 634 "units/stat" ?u)) |
667 ) | |
668 | 635 |
669 | 636 |
670 (defun calc-v-prefix-help () | 637 (defun calc-v-prefix-help () |
671 (interactive) | 638 (interactive) |
672 (calc-do-prefix-help | 639 (calc-do-prefix-help |
679 "SHIFT + sets: V (union), ^ (intersection), - (diff)" | 646 "SHIFT + sets: V (union), ^ (intersection), - (diff)" |
680 "SHIFT + sets: Xor, ~ (complement), Floor, Enum" | 647 "SHIFT + sets: Xor, ~ (complement), Floor, Enum" |
681 "SHIFT + sets: : (span), # (card), + (rdup)" | 648 "SHIFT + sets: : (span), # (card), + (rdup)" |
682 "<, =, > (justification); , (commas); [, {, ( (brackets)" | 649 "<, =, > (justification); , (commas); [, {, ( (brackets)" |
683 "} (matrix brackets); . (abbreviate); / (multi-lines)") | 650 "} (matrix brackets); . (abbreviate); / (multi-lines)") |
684 "vec/mat" ?v) | 651 "vec/mat" ?v)) |
685 ) | 652 |
686 | 653 ;;; calc-help.el ends here |