File: pascal.el.html
USAGE
=====
Emacs should enter Pascal mode when you find a Pascal source file. When you have entered Pascal mode, you can get more info by pressing C-h m. You can also get help describing various functions by: C-h f <Name of function you want described>
If you want to customize Pascal mode to fit you better, you may add these lines (the values of the variables presented here are the defaults):
;; User customization for Pascal mode
(setq pascal-indent-level 3
pascal-case-indent 2
pascal-auto-newline nil
pascal-tab-always-indent t
pascal-auto-endcomments t
pascal-auto-lineup '(all)
pascal-type-keywords '("array" "file" "packed" "char"
"integer" "real" "string" "record")
pascal-start-keywords '("begin" "end" "function" "procedure"
"repeat" "until" "while" "read" "readln"
"reset" "rewrite" "write" "writeln")
pascal-separator-keywords '("downto" "else" "mod" "div" "then"))
KNOWN BUGS / BUGREPORTS
=======================
As far as I know, there are no bugs in the current version of this
package. This may not be true however, since I never use this mode
myself and therefore would never notice them anyway. If you do
find any bugs, you may submit them to: esk@gnu.org as well as to
bug-gnu-emacs@gnu.org.
Defined variables (22)
pascal-auto-endcomments | Non-nil means automatically insert comments after certain ‘end’s. |
pascal-auto-lineup | List of contexts where auto lineup of :’s or =’s should be done. |
pascal-auto-newline | Non-nil means automatically insert newlines in certain cases. |
pascal-case-indent | Indentation for case statements. |
pascal-exclude-str-end | String used to mark end of excluded text. |
pascal-exclude-str-start | String used to mark beginning of excluded text. |
pascal-font-lock-keywords | Additional expressions to highlight in Pascal mode. |
pascal-imenu-generic-expression | Imenu expression for Pascal mode. See ‘imenu-generic-expression’. |
pascal-indent-level | Indentation of Pascal statements with respect to containing block. |
pascal-indent-nested-functions | Non-nil means nested functions are indented. |
pascal-mode-abbrev-table | Abbrev table in use in Pascal mode buffers. |
pascal-mode-hook | Hook run after entering Pascal mode. |
pascal-mode-map | Keymap used in Pascal mode. |
pascal-mode-syntax-table | Syntax table in use in Pascal-mode buffers. |
pascal-outline-map | Keymap used in Pascal Outline mode. |
pascal-outline-mode | Non-nil if Pascal-Outline mode is enabled. |
pascal-outline-mode-hook | Hook run after entering or leaving ‘pascal-outline-mode’. |
pascal-separator-keywords | Keywords to complete when NOT standing at the first word of a statement. |
pascal-start-keywords | Keywords to complete when standing at the first word of a statement. |
pascal-tab-always-indent | Non-nil means TAB in Pascal mode should always reindent the current line. |
pascal-toggle-completions | If non-nil, ‘pascal-complete-word’ tries all possible completions. |
pascal-type-keywords | Keywords for types used when completing a word in a declaration or parmlist. |