1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-13 01:20:28 -08:00
Commit graph

184 commits

Author SHA1 Message Date
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
Glenn Morris
e3f5ce5624 Again with the whitespace.
(f90-line-continued, f90-get-present-comment-type, f90-looking-at-if-then,
f90-indent-line, f90-indent-new-line, f90-indent-region,
f90-indent-subprogram, f90-do-auto-fill, f90-join-lines, f90-fill-region,
f90-match-end, f90-insert-end, f90-change-keywords): Minor code tidying.
2002-05-01 23:38:05 +00:00
Glenn Morris
ec2f376f6a Yet more doc string, commment and whitespace changes.
(f90-imenu-flag): New name for internal variable f90-imenu.
(f90-blocks-re, f90-program-block-re, f90-end-if-re, f90-no-break-re): Use
regexp-opt.
(f90-end-type-re): Add closing "\\>".
(f90-indent-region): Correctly indent comments embedded in continued lines.
(f90-indent-new-line): Make it indent the current line, as it should.
2002-05-01 15:29:30 +00:00
Glenn Morris
6965846537 Whitespace changes. 2002-04-29 23:24:28 +00:00
Glenn Morris
d14e6bbe1b Add/change doc strings for many in-line functions.
(f90-indent-line-no, f90-update-line): Minor code changes.
2002-04-29 22:55:10 +00:00
Glenn Morris
88b966631f (f90-font-lock-keywords-1, f90-font-lock-keywords-2): Fix highlighting of
various "type" forms.
2002-04-28 23:38:51 +00:00
Glenn Morris
5c2a80ad5c Minor reorganization of some code. 2002-04-28 22:28:38 +00:00
Glenn Morris
82b4fc4ab4 (f90-mark-subprogram-overlay): New internal variable.
(f90-mark-subprogram): Use it to highlight the subprogram with an overlay.
2002-04-28 22:15:51 +00:00
Glenn Morris
1bb3ae5c0b (f90-xemacs-flag): New variable to put the test for Emacs flavor in one
place.
2002-04-28 22:09:55 +00:00
Glenn Morris
87ee235927 General tidy-up of commentary and some doc strings. 2002-04-25 21:55:39 +00:00
Glenn Morris
48548fd50f (f90-startup-message): Obsolete variable removed. 2002-04-24 22:13:45 +00:00
Glenn Morris
6734e165bf (f90-get-beg-of-line): Removed and replaced with line-beginning-position.
(f90-get-end-of-line): Removed and replaced with line-end-position.
(f90-current-indentation): current-column was superfluous, removed.
(f90-match-piece): Removed and replaced with match-string.
(f90-get-present-comment-type): Use match-string rather than
buffer-substring.
(f90-match-end): Use line-beginning-position, line-end-position rather than
beginning-of-line, end-of-line.
2002-04-24 22:06:03 +00:00
Eli Zaretskii
b125e64388 Update maintainer.
(f90-line-continued): Recognize blank/comment lines embedded in
continuation lines.
(f90-looking-at-program-block-start): No extra indentation after
function or subroutine keyword appears in single quotes.
2002-04-19 12:22:13 +00:00