Function: calc-help-for-help

calc-help-for-help is an interactive and byte-compiled function defined in calc-help.el.gz.

Signature

(calc-help-for-help ARG)

Documentation

You have typed \h, the Calc help character. Type a Help option:

\B calc-describe-bindings. Display a table of all key bindings.
\H calc-full-help. Display all \? key messages at once.

\I calc-info. Read the Calc manual using the Info system.
\T calc-tutorial. Read the Calc tutorial using the Info system.
\S calc-info-summary. Read the Calc summary using the Info system.

\C calc-describe-key-briefly. Look up the command name for a given key.
\K calc-describe-key. Look up a key's documentation in the manual.
\F calc-describe-function. Look up a function's documentation in the manual.
\V calc-describe-variable. Look up a variable's documentation in the manual.

\N calc-view-news. Display Calc history of changes.

\C-c Describe conditions for copying Calc.
\C-d Describe how you can get a new copy of Calc or report a bug.
\C-w Describe how there is no warranty for Calc.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/calc/calc-help.el.gz
(defun calc-help-for-help (arg)
  "You have typed \\`h', the Calc help character.  Type a Help option:

\\`B'  calc-describe-bindings.  Display a table of all key bindings.
\\`H'  calc-full-help.  Display all \\`?' key messages at once.

\\`I'  calc-info.  Read the Calc manual using the Info system.
\\`T'  calc-tutorial.  Read the Calc tutorial using the Info system.
\\`S'  calc-info-summary.  Read the Calc summary using the Info system.

\\`C'  calc-describe-key-briefly.  Look up the command name for a given key.
\\`K'  calc-describe-key.  Look up a key's documentation in the manual.
\\`F'  calc-describe-function.  Look up a function's documentation in the manual.
\\`V'  calc-describe-variable.  Look up a variable's documentation in the manual.

\\`N'  calc-view-news.  Display Calc history of changes.

\\`C-c'  Describe conditions for copying Calc.
\\`C-d'  Describe how you can get a new copy of Calc or report a bug.
\\`C-w'  Describe how there is no warranty for Calc."
  (interactive "P")
  (if calc-dispatch-help
      (let (key)
	(save-window-excursion
	  (describe-function 'calc-help-for-help)
	  (select-window (get-buffer-window "*Help*"))
	  (while (progn
		   (message (substitute-command-keys
                             (concat
                              "Calc Help options: \\`h'elp, \\`i'nfo, ...  press "
                              "\\`SPC', \\`DEL' to scroll, \\`C-g' to cancel")))
		   (memq (setq key (read-event))
			 '(?  ?\C-h ?\C-? ?\C-v ?\M-v)))
	    (condition-case nil
		(if (memq key '(? ?\C-v))
		    (scroll-up)
		  (scroll-down))
	      (error (beep)))))
	(calc-unread-command key)
	(calc-help-prefix nil))
    (let ((calc-dispatch-help t))
      (calc-help-prefix arg))))