File: fortran.el.html

This mode is documented in the Emacs manual.

Note that it is for editing Fortran77 or Fortran90 fixed source form. For editing Fortran 90 free format source, use f90-mode
(f90.el). It is meant to support the GNU Fortran language
implemented by g77 (its extensions to Fortran77 and interpretations, e.g. of backslash in strings).

Defined variables (47)

fortran-analyze-depthNumber of lines to scan to identify fixed or TAB format style.
fortran-blink-matching-ifNon-nil causes M-x fortran-indent-line on ENDIF to blink on matching IF.
fortran-blocks-reRegexp potentially indicating the start or end of a Fortran "block".
fortran-break-before-delimitersNon-nil causes filling to break lines before delimiters.
fortran-break-delimiters-reRegexp matching delimiter characters at which lines may be broken.
fortran-check-all-num-for-matching-doNon-nil causes all numbered lines to be treated as possible DO loop ends.
fortran-column-ruler-fixedString displayed above current line by M-x fortran-column-ruler.
fortran-column-ruler-tabString displayed above current line by M-x fortran-column-ruler.
fortran-comment-indent-charSingle-character string inserted for Fortran comment indentation.
fortran-comment-indent-styleHow to indent comments.
fortran-comment-line-extra-indentAmount of extra indentation for text within full-line comments.
fortran-comment-line-startDelimiter inserted to start new full-line comment.
fortran-comment-line-start-skipRegexp to match the start of a full-line comment.
fortran-comment-regionString inserted by M-x fortran-comment-region at start of each line in region.
fortran-continuation-indentExtra indentation applied to continuation lines.
fortran-continuation-stringSingle-character string used for Fortran continuation lines.
fortran-directive-reRegexp to match a directive line.
fortran-do-indentExtra indentation applied to DO blocks.
fortran-electric-line-numberNon-nil causes line numbers to be moved to the correct column as typed.
fortran-end-block-reRegexp matching the end of a Fortran "block", from the line start.
fortran-end-prog-reRegexp possibly matching the end of a subprogram, from the line start.
fortran-end-prog-re1Regexp possibly matching the end of a subprogram.
fortran-font-lock-keywordsDefault expressions to highlight in Fortran mode.
fortran-font-lock-keywords-1Subdued level highlighting for Fortran mode.
fortran-font-lock-keywords-2Medium level highlighting for Fortran mode.
fortran-font-lock-keywords-3Gaudy level highlighting for Fortran mode.
fortran-font-lock-keywords-4Maximum highlighting for Fortran mode.
fortran-gud-syntax-tableSyntax table used to parse Fortran expressions for printing in GUD.
fortran-if-indentExtra indentation applied to IF, SELECT CASE and WHERE blocks.
fortran-if-start-reRegexp matching the start of an IF statement.
fortran-imenu-generic-expressionValue for ‘imenu-generic-expression’ in Fortran mode.
fortran-line-lengthMaximum number of characters in a line of fixed-form Fortran code.
fortran-line-number-indentMaximum indentation for Fortran line numbers.
fortran-menuMenu for Fortran mode.
fortran-minimum-statement-indent-fixedMinimum statement indentation for fixed format continuation style.
fortran-minimum-statement-indent-tabMinimum statement indentation for TAB format continuation style.
fortran-mode-abbrev-tableAbbrev table for Fortran mode.
fortran-mode-hookHook run when entering Fortran mode.
fortran-mode-mapKeymap used in Fortran mode.
fortran-mode-syntax-tableSyntax table used in Fortran mode.
fortran-no-break-reRegexp specifying where not to break lines when filling.
fortran-start-block-reRegexp matching the start of a Fortran "block", from the line start.
fortran-start-prog-reRegexp matching the start of a subprogram, from the line start.
fortran-structure-indentExtra indentation applied to STRUCTURE, UNION, MAP and INTERFACE blocks.
fortran-tab-mode-defaultDefault tabbing/carriage control style for empty files in Fortran mode.
fortran-tab-mode-stringString to appear in mode line in TAB format buffers.
fortran-type-typesRegexp matching Fortran types.

Defined functions (57)

fortran-abbrev-help()
fortran-abbrev-start()
fortran-analyze-file-format()
fortran-auto-fill()
fortran-auto-fill-mode(&optional ARG)
fortran-beginning-do()
fortran-beginning-if()
fortran-beginning-of-block(&optional NUM)
fortran-beginning-of-subprogram(&optional ARG)
fortran-blink-match(REGEX KEYWORD FIND-BEGIN)
fortran-blink-matching-do()
fortran-blink-matching-if()
fortran-break-line()
fortran-calculate-indent()
fortran-check-end-prog-re()
fortran-check-for-matching-do()
fortran-column-ruler()
fortran-comment-indent()
fortran-comment-region(BEG-REGION END-REGION ARG)
fortran-current-defun()
fortran-current-line-indentation()
fortran-electric-line-number(ARG)
fortran-end-do()
fortran-end-if()
fortran-end-of-block(&optional NUM)
fortran-end-of-subprogram()
fortran-fill()
fortran-fill-paragraph(&optional JUSTIFY)
fortran-fill-statement()
fortran-find-comment-start-skip(&optional ALL)
fortran-hack-local-variables()
fortran-indent-comment()
fortran-indent-line()
fortran-indent-new-line()
fortran-indent-subprogram()
fortran-indent-to-column(COL)
fortran-is-in-string-p(WHERE)
fortran-join-line(ARG)
fortran-line-length(NCHARS &optional GLOBAL)
fortran-line-number-indented-correctly-p()
fortran-looking-at-if-then()
fortran-make-syntax-propertize-function(LINE-LENGTH)
fortran-mark-do()
fortran-mark-if()
fortran-match-and-skip-declaration(LIMIT)
fortran-menu(ARG1)
fortran-mode()
fortran-next-statement()
fortran-numerical-continuation-char()
fortran-prepare-abbrev-list-buffer()
fortran-previous-statement()
fortran-remove-continuation()
fortran-split-line()
fortran-strip-sequence-nos(&optional DO-SPACE)
fortran-uncomment-region(START END &optional IGNORED)
fortran-window-create()
fortran-window-create-momentarily(&optional ARG)

Defined faces (0)