1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-20 18:17:20 +00:00
Commit Graph

118 Commits

Author SHA1 Message Date
Nick Roberts
034babe1e1 Update copyright for release of 22.1 for progmodes directory. 2005-08-01 08:43:45 +00:00
Lute Kamstra
3a35cf56e7 Update FSF's address. 2005-07-04 17:55:18 +00:00
Lute Kamstra
9a9691963d * progmodes/ada-mode.el (ada-mode):
* progmodes/antlr-mode.el (antlr-mode):
* progmodes/autoconf.el (autoconf-mode):
* progmodes/dcl-mode.el (dcl-mode):
* progmodes/delphi.el (delphi-mode):
* progmodes/ebrowse.el (ebrowse-tree-mode)
(ebrowse-electric-list-mode, ebrowse-member-mode)
(ebrowse-electric-position-mode):
* progmodes/f90.el (f90-mode):
* progmodes/fortran.el (fortran-mode):
* progmodes/icon.el (icon-mode):
* progmodes/idlw-help.el (idlwave-help-mode):
* progmodes/idlw-shell.el (idlwave-shell-mode):
* progmodes/idlwave.el (idlwave-mode):
* progmodes/inf-lisp.el (inferior-lisp-mode):
* progmodes/m4-mode.el (m4-mode):
* progmodes/meta-mode.el (metafont-mode, metapost-mode):
* progmodes/modula2.el (modula-2-mode):
* progmodes/octave-inf.el (inferior-octave-mode):
* progmodes/octave-mod.el (octave-mode):
* progmodes/pascal.el (pascal-mode):
* progmodes/sh-script.el (sh-mode):
* progmodes/sql.el (sql-mode, sql-interactive-mode):
* progmodes/vhdl-mode.el (vhdl-mode):
* progmodes/xscheme.el (scheme-interaction-mode):  Use run-mode-hooks.
2005-05-26 16:43:37 +00:00
Glenn Morris
8cb8832f25 Reformat and update copyright years.
(fortran-if-indent): Doc fix.
(fortran-font-lock-keywords-2): Add "where", "elsewhere".
(fortran-font-lock-keywords-4): New variable.
(fortran-blocks-re, fortran-end-block-re)
(fortran-start-block-re): New constants, for hideshow.
(hs-special-modes-alist): Add a Fortran entry.
(fortran-mode-map): Bind fortran-end-of-block,
fortran-beginning-of-block to \M-\C-n, \M-\C-p.
(fortran-mode): Doc fix. Add fortran-font-lock-keywords-4.
(fortran-looking-at-if-then, fortran-end-of-block)
(fortran-beginning-of-block): New functions, for hideshow.
2005-03-29 18:59:02 +00:00
Kim F. Storm
bf247b6ed0 Change release version from 21.4 to 22.1 throughout.
Change development version from 21.3.50 to 22.0.50.
2005-02-09 15:50:47 +00:00
Richard M. Stallman
fd98e23a7a (fortran-mode): Use mode-require-final-newline. 2004-12-31 14:53:40 +00:00
Glenn Morris
8aa7b879cd (fortran-fill): Use local var `bol' rather than duplicate call to
`line-beginning-position'.
2004-04-30 18:54:44 +00:00
Glenn Morris
337c50a52f (fortran-break-before-delimiters): Doc fix.
(fortran-break-delimiters-re, fortran-no-break-re): New defconsts.
(fortran-fill): When filling a string, adjust re-search-backward
argument for special case of string just on fill-column.
When filling non-string, allow one extra char if
fortran-break-before-delimiters is non-nil.  Suggested by
Michael Hagemann <michael.hagemann@unibas.ch>.
Use fortran-break-delimiters-re and fortran-no-break-re to
correctly handle cases such as "**".
2004-01-25 23:59:57 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Stefan Monnier
5727e74864 (fortran-gud-find-expr): Move from gud.el (was gud-find-fortran-expr).
(fortran-mode): Set gud-find-expr-function.
2003-06-18 23:25:39 +00:00
Nick Roberts
f6bf87c5a1 (fortran-gud-syntax-table): Syntax table
for parsing Fortran expressions for gud-print. (Stefan Monnier)
(fortran-mode): Add local variable gud-find-expr.
2003-06-18 22:35:37 +00:00
Glenn Morris
be35ca9f5e (dabbrev-case-fold-search): Add defvar for compiler.
(fortran-abbrev-start): Make XEmacs compatible.
2003-04-20 13:03:04 +00:00
Glenn Morris
0a39a75cc4 Comment changes.
(fortran-column-ruler): Minor doc change.
2003-04-16 11:10:03 +00:00
Glenn Morris
a7113309ba (fortran-tab-mode-minor-mode-string): Delete this variable,
introduced in previous change.
(fortran-tab-mode-string): Change default value.
(fortran-mode): Use mode-line-process (rather than
minor-mode-alist) to indicate tab format code.
(fortran-analyze-file-format): Return fortran-tab-mode-default if
no match.
2003-04-15 20:44:19 +00:00
Glenn Morris
5b04210ced Whitespace changes, some re-ordering of code, trivial commentary change.
(fortran, fortran-indent, fortran-comment)
(fortran-tab-mode-default, fortran-continuation-indent)
(fortran-comment-indent-style, fortran-blink-matching-if)
(fortran-continuation-string, fortran-electric-line-number)
(fortran-break-before-delimiters, fortran-mode-hook)
(fortran-end-prog-re, fortran-imenu-generic-expression): Minor doc changes.
(fortran-tab-mode-minor-mode-string): New variable.
(fortran-tab-mode-string): Now customization is meaningful.
(fortran-column-ruler-fixed, fortran-column-ruler-tab)
(fortran-analyze-depth): Use defcustom.
(fortran-if-start-re, fortran-end-prog-re1, fortran-fill)
(fortran-break-line, fortran-prepare-abbrev-list-buffer)
(fortran-auto-fill): Add doc string.
(fortran-type-types): New constant (was local to let binding).
(fortran-font-lock-keywords-1, fortran-font-lock-keywords-2)
(fortran-font-lock-syntactic-keywords): Initialize in defvar.
(fortran-font-lock-keywords-3): Initialize in defvar.  Use 1+ now
depth of fortran-type-types has changed.  Remove extra and.
(fortran-mode-menu): Minor re-organization.  Use lookup-key.
(fortran-mode): Doc changes.  Some re-organization.  Use
fortran-tab-mode-minor-mode-string.
(fortran-comment-indent): Add doc string.  Move save-excursion. Use 1+.
(fortran-indent-comment, fortran-fill-statement): Change interactive spec.
Use unless.
(fortran-comment-region): Doc change.  Reverse logic of arg test.  Use zerop.
(fortran-abbrev-start, fortran-split-line)
(fortran-electric-line-number, fortran-indent-subprogram)
(fortran-strip-sequence-nos): Change interactive spec.
(fortran-remove-continuation): Add doc string.  Use when.
(fortran-numerical-continuation-char): Doc change.  Use 1+.
(fortran-previous-statement, fortran-next-statement)
(fortran-beginning-do, fortran-calculate-indent)
(fortran-end-do, fortran-end-if, fortran-beginning-if): Use zerop, 1+, 1-.
(fortran-blink-match, fortran-check-for-matching-do): Use when.
(fortran-indent-line): Change interactive spec.  Remove un-needed if.
Use when.
(fortran-indent-to-column): Doc change.  Use when, unless.
(fortran-find-comment-start-skip): No longer interactive.
(fortran-analyze-file-format): Minor doc change.  Remove un-needed setq.
(minor-mode-alist): Use add-to-list.
(fortran-fill-paragraph): Change interactive spec, doc string.
2003-04-15 19:22:31 +00:00
Glenn Morris
98110b1f02 (fortran-previous-statement): Check for fortran-continuation-string.
(fortran-calculate-indent): Do not add extra whitespace to strings
broken over lines.  Remove superfluous progn.
(fortran-fill): Handle long strings that must be broken over lines.
2003-04-13 13:11:24 +00:00
Glenn Morris
1d97a48dc2 (fortran-abbrev-start): Only offer help if abbrev-mode is active. 2003-04-12 15:44:59 +00:00
Glenn Morris
0ab47edc28 (fortran-fill): Fill lines that do not have comments. 2003-02-12 21:52:37 +00:00
Stefan Monnier
2bcfe15e42 (fortran-mode): Set comment-use-syntax.
(fortran-fill-paragraph): Use fill-comment-paragraph.
2003-02-12 15:23:21 +00:00
Glenn Morris
6f9a4ce206 (fortran-mode-abbrev-table): Handle `define-abbrev' with either 5
or 6 arguments.
2002-12-12 01:06:54 +00:00
Glenn Morris
845d331ee6 (fortran-beginning-do): Ignore labelled DO loops altogether. 2002-10-06 14:57:38 +00:00
Glenn Morris
a245ece58a (fortran-current-defun): Use save-excursion. 2002-08-20 20:32:45 +00:00
Glenn Morris
367e10df21 Update maintainer. 2002-05-18 19:05:34 +00:00
Glenn Morris
5a73972b0e (fortran-directive-re): New name for fortran-preprocessor-re. All usage
updated.
(fortran-calculate-indent): Give directives zero indentation.
2002-05-14 23:12:41 +00:00
Eli Zaretskii
89e7ad5946 Change all post-21.1 :version attributes to 21.4. 2002-05-12 17:30:42 +00:00
Glenn Morris
8edfcc7ddd (fortran-preprocessor-re): New variable. Use it for font-locking.
(fortran-previous-statement, fortran-next-statement): Make them skip over
preprocessor lines as they do with comment lines.
(fortran-calculate-indent): Use fortran-preprocessor-re.
2002-05-12 13:31:31 +00:00
Glenn Morris
cfe9d0b5fb (fortran-strip-sequence-nos): Rename from typo `fortran-strip-sqeuence-nos'. 2002-05-01 15:34:30 +00:00
Glenn Morris
3baf8754b8 (fortran-beginning-do): Make regexp match a DO statement irrespective of
numeric label.
2002-04-21 17:57:43 +00:00
Stefan Monnier
894dc7e75d (fortran-split-line): Make it work with any `!' comment as well. 2002-03-13 16:42:47 +00:00
Stefan Monnier
ff451e174b (fortran-mode): Set comment-padding to "$$$".
Add fortran-comment-line-start-skip to comment-start-skip.
(fortran-comment-indent): Keep whole-line comments in column 0.
(fortran-find-comment-start-skip): New arg `all'.
If ALL is nil, make sure we only match comment-start-skip if we
can't match fortran-comment-line-start-skip.
Fix bug that made it return t but without moving point when
matching '!'! (a false-comment followed by a real comment).
(fortran-indent-comment): Use new `all' argument above.
Be careful not to add an incorrect comment-starter like "C"
in comment-column.
(fortran-split-line): When splitting a comment, reuse the comment
starter from the current line rather than fortran-comment-line-start.
(fortran-indent-line, fortran-auto-fill): Simplify thanks to the
cleaner behavior of fortran-find-comment-start-skip.
(fortran-fill): Don't be confused by ! inside a comment.
(fortran-break-line): Minor cleanup and simplification.
2002-03-13 16:33:56 +00:00
Pavel Janík
e64c71e918 (fortran-mode-abbrev-table): Mark all the predefined abbrevs as "system"
abbrevs.
2001-12-30 22:16:42 +00:00
Dave Love
b252360414 Fontify rewind, backspace. Doc fixes.
(fortran-window-create, fortran-window-create-momentarily):
Rewrite, moving error condition.
(fortran-beginning-do, fortran-beginning-if): Fix regexps.
(fortran-mode-syntax-table): Revert last change.
2001-11-29 12:24:33 +00:00
Richard M. Stallman
1e8fc05d84 (fortran-mode-syntax-table): Specify punctuation syntax for backslash. 2001-11-18 06:51:53 +00:00
Pavel Janík
e8af40eed4 Some fixes to follow coding conventions. 2001-07-16 12:23:00 +00:00
Dave Love
b937fd1eaa (fortran-comment-region): Fix typo. 2001-03-30 10:19:51 +00:00
Richard M. Stallman
b9fe3dc8d5 (fortran-strip-sqeuence-nos): Doc fix. 2001-02-17 21:43:42 +00:00
Dave Love
562e00daec (fortran-mode-map): Modify Customization
entry for custom-menu-create change.
(fortran-strip-sqeuence-nos): Make arg optional.  Fix regexp and
don't cons it in the search loop.
2001-01-11 19:13:43 +00:00
Dave Love
8b31236d80 (fortran-mode): Don't set
fortran-comment-line-start-skip.  Set comment-start to
fortran-comment-line-start.
(fortran-fill-paragraph) <non-empty-comment>: Remove regexp group.
(fortran-comment-line-start-skip): Simplify slightly.
2000-11-28 10:55:35 +00:00
Dave Love
7aabd23e30 (fortran-mode): Locally set
normal-auto-fill-function.
(fortran-auto-fill-mode): Just alias to auto-fill-mode.
(fortran-mode-map): Adjust auto-fill menu entry.
2000-09-22 17:16:57 +00:00
Dave Love
a8189dfe47 (fortran-imenu-generic-expression): Change definition layout.
(fortran-mode-menu): Reinstate customize entries.
2000-07-13 17:23:28 +00:00
Dave Love
315aa1de5c Don't require easymenu. Use repeat counts in various regexps.
(fortran-mode-syntax-table): Defvar directly.
(fortran-font-lock-keywords-1, fortran-font-lock-keywords-2)
(fortran-font-lock-keywords-3, fortran-font-lock-syntactic-keywords):
Use defvar, not defconst.
(fortran-mode-map): Change locals in `let'.  Use `fortran-auto-fill'.
(fortran-mode): Set fortran-comment-line-start-skip,
fortran-comment-line-start-skip, dabbrev-case-fold-search.
(fortran-comment-indent): Use defsubst.
(fortran-indent-comment, fortran-indent-to-column, fortran-break-line):
Use fortran-comment-indent, not fortran-comment-indent-function.
(fortran-comment-region, fortran-electric-line-number): Simplify.
(fortran-auto-fill): New function.
(fortran-do-auto-fill): Deleted.
(fortran-find-comment-start-skip): Check for non-null
comment-start-skip.
(fortran-auto-fill-mode, fortran-fill-statement): Use
fortran-auto-fill.
(fortran-fill): Use fortran-auto-fill.  Check for null
comment-start-skip.  Simplify final clause and use end-of-line finally.
2000-07-11 17:56:56 +00:00
Dave Love
68ca306cb5 (fortran-comment-line-start): Define as
"C".
(fortran-comment-line-start-skip): Don't match cpp stuff.
(font-lock-keywords): Add * to comment-chars.  Grok cpp stuff.
(fortran-mode-map): Remove over-eager custom-menu-create for now.
(fortran-mode): Don't set fortran-comment-line-start-skip,
fortran-comment-line-start here.  Set comment-start,
add-log-current-defun.
(fortran-fill-paragraph): Adjust to try to DTRT with cpp stuff.
(fortran-current-defun): New function.
2000-03-09 23:02:51 +00:00
Dave Love
26ef1c879e (fortran-mode): Use beginning-of-defun-function, end-of-defun-function. 2000-01-24 22:44:09 +00:00
Dave Love
7a7db8e569 (fortran-mode-map): Don't bind M-C-a,
M-C-e, M-C-h, C-j, C-xnd, TAB.
(fortran-mode): Set beginning-of-defun, end-of-defun.
(fortran-column-ruler): Simplify.
(fortran-mark-subprogram, fortran-narrow-to-subprogram): Deleted.
(fortran-with-subprogram-narrowing): Likewise.
(fortran-indent-subprogram): Call mark-defun.
(fortran-check-for-matching-do): Change narrowing.
2000-01-05 17:23:27 +00:00
Dave Love
3b4613a485 (fortran-strip-sqeuence-nos): New command. 1999-11-30 19:38:27 +00:00
Dave Love
7dae727d72 (fortran-comment-line-start): Renamed from comment-line-start.
(fortran-comment-line-start-skip): Renamed from
comment-line-start-skip.
(fortran-mode-map): Use renamed functions.  Add manual and custom
entries to menu.
(fortran-mode-hook): Customize.
(fortran-comment-indent-function): Renamed from fortran-comment-hook.
(delete-horizontal-regexp): Function deleted.
(fortran-electric-line-number): Simplified.
(fortran-beginning-of-subprogram): Renamed from
beginning-of-fortran-subprogram.
(fortran-end-of-subprogram): Renamed from end-of-fortran-subprogram.
(fortran-mark-subprogram): Renamed from mark-fortran-subprogram.
(fortran-previous-statement, fortran-next-statement): Simplified.
(fortran-blink-match): New function.
(fortran-blink-matching-if, fortran-blink-matching-do): Use it.
(fortran-indent-to-column): Don't use delete-horizontal-regexp.
(fortran-find-comment-start-skip, fortran-is-in-string-p): Use
line-end-position.
(fortran-fill): No longer interactive.  Simplified.
(fortran-break-line): Simplified.
(fortran-analyze-file-format): Use char-after, not looking-at.
1999-11-23 20:19:47 +00:00
Dave Love
5aca2648a2 (fortran-indent-new-line): Make it an alias
for reindent-then-newline-and-indent.
1999-08-03 11:13:23 +00:00
Dave Love
f687a8793d (fortran-mode-syntax-table): Change \' to \'
syntax.
(fortran-fontify-string, fortran-match-!-commen): Deleted.
(fortran-font-lock-syntactic-keywords): New variable.
(fortran-mode): Use it.
(fortran-font-lock-keywords-1): Don't do comments.
(beginning-of-fortran-subprogram, end-of-fortran-subprogram):
Save match data.
1999-07-24 13:11:43 +00:00
Dave Love
e04196d361 Add :link to defgroup.
(fortran-blink-matching-if): Match ELSE statements too.
(fortran-fill-statement, fortran-fill): Bind auto-fill-function so
that filling is always done.
1999-06-01 15:54:31 +00:00
Dave Love
c4c42b2e43 (mark-fortran-subprogram): Activate mark
here...
(fortran-narrow-to-subprogram, fortran-indent-subprogram): ... not
here.
1999-02-02 19:35:29 +00:00