Mercurial > emacs
comparison lisp/progmodes/fortran.el @ 3591:507f64624555
Apply typo patches from Paul Eggert.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Wed, 09 Jun 1993 11:59:12 +0000 |
parents | 2ca5f216e445 |
children | cd3d59bc0b94 |
comparison
equal
deleted
inserted
replaced
3590:d5f22061277d | 3591:507f64624555 |
---|---|
25 | 25 |
26 ;;; Commentary: | 26 ;;; Commentary: |
27 | 27 |
28 ;; Fortran mode has been upgraded and is now maintained by Stephen A. Wood | 28 ;; Fortran mode has been upgraded and is now maintained by Stephen A. Wood |
29 ;; (saw@cebaf.gov). It now will use either fixed format continuation line | 29 ;; (saw@cebaf.gov). It now will use either fixed format continuation line |
30 ;; markers (character in 6th column), or tab format coninuation line style | 30 ;; markers (character in 6th column), or tab format continuation line style |
31 ;; (digit after a TAB character.) A auto-fill mode has been added to | 31 ;; (digit after a TAB character.) A auto-fill mode has been added to |
32 ;; automatically wrap fortran lines that get too long. | 32 ;; automatically wrap fortran lines that get too long. |
33 | 33 |
34 ;; We acknowledge many contributions and valuable suggestions by | 34 ;; We acknowledge many contributions and valuable suggestions by |
35 ;; Lawrence R. Dodd, Ralf Fassel, Ralph Finch, Stephen Gildea, | 35 ;; Lawrence R. Dodd, Ralf Fassel, Ralph Finch, Stephen Gildea, |
36 ;; Dr. Anil Gokhale, Ulrich Mueller, Mark Neale, Eric Prestemon, | 36 ;; Dr. Anil Gokhale, Ulrich Mueller, Mark Neale, Eric Prestemon, |
37 ;; Gary Sabot and Richard Stallman. | 37 ;; Gary Sabot and Richard Stallman. |
38 | 38 |
39 ;;; This file may be used with GNU Emacs version 18.xx if the following | 39 ;;; This file may be used with GNU Emacs version 18.xx if the following |
40 ;;; variable and function substutions are made. | 40 ;;; variable and function substitutions are made. |
41 ;;; Replace: | 41 ;;; Replace: |
42 ;;; frame-width with screen-width | 42 ;;; frame-width with screen-width |
43 ;;; auto-fill-function with auto-fill-hook | 43 ;;; auto-fill-function with auto-fill-hook |
44 ;;; comment-indent-function with comment-indent-hook | 44 ;;; comment-indent-function with comment-indent-hook |
45 ;;; (setq unread-command-events (list c)) with (setq unread-command-char c) | 45 ;;; (setq unread-command-events (list c)) with (setq unread-command-char c) |
157 (defvar fortran-analyze-depth 100 | 157 (defvar fortran-analyze-depth 100 |
158 "Number of lines to scan to determine whether to use fixed or TAB format\ | 158 "Number of lines to scan to determine whether to use fixed or TAB format\ |
159 style.") | 159 style.") |
160 | 160 |
161 (defvar fortran-break-before-delimiters t | 161 (defvar fortran-break-before-delimiters t |
162 "*Non-nil causes `fortran-do-auto-fill' to break lines before delimeters.") | 162 "*Non-nil causes `fortran-do-auto-fill' to break lines before delimiters.") |
163 | 163 |
164 (if fortran-mode-syntax-table | 164 (if fortran-mode-syntax-table |
165 () | 165 () |
166 (setq fortran-mode-syntax-table (make-syntax-table)) | 166 (setq fortran-mode-syntax-table (make-syntax-table)) |
167 (modify-syntax-entry ?\; "w" fortran-mode-syntax-table) | 167 (modify-syntax-entry ?\; "w" fortran-mode-syntax-table) |
334 region. (default \"c$$$\") | 334 region. (default \"c$$$\") |
335 fortran-electric-line-number | 335 fortran-electric-line-number |
336 Non-nil causes line number digits to be moved to the correct column | 336 Non-nil causes line number digits to be moved to the correct column |
337 as typed. (default t) | 337 as typed. (default t) |
338 fortran-break-before-delimiters | 338 fortran-break-before-delimiters |
339 Non-nil causes `fortran-do-auto-fill' breaks lines before delimeters. | 339 Non-nil causes `fortran-do-auto-fill' breaks lines before delimiters. |
340 (default t) | 340 (default t) |
341 fortran-startup-message | 341 fortran-startup-message |
342 Set to nil to inhibit message first time Fortran mode is used. | 342 Set to nil to inhibit message first time Fortran mode is used. |
343 | 343 |
344 Turning on Fortran mode calls the value of the variable `fortran-mode-hook' | 344 Turning on Fortran mode calls the value of the variable `fortran-mode-hook' |
1115 (t nil))))) | 1115 (t nil))))) |
1116 ;; | 1116 ;; |
1117 ;; decide where to split the line. If a position for a quoted | 1117 ;; decide where to split the line. If a position for a quoted |
1118 ;; string was found above then use that, else break the line | 1118 ;; string was found above then use that, else break the line |
1119 ;; before the last delimiter. | 1119 ;; before the last delimiter. |
1120 ;; Delimeters are whitespace, commas, and operators. | 1120 ;; Delimiters are whitespace, commas, and operators. |
1121 ;; Will break before a pair of *'s. | 1121 ;; Will break before a pair of *'s. |
1122 ;; | 1122 ;; |
1123 (fill-point | 1123 (fill-point |
1124 (or quote | 1124 (or quote |
1125 (save-excursion | 1125 (save-excursion |