1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 02:31:03 -08:00
Commit graph

814 commits

Author SHA1 Message Date
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
Richard M. Stallman
f0cca206dc Add defgroup; use defcustom for user vars. 1997-04-15 23:38:27 +00:00
Richard M. Stallman
e936de0b97 (pascal-mode): Set comment-start. 1997-04-15 23:30:35 +00:00
Richard M. Stallman
c02f273d17 (sh-while-getopts): Don't add menu-enable property. 1997-04-15 18:16:28 +00:00
Richard M. Stallman
00ed33e7ab Add defgroup; use defcustom for user vars. 1997-04-13 07:51:54 +00:00
Richard M. Stallman
c5292bc831 Add defgroup's; use defcustom for user vars. 1997-04-12 08:35:41 +00:00
Richard M. Stallman
fcad51995c Add defgroup's; use defcustom for user vars. 1997-04-12 04:15:03 +00:00
Richard M. Stallman
bbf5eb2805 Add defgroup's; use defcustom for user vars. 1997-04-12 03:18:33 +00:00
Richard M. Stallman
cd482e0573 Add defgroup's; change use defcustom for user vars. 1997-04-12 02:51:38 +00:00
Richard M. Stallman
2f5029f3f2 (make): Add scheme-indent-function property. 1997-04-11 20:05:42 +00:00
Richard M. Stallman
1367ff3a18 Add DSSSL mode and share code with newly required
lisp-mode as much as possible.
(scheme-mode-variables): Copy filling stuff from lisp-mode.
Add an outline-regexp.
(scheme-mode-map): Inherit shared-lisp-mode-map and provide a menu.
(dsssl-sgml-declaration): New variable.
(dsssl-mode): New command.
(dsssl-font-lock-keywords): New variable.
(scheme-indent-function): Near copy of lisp-indent-function.
(scheme-comment-indent, scheme-indent-offset,
scheme-indent-function, scheme-indent-line,
calculate-scheme-indent, scheme-indent-specform,
scheme-indent-defform, scheme-indent-sexp): Removed; use lisp-mode
equivalents.
(scheme-imenu-generic-expression): New variable.
(dsssl-imenu-generic-expression): New variable.
(scheme-let-indent): Use lisp-indent-specform.
1997-04-10 19:41:00 +00:00
Richard M. Stallman
2718efdd52 (sh-mode): Set font-lock-comment-start-regexp via font-lock-defaults.
(sh-set-shell): Don't set font-lock-keywords or font-lock-syntax-table,
and don't toggle Font Lock mode if it is already on.
1997-04-10 06:38:26 +00:00
Richard M. Stallman
b8668259e2 (calculate-perl-indent): When indenting under a
containing openparen, skip spaces after the openparen.
1997-04-08 01:18:14 +00:00
Richard M. Stallman
54bfce8a12 (grep-null-device): Move before first use. 1997-04-01 22:17:59 +00:00
Karl Heuer
0992c4d488 (hs-hide-block-at-point): Doc fix. 1997-03-31 22:46:25 +00:00
Richard M. Stallman
78d7cf68ff (icon-mode-map): Added menus.
(icon-imenu-generic-expression): New variable to be used for imenu.
(icon-mode): Added font-lock, imenu and hideshow support.
(icon-font-lock-keywords-1, icon-font-lock-keywords-2):
New constants for different level of font-lock fontification.
(icon-font-lock-keywords): New variable.  Default expression to be
assigned to font-lock-keywords in `icon-mode'.
(icon-forward-sexp-function): New function used as `forward-sexp' by hideshow.
1997-03-30 21:50:02 +00:00
Richard M. Stallman
e190af9a8e Minor doc fix. 1997-03-30 05:28:43 +00:00
Richard M. Stallman
22d5cb5048 (sh-set-shell): If file has no #! line,
set the syntax table based on the default shell.
1997-03-30 02:10:40 +00:00
Richard M. Stallman
9479d258c9 (hs-show-all, hs-safety-is-job-n): Fix messages.
Changed to use overlays for hiding instead of selective display.
Commented out the support for XEmacs because it doesn't support overlays.
(hs-special-modes-alist): Added support for java-mode.
(hs-minor-mode-hook): New variable.
(hs-c-start-regexp, hs-c-end-regexp, hs-forward-sexp-func)
(hs-block-start-regexp, hs-block-end-regexp)
(hs-find-block-beginning): Doc string fixes.
(hs-hide-comments-when-hiding-all): New variable.
(hs-safety-is-job-n, hs-minor-mode, hs-flag-region):
Use overlays for hiding.
(hs-inside-single-line-comment-p, hs-discard-overlays)
(hs-already-hidden-p): New internal functions.
(hs-hide-block-at-point, hs-hide-initial-comment-block)
(java-hs-forward-sexp, hs-mouse-toggle-hiding): New functions.
(hs-inside-comment-p, hs-hide-block)
(hs-show-block): Added support for single line comments.
(hs-hide-all): Added support for hiding comments.
1997-03-29 08:51:22 +00:00
Richard M. Stallman
d898671ff0 Add copyright notice and distribution terms. 1997-03-27 00:47:31 +00:00
Richard M. Stallman
43e34a410d Initial revision 1997-03-25 03:49:38 +00:00
Richard M. Stallman
201bf3329c (grep-program): New variable.
(grep-command): Use it, and test whether it supports the -e
option; fix doc string (last command is stored in history variable).
(grep-null-device): Declare before grep-program and grep-command.
(grep-find-use-xargs, grep-find-command, grep-find-history):
New variables.
(grep-find): New command.
(grep): Only concatenate grep-null-device to COMMAND when it's
not nil (to support grep-find).
1997-03-24 23:59:44 +00:00
Richard M. Stallman
dfa9e6fcb0 (makefile-backslash-align): New variable.
(makefile-backslash-region): Re-imported from cc-mode; modified to
handle makefile-backslash-align.
(makefile-append-backslash, makefile-delete-backslash):
Re-imported from cc-mode.
(makefile-backslashify-current-line): Function deleted.
(makefile-fill-paragraph): New function.
(makefile-mode-map): Bind C-c C-c to comment-region.
(makefile-mode): Set fill-paragraph to makefile-fill-paragraph.
1997-03-24 05:30:10 +00:00
Richard M. Stallman
ff9c168275 (sh-case): Define with defun and defvar
instead of define-skeleton.
1997-03-22 03:53:10 +00:00
Karl Heuer
6e6d2764da (octave-abbrev-table): Add abbrevs for switch,
case, otherwise, and endswitch.
(octave-begin-keywords): Add switch.
(octave-else-keywords): Add case and otherwise.
(octave-end-keywords): Add endswitch.
(octave-block-match-alist): Add an entry for switch syntax.
(calculate-octave-indent): Add support for switch syntax.
(octave-block-end-offset): New function.
(octave-comment-indent): Fix typo.
1997-03-12 00:35:32 +00:00
Karl Heuer
15c2d736a0 Provide octave-inf. 1997-03-12 00:34:25 +00:00
Karl Heuer
6840310a0d Provide octave-hlp. 1997-03-12 00:33:56 +00:00
Karl Heuer
6e36fe0bad (makefile-dependency-regex): Disallow "=" in name,
so that "flags=-o:1" is treated as an assignment, not a dependency.
(makefile-dependency-regex, makefile-macroassign-regex): Disallow
spaces in symbol name.
1997-03-11 22:23:36 +00:00
Karl Heuer
2bffb7c4d4 (sh-mode-hook, sh-set-shell-hook): Add defvars. 1997-02-23 08:40:41 +00:00
Simon Marshall
32f4ab179e Add ... to relevant menu entries. 1997-02-21 09:46:03 +00:00
Simon Marshall
e93b2a5541 Rewrite Font Lock support. 1997-02-21 09:42:44 +00:00
Eli Zaretskii
acffd065e3 (grep-process-setup): New function, sets up the
exit message function in a way that works when async processes
aren't supported.
(grep): Use `grep-process-setup'.
1997-02-20 16:11:48 +00:00
Eli Zaretskii
167d14181c (compile-mouse-goto-error): Move to end of line
before calling `compile-reinitialize-errors', so that it always
sees the entire filename.
1997-02-19 15:48:50 +00:00
Eli Zaretskii
49683a1376 * (compilation-process-setup-function): New variable.
(compile-internal): Call compilation-process-setup-function if
it is non-nil.
1997-02-09 16:03:50 +00:00
Richard M. Stallman
e1ebe229b9 (compilation-enter-directory-regexp)
(compilation-leave-directory-regexp): Add .* at beginning.
1997-01-31 06:17:06 +00:00
Richard M. Stallman
e82654b771 (compilation-error-regexp-alist): Undo 1/21 change.
In the GNU message with program name alternative,
allow digits in the program name after the first character.
1997-01-28 05:04:25 +00:00
Richard M. Stallman
2fa55e202f (compilation-parse-errors): Use looking-at on each line.
(compilation-error-regexp-alist): Change these regexps
so that they assume matching only at start of line.
Delete \n at beginning; otherwise add `.*'.
1997-01-23 21:49:59 +00:00
Richard M. Stallman
7a38448799 (compilation-error-regexp-alist):
In MIPS lint and Sun Ada regexps, reject newline in some
[^...] constructs.  Require newline at start in MIPS lint.
1997-01-22 08:02:25 +00:00