home *** CD-ROM | disk | FTP | other *** search
-
- (defvar icon-mode-abbrev-table nil "\
- Abbrev table in use in Icon-mode buffers.")
-
- (define-abbrev-table (quote icon-mode-abbrev-table) nil)
-
- (defvar icon-mode-map nil "\
- Keymap used in Icon mode.")
-
- (if icon-mode-map nil (setq icon-mode-map (make-sparse-keymap)) (define-key icon-mode-map "{" (quote electric-icon-brace)) (define-key icon-mode-map "}" (quote electric-icon-brace)) (define-key icon-mode-map "" (quote mark-icon-function)) (define-key icon-mode-map "" (quote beginning-of-icon-defun)) (define-key icon-mode-map "" (quote end-of-icon-defun)) (define-key icon-mode-map "" (quote indent-icon-exp)) (define-key icon-mode-map "" (quote backward-delete-char-untabify)) (define-key icon-mode-map " " (quote icon-indent-command)))
-
- (defvar icon-mode-syntax-table nil "\
- Syntax table in use in Icon-mode buffers.")
-
- (if icon-mode-syntax-table nil (setq icon-mode-syntax-table (make-syntax-table)) (modify-syntax-entry 92 "\\" icon-mode-syntax-table) (modify-syntax-entry 35 "<" icon-mode-syntax-table) (modify-syntax-entry 10 ">" icon-mode-syntax-table) (modify-syntax-entry 36 "." icon-mode-syntax-table) (modify-syntax-entry 47 "." icon-mode-syntax-table) (modify-syntax-entry 42 "." icon-mode-syntax-table) (modify-syntax-entry 43 "." icon-mode-syntax-table) (modify-syntax-entry 45 "." icon-mode-syntax-table) (modify-syntax-entry 61 "." icon-mode-syntax-table) (modify-syntax-entry 37 "." icon-mode-syntax-table) (modify-syntax-entry 60 "." icon-mode-syntax-table) (modify-syntax-entry 62 "." icon-mode-syntax-table) (modify-syntax-entry 38 "." icon-mode-syntax-table) (modify-syntax-entry 124 "." icon-mode-syntax-table) (modify-syntax-entry 39 "\"" icon-mode-syntax-table))
-
- (defconst icon-indent-level 4 "\
- *Indentation of Icon statements with respect to containing block.")
-
- (defconst icon-brace-imaginary-offset 0 "\
- *Imagined indentation of a Icon open brace that actually follows a statement.")
-
- (defconst icon-brace-offset 0 "\
- *Extra indentation for braces, compared with other text in same context.")
-
- (defconst icon-continued-statement-offset 4 "\
- *Extra indent for lines not starting new statements.")
-
- (defconst icon-continued-brace-offset 0 "\
- *Extra indent for substatements that start with open-braces.
- This is in addition to icon-continued-statement-offset.")
-
- (defconst icon-auto-newline nil "\
- *Non-nil means automatically newline before and after braces,
- and after colons and semicolons, inserted in C code.")
-
- (defconst icon-tab-always-indent t "\
- *Non-nil means TAB in Icon mode should always reindent the current line,
- regardless of where in the line point is when the TAB command is used.")
-
- (defun icon-mode nil "\
- Major mode for editing Icon code.
- Expression and list commands understand all Icon brackets.
- Tab indents for Icon code.
- Paragraphs are separated by blank lines only.
- Delete converts tabs to spaces as it moves back.
- \\{icon-mode-map}
- Variables controlling indentation style:
- icon-tab-always-indent
- Non-nil means TAB in Icon mode should always reindent the current line,
- regardless of where in the line point is when the TAB command is used.
- icon-auto-newline
- Non-nil means automatically newline before and after braces
- inserted in Icon code.
- icon-indent-level
- Indentation of Icon statements within surrounding block.
- The surrounding block's indentation is the indentation
- of the line on which the open-brace appears.
- icon-continued-statement-offset
- Extra indentation given to a substatement, such as the
- then-clause of an if or body of a while.
- icon-continued-brace-offset
- Extra indentation given to a brace that starts a substatement.
- This is in addition to icon-continued-statement-offset.
- icon-brace-offset
- Extra indentation for line if it starts with an open brace.
- icon-brace-imaginary-offset
- An open brace following other text is treated as if it were
- this far to the right of the start of its line.
-
- Turning on Icon mode calls the value of the variable icon-mode-hook with no args,
- if that value is non-nil." (interactive) (byte-code "ÑÒ Ó!ÔÕÖ!×Æ!ØP×È!×É!Ù ×Ê!Ë
- ×Ì!Ú×Í!Û×Î!Ü×Ï!Ý×Ð!Þßà!" [icon-mode-map major-mode mode-name local-abbrev-table icon-mode-abbrev-table icon-mode-syntax-table paragraph-start page-delimiter paragraph-separate indent-line-function require-final-newline t comment-start comment-end comment-column comment-start-skip comment-indent-hook nil kill-all-local-variables use-local-map icon-mode "Icon" set-syntax-table make-local-variable "^$\\|" icon-indent-line "# " "" 32 "# *" icon-comment-indent run-hooks icon-mode-hook] 14))
-
- (defun icon-comment-indent nil (byte-code "ÁÂ!