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 / BUG REPORTS
========================
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 (21)

pascal-auto-endcommentsNon-nil means automatically insert comments after certain ‘end’s.
pascal-auto-lineupList of contexts where auto lineup of :’s or =’s should be done.
pascal-auto-newlineNon-nil means automatically insert newlines in certain cases.
pascal-case-indentIndentation for case statements.
pascal-exclude-str-endString used to mark end of excluded text.
pascal-exclude-str-startString used to mark beginning of excluded text.
pascal-font-lock-keywordsAdditional expressions to highlight in Pascal mode.
pascal-imenu-generic-expressionImenu expression for Pascal mode. See ‘imenu-generic-expression’.
pascal-indent-levelIndentation of Pascal statements with respect to containing block.
pascal-indent-nested-functionsNon-nil means nested functions are indented.
pascal-mode-abbrev-tableAbbrev table in use in Pascal mode buffers.
pascal-mode-hookHook run after entering Pascal mode.
pascal-mode-mapKeymap used in Pascal mode.
pascal-mode-syntax-tableSyntax table in use in Pascal-mode buffers.
pascal-outline-mapKeymap used in Pascal Outline mode.
pascal-outline-modeNon-nil if Pascal-Outline mode is enabled.
pascal-outline-mode-hookHook run after entering or leaving ‘pascal-outline-mode’.
pascal-separator-keywordsKeywords to complete when NOT standing at the first word of a statement.
pascal-start-keywordsKeywords to complete when standing at the first word of a statement.
pascal-tab-always-indentNon-nil means TAB in Pascal mode should always reindent the current line.
pascal-type-keywordsKeywords for types used when completing a word in a declaration or parmlist.

Defined functions (47)

electric-pascal-colon()
electric-pascal-equal()
electric-pascal-hash()
electric-pascal-semi-or-dot()
electric-pascal-tab()
electric-pascal-terminate-line()
pascal-beg-of-defun()
pascal-build-defun-re(STR &optional ARG)
pascal-calculate-indent()
pascal-capitalize-keywords()
pascal-change-keywords(CHANGE-WORD)
pascal-comment-area(START END)
pascal-comp-defun(PASCAL-STR PASCAL-PRED PASCAL-FLAG)
pascal-completion(PASCAL-STR PASCAL-PRED PASCAL-FLAG)
pascal-downcase-keywords()
pascal-end-of-defun()
pascal-end-of-statement()
pascal-func-completion(TYPE PASCAL-STR)
pascal-get-completion-decl(PASCAL-STR)
pascal-get-default-symbol()
pascal-get-lineup-indent(B E STR)
pascal-goto-defun()
pascal-hide-other-defuns()
pascal-indent-case()
pascal-indent-command()
pascal-indent-comment()
pascal-indent-declaration(&optional ARG START END)
pascal-indent-level()
pascal-indent-line()
pascal-indent-paramlist(&optional ARG)
pascal-insert-block()
pascal-keyword-completion(KEYWORD-LIST PASCAL-STR)
pascal-mark-defun()
pascal-mode()
pascal-outline-change(B E HIDE)
pascal-outline-goto-defun()
pascal-outline-mode(&optional ARG)
pascal-outline-next-defun()
pascal-outline-prev-defun()
pascal-set-auto-comments()
pascal-show-all()
pascal-star-comment()
pascal-string-diff(STR1 STR2)
pascal-type-completion(PASCAL-STR)
pascal-uncomment-area()
pascal-upcase-keywords()
pascal-var-completion(PREFIX)

Defined faces (0)