403Webshell
Server IP : 217.160.0.212  /  Your IP : 216.73.216.141
Web Server : Apache
System : Linux www 6.18.51-i1-ampere #1196 SMP Fri Sep 11 20:43:55 CEST 2026 aarch64
User : sws1073854427 ( 1073854427)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/share/emacs/28.2/lisp/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/emacs/28.2/lisp//cmuscheme.elc
;ELC
;;; Compiled
;;; in Emacs version 28.2
;;; with all optimizations.



(byte-code "\300\301!\210\300\302!\210\303\304\305\306\307\301%\210\310\311\312\313\314DD\315\316\317%\207" [require scheme comint custom-declare-group cmuscheme nil "Run a scheme process in a buffer." :group custom-declare-variable inferior-scheme-mode-hook funcall function #[0 "\300\207" [nil] 1 ""] "Hook for customizing inferior-scheme mode." :type hook] 6)
(defvar inferior-scheme-mode-map (byte-code "\300 \301\302\303#\210\301\304\305#\210\301\306\307#\210\301\310\311#\210\312!\210\207" [make-sparse-keymap define-key "\230" scheme-send-definition "" scheme-send-last-sexp "\f" scheme-load-file "" scheme-compile-file scheme-mode-commands] 5))
(byte-code "\301\302\303#\210\301\304\305#\210\301\306\303#\210\301\307\310#\210\301\311\312#\210\301\313\314#\210\301\315\316#\210\301\317\320#\210\301\321\322#\210\301\323\324#\210\301\325\326#\210\301\327\330#\210\301\331\332#\210\333\334\"\301\335\336#\210\301\337\340#\210\301\341\342#\210\301\343\344#\210\301\345\346#\210\301\347\350#\210\301\351\352#\210\301\353\354#\210\301\355\356#\210\301\357\360#\210\301\361\362#\210\301\363\364#\210\301\365\366#\210\207" [scheme-mode-map define-key "\230" scheme-send-definition "" scheme-send-last-sexp "" "\345" scheme-send-definition-and-go "" scheme-send-region "\362" scheme-send-region-and-go "\343" scheme-compile-definition "" scheme-compile-definition-and-go "" scheme-trace-procedure "" scheme-expand-current-form "" switch-to-scheme "\f" scheme-load-file "" scheme-compile-file lookup-key [menu-bar scheme] [separator-eval] ("--") [compile-file] ("Compile Scheme File" . scheme-compile-file) [load-file] ("Load Scheme File" . scheme-load-file) [switch] ("Switch to Scheme" . switch-to-scheme) [com-def-go] ("Compile Definition & Go" . scheme-compile-definition-and-go) [com-def] ("Compile Definition" . scheme-compile-definition) [exp-form] ("Expand current form" . scheme-expand-current-form) [trace-proc] ("Trace procedure" . scheme-trace-procedure) [send-def-go] ("Evaluate Last Definition & Go" . scheme-send-definition-and-go) [send-def] ("Evaluate Last Definition" . scheme-send-definition) [send-region-go] ("Evaluate Region & Go" . scheme-send-region-and-go) [send-region] ("Evaluate Region" . scheme-send-region) [send-sexp] ("Evaluate Last S-expression" . scheme-send-last-sexp)] 5)
(defvar inferior-scheme-mode-hook nil)
(byte-code "\300\301N\204\f\302\300\301\303#\210\304\305!\204\302\305\306\307#\210\300\207" [inferior-scheme-mode-hook variable-documentation put "Hook run after entering Inferior Scheme mode.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it.  (This is true for all hook variables.)" boundp inferior-scheme-mode-map definition-name inferior-scheme-mode] 4)
(defvar inferior-scheme-mode-map (make-sparse-keymap))
(byte-code "\301\302N\204\303\301\302\304\305!#\210\306\307!\204\303\307\310\311#\210\312\313 !\210\307\302N\204-\303\307\302\304\314!#\210\306\300!\204B\303\300\310\311#\210\315\316\300\317\"\210!\210\300\302N\204P\303\300\302\304\320!#\210\303\311\321\322#\207" [inferior-scheme-mode-abbrev-table inferior-scheme-mode-map variable-documentation put purecopy "Keymap for `inferior-scheme-mode'." boundp inferior-scheme-mode-syntax-table definition-name inferior-scheme-mode (lambda (#1=#:def-tmp-var) (defvar inferior-scheme-mode-syntax-table #1#)) make-syntax-table "Syntax table for `inferior-scheme-mode'." (lambda (#1#) (defvar inferior-scheme-mode-abbrev-table #1#)) define-abbrev-table nil "Abbrev table for `inferior-scheme-mode'." derived-mode-parent comint-mode] 5)
#@1713 Major mode for interacting with an inferior Scheme process.

The following commands are available:
\{inferior-scheme-mode-map}

A Scheme process can be fired up with \[run-scheme].

Customization: Entry to this mode runs the hooks on `comint-mode-hook' and
`inferior-scheme-mode-hook' (in that order).

You can send text to the inferior Scheme process from other buffers containing
Scheme source.
    `switch-to-scheme' switches the current buffer to the Scheme process buffer.
    `scheme-send-definition' sends the current definition to the Scheme process.
    `scheme-compile-definition' compiles the current definition.
    `scheme-send-region' sends the current region to the Scheme process.
    `scheme-compile-region' compiles the current region.

    `scheme-send-definition-and-go', `scheme-compile-definition-and-go',
        `scheme-send-region-and-go', and `scheme-compile-region-and-go'
        switch to the Scheme process buffer after sending their text.
For information on running multiple processes in multiple buffers, see
documentation for variable `scheme-buffer'.

Commands:
Return after the end of the process' output sends the text from the
    end of process to point.
Return before the end of the process' output copies the sexp ending at point
    to the end of the process' output, and sends it.
Delete converts tabs to spaces as it moves back.
Tab indents for Scheme; with argument, shifts rest
    of expression rigidly with the current line.
\[indent-pp-sexp] does Tab on each line starting within following expression.
Paragraphs are separated only by blank lines.  Semicolons start comments.
If you accidentally suspend your process, use \[comint-continue-subjob]
to continue it.
(defalias 'inferior-scheme-mode #[0 "\306\300!\210\307\310 \210\311\312\310\313N\203\314\311\313\310\313N#\210\315!\204'\316\317 \"\210\320\f!\211\2035\211\321 =\203;\322\f\323 \"\210\210\324
\325\"\204R
 =\204R\326
\325 C#\210\327!\210\330\f!\210
 \331!\332 \210\333\"\334#\335$)\336\337!\207" [delay-mode-hooks major-mode mode-name inferior-scheme-mode-map inferior-scheme-mode-syntax-table inferior-scheme-mode-abbrev-table make-local-variable t comint-mode inferior-scheme-mode "Inferior Scheme" mode-class put keymap-parent set-keymap-parent current-local-map char-table-parent standard-syntax-table set-char-table-parent syntax-table abbrev-table-get :parents abbrev-table-put use-local-map set-syntax-table "^[^>\n]*>+ *" scheme-mode-variables (":%s") scheme-input-filter scheme-get-old-input run-mode-hooks inferior-scheme-mode-hook local-abbrev-table comint-prompt-regexp mode-line-process comint-input-filter comint-get-old-input] 5 (#$ . 3724) nil])
(byte-code "\300\301\302\303\304DD\305\306\307%\207" [custom-declare-variable inferior-scheme-filter-regexp funcall function #[0 "\300\207" ["\\`\\s *\\S ?\\S ?\\s *\\'"] 1 ""] "Input matching this regexp are not saved on the history list.\nDefaults to a regexp ignoring all inputs of 0, 1, or 2 letters." :type regexp] 6)
#@73 Don't save anything matching `inferior-scheme-filter-regexp'.

(fn STR)
(defalias 'scheme-input-filter #[257 "\302\303\304#)\266\203?\207" [inferior-scheme-filter-regexp inhibit-changing-match-data nil t string-match] 8 (#$ . 6746)])
#@33 Snarf the sexp ending at point.
(defalias 'scheme-get-old-input #[0 "\212`\300 \210`{\262)\207" [backward-sexp] 3 (#$ . 6992)])
#@618 Run an inferior Scheme process, input and output via buffer `*scheme*'.
If there is a process already running in `*scheme*', switch to that buffer.
With argument, allows you to edit the command line (default is value
of `scheme-program-name').
If the file `~/.emacs_SCHEMENAME' or `~/.emacs.d/init_SCHEMENAME.scm' exists,
it is given as initial input.
Note that this may lose due to a timing error if the Scheme processor
discards input when it starts up.
Runs the hook `inferior-scheme-mode-hook' (after the `comint-mode-hook'
is run).
(Type \[describe-mode] in the process buffer for a list of commands.)

(fn CMD)
(defalias 'run-scheme #[257 "\302\303!\204\304!\305\306\307@\310@!A%q\210\311 \266\211\303\312\303!\207" [scheme-program-name scheme-buffer comint-check-proc "*scheme*" split-string-and-unquote apply make-comint "scheme" scheme-start-file inferior-scheme-mode pop-to-buffer-same-window] 8 (#$ . 7129) (byte-code "\203\302\303	\"\202\f	C\207" [current-prefix-arg scheme-program-name read-string "Run Scheme: "] 3)])
#@178 Return the name of the start file corresponding to PROG.
Search in the directories "~" and `user-emacs-directory',
in this order.  Return nil if no start file found.

(fn PROG)
(defalias 'scheme-start-file #[257 "\301!\302P\303\304R\305!\203\207\305!\205\211\207" [user-emacs-directory file-name-nondirectory "~/.emacs_" "init_" ".scm" file-exists-p] 7 (#$ . 8181)])
#@73 Send the current region to the inferior Scheme process.

(fn START END)
(defalias 'scheme-send-region #[514 "\300\301 #\210\302\301 \303\"\207" [comint-send-region scheme-proc comint-send-string "\n"] 6 (#$ . 8565) "r"])
#@61 Send the current definition to the inferior Scheme process.
(defalias 'scheme-send-definition #[0 "\212\300 \210`\301 \210\302`\"\262)\207" [end-of-defun beginning-of-defun scheme-send-region] 4 (#$ . 8794) nil])
#@56 Send the previous sexp to the inferior Scheme process.
(defalias 'scheme-send-last-sexp #[0 "\300\212\301 \210`)`\"\207" [scheme-send-region backward-sexp] 3 (#$ . 9015) nil])
(byte-code "\300\301\302\303\304DD\305\306\307%\207" [custom-declare-variable scheme-compile-exp-command funcall function #[0 "\300\207" ["(compile '%s)"] 1 ""] "Template for issuing commands to compile arbitrary Scheme expressions." :type string] 6)
#@134 Compile the current region in the inferior Scheme process.
(A BEGIN is wrapped around the region: (BEGIN <region>).)

(fn START END)
(defalias 'scheme-compile-region #[514 "\301\302 \303\303\304{\"\"\"\210\301\302 \305\"\207" [scheme-compile-exp-command comint-send-string scheme-proc format "(begin %s)" "\n"] 10 (#$ . 9449) "r"])
#@64 Compile the current definition in the inferior Scheme process.
(defalias 'scheme-compile-definition #[0 "\212\300 \210`\301 \210\302`\"\262)\207" [end-of-defun beginning-of-defun scheme-compile-region] 4 (#$ . 9792) nil])
(byte-code "\300\301\302\303\304DD\305\306\307%\210\300\310\302\303\311DD\312\306\307%\207" [custom-declare-variable scheme-trace-command funcall function #[0 "\300\207" ["(trace %s)"] 1 #1=""] "Template for issuing commands to trace a Scheme procedure.\nSome Scheme implementations might require more elaborate commands here.\nFor PLT-Scheme, e.g., one should use\n\n   (setq scheme-trace-command \"(begin (require (lib \\\"trace.ss\\\")) (trace %s))\")\n\nFor Scheme 48 and Scsh use \",trace %s\"." :type string scheme-untrace-command #[0 "\300\207" ["(untrace %s)"] 1 #1#] "Template for switching off tracing of a Scheme procedure.\nScheme 48 and Scsh users should set this variable to \",untrace %s\"."] 6)
#@144 Trace procedure PROC in the inferior Scheme process.
With a prefix argument switch off tracing of procedure PROC.

(fn PROC &optional UNTRACE)
(defalias 'scheme-trace-procedure #[513 "G\302U\203\303\304!\210\305\306 \307\203\202	\"\"\210\305\306 \310\"\207" [scheme-untrace-command scheme-trace-command 0 error "Invalid procedure name" comint-send-string scheme-proc format "\n"] 7 (#$ . 10734) (byte-code "\301 \203\n\302\202\303\304\305\306#\307\211\205\310!$\266\202D\207" [current-prefix-arg symbol-at-point "Untrace" "Trace" read-string format-prompt "%s procedure" nil symbol-name] 8)])
(byte-code "\300\301\302\303\304DD\305\306\307%\207" [custom-declare-variable scheme-macro-expand-command funcall function #[0 "\300\207" ["(expand %s)"] 1 ""] "Template for macro-expanding a Scheme form.\nFor Scheme 48 and Scsh use \",expand %s\"." :type string] 6)
#@64 Macro-expand the form at point in the inferior Scheme process.
(defalias 'scheme-expand-current-form #[0 "\301 \211\203\302\303 \304\"\"\210\302\303 \305\"\207\306\307!\207" [scheme-macro-expand-command scheme-form-at-point comint-send-string scheme-proc format "\n" error "Not at a form"] 6 (#$ . 11622) nil])
(defalias 'scheme-form-at-point #[0 "\300\301!\211\203\211\302\303O\304\230\203\207\212\305 \210\306 )\207" [thing-at-point sexp 0 1 "(" backward-up-list scheme-form-at-point] 4])
#@99 Switch to the Scheme process buffer.
With argument, position cursor at end of buffer.

(fn EOB-P)
(defalias 'switch-to-scheme #[257 "\203\n\301!\204\302 \203\303!\210\202\304\305!\210\211\205#\306 \210db\207" [scheme-buffer get-buffer scheme-interactively-start-process pop-to-buffer-same-window error "No current process buffer.  See variable `scheme-buffer'" push-mark] 3 (#$ . 12127) "P"])
#@108 Send the current region to the inferior Scheme process.
Then switch to the process buffer.

(fn START END)
(defalias 'scheme-send-region-and-go #[514 "\300\"\210\301\302!\207" [scheme-send-region switch-to-scheme t] 5 (#$ . 12538) "r"])
#@88 Send the current definition to the inferior Scheme.
Then switch to the process buffer.
(defalias 'scheme-send-definition-and-go #[0 "\300 \210\301\302!\207" [scheme-send-definition switch-to-scheme t] 2 (#$ . 12783) nil])
#@91 Compile the current definition in the inferior Scheme.
Then switch to the process buffer.
(defalias 'scheme-compile-definition-and-go #[0 "\300 \210\301\302!\207" [scheme-compile-definition switch-to-scheme t] 2 (#$ . 13011) nil])
#@103 Compile the current region in the inferior Scheme.
Then switch to the process buffer.

(fn START END)
(defalias 'scheme-compile-region-and-go #[514 "\300\"\210\301\302!\207" [scheme-compile-region switch-to-scheme t] 5 (#$ . 13249) "r"])
(byte-code "\300\301\302\303\304DD\305\306\307%\207" [custom-declare-variable scheme-source-modes funcall function #[0 "\300\207" [(scheme-mode)] 1 ""] "Used to determine if a buffer contains Scheme source code.\nIf it's loaded into a buffer that is in one of these major modes, it's\nconsidered a scheme source file by `scheme-load-file' and `scheme-compile-file'.\nUsed by these commands to determine defaults." :type (repeat function)] 6)
#@184 Caches the last (directory . file) pair.
Caches the last pair used in the last `scheme-load-file' or
`scheme-compile-file' command.  Used for determining the default
in the next one.
(defvar scheme-prev-l/c-dir/file nil (#$ . 13938))
#@80 Load a Scheme file FILE-NAME into the inferior Scheme process.

(fn FILE-NAME)
(defalias 'scheme-load-file #[257 "\301!\210\302!\303!B\304\305 \306\307Q\"\207" [scheme-prev-l/c-dir/file comint-check-source file-name-directory file-name-nondirectory comint-send-string scheme-proc "(load \"" "\")\n"] 6 (#$ . 14178) (comint-get-source "Load Scheme file" scheme-prev-l/c-dir/file scheme-source-modes t)])
#@81 Compile a Scheme file FILE-NAME in the inferior Scheme process.

(fn FILE-NAME)
(defalias 'scheme-compile-file #[257 "\301!\210\302!\303!B\304\305 \306\307Q\"\207" [scheme-prev-l/c-dir/file comint-check-source file-name-directory file-name-nondirectory comint-send-string scheme-proc "(compile-file \"" "\")\n"] 6 (#$ . 14592) (comint-get-source "Compile Scheme file" scheme-prev-l/c-dir/file scheme-source-modes nil)])
#@2009 The current scheme process buffer.

MULTIPLE PROCESS SUPPORT
===========================================================================
Cmuscheme.el supports, in a fairly simple fashion, running multiple Scheme
processes.  To run multiple Scheme processes, you start the first up with
\[run-scheme].  It will be in a buffer named *scheme*.  Rename this buffer
with \[rename-buffer].  You may now start up a new process with another
\[run-scheme].  It will be in a new buffer, named *scheme*.  You can
switch between the different process buffers with \[switch-to-buffer].

Commands that send text from source buffers to Scheme processes --
like `scheme-send-definition' or `scheme-compile-region' -- have to choose a
process to send to, when you have more than one Scheme process around.  This
is determined by the global variable `scheme-buffer'.  Suppose you
have three inferior Schemes running:
    Buffer	Process
    foo		scheme
    bar		scheme<2>
    *scheme*    scheme<3>
If you do a \[scheme-send-definition-and-go] command on some Scheme source
code, what process do you send it to?

- If you're in a process buffer (foo, bar, or *scheme*),
  you send it to that process.
- If you're in some other buffer (e.g., a source file), you
  send it to the process attached to buffer `scheme-buffer'.
This process selection is performed by function `scheme-proc'.

Whenever \[run-scheme] fires up a new process, it resets `scheme-buffer'
to be the new process's buffer.  If you only run one process, this will
do the right thing.  If you run multiple processes, you might need to
set `scheme-buffer' to whichever process buffer you want to use.

More sophisticated approaches are, of course, possible.  If you find yourself
needing to switch back and forth between multiple processes frequently,
you may wish to consider ilisp.el, a larger, more sophisticated package
for running inferior Lisp and Scheme processes.  The approach taken here is
for a minimal, simple implementation.  Feel free to extend it.
(defvar scheme-buffer nil (#$ . 15025))
#@93 Return the current Scheme process, starting one if necessary.
See variable `scheme-buffer'.
(defalias 'scheme-proc #[0 "\203\301!\203\302!\204\303 \210\304 \206\305\306!\207" [scheme-buffer get-buffer comint-check-proc scheme-interactively-start-process scheme-get-process error "No current process.  See variable `scheme-buffer'"] 2 (#$ . 17079)])
#@62 Return the current Scheme process or nil if none is running.
(defalias 'scheme-get-process #[0 "\302\303=\203p\202\f	!\207" [major-mode scheme-buffer get-buffer-process inferior-scheme-mode] 3 (#$ . 17445)])
#@166 Start an inferior Scheme process.  Return the process started.
Since this command is run implicitly, always ask the user for the
command to run.

(fn &optional CMD)
(defalias 'scheme-interactively-start-process #[256 "\301 \302\303\"\216\304\305\306\"!)\207" [scheme-program-name current-window-configuration make-closure #[0 "\301\300!\207" [V0 set-window-configuration] 2] run-scheme read-string "Run Scheme: "] 6 (#$ . 17664)])
(byte-code "\300\301\302\303\304DD\305\306\307%\210\310\301\311\312#\210\313\301!\210\314\315!\207" [custom-declare-variable cmuscheme-load-hook funcall function #[0 "\300\207" [nil] 1 ""] "This hook is run when cmuscheme is loaded in.\nThis is a good place to put keybindings." :type hook make-obsolete-variable "use `with-eval-after-load' instead." "28.1" run-hooks provide cmuscheme] 6)

Youez - 2016 - github.com/yon3zu
LinuXploit