1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-23 22:20:24 -08:00
Commit graph

851 commits

Author SHA1 Message Date
Richard M. Stallman
7ce22b4126 (compilation-error-regexp-alist): New item, for Oracle compiler. 1997-06-27 22:35:21 +00:00
Richard M. Stallman
e863e26439 (hs-discard-overlays): Use overlays-in to
get all the overlays in a range.  Don't use let inside a cycle.
1997-06-24 02:26:57 +00:00
Richard M. Stallman
b96d6bbdda Delete RCS version header. 1997-06-23 02:10:46 +00:00
Richard M. Stallman
6b27974068 Initial revision 1997-06-22 20:08:32 +00:00
Richard M. Stallman
896546cd9b Add provide call. 1997-06-22 18:57:55 +00:00
Richard M. Stallman
43c89a968e Whitespace change. 1997-06-22 18:47:05 +00:00
Richard M. Stallman
69d92b8a69 Fix provide call. 1997-06-22 18:32:34 +00:00
Simon Marshall
52bb674b93 Do <* *> via syntax table not regexps; use regexp-opt. 1997-06-19 08:55:24 +00:00
Richard M. Stallman
b39697d1df Delete M-TAB binding of complete-tag. 1997-06-19 02:47:38 +00:00
Richard M. Stallman
48879301fd (scheme): Add defgroup.
Put defcustom's into this group.

(scheme-mode-commands): Remove keybinding of \t to old `scheme-indent-line'.
Bind \e\C-q to `indent-sexp', not `scheme-indent-sexp'.
(scheme-mit-dialect): Use defcustom.
(dsssl-sgml-declaration):  Likewise.  Fix doc string.
1997-06-17 21:54:16 +00:00
Richard M. Stallman
32632f6677 (icon-indent-line): A comment ends at the end of the
line, delete call to inexistent function.

(icon-font-lock-keywords-1): Improved regexp.
(icon-font-lock-keywords-2): Likewise.
1997-06-17 19:34:56 +00:00
Richard M. Stallman
000a6a765e (grep-program): Comment out the use of zgrep. 1997-06-16 23:20:46 +00:00
Richard M. Stallman
b0edcc39e0 (icon-imenu-generic-expression): Improved regexp.
(icon-font-lock-keywords-1): Improved regexps.
(icon-font-lock-keywords-2): Likewise.
(icon-mode): Don't set font-lock-comment-start-regexp via
font-lock-defaults; it is not needed anymore.

(icon-imenu-generic-expression): Improved regexp.
(icon-mode): Don't use pushnew.
1997-06-16 23:13:12 +00:00
Richard M. Stallman
12e36cdba6 (hideshow): Added a :prefix.
(hs-isearch-open): New variable.
(hs-flag-region): Use that variable.
Changed the semantics of the FLAG parameter and updated the docs.
(hs-isearch-open-invisible): New function to be set as a
`isearch-pent-invisible' property for hidden overlays, so that
isearch can use it.
(hs-hide-block-at-point): Tell if we are hiding a comment or a block.
1997-06-13 21:31:25 +00:00
Karl Heuer
24c868149e (f90-looking-at-where-or-forall): Recognize where/forall
only if it's a block, not a one-line statement.
1997-06-10 18:04:01 +00:00
Richard M. Stallman
cd63e73b03 (icon-font-lock-keywords-2): Use regexp-opt for the regexps. 1997-06-08 20:20:56 +00:00
Richard M. Stallman
c69dd504e5 Finish installing previous change. 1997-06-02 19:58:49 +00:00
Richard M. Stallman
52748d9537 Customize.
(ada-mode): Set up support for find-file.el.
(ada-other-file-alist): New variable moved from find-file.el.
(ada-search-directories): Likewise.
1997-06-02 06:06:03 +00:00
Richard M. Stallman
d06970e54c (hs-show-hidden-short-form): Updated doc string.
(hs-adjust-block-beginning): Likewise.
(hs-special-modes-alist): C and C++ should also use
hs-c-like-adjust-block-beginning.
(hs-find-block-beginning): If hs-adjust-block-beginning is t and
we apply hs-adjust-block-beginning and we reach the point means
that we found the block beginning.
(hs-c-like-adjust-block-beginning):
Renamed from java-hs-adjust-block-beginning.
1997-06-01 23:09:03 +00:00
Richard M. Stallman
7393255738 (cpp-highlight-buffer): Make sure
buffer-invisibility-spec contains `cpp'.
(cpp-make-overlay-hidden): Use `cpp' as an invisible property.
1997-05-31 07:16:13 +00:00
Richard M. Stallman
b7c09257ad (hs-hide-comments-when-hiding-all)
(hs-show-hidden-short-form, hs-minor-mode-hook): Move definitions up.
Use defcustom.
(hs-find-block-beginning): Bind buffer-size, don't call it in a cycle.
(hs-hide-all): Likewise.
1997-05-31 07:13:34 +00:00
Richard M. Stallman
9d3d895d11 Comment change. 1997-05-30 07:30:02 +00:00
Simon Marshall
38c979d349 Update for syntax-table text properties.
sh-script.el now directs font-lock.el to add them to instances of # which are not comments.
1997-05-29 07:04:00 +00:00
Richard M. Stallman
88039caa2b (hs-special-modes-alist): Include also the
comment regexp in the alist. This is needed for modes like c++
where the comment beginning regexp is not easy to determine
from the syntax table.
Include ADJUST-BLOCK-BEGINNING in the alist.
(hs-hide-comments-when-hiding-all): Add autoload cookie.
(hs-show-hidden-short-form):
(hs-adjust-block-beginning): New variables.

Comment out `hs-menu-bar' as XEmacs support was removed.
(hs-c-end-regexp): Remove variable, obsoleted by the rewrite of
`hs-inside-comment-p'.

(hs-discard-overlays): No need to test if we are inside the
overlay, we surely are since we got the overlay using `overlays-at'.
(hs-hide-block-at-point): Rewritten to use the new variables.
Use only one parameter to specify the comment.
(hs-show-block-at-point): No need for the COMMENT-REG parameter.
(hs-safety-is-job-n): Correct typo.
(hs-hide-initial-comment-block): Add ^L to the chars to skip.
Take into account `hs-show-hidden-short-form' when testing.
(hs-inside-single-line-comment-p): Function deleted, obsoleted by
the rewrite of `hs-inside-comment-p'.
(hs-inside-comment-p): Rewritten from scratch. Semantics changed
when returning non-nil. We can be inside a comment, but that
comment might not be hidable (the car of the return value should
be non-nil to be hidable).
(hs-grok-mode-type): Rewrite to be more understandable.
`hs-c-end-regexp' does not exist any more.
Initialize `hs-c-start-regexp' from the alist if specified there.
Initialize `hs-adjust-block-beginning'.
(hs-find-block-beginning): Rewritten to be able to deal with the
situation when a block beginning spans multiple lines and the
point is on one of those lines.
(hs-already-hidden-p): Look first if we are inside a comment or a
block, go to their end and look there for the overlays.
(java-hs-adjust-block-beginning): New function.
(hs-hide-all): Hide a comment block only if `hs-inside-comment-p'
says is hidable.
(hs-hide-block): Simplify.
Handle properly the result of `hs-inside-comment-p'.
(hs-show-block): Likewise.
(hs-minor-mode): Doc string fixes.
Make `hs-adjust-block-beginning' buffer local.
Delete making `hs-c-end-regexp' buffer local as it was deleted.
1997-05-29 05:23:39 +00:00
Richard M. Stallman
d03b8a2d00 Comment changes. 1997-05-28 03:50:36 +00:00
Per Abrahamsen
d6d920176a Update address. 1997-05-27 21:24:07 +00:00
Richard M. Stallman
ac50039319 Comment change. 1997-05-27 20:53:24 +00:00
Richard M. Stallman
0acdb86326 Comment change. 1997-05-27 19:51:23 +00:00
Richard M. Stallman
4228277d98 Comment change. 1997-05-27 17:46:19 +00:00
Richard M. Stallman
5b1a29ab54 (indent-icon-exp): Bind last-depth.
Consistently use inner-loop-done, not innerloop-done.
1997-05-27 17:02:18 +00:00
Richard M. Stallman
e4874521bb Comment change. 1997-05-27 15:32:03 +00:00
Richard M. Stallman
5547fcff13 (icon-mode): Adapt to new hideshow and improve regexps.
(icon-forward-sexp-function): Use beginning-of-icon-defun and
end-of-icon-defun.
1997-05-27 14:50:08 +00:00
Richard M. Stallman
c1bb59cab2 Comment change. 1997-05-23 04:56:15 +00:00
Richard M. Stallman
cadd365812 (ada-krunch-args): Use gnatkr instead of gnatk8.
(ada-make-filename-from-adaname): Ditto.
(ada-adjust-case-region): Use format functionality of message.
(ada-indent-region): Ditto.
(ada-check-matching-start): Ditto.
(ada-check-defun-name): Ditto.

(ada-font-lock-keywords): Default to subdued.  Doc fix.
(ada-font-lock-syntactic-keywords): New variable.
(ada-mode): Use it to set font-lock-defaults.

(ada-font-lock-keywords-2): Single "raise" will be
highlighted. "in out" parameters get type face (depends on order
in regexp).

(ada-mode): Remove explicit setting of user option
`blink-matching-paren', font-lock treats `.' as word char.
(ada-in-string-or-comment-p): Call `parse-partial-sexp' only once.
(ada-untabify-buffer): Force returning `nil'.
(ada-font-lock-keywords-1): Move "task" before "task (body|type)" to
correct highlighting (regexp depends on order).

(ada-in-char-const-p): Renamed from `ada-after-char-p'.
Also test following character.
(ada-adjust-case): Use better function `ada-in-char-const-p'
(ada-in-string-or-comment-p): Test for being in a char constant.
(ada-clean-buffer-before-saving): Changed default to t.
(ada-mode): Set `font-lock-defaults' for Emacs only, use properties
for XEmacs.

(ada-indent-newline-indent): Simplified by just calling
`ada-indent-current'.

(ada-end-stmt-re): Added word delimiters in regexp.
Removed `interactive' statements which were needed only for debugging.

Put format commands back in for emacs 19.30/19.29 compatibility.

(ada-get-indent-label): A named block can begin
without a declare part.
(ada-check-defun-name): First of all, check for correct name in a
named block without `declare' part.
(ada-goto-matching-start): Change regexp as there may be no
semicolon between `end' and keyword.
(ada-get-current-indent): Remove warning as `begin' can introduce
a block without a `declare'.
(ada-goto-matching-decl-start): When searching backward, skip
generic default proc/func ("is <>").

(ada-named-block-re): New regexp for the name of a named block or loop.
(ada-get-current-indent): Handle loop names at the stmt start.
(ada-get-indent-end): Handle loop names at the stmt start.
(ada-get-indent-noindent): Handle loop names at the stmt start.
(ada-get-indent-loop): Handle loop names at the stmt start.
(ada-search-prev-end-stmt): Generic instances are not `stmt-ends'.
(ada-goto-previous-word): Use new function `ada-goto-next-word'.
(ada-goto-next-word): Generalized old `ada-goto-previous-word' for
both directions.

(ada-indent-function): Removed unnecessary `package' case.
(ada-get-indent-case): Before testing for `=>', be sure there is an `is'.
(ada-search-prev-end-stmt): Test for `separate' keyword on the
same line, which is not an `end-stmt'.

(ada-font-lock-keywords-2):
Correct regexp for hilit of unfollowed `end'.
(ada-in-open-paren-p): Start parsing definitely outside of strings.
(ada-gnat-style): New function.

Doc fixes.
(ada-mode): Support new font-lock-mode.
(ada-format-paramlist): Changed all `accept' to `access'.
(ada-insert-paramlist): Changed all `accept' to `access'.
(ada-in-comment-p): Use standard emacs way `parse-partial-sexp'.
(ada-font-lock-keywords-1): Regexps in not byte-compiled code bahave
different than byte-compiled regexps.
Change order of some ored entries.
1997-05-22 01:58:55 +00:00
Richard M. Stallman
12554a4ff4 (awk-mode): Set parse-sexp-ignore-comments. 1997-05-22 00:40:45 +00:00
Richard M. Stallman
9108fd3aef (m4-program): Guess which m4 binary to use.
(m4-start-m4): New function.
(m4-end-m4): New function.
(m4-m4-buffer, m4-m4-region): Now use m4-start-m4.
(m4-font-lock-keywords): Collaps 4 regex's into 1.
1997-05-20 18:37:35 +00:00
Richard M. Stallman
5885633586 (compilation-parse-errors): Fix paren error.
(compilation-arguments): New local variable.
(compile-internal): Set the variable compilation-arguments.
(compilation-revert-buffer): New function.
(compilation-mode): Set revert-buffer-function.
1997-05-19 01:04:04 +00:00
Richard M. Stallman
4510b90251 (inferior-lisp-mode): Add a mode-class property. 1997-05-05 01:10:01 +00:00
Richard M. Stallman
0a35bd795b (compilation-mode): Add a mode-class property. 1997-05-05 01:08:45 +00:00
Richard M. Stallman
c5049fa0d9 Use defgroup and defcustom. 1997-05-04 02:29:41 +00:00
Richard M. Stallman
da37a9b464 Use defcustom.
Doc fixes.
1997-05-03 19:28:12 +00:00
Richard M. Stallman
a24770bc7b Support compilers that give a message each time the file being
compiled changes but don't include a file name each error message.
Speed up by searching for regexps one by one instead of combining.
(compile-internal): Takes more optional arguments.  All five regexp
alists can be given as argument.
Change name of variable regexp-alist to error-regexp-alist. Change
some local variables directly by setq instead of rebinding by let.
(compilation-shell-minor-mode): New minor mode.
Similar to compilation-minor-mode, but key bindings don't
collide with shell mode.
(compilation-shell-minor-mode-map, compilation-shell-minor-mode):
New variables.
(compile-auto-highlight): Doc fix.
(compilation-error-regexp-alist): Removed unnecessary line break
in first regexp.  Replaced \\(\\|.* on \\) by \\(.* on \\)? in
regexp for Absoft FORTRAN 77 Compiler 3.1.3.  Added regexp for
SPARCcompiler Pascal.  Divided long line in regexp for Cray C
compiler error messages.  Made comment fit in line at regexp for
Sun Ada (VADS, Solaris).  FILE-IDX may be nil, meaning an
error message with no file name, so the file name must be taken
from an earlier message.  LINE-IDX may be a function which is
called with two arguments the file name and column strings and
returns an error position descriptor.
(compilation-enter-directory-regexp-alist)
(compilation-leave-directory-regexp-alist): New variables.
(compilation-file-regexp-alist)
(compilation-nomessage-regexp-alist): New variables.
(grep-regexp-alist): Removed unnecessary ^ at beginning of regexp.
(compilation-enter-directory-regexp)
(compilation-leave-directory-regexp): Variables deleted.
Replaced by compilation-enter-directory-regexp-alist and
compilation-leave-directory-regexp-alist.
(compilation-buffer-p): Return true also for buffer in
compilation-shell-minor-mode.
(compilation-next-error-locus): Split a long line.
(count-regexp-groupings): Comment about this function not being
needed any more.
(compilation-current-file, compilation-regexps); New variables.
(compilation-parse-errors): Large parts rewritten.  Don't put the
regexps together in one large regexp, instead match them one by one.
Support the generalized subexpression indices.
(compile-collect-regexps, compile-buffer-substring): New functions
supporting compilation-parse-errors.
1997-05-03 04:37:52 +00:00
Richard M. Stallman
cbf7f476d4 (compilation-error-regexp-alist): Add regexp for Perl -w. 1997-04-27 21:54:54 +00:00
Richard M. Stallman
26d05e2240 (dsssl-sgml-declaration): Doc fix.
(dsssl-mode): Use stringp to check dsssl-sgml-declaration.
(style, root): Put scheme-indent-function 1.
(dsssl-font-lock-keywords): Use make-regexp version.
1997-04-27 17:50:39 +00:00
Richard M. Stallman
e09735aadf (inferior-octave-output-list): Declare here
to avoid compiler warnings.
(inferior-octave-output-string): Likewise.
(inferior-octave-receive-in-progress): Likewise.
1997-04-22 04:45:17 +00:00
Richard M. Stallman
a80d3563db (m2-end-comment-column): New defvar.
(modula-2-mode, m2-end-comment): Use m2-end-comment-column
instead of end-comment-column.
(m2-compile, m2-link): Don't set `modulename',
1997-04-22 04:42:21 +00:00
Richard M. Stallman
c410bd65f5 (sh-case): Make this a simple define-skeleton
as it was originally.  Don't add a menu-enable property.
(sh-assignment-regexp): Renamed from sh-assignment-prefix
undoing a renaming made by mistake.
1997-04-22 04:37:22 +00:00
Richard M. Stallman
092af6d867 Comment change. 1997-04-20 07:33:52 +00:00
Richard M. Stallman
ea39159ea2 Remove all menu-enable properties except for sh-case. 1997-04-17 23:08:33 +00:00
Simon Marshall
94d175889a Font Lock support. 1997-04-17 07:32:31 +00:00