;ELC ;;; compiled by kwzh@nutrimat.gnu.ai.mit.edu on Wed Jun 14 16:29:30 1995 ;;; from file /gd/gnu/emacs/19.0/lisp/lisp-mode.el ;;; emacs version 19.28.94.1. ;;; bytecomp version FSF 2.10 ;;; optimization is on. ;;; this file uses opcodes which do not exist in Emacs 18. (if (and (boundp 'emacs-version) (or (and (boundp 'epoch::version) epoch::version) (string-lessp emacs-version "19.28.90"))) (error "`lisp-mode.el' was compiled for Emacs 19.29 or later")) #@2  (defvar lisp-mode-syntax-table nil (#$ . 484)) #@2  (defvar emacs-lisp-mode-syntax-table nil (#$ . 537)) #@2  (defvar lisp-mode-abbrev-table nil (#$ . 596)) (byte-code " \nW\n#\nT\nW1\n#\nTWF\n#\nT4W[\n#\nTI################)&!&&#&#&#\"" [emacs-lisp-mode-syntax-table 0 i make-syntax-table 48 modify-syntax-entry "_ " 58 65 91 97 123 128 32 " " 9 10 "> " 13 59 "< " 96 "' " 39 44 46 35 34 "\" " 92 "\\ " 40 "() " 41 ")( " "(] " 93 ")[ " lisp-mode-syntax-table copy-syntax-table 124 "\" " define-abbrev-table lisp-mode-abbrev-table nil] 5) (defalias 'lisp-mode-variables #[(lisp-syntax) "\n! !P! !\n!\f!!!!!!!!܉" [lisp-syntax set-syntax-table lisp-mode-syntax-table lisp-mode-abbrev-table local-abbrev-table make-local-variable paragraph-start "^$\\|" page-delimiter paragraph-separate paragraph-ignore-fill-prefix t fill-paragraph-function lisp-fill-paragraph indent-line-function lisp-indent-line indent-region-function lisp-indent-region parse-sexp-ignore-comments outline-regexp ";;; \\|(...." comment-start ";" comment-start-skip ";+ *" comment-column 40 comment-indent-function lisp-comment-indent] 2]) #@56 Keymap for commands shared by all sorts of Lisp modes. (defvar shared-lisp-mode-map nil (#$ . 1871)) (byte-code " ###" [shared-lisp-mode-map make-sparse-keymap define-key "" indent-sexp "" backward-delete-char-untabify " " lisp-indent-line] 4) #@93 Keymap for Emacs Lisp mode. All commands in shared-lisp-mode-map are inherited by this map. (defvar emacs-lisp-mode-map nil (#$ . 2147)) (byte-code "}! \f## # B# # # # # # # # # # # ####)" [emacs-lisp-mode-map make-sparse-keymap "Emacs-Lisp" map shared-lisp-mode-map define-key " " lisp-complete-symbol "" eval-defun [menu-bar] [menu-bar emacs-lisp] [edebug-defun] ("Instrument Function for Debugging" . edebug-defun) [byte-recompile] ("Byte-recompile Directory..." . byte-recompile-directory) [byte-compile] ("Byte-compile This File" . emacs-lisp-byte-compile) [separator-eval] ("--") [eval-buffer] ("Evaluate Buffer" . eval-current-buffer) [eval-region] ("Evaluate Region" . eval-region) [eval-sexp] ("Evaluate Last S-expression" . eval-last-sexp) [separator-format] ("--") [comment-region] ("Comment Out Region" . comment-region) [indent-region] ("Indent Region" . indent-region) [indent-line] ("Indent Line" . lisp-indent-line) put eval-region menu-enable mark-active comment-region indent-region] 5) #@54 Byte compile the file containing the current buffer. (defalias 'emacs-lisp-byte-compile #[nil "!!" [buffer-file-name byte-compile-file error "The buffer must be saved in a file first."] 2 (#$ . 3251) nil]) #@281 Major mode for editing Lisp code to run in Emacs. Commands: Delete converts tabs to spaces as it moves back. Blank lines separate paragraphs. Semicolons start comments. \{emacs-lisp-mode-map} Entry to this mode calls the value of `emacs-lisp-mode-hook' if that value is non-nil. (defalias 'emacs-lisp-mode #[nil " \n!\f!!!" [kill-all-local-variables use-local-map emacs-lisp-mode-map set-syntax-table emacs-lisp-mode-syntax-table emacs-lisp-mode major-mode "Emacs-Lisp" mode-name lisp-mode-variables nil run-hooks emacs-lisp-mode-hook] 2 (#$ . 3474) nil]) #@98 Keymap for ordinary Lisp mode. All commands in `shared-lisp-mode-map' are inherited by this map. (defvar lisp-mode-map nil (#$ . 4055)) (byte-code " \n##" [lisp-mode-map make-sparse-keymap shared-lisp-mode-map define-key "" lisp-eval-defun "" run-lisp] 4) #@398 Major mode for editing Lisp code for Lisps other than GNU Emacs Lisp. Commands: Delete converts tabs to spaces as it moves back. Blank lines separate paragraphs. Semicolons start comments. \{lisp-mode-map} Note that `run-lisp' may be used either to start an inferior Lisp job or to switch back to an existing one. Entry to this mode calls the value of `lisp-mode-hook' if that value is non-nil. (defalias 'lisp-mode #[nil " \n!!\n!!" [kill-all-local-variables use-local-map lisp-mode-map lisp-mode major-mode "Lisp" mode-name lisp-mode-variables t set-syntax-table lisp-mode-syntax-table run-hooks lisp-mode-hook] 2 (#$ . 4341) nil]) #@65 Send the current defun to the Lisp process made by \[run-lisp]. (defalias 'lisp-eval-defun #[nil "!" [error "Process lisp does not exist"] 2 (#$ . 5001) nil]) #@100 Keymap for Lisp Interaction moe. All commands in `shared-lisp-mode-map' are inherited by this map. (defvar lisp-interaction-mode-map nil (#$ . 5170)) (byte-code " \n###" [lisp-interaction-mode-map make-sparse-keymap shared-lisp-mode-map define-key "" eval-defun " " lisp-complete-symbol "\n" eval-print-last-sexp] 4) #@451 Major mode for typing and evaluating Lisp forms. Like Lisp mode except that \[eval-print-last-sexp] evals the Lisp expression before point, and prints its value into the buffer, advancing point. Commands: Delete converts tabs to spaces as it moves back. Paragraphs are separated only by blank lines. Semicolons start comments. \{lisp-interaction-mode-map} Entry to this mode calls the value of `lisp-interaction-mode-hook' if that value is non-nil. (defalias 'lisp-interaction-mode #[nil " \n!!!!" [kill-all-local-variables use-local-map lisp-interaction-mode-map lisp-interaction-mode major-mode "Lisp Interaction" mode-name set-syntax-table emacs-lisp-mode-syntax-table lisp-mode-variables nil run-hooks lisp-interaction-mode-hook] 2 (#$ . 5521) nil]) #@62 Evaluate sexp before point; print value into current buffer. (defalias 'eval-print-last-sexp #[nil "p ! )" [standard-output terpri eval-last-sexp t] 2 (#$ . 6301) nil]) #@105 Evaluate sexp before point; print value in minibuffer. With argument, print output into current buffer. (defalias 'eval-last-sexp #[(eval-last-sexp-arg-internal) "p ` Ȏ\n!!e\n}p!+!)!*" [eval-last-sexp-arg-internal t opoint standard-output prin1 syntax-table stab eval ((set-syntax-table stab)) set-syntax-table emacs-lisp-mode-syntax-table forward-sexp -1 read] 4 (#$ . 6485) "P"]) #@134 Evaluate defun that point is in or before. Print value in minibuffer. With argument, insert value in current buffer after the defun. (defalias 'eval-defun #[(eval-defun-arg-internal) "p p!) @=# AB !!*" [eval-defun-arg-internal t end-of-defun beginning-of-defun read form standard-output defvar defconst prin1 eval] 3 (#$ . 6900) "P"]) (defalias 'lisp-comment-indent #[nil "!i! <\f@\f)xn*ǂ,iT]" [looking-at "\\s<\\s<\\s<" "\\s<\\s<" calculate-lisp-indent tem " " nil 0 comment-column] 3]) #@2  (defconst lisp-indent-offset nil (#$ . 7451)) #@2  (defconst lisp-indent-function (quote lisp-indent-function) (#$ . 7503)) #@130 Indent current line as Lisp code. With argument, indent any additional lines of the same expression rigidly along with this one. (defalias 'lisp-indent-line #[(&optional whole-exp) " d`Zy`w!$d\nZb!9!9 uWw`f=0u`f>!!Qi\"ÔÕ{P)\n^!yUm!`!vy`)y!y`)}PP !,*Ƈ" [nil comment-fill-prefix has-comment 0 looking-at "[ ]*;[; ]*" t ";\\|$" "^;\n\"\\\\?" 92 2 (34 63) forward-sexp 1 ";+[ ]*" make-string 32 fill-paragraph justify -1 "^[ ]*;" paragraph-start "\\|^[ ;]*$" fill-prefix paragraph-separate] 3 (#$ . 11889) "P"]) #@366 Indent all lines of code, starting in the region, sideways by ARG columns. Does not affect lines starting inside comments or strings, assuming that the start of the region is not inside them. Called from a program, takes args START, END, COLUMNS and NOCHANGE-REGEXP. The last is a regexp which, if matched at the beginning of a line, means don't indent that line. (defalias 'indent-code-rigidly #[(start end arg &optional nochange-regexp) "\nb \fbn`y` %`\nW^ @P4!P  `w`|lO \\]\")`y` %*" [nil state end point-marker start parse-partial-sexp 1 3 nochange-regexp looking-at current-indentation indent " " indent-to 0 arg] 6 (#$ . 12589) "r\np"]) (provide (quote lisp-mode))