Glenn Morris
1eff4ba396
(f90-mode-abbrev-table): Use mapc rather than mapcar.
2007-09-21 08:05:42 +00:00
Glenn Morris
1a484753b2
Switch license to GPLv3 or later.
2007-07-25 04:29:40 +00:00
Glenn Morris
d7a0267c8d
Add 2007 to copyright years.
2007-01-21 03:53:13 +00:00
Glenn Morris
0761b294e1
(f90-mode-abbrev-table): Define abbrevs even if abbrev-table is
...
non-nil (saved user abbrevs may have been restored).
2006-12-05 05:24:24 +00:00
Glenn Morris
b464e0eeda
(f90-comment-indent): Do not move point in default case.
2006-11-23 07:26:52 +00:00
Glenn Morris
cbc121c7ba
(f90-indent-region): Bind case-fold-search to t.
2006-11-10 08:39:13 +00:00
Glenn Morris
ab09adac9b
Revert previous inadvertent check-in of local changes.
2006-02-08 08:05:13 +00:00
Glenn Morris
a20b384860
Add 2006 to copyright years.
2006-02-08 07:54:11 +00:00
Juri Linkov
8ec3bce045
Add :link (custom-group-link font-lock-faces) to defgroup.
2005-11-17 07:40:11 +00:00
Glenn Morris
c046af9511
From John Mongan <jmongan@mccammon.ucsd.edu> (tiny change)
...
(f90-match-end): Use `blink-matching-delay'.
2005-11-02 08:30:25 +00:00
Glenn Morris
9877fcf1d0
(f90-keywords-re, f90-mode): Doc fix.
...
(f90-font-lock-keywords-2, f90-mode-abbrev-table): Add `double precision'.
2005-10-08 04:47:23 +00:00
Nick Roberts
034babe1e1
Update copyright for release of 22.1 for progmodes directory.
2005-08-01 08:43:45 +00:00
Richard M. Stallman
2c94857186
(f90-abbrev-start): Avoid warning.
2005-07-16 18:42:26 +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
b78cbdf785
(f90-calculate-indent): Fix treatment of first statement in buffer
...
(broken by 2004-11-24 change).
2005-04-24 19:42:28 +00:00
Glenn Morris
d694ccd7e5
(f90-electric-insert): Add optional prefix arg, and pass to
...
self-insert-command.
2005-04-11 15:23:20 +00:00
Glenn Morris
fcca5273e5
(f90-end-block-re, f90-start-block-re): Doc fix. Tweak regexp.
...
(f90-beginning-of-block): Push mark first.
2005-03-29 18:34:22 +00:00
Richard M. Stallman
722d313233
(f90-mode): Use mode-require-final-newline.
2004-12-31 14:53:24 +00:00
Glenn Morris
784d007b50
(f90-smart-end, f90-previous-statement, f90-beginning-of-block): Doc fix.
...
(f90-calculate-indent): Handle un-named PROGRAM blocks.
(f90-end-of-block): Doc fix. Make check of outermost block
conditional on value of `f90-smart-end'.
(f90-block-match): Hack to deal with un-named PROGRAM blocks.
Handle case where END-BLOCK is nil.
(f90-match-end): Handle un-named PROGRAM blocks.
(f90-backslash-not-special): New function.
2004-11-25 00:46:42 +00:00
Richard M. Stallman
5e6c7c3c8d
(f90-end-of-block): Don't use interactive-p.
2004-11-04 10:16:51 +00:00
Glenn Morris
799dee7ac4
(f90-end-block-re, f90-start-block-re): New constants.
...
(hs-special-modes-alist): Add an f90-mode entry. This will not be
100% successful, but should handle a sizable majority of code.
2004-05-17 18:52:51 +00:00
Glenn Morris
718d07060a
(f90-get-present-comment-type): Return whitespace, as well as comment
...
chars, for consistent filling of comment blocks. Use
`match-string-no-properties'.
(f90-break-line): Do not leave trailing whitespace when filling
comments.
2004-04-30 18:52:11 +00:00
Glenn Morris
6f43f690c6
(f90-break-delimiters): Doc fix.
...
(f90-no-break-re): Add some extra tokens. Doc fix.
2004-01-25 23:42:35 +00:00
Miles Bader
ab5796a9f9
Add arch taglines
2003-09-01 15:45:59 +00:00
Glenn Morris
7aee804746
(f90-font-lock-keywords-2): Use override for
...
font-lock-variable-name-face in declarations (so that strings in
declarations are over-ridden). Highlight continuation characters.
(f90-indent-new-line): Remove direct call to f90-indent-line-no,
f90-update-line, since f90-indent-line calls these.
(f90-abbrev-start): Fix XEmacs compatibility.
2003-04-20 13:01:32 +00:00
Glenn Morris
0db701f029
(f90-looking-at-do, f90-find-breakpoint): Fix previous change.
2003-04-16 13:50:40 +00:00
Glenn Morris
748dd5a8af
(f90-indent-to, f90-indent-line-no)
...
(f90-no-block-limit, f90-end-of-block, f90-beginning-of-block)
(f90-comment-region, f90-indent-line, f90-indent-region)
(f90-find-breakpoint, f90-block-match): Trivial simplifications.
(f90-looking-at-do, f90-looking-at-select-case)
(f90-looking-at-if-then, f90-looking-at-where-or-forall): Drop
XEmacs 19 support and simplify.
(f90-indent-new-line): No need for case-fold-search. Simplify.
(f90-fill-region): Make marker nil when done. Simplify.
2003-04-16 11:08:58 +00:00
Glenn Morris
a729409a96
Whitespace changes, trivial commentary changes.
...
(f90, f90-indent, f90-program-indent, f90-continuation-indent)
(f90-indented-comment-re, f90-imenu-generic-expression)
(f90-mark-subprogram, f90-join-lines): Minor doc changes.
(f90-menu): Shift definition to initialization of f90-mode-map.
Add customization section.
(f90-mode): Minor doc change. Do not call easy-menu-add.
Set `beginning-of-defun-function' and `end-of-defun-function' to
appropriate F90 functions.
(f90-indent-line, f90-indent-line, f90-indent-subprogram)
(f90-break-line, f90-do-auto-fill, f90-insert-end)
(f90-upcase-keywords, f90-capitalize-keywords)
(f90-downcase-keywords): Change interactive spec.
2003-04-15 19:18:23 +00:00
Glenn Morris
a259425b58
(f90-join-lines): Make it behave more like the standard function
...
`join-line' - join with previous line, unless an argument supplied.
Join comments correctly. No longer has a meaningful return
value, no longer fills (seems contradictory to join AND fill).
(f90-fill-region, f90-menu): Adapt for new f90-join-lines.
2003-04-12 20:43:58 +00:00
Glenn Morris
be550ccc61
(f90-abbrev-start): Only offer help if abbrev-mode is active.
2003-04-12 15:45:59 +00:00
Juanma Barranquero
a1506d2977
Trailing whitepace deleted.
2003-02-04 13:24:35 +00:00
Glenn Morris
34ba7e3d72
Remove (eval-when-compile) for free variables.
...
(f90-menu): Remove ":active" keyword where not needed.
(f90-menu, f90-add-imenu-menu): Use lookup-key rather than
imenu--index-alist.
A few whitespace changes.
2002-09-01 00:54:55 +00:00
Glenn Morris
901e8d1dc5
(f90-imenu-flag): Deleted - use imenu--index-alist instead.
2002-08-24 01:08:28 +00:00
Glenn Morris
1a341882a5
(f90-xemacs-flag, f90-xemacs-menu, f90-menu-bar-menu, f90-change-case-menu)
...
(f90-font-lock-on, f90-font-lock-off, f90-font-lock-menu): Deleted. Use
easy-menu-define instead.
(f90-mode): Use easy-menu-add.
No longer (require 'imenu) when compiling.
(f90-mark-subprogram, f90-indent-region, f90-fill-region)
(f90-abbrev-start): Use fboundp.
2002-08-24 00:50:42 +00:00
Glenn Morris
0ee7f06810
eval-when-compile a few defvars to quieten the byte-compiler.
...
(f90-xemacs-flag): Wrap in eval-and-compile.
(f90-font-lock-keywords): Doc fix.
(f90-mode-abbrev-table): Use the 6th (system-flag) argument of
define-abbrev if available, but work without it as well.
(f90-mark-subprogram-overlay): Variable deleted.
(f90-mark-subprogram): No need to be silent about push-mark.
Get rid of the silly overlay bit.
(f90-abbrev-start): unread-command-event is obsolete in XEmacs too.
2002-08-21 21:26:07 +00:00
Glenn Morris
eb9f0295d0
(f90-font-lock-keywords-1): Simplify `type' value a little.
...
(f90-type-def-re): Simplify value a little.
2002-08-03 19:01:50 +00:00
Glenn Morris
6fb453e1ea
(f90-font-lock-keywords-1): Fix highlighting of `type' forms.
...
(f90-font-lock-keywords-2): Fix highlighting of `implicit type(foo)' forms.
(f90-type-def-re): Fix value.
2002-08-03 16:57:43 +00:00
Glenn Morris
d595e95d3e
(f90-do-auto-fill): Make it respect `comment-auto-fill-only-comments'.
2002-06-23 15:45:48 +00:00
Glenn Morris
e7272eceaa
(f90-type-def-re): Fix value.
...
(f90-looking-at-type-like): Adapt for new value of `f90-type-def-re'.
2002-06-19 22:41:53 +00:00
Glenn Morris
76bccf35b4
(f90-previous-block, f90-next-block): New names (and slightly changed
...
behaviour) for the functions f90-previous-block-start, f90-next-block-end.
(f90-beginning-of-subprogram, f90-end-of-subprogram): Simplify.
2002-05-26 19:58:31 +00:00
Glenn Morris
6f1d50da83
(f90-end-of-subprogram): Remove the final (forward-line 1).
...
(f90-end-of-block, f90-beginning-of-block, f90-next-block-end,
f90-previous-block-start): New navigation commands.
2002-05-24 22:00:21 +00:00
Glenn Morris
b32a3d9930
(f90-looking-at-where-or-forall): Oops, defsubst, not defun.
2002-05-20 21:52:07 +00:00
Glenn Morris
02f85cbae5
(f90-change-keywords): Doc fix.
2002-05-19 23:23:22 +00:00
Glenn Morris
f14ca2504b
(f90-equal-symbols, f90-looking-at-do, f90-looking-at-select-case)
...
(f90-looking-at-if-then): Remove lets.
(f90-looking-at-where-or-forall): Handle if split over lines.
2002-05-19 23:19:42 +00:00
Glenn Morris
89fa1ef503
(f90-get-present-comment-type): Fix bug introduced in version 1.46.
...
(f90-comment-indent): Doc fix.
(f90-break-line): Simplify it a bit.
2002-05-19 22:28:15 +00:00
Glenn Morris
6dd52cafbd
(f90-match-end): Simplify it a bit.
2002-05-19 21:47:46 +00:00
Glenn Morris
4f9fc70285
(f90-mode-abbrev-table): Initialize in the defvar.
2002-05-18 22:42:23 +00:00
Glenn Morris
ba69d9faac
(f90-mode-abbrev-table): Initialize with define-abbrev-table, if needed.
2002-05-18 22:18:58 +00:00
Glenn Morris
70186f7ff2
(f90-mode-syntax-table, f90-mode-map): Do the initialization in the defvar.
...
(f90-font-lock-on, f90-font-lock-off): Add 'menu-alias property.
(f90-font-lock-1, f90-font-lock-2, f90-font-lock-3, f90-font-lock-4): Move
the doc strings.
(f90-menu-bar-menu): New internal variable to hold the top-level menu.
(f90-change-case-menu, f90-font-lock-menu): Minor code changes.
2002-05-18 21:52:58 +00:00