1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-16 09:50:25 +00:00
Commit Graph

1810 Commits

Author SHA1 Message Date
Richard M. Stallman
79aa321120 (idlwave-system-routines):
WOLRDTITLE => WORLDTITLE.  SUPRESS_VALUE => SUPPRESS_VALUE.
2002-04-01 12:08:38 +00:00
Richard M. Stallman
9ad79cb427 (tcl-imenu-create-index-function): Doc fix. 2002-03-29 12:48:09 +00:00
Richard M. Stallman
0eac1faa03 (compilation-handle-exit):
If compilation-window-height is 0, display status in echo area.
2002-03-28 18:28:24 +00:00
Richard M. Stallman
17b9c33c8d (tags-query-replace): Pass t for NOERROR to query-replace-read-args. 2002-03-25 00:40:16 +00:00
Richard M. Stallman
347c91407b (compilation-forget-errors): Don't adjust compilation-parsing-end if it's nil. 2002-03-25 00:39:41 +00:00
Richard M. Stallman
95f433f40b (cperl-imenu--function-name-regexp-perl):
Move definition above cperl-outline-regexp.
2002-03-16 06:52:31 +00:00
Richard M. Stallman
8dd511f607 (cperl-outline-regexp): Move definition up. 2002-03-14 08:50:03 +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
Francesco Potortì
1f21ea9472 * progmodes/etags.el (tag-exact-file-name-match-p)
(tag-file-name-match-p, tag-partial-file-name-match-p): Use a
simpler regexp.
2002-03-13 14:48:00 +00:00
Francesco Potortì
1381f9e6a8 * progmodes/etags.el (tag-exact-file-name-match-p)
(tag-file-name-match-p, tag-partial-file-name-match-p): Assume
that the header of a tags section has either a number or nothing
after the last comma.
2002-03-12 13:12:34 +00:00
Gerd Moellmann
52db9321f6 Add 2002 to the copyright years. 2002-03-07 11:30:36 +00:00
Gerd Moellmann
5bc2ca8362 (ebrowse-view/find-file-and-search-pattern):
Use the other-window instead of the other-frame functions when
the window is dedicated.
2002-03-07 11:26:09 +00:00
Andreas Schwab
2dc2ec3d49 Augment expression parser to handle conditional expressions. 2002-03-06 15:12:01 +00:00
Stefan Monnier
bedf0b73d1 (cperl-menu): Add "-emacs" to the version. 2002-03-04 01:09:58 +00:00
Richard M. Stallman
d498f475b2 (ps-run-make-tmp-filename): Use make-temp-file. 2002-03-03 22:21:08 +00:00
Eli Zaretskii
a70ea557d9 (find-tag-noselect, find-tag)
(find-tag-other-window, find-tag-other-frame, find-tag-regexp):
Fix a typo in doc strings.
2002-02-22 16:30:46 +00:00
Richard M. Stallman
0472b23ea7 (tcl-do-fill-paragraph): Find and fill on more
natural paragraph boundaries.  Don't fail at beginning of buffer.
2002-02-20 22:33:35 +00:00
Pavel Janík
8452cc8966 (idlwave-mode): Do not use make-local-hook. 2002-02-16 12:53:42 +00:00
Pavel Janík
1affb21658 (idlwave-shell-mode): Do not use make-local-hook. 2002-02-16 12:50:25 +00:00
Eli Zaretskii
099175bec2 (pascal-imenu-generic-expression): Add menu-title and fix parentheses. 2002-02-12 17:38:06 +00:00
Richard M. Stallman
238a5a50e5 (grep-compute-defaults): Definition moved up. 2002-02-06 15:37:35 +00:00
Richard M. Stallman
a5a08b1f3b Comment change. 2002-01-25 05:06:14 +00:00
Richard M. Stallman
470927374c (compilation-handle-exit):
Add a compilation-handle-exit property to the "finished" message.
(compilation-parse-errors): Stop parsing when that property is seen.
2002-01-25 02:36:36 +00:00
Richard M. Stallman
57270c909c (sh-set-shell): Doc fix. 2002-01-22 21:05:13 +00:00
Richard M. Stallman
9f2e5ef39d (perl-mode-abbrev-table): Restore definition. 2002-01-22 07:18:14 +00:00
Richard M. Stallman
754dfe82dc (sql-escape-newlines-and-send)
(sql-query-placeholders-and-send): Fix previous change.
2002-01-17 01:39:49 +00:00
Pavel Janík
110c171f4d Fix typo. 2002-01-13 10:09:20 +00:00
Richard M. Stallman
60a193e282 (sql-query-placeholders-and-send): Handle
comint-input-sender-no-newline like comint-simple-send.
(sql-escape-newlines-and-send): Likewise.
2002-01-13 04:44:22 +00:00
Pavel Janík
c3b7828887 (ada-initialize-properties, ada-mode): Do not use make-local-hook. 2002-01-08 21:43:42 +00:00
Richard M. Stallman
1fd714a410 (various face definitions): Use :weight, not :bold. 2001-12-31 20:44:44 +00:00
Richard M. Stallman
58b64ac7d9 (various face definitions): Use :weight and :slant. 2001-12-31 20:43:36 +00:00
Richard M. Stallman
feaf529ace Comment change. 2001-12-31 20:35:03 +00:00
Richard M. Stallman
256dec12f4 (various face definitions): Use :weight, not :bold. 2001-12-31 20:34:50 +00:00
Pavel Janík
99158127ba (octave-abbrev-table): Mark all the predefined abbrevs as "system" abbrevs. 2001-12-30 22:23:27 +00:00
Pavel Janík
8bf2571864 (idlwave-mode-abbrev-table): Mark all the predefined abbrevs as "system"
abbrevs.
2001-12-30 22:18:30 +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
Pavel Janík
5cc39d76da (f90-mode-abbrev-table): Mark all the predefined abbrevs as "system"
abbrevs.
2001-12-30 22:15:49 +00:00
Pavel Janík
610e1e8045 (vhdl-mode-abbrev-table-init): Mark all the predefined abbrevs as "system"
abbrevs.
2001-12-30 22:14:41 +00:00
Pavel Janík
42f2e96aea (sql-mode-abbrev-table): Mark all the predefined abbrevs as "system"
abbrevs.
2001-12-30 22:12:02 +00:00
Richard M. Stallman
056f8a1147 (tags-query-replace): Doc fix. 2001-12-30 00:52:52 +00:00
Richard M. Stallman
75da830272 (compile-internal): Fix previous change. 2001-12-29 20:31:14 +00:00
Richard M. Stallman
74e1934a3b (c-mode-abbrev-table, c++-mode-abbrev-table, objc-mode-abbrev-table)
(java-mode-abbrev-table, pike-mode-abbrev-table):
Mark all the predefined abbrevs as "system" abbrevs.
2001-12-28 22:16:42 +00:00
Richard M. Stallman
62728cf048 Comment change. 2001-12-26 21:27:54 +00:00
Richard M. Stallman
492e159bb0 (compile-internal): Set TERM variable in process-environment. 2001-12-26 21:26:25 +00:00
Richard M. Stallman
2633072a0d More sophisticated indentation of cpp directive.
(antlr-indent-at-bol-alist): New user option.
(antlr-indent-line): Use it.
(antlr-indent-style): New user option.
(antlr-mode): Use it.
(antlr-indent-item-regexp): Customize.

Syntax highlighting changes.
(antlr-font-lock-literal-regexp): New user option.
(antlr-font-lock-syntax-face): New face used for :, |, ....
(antlr-font-lock-default-face): New face.
(antlr-font-lock-additional-keywords): Use them.

New command to insert options -- variables.
(antlr-mode-map): New binding [C-c C-o].
(antlr-mode-menu): New submenus.
(antlr-options-use-submenus): New user option.
(antlr-tool-version): New user option.
(antlr-options-auto-colon): New user option.
(antlr-options-style): New user option.
(antlr-options-push-mark): New user option.
(antlr-options-assign-string): New user option.
(antlr-options-headings): New variable.

New command to insert options -- specific.
(antlr-options-alists): New variable.
(antlr-read-value): New function.
(antlr-read-boolean): New function.
(antlr-language-option-extra): New function.
(antlr-language-limit-n-regexp): Change default to higher LIMIT.
(antlr-c++-mode-extra): New function.
(antlr-grammar-tokens): New function.
(antlr-imenu-create-index-function): New optional argument.

New command to insert options -- functions.
(antlr-insert-option): New command.
(antlr-insert-option-interactive): New function.
(antlr-options-menu-filter): New function.
(antlr-option-kind): New function.
(antlr-scan-lists): New alias.
(antlr-scan-lists-internal): New function.
(antlr-skip-file-prelude): Hack for special SKIP-COMMENT.
(antlr-option-level): New function.
(antlr-syntactic-grammar-depth): New function.
(antlr-option-location): New function.
(antlr-insert-option-do): New function.
(antlr-option-spec): New function.
(antlr-version-string): New function.
(antlr-insert-option-existing): New function.
(antlr-insert-option-space): New function.
(antlr-insert-option-area): New function.

New electric keys ":;|&(){}", TAB works better
with narrowing.  Menu change.  Miscellaneous.
(antlr-mode-menu): Include "Indent Region" and "Customize Antlr".
(antlr-mode-map): New bindings for characters in ":;|&(){}".
(antlr-electric-character): New command.
(antlr-class-header-regexp): New variable.
(antlr-font-lock-additional-keywords): Use it.
(antlr-imenu-create-index-function): Use it.
(antlr-file-dependencies): Use it.
(antlr-indent-line): Also works with restrictions.
(antlr-indent-command): Interactive spec - changes the buffer.
(antlr-language-for-option): Deletia.
(antlr-language-option): New function, defined instead.
(antlr-mode): Use it.
2001-12-21 23:57:08 +00:00
Pavel Janík
f0529b5b1a Doc fix. 2001-12-20 19:01:00 +00:00
Pavel Janík
0ff9b955fe Doc fixes. 2001-12-20 18:59:32 +00:00
Pavel Janík
cfcf9cb516 Doc fix for commented out function. 2001-12-20 18:17:15 +00:00
Richard M. Stallman
1c532f0d1c (sh-mode): Run sh-mode-hook. 2001-12-16 17:27:44 +00:00
Richard M. Stallman
f00d330457 (f90-break-line): Use (newline 1) to insert newlines.
(bug-f90-mode): Variable deleted.
2001-12-07 03:33:39 +00:00
Miles Bader
c299126f7f (compilation-error-regexp-alist): Added regexps for RXP.
From Reto Stamm <reto@xilinx.com>.
2001-12-06 15:27:53 +00:00
Eli Zaretskii
a17c90638b (cwarn-font-lock-match-assignment-in-expression):
Add shift-assignment operators to those highlighted, and highlight
the whole operator rather than just the "=".  From Broadey Kevin
<Kevin.Broadey@motorola.com>.
2001-12-05 18:41:34 +00:00
Richard M. Stallman
c6e75c16f9 Comment change (delete change log). 2001-12-04 01:16:39 +00:00
Stefan Monnier
1fdcb819d4 (antlr-c-common-init): Undo last change. 2001-12-03 09:33:01 +00:00
Stefan Monnier
d47520cdcd (antlr-c-common-init): Don't inhibit adaptive-fill-mode any more. 2001-12-02 07:20:13 +00:00
Stefan Monnier
157704f7cf (delphi-mode): Don't use make-local-hook. 2001-12-02 07:17:48 +00:00
Stefan Monnier
52dcc11466 Doc fix. 2001-12-02 07:17:00 +00:00
Stefan Monnier
06adf6b1ac (tags-with-face): Use make-symbol.
(tags-search, tags-query-replace): Use backquotes.
2001-12-02 07:16:37 +00:00
Stefan Monnier
f1259a53b0 (hif-nexttoken): Move to before first def. 2001-12-01 18:20:52 +00:00
Eli Zaretskii
21181cd7b8 Update maintainer. 2001-12-01 12:54:29 +00:00
Stefan Monnier
f71d927d8b (hide-ifdef-mode): Only modify
`change-major-mode-hook' locally.  Reset invisibility spec.
2001-11-30 23:58:24 +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
Stefan Monnier
5b5907acb7 Fix copyright year. 2001-11-28 20:55:38 +00:00
Stefan Monnier
722fa77ffa (hif-end-of-line): New function.
(hide-ifdef-mode): Set line-move-ignore-invisible.
(hide-ifdef-region-internal): New function.
(hide-ifdef-region): Use it.
(hif-defined): Return an integer.
(hif-infix-to-prefix): Remove.
(hif-tokenize): Parse from the buffer rather than from a string.
Correctly tokenize integers.  Use forward-comment.
(hif-expr): Use hif-or.
(hif-term): Use hif-and.
(hif-factor): Use hif-not.  Handle numbers properly.
Don't require parenthesis around `defined's argument.
(hif-and, hif-or, hif-not): New funs.
(hif-canonicalize): Pass a region to hif-tokenize.  Use hif-not.
(hif-hide-line): Don't hide the \n before the line.
(hif-possibly-hide): Correctly handle numeric evaluation results.
2001-11-28 20:53:28 +00:00
Stefan Monnier
0017329bca Move `provide' to the end. 2001-11-28 20:41:49 +00:00
Stefan Monnier
debe2de297 Use line-(end|beginning)-position.
(makefile-mode): Set indent-line-function.
(makefile-browser-insert-continuation): Use with-current-buffer.
(makefile-beginning-of-line-point, makefile-end-of-line-point): Remove.
2001-11-28 20:40:36 +00:00
Stefan Monnier
067d92a1b8 Misc cleanup.
(hide-ifdef-mode-submap): Put the def in the defvar.
Use substitute-key-definition.
(hide-ifdef-mode): Use define-minor-mode.
(hif-outline-flag-region): Remove.
(hif-show-all): Define in terms of hif-show-ifdef-region.
(hif-after-revert-function): Rename from hif-before-revert-function.
(hide-ifdef-region, hif-show-ifdef-region): Use overlays.
(hif-tokenize): Use with-syntax-table.
(hif-make-range): Use `else' also for `else-p'.
(hif-range-else-p): Remove.
(hif-find-range): Simplify.
(hif-hide-line): Don't bother preserving buffer-modified-p.
(hide-ifdefs, show-ifdefs, hide-ifdef-block, show-ifdef-block):
Don't use selective-display and inhibit-read-only.
2001-11-28 04:12:47 +00:00
Sam Steingold
8a9463543d Converted backquote to the new style. 2001-11-27 15:52:52 +00:00
Sam Steingold
9714ec23e4 (c-submit-bug-report): Make sure that the arguments to `insert' are strings. 2001-11-26 21:15:29 +00:00
Richard M. Stallman
8e3acc6629 (cperl-problems, cperl-tips, cperl-non-problems, cperl-praise): Doc fixes. 2001-11-21 11:16:33 +00:00
Richard M. Stallman
b1e851bb95 (sh-mode-syntax-table): Function restored.
Variable set up for use by function sh-mode-syntax-table.
(sh-set-shell): Set the syntax table.
2001-11-21 11:12:45 +00:00
Richard M. Stallman
a7dba40b01 (sh-mode): Don't use define-derived-mode. 2001-11-21 11:06:40 +00:00
Richard M. Stallman
23d107d750 (perl-mode): Don't use define-derived-mode. 2001-11-21 11:01:55 +00:00
Stefan Monnier
a8e1e57f4c (cperl-perldoc): Require man before binding `manual-program'. 2001-11-20 14:20:41 +00:00
Stefan Monnier
244db8a266 (c-parse-state): Typo. From Martin Stjernholm. 2001-11-19 22:55:33 +00:00
Richard M. Stallman
1e8fc05d84 (fortran-mode-syntax-table): Specify punctuation syntax for backslash. 2001-11-18 06:51:53 +00:00
Richard M. Stallman
a25b40093a (sh-must-be-shell-mode): Function deleted. All calls deleted. 2001-11-18 06:50:58 +00:00
Andreas Schwab
1997815f8b (ada-add-extensions): Quote regexp special
characters and append anchor to pattern added to auto-mode-alist.
2001-11-15 15:50:10 +00:00
Richard M. Stallman
6867356aba (recompile): Use compilation-arguments if set, so as to be able to M-x
recompile the exact command which created a compilation-mode buffer.
2001-11-14 04:23:45 +00:00
Richard M. Stallman
10bcf543b7 (ada-fill-comment-prefix): Doc fix. 2001-11-14 03:49:57 +00:00
Stefan Monnier
5ebcaf3609 (ada-fill-comment-prefix): GNAT wants 2 spaces. 2001-11-13 14:25:57 +00:00
Richard M. Stallman
4da8ff79a0 (sql-mode): Doc change.
(sql-mode-syntax-table): Backslash is no longer an escape character.
2001-11-13 02:22:40 +00:00
Pavel Janík
275cffa758 (cpp-choose-face): Fix typo. 2001-11-12 22:37:48 +00:00
Richard M. Stallman
4aa3ba0a81 (sh-must-be-shell-mode): Allow modes derived from sh-mode. 2001-11-11 20:07:46 +00:00
Richard M. Stallman
2827a3c1bf (compile-goto-error): Fix previous change in the case where subsequent
errors have not been parsed yet because they are in a different source file.
2001-11-10 23:19:54 +00:00
Richard M. Stallman
6114f9e511 (ps-mode-font-lock-keywords-1): Merge two regular expressions into one.
(ps-mode): Make local bindings for `comment-start' and `comment-start-skip'.
(ps-mode-looking-at-nested): Simplify an if-else construct;
use `set-match-data' to set the result.
2001-11-10 19:36:51 +00:00
Stefan Monnier
8ab2646a67 (perl-indent-line): Use eq' to compare output of char-after'. 2001-10-31 02:42:54 +00:00
Stefan Monnier
ed88dbcbdf (autoconf-mode): Fix comment-start-skip. 2001-10-31 02:32:18 +00:00
Gerd Moellmann
058fb10a33 (sql-mysql): Doc change by RMS.
(sql-db2): Doc change.
(sql-help): Doc change by Christian Egli <christian.egli@stest.ch>.
(sql-mysql): Doc change by Christian Egli <christian.egli@stest.ch>.
2001-10-29 09:35:04 +00:00
Sam Steingold
b52b132fbf sugar: escape a "{" in the first column to pacify font-lock 2001-10-26 15:37:54 +00:00
Sam Steingold
187cd25bb0 (sh-font-lock-close-heredoc): check the args for being non-nil 2001-10-26 13:54:45 +00:00
Sam Steingold
035107fa9c no functional changes - a preparation for the next patch 2001-10-26 13:48:53 +00:00
Gerd Moellmann
627a4e30dc (ps-mode-print-function): Remove quote for
lambda expression.
(ps-mode-menu-main): Submenu with options on/off was replaced with
a toggle button.
(ps-mode, ps-run-mode): Define with `define-derived-mode'
(ps-mode): Autoload cookie added on same line as comment
(ps-mode-tabkey, ps-mode-backward-delete-char):
(ps-mode-r-balance): Replace `delete-horizontal-space' and
`indent-to' with `indent-line-to'
(ps-mode-print-buffer, ps-mode-print-region): Use `funcall'
instead of `eval'.
(ps-mode-print-region): Use `with-temp-buffer'.
(ps-run-start): Use of `mapconcat'.  Use `apply' instead of
`eval'.
(numerous places): Add back-tick and tick around names in
docstrings, fix punctuation in docstrings, remove trailing spaces.
2001-10-26 09:14:37 +00:00
Richard M. Stallman
c2c3a05deb (tags-query-replace): Make tags-loop-scan
bind case-fold-search if FROM is not all lower case.
2001-10-25 15:26:46 +00:00
Gerd Moellmann
e335e1949d (compilation-parse-errors-filename-function):
New variable.
(compilation-parse-errors): Use it.
2001-10-25 07:47:48 +00:00
Stefan Monnier
174acba338 (c-beginning-of-member-init-list):
Better handling of C++ template args to avoid confusion with `<'
and `>' used as operators in member init expressions.
From Martin Stjernholm  <bug-cc-mode@gnu.org>.
2001-10-24 16:07:06 +00:00
Gerd Moellmann
8c8f9bc197 Adapt to change in perform-replace. 2001-10-24 12:37:08 +00:00
Stefan Monnier
0033146f51 (compile-mouse-goto-error, compile-goto-error): Turn caadr into caar of cdr. 2001-10-23 16:57:15 +00:00
Gerd Moellmann
e38e283919 (compilation-set-window-height): Select
old window only if it's still live.
2001-10-22 18:48:09 +00:00
Gerd Moellmann
0480815792 (cwarn-font-lock-feature-keywords-alist):
Use `sexp' for :value-type instead of `face'.
2001-10-21 22:47:15 +00:00
Stefan Monnier
2d08a2d49a (executable-binary-suffixes): Make varalias.
(executable-find): Use exec-suffixes.
(executable-set-magic): Don't use make-local-hook.
2001-10-14 20:09:46 +00:00
Stefan Monnier
3e2dd647b7 (sh-font-lock-syntactic-keywords): Handle here-docs differently.
(sh-font-lock-heredoc): Remove.
(sh-here-doc-open-re, sh-here-doc-markers, sh-here-doc-re): New vars.
(sh-font-lock-here-doc, sh-font-lock-close-heredoc)
(sh-font-lock-open-heredoc): New functions.
(sh-mode): Don't copy sh-font-lock-syntactic-keywords any more.
(sh-font-lock-keywords-1): Use regexp-opt.
(sh-in-comment-or-string): Use syntax-ppss.
(sh-case, sh-for, sh-indexed-loop, sh-function, sh-if, sh-repeat)
(sh-select, sh-tmp-file): Add explicit terminating \n.
2001-10-13 19:08:30 +00:00
Stefan Monnier
6c38915121 Merged in changes from v4.32.
After 4.23 and: After 4.24:
(cperl-contract-levels): Restore position.
(cperl-beautify-level): Likewise.
(cperl-beautify-regexp): Likewise.
(cperl-commentify): Rudimental support for length=1 runs
(cperl-find-pods-heres): Process 1-char long REx comments too /a#/x
 After 4.25:
(cperl-commentify): Was recognizing length=2 "strings" as length=1.
(imenu-example--create-perl-index): Was not enforcing
syntaxification-to-the-end.
(cperl-invert-if-unless): Allow `for', `foreach'.
(cperl-find-pods-heres): Quote `cperl-nonoverridable-face'.
Mark qw(), m()x as indentable.
(cperl-init-faces): Highlight `sysopen' too.
Highlight $var in `for my $var' too.
(cperl-invert-if-unless): Was leaving whitespace at end.
(cperl-linefeed): Was splitting $var{$foo} if point after `{'.
(cperl-calculate-indent): Remove old commented out code.
Support (primitive) indentation of qw(), m()x.
 After 4.26:
(cperl-problems): Mention `fill-paragraph' on comment. \"" and
q [] with intervening newlines.
(cperl-autoindent-on-semi): New customization variable.
(cperl-electric-semi): Use `cperl-autoindent-on-semi'.
(cperl-tips): Mention how to make CPerl the default mode.
(cperl-mode): Support `outline-minor-mode'.  From Mark A. Hershberger.
(cperl-outline-level): New function.
(cperl-highlight-variables-indiscriminately): New customization var.
(cperl-init-faces): Use `cperl-highlight-variables-indiscriminately'.
From Sean Kamath <kamath@pogo.wv.tek.com>.
(cperl-after-block-p): Support CHECK and INIT.
(cperl-init-faces, cperl-short-docs): Likewise and "our".
From Doug MacEachern <dougm@covalent.net>.
 After 4.27:
(cperl-find-pods-heres): Recognize \"" as a string.
Mark whitespace between q and [] as `syntax-type' => `prestring'.
Allow whitespace between << and "FOO".
(cperl-problems): Remove \"" and q [] with intervening newlines.
Mention multiple <<EOF as unsupported.
(cperl-highlight-variables-indiscriminately): Doc misprint fixed.
(cperl-indent-parens-as-block): New configuration variable.
(cperl-calculate-indent): Merge cases of indenting non-BLOCK groups.
Use `cperl-indent-parens-as-block'.
(cperl-find-pods-heres): Test for =cut without empty line instead of
complaining about no =cut.
(cperl-electric-pod): Change the REx for POD from "\n\n=" to "^\n=".
(cperl-find-pods-heres): Likewise.
(cperl-electric-pod): Change `forward-sexp' to `forward-word':
POD could've been marked as comment already.
(cperl-unwind-to-safe): Unwind before start of POD too.
 After 4.28:
(cperl-forward-re): Throw an error at proper moment REx unfinished.
 After 4.29:
(x-color-defined-p): Make an extra case to peacify the warning.
Toplevel: `defvar' to peacify the warnings.
(cperl-find-pods-heres): Could access `font-lock-comment-face' in -nw.
No -nw-compile time warnings now.
(cperl-find-tags): TAGS file had too short substring-to-search.
Be less verbose in non-interactive mode
(imenu-example--create-perl-index): Set index-marker after name
(cperl-outline-regexp): New variable.
(cperl-outline-level): Made compatible with `cperl-outline-regexp'.
(cperl-mode): Made use `cperl-outline-regexp'.
 After 4.30:
(cperl-find-pods-heres): =cut the last thing, no blank line, was error.
(cperl-outline-level): Make start-of-file same level as `package'.
 After 4.31:
(cperl-electric-pod): `head1' and `over' electric only if empty.
(cperl-unreadable-ok): New variable.
(cperl-find-tags): Use `cperl-unreadable-ok', do not fail
on an unreadable file.
(cperl-write-tags): Use `cperl-unreadable-ok', do not fail
on an unreadable directory.
2001-10-12 18:11:06 +00:00
Stefan Monnier
8f36a284bc (compile-mouse-goto-error, compile-goto-error):
Consider the text between two errors as belonging to the first error.
(compilation-goto-locus): Use pop-to-buffer rather than
switch-to-buffer-other-frame.
2001-10-12 17:43:05 +00:00
Stefan Monnier
e5700b527e *** empty log message *** 2001-10-12 17:29:52 +00:00
Stefan Monnier
61b8c98e98 (awk-mode-syntax-table): / has string syntax.
(awk-font-lock-syntactic-keywords): New var.
(awk-mode): Use it.
2001-10-12 17:29:30 +00:00
Stefan Monnier
c2ca517100 Change maintainer to FSF and remove loads of compatibility cruft.
(tcl-using-emacs-19, tcl-using-emacs-19-23, tcl-using-xemacs-19)
(tcl-version, tcl-maintainer, tcl-use-hairy-comment-detector): Remove.
(tcl-mode-map): Remove bindings for tcl-beginning-of-defun,
tcl-end-of-defun, tcl-mark-defun, tcl-indent-for-comment,
tcl-submit-bug-report.
(tcl-mode-syntax-table): Leave \f alone.
(inferior-tcl-mode-map): Remove bindings for tcl-beginning-of-defun,
tcl-end-of-defun, tcl-submit-bug-report.
(tcl-xemacs-menu): Fix up and pass it directly to easymenu.
(tcl-add-emacs-menu): Remove.
(tcl-fill-mode-map, tcl-fill-inferior-map): Moved into the defvar.
(tcl-keyword-list): Add `chain'.
(tcl-font-lock-syntactic-keywords): New variable.
(tcl-pps-has-arg-6): Remove.
(tcl-internal-beginning-of-defun, tcl-internal-end-of-defun)
(tcl-internal-mark-defun): Remove.
(tcl-set-proc-regexp, tcl-set-font-lock-keywords): Use regexp-opt.
(tcl-mode): Use define-derived-mode.  Simplify.
Set comment-indent-function.
(tcl-indent-command): Use line-beginning-position and comment-indent.
(tcl-calculate-indent): Renamed from calculate-tcl-indent.
(tcl-indent-line): Use tcl-calculate-indent.
(tcl-indent-exp): Renamed from indent-tcl-exp.  Use new names.
(tcl-add-log-defun): Renamed from add-log-tcl-defun.  Use match-string.
(tcl-filter): Use with-current-buffer, simplify.
(inferior-tcl-mode): Use define-derived-mode.
(tcl-hairy-in-comment): Renamed tcl-in-comment.
(tcl-simple-in-comment, tcl-in-comment): Removed.
(tcl-files-alist): New function.
(tcl-help-snarf-commands): Use it and return the result directly
rather than through a global variable.
(tcl-reread-help-files): Fix up the call to tcl-help-snarf-commands.
(tcl-help-on-word): Provide the default value to completing-read.
(tcl-hilit): Remove.
(tcl-hashify-buffer, tcl-popup-menu): Simplify.
(tcl-comment-indent): New function.
(tcl-submit-bug-report): Remove.
(tcl-uncomment-region, tcl-indent-for-comment, add-log-tcl-defun)
(indent-tcl-exp, calculate-tcl-indent, tcl-beginning-of-defun)
(tcl-end-of-defun, tcl-mark-defun, tcl-mark): Redefine as aliases.
2001-10-11 00:26:48 +00:00
Gerd Moellmann
7bdb67b2b3 (compilation-buffer-name): New function.
(compile-internal): Use it to determine the name of the
compilation buffer.
2001-10-05 12:43:13 +00:00
Miles Bader
a45717daf6 (grep-use-null-device): New variable.
(grep-command): Mention `grep-use-null-device'.
(grep-compute-defaults): Compute `grep-use-null-device' if necessary.
Make computation of `grep-command' respect `grep-use-null-device'.
(grep): Respect `grep-use-null-device'.
Call `grep-compute-defaults' even if grep-command is set, if
grep-use-null-device is still tentative.
2001-10-05 12:30:52 +00:00
Gerd Moellmann
df3fd736fd (perl-indent-continued-arguments): New var.
(perl-calculate-indent): Use it.
(perl-backward-to-noncomment): Use forward-comment.
2001-10-05 09:36:31 +00:00
Gerd Moellmann
a1548b10da Fix character range regexp. Doc fix.
(ebnf-yac-skip-chars): New internal const.
(ebnf-yac-skip-code): Fix code.
2001-09-24 17:43:45 +00:00
Gerd Moellmann
8a1e4eebeb Fix character range regexp. Doc fix.
(ebnf-iso-non-terminal-chars): New internal const.
(ebnf-iso-lex): Fix code.
2001-09-24 17:42:00 +00:00
Gerd Moellmann
40b35c64e1 Fix character range regexp. Doc fix.
(ebnf-bnf-non-terminal-chars): New internal const.
(ebnf-bnf-lex): Fix code.
2001-09-24 17:41:41 +00:00
Gerd Moellmann
68f38c8c9a Eliminate make-local-hook calls. Doc fix.
(ebnf-version): New version (3.6.1).
2001-09-24 17:41:19 +00:00
Sam Steingold
005e3bb665 w32 find cannot be used with `grep-find'. 2001-09-19 20:59:24 +00:00
Gerd Moellmann
ae16d111d8 Doc fix. 2001-09-19 08:56:58 +00:00
Gerd Moellmann
1475cbb3d2 Doc fix.
(ebnf-bnf-lex): Fix regexp for non-terminal and terminal tokens.
2001-09-19 08:54:32 +00:00
Gerd Moellmann
0b5ecd6d02 Replace "Prologue" by "Prolog" in PostScript
programming.  Doc fix.
(ebnf-version): New version (3.6).
(ebnf-eps-begin): Data fix.
(ebnf-begin-file): Code fix.
2001-09-19 08:54:10 +00:00
Gerd Moellmann
bcdb34a4a3 (grep-compute-defaults): Don't set
grep-command/grep-find-command when it is already non-nil.
(grep-command): Make it a user option.
(grep-find-command): Likewise.
2001-09-13 09:11:53 +00:00
Gerd Moellmann
a21822f8d1 (glasses-convert-to-unreadable): Consider
underscores as in `glasses-make-readable'.
2001-09-03 08:20:54 +00:00
Eli Zaretskii
883310a731 (c-macro-preprocessor): Use "gcc -E" for
MS-DOS, since cpp might not be available.
2001-09-02 17:29:14 +00:00
Thien-Thi Nguyen
26d654ec0d Update first-line description.
Sync comments w/ maintainer version 5.31.

(hs-isearch-open): Default value now `code'.
Fix docstring to use "code blocks" vs "comment blocks",
as opposed to "block" vs "comment".
(hs-flag-region): Accept `hs-isearch-open' value
of `block' as synonymous w/ `code'.
(hs-hide-block-at-point): For code blocks, pass `code'
to `hs-flag-region' instead of `block'.
2001-08-27 22:23:09 +00:00
Eli Zaretskii
299248aa62 Add Keywords header. From Pavel Janik. 2001-08-26 16:36:14 +00:00
Gerd Moellmann
aa88e662fc (sql-db2): Doc change.
(sql-postgres): Add the database at the end of the
parameters instead of at the beginning.
(sql-postgres-options): Doc change.
2001-08-20 10:02:07 +00:00
Gerd Moellmann
6c233cc083 (executable-set-magic): If
executable-find returns a quoted file name, unquote it before
inserting it.
2001-08-07 09:47:06 +00:00
Eli Zaretskii
21f7951223 (makefile-macroassign-regex): Recognize the ?= operator.
From Jonathan Kamens <jik@curl.com>.
2001-07-30 11:09:22 +00:00
Eli Zaretskii
31fac3b80f (compile-internal): If EMACS is already
defined in the environment, don't override its value.
2001-07-23 15:24:00 +00:00
Stefan Monnier
5b6858da26 (compilation-parse-errors): `linenum' might return a this-error using
the alternative format (a pair of markers).
2001-07-19 21:46:37 +00:00
Stefan Monnier
374daba6de *** empty log message *** 2001-07-17 18:40:19 +00:00
Stefan Monnier
5dab0769af (ada-mode): Avoid unneeded version checks.
Don't change compile-auto-highlight globally.
Don't bother with `font-lock-defaults' property since XEmacs
also understands the `font-lock-defaults' variable.
Use make-local-variable rather than make-variable-buffer-local.
Don't `defconst' comment-indent-function: keep the default.
Call easy-menu-add unconditionally.
(ada-create-keymap): Use [(shift tab)] so it works on both Emacsen.
(ada-create-menu): Use :included for Emacs as well.
2001-07-16 15:12:19 +00:00
Stefan Monnier
fea245718b (ada-xref-initialize): Fix call to add-hook. 2001-07-16 13:38:53 +00:00
Pavel Janík
e8af40eed4 Some fixes to follow coding conventions. 2001-07-16 12:23:00 +00:00
Pavel Janík
3afbc435ac Some fixes to follow coding conventions. 2001-07-16 07:46:48 +00:00
Stefan Monnier
3f3960a544 (hs-minor-mode): Use make-local-variable. 2001-07-16 01:55:37 +00:00
Stefan Monnier
a7e34f7948 (makefile-browse): Use make-local-variable. 2001-07-16 01:52:50 +00:00
Pavel Janík
5553563924 Some fixes to follow coding conventions in files maintained by FSF. 2001-07-15 16:15:35 +00:00
Gerd Moellmann
2be7dabcae Fix license commentary. 2001-07-13 12:59:13 +00:00
Eli Zaretskii
874d799506 Say that the file _is_ part of Emacs. 2001-07-11 10:21:04 +00:00
Gerd Moellmann
19da29f9b5 (c-indent-exp): Keep the indentation of the block
itself, i.e. only indent the contents in it.
2001-07-10 19:51:27 +00:00
Stefan Monnier
7443aaa688 Extended the kludge to interoperate with the
delsel and pending-del packages wrt to the new function
`c-electric-delete-forward'.
2001-07-09 00:49:22 +00:00
Richard M. Stallman
722da89bf4 (hs-minor-mode-map): Use mouse-2, not button-2, when binding
hs-mouse-toggle-hiding.
2001-06-26 11:50:16 +00:00
Gerd Moellmann
7aee34d3d7 (glasses-make-readable): Consider
underscores too when separating a parenthesis.
2001-06-25 10:04:27 +00:00
Richard M. Stallman
7c2ef7338d (c-set-style): Don't specify initial contents for completing-read. 2001-06-23 16:22:04 +00:00
Gerd Moellmann
dc1bf82dba (antlr-mode): Check that `c-Java-access-key' is
bound.  Suggested by David B. Malkovsky <David.Malkovsky@sas.com>.
2001-06-18 11:21:57 +00:00
Eli Zaretskii
06d7490042 (sh-mark-line): Add help-echo to mouse-highlighted text. 2001-06-17 11:22:35 +00:00
Eli Zaretskii
3c0a21c03d (cpp-make-button): Add help-echo to mouse-highlighted text. 2001-06-17 11:21:48 +00:00
Eli Zaretskii
08de70d7bc (compile-reinitialize-errors): Add help-echo to mouse-highlighted messages.
(compilation-forget-errors): Remove help-echo property as well.
2001-06-17 11:21:07 +00:00
Stefan Monnier
4a0aa1d93a (perl-font-lock-syntactic-keywords): New var, to recognize ${ $' and PODs.
(perl-font-lock-syntactic-face-function): New function.
(perl-mode): Use them.
(perl-continuation-line-p): New function, from perl-calculate-indent.
(perl-calculate-indent): Use it, to properly handle continuation
lines of continuation lines.
2001-06-10 18:02:43 +00:00
Stefan Monnier
1ea98518d8 (tags-compression-info-list): Fix docstring
and :type spec.
2001-05-31 14:34:37 +00:00
Stefan Monnier
4b8dfb4345 (perl-mode): Use define-derived-mode.
(perl-comment-indent): Simplify to let newcomment.el do its job.
(perl-electric-terminator, perl-calculate-indent, perl-indent-exp)
(perl-mark-function): Cleanup the namespace.
(perl-calculate-indent): Don't be fooled by nested functions.
2001-05-25 21:16:05 +00:00
Stefan Monnier
74e87f23e4 Docstring typo. 2001-05-25 20:35:00 +00:00
Stefan Monnier
5efe6a5673 (cperl-font-lock-keywords)
(cperl-font-lock-keywords-1, cperl-font-lock-keywords-2):
Renamed from perl-font-lock-keywords to avoid clashes.
(cperl-mode, cperl-load-font-lock-keywords, cperl-init-faces)
(cperl-load-font-lock-keywords-1, cperl-load-font-lock-keywords-2):
Updated correspondingly.
2001-05-04 20:16:56 +00:00
Eli Zaretskii
6d28be1ddd Bind c-electric-delete-forward to C-d and c-electric-backspace to DEL. 2001-05-04 10:02:56 +00:00
Eli Zaretskii
fdea67e752 (c-electric-delete, c-electric-delete-forward): Split `c-electric-delete'
into two functions where `c-electric-delete-forward' always deletes
forward and `c-electric-delete' only contains the code
necessary for XEmacs to choose between backward and forward
deletion.  `c-electric-delete-forward' is now bound to C-d to
get the electric behavior on that key too.

(c-fill-paragraph): Fixed bogus direct use of c-comment-prefix-regexp,
which caused an error when it's a list.
2001-05-04 09:57:35 +00:00
Stefan Monnier
b36581fba0 (sh-prev-line): Look for sh-heredoc-face
rather than font-lock-string-face.
(sh-get-indent-info): Treat heredocs like strings.
2001-05-02 13:41:46 +00:00
Gerd Moellmann
3c05ee140a (sh-font-lock-heredoc): Allow
optional backslash at the start of the here-document delimiter.
(sh-font-lock-syntactic-keywords): Likewise.
2001-04-30 15:23:01 +00:00
Stefan Monnier
1dc64fca5b (makefile-font-lock-keywords):
Rationalize the rules for includes and conditionals and use the
keyword face for them.
2001-04-25 15:52:45 +00:00
Gerd Moellmann
23b809c2a7 Fix autoload cookies. 2001-04-23 11:50:36 +00:00
Gerd Moellmann
624ef9b3c2 (sql-escape-newlines-and-send): New function.
(sql-db2): Set comint-input-sender to
sql-escape-newlines-and-send.

(sql-db2-program): New option.
(sql-db2-options): New option.
(sql-db2): New function.

(sql-mode-menu): Added highlighting entries.
(sql-highlight-oracle-keywords): New function.
(sql-highlight-postgres-keywords): New function.
(sql-highlight-ansi-keywords): New function.

(sql-help): Doc change.
2001-04-20 10:03:48 +00:00
Gerd Moellmann
cf8b1befd0 (sh-indent-line): Add optional PREFIX-ARG
parameter.
2001-04-10 14:16:51 +00:00
Eli Zaretskii
ec321d7767 (grep-compute-defaults): Use null-device
instead of literal /dev/null. Reported by Jens Schmidt
<schmidt@mathematik.uni-kl.de>.
2001-04-06 14:44:27 +00:00
Stefan Monnier
de28797ffa (c-outline-level):
Bind buffer-invisibility-spec.  Originally from Dave Love, but
got lost when incorporating version 5.26.
2001-04-04 20:13:35 +00:00
Dave Love
b937fd1eaa (fortran-comment-region): Fix typo. 2001-03-30 10:19:51 +00:00
Stefan Monnier
b8d02a4cbc Moved from progmodes/cplus-md.el to obsolete/cplus-md.el. 2001-03-21 15:48:55 +00:00
Gerd Moellmann
130c507e58 Update to version 5.28. 2001-03-21 12:59:36 +00:00
Thien-Thi Nguyen
82dab959b1 (hs-minor-mode-hook): Include `:version' in defcustom form. 2001-03-14 00:04:50 +00:00
Thien-Thi Nguyen
60470e6567 Update copyright.
(hs-minor-mode-map): Change bindings to use `C-c @' prefix.
2001-03-13 23:34:21 +00:00
Gerd Moellmann
04528cda81 (tags-loop-continue): Don't change point in a
file that isn't interesting.  In an interesting file, push the old
value of point on the mark ring.
2001-03-12 16:39:22 +00:00
Francesco Potortì
ddc76b009e 2001-03-12 Philippe Waroquiers <wao@gull.tact.cfmu.eurocontrol.be>
* progmodes/etags.el (tags-compression-info-list): New variable.
	(find-tag-in-order): Use it to deal with compressed source files.
	(tag-file-name-match-p): New function.
	(etags-recognize-tags-table): Use it for better match of file names.
2001-03-12 12:33:39 +00:00
Stefan Monnier
bffd712e4a (sh-st-symbol): New symbol.
(sh-font-lock-syntactic-keywords): Use it and fix bogus comment regexp.
(sh-mode): Remove `make-local-variable' for unused var
`font-lock-unfontify-region-function'.
2001-03-07 15:34:43 +00:00
Stefan Monnier
996e261628 (cperl-msb-fix, cperl-get-help-defer):
Check major-mode for `cperl-mode' as well.
2001-03-06 21:55:33 +00:00
Stefan Monnier
029cb4d5b5 (cperl-mode): Set major-mode to cperl-mode
so that C-h m shows the correct information.
Use make-local-variable rather than make-variable-buffer-local.
(cperl-info-buffer, cperl-setup-tmp-buf):
Use make-local-variable rather than make-variable-buffer-local.

Updated to author version 4.23.
(cperl-electric-pod): SYNOPSIS was misspelled.
(cperl-find-pods-heres): @if ? a : b was considered a REx.
(cperl-after-expr-p): Make true after __END__.
2001-03-06 21:47:33 +00:00
Gerd Moellmann
eb3f61dd1f (sql-interbase): New function.
(sql-interbase-program): New option.
(sql-interbase-options): New option.
And some typos fixed: "customise" to "customize".
2001-03-06 12:26:35 +00:00
Gerd Moellmann
7a65c85c72 (sql-sybase): Fix typo (was: query user about server two
times instead of server and database).

(sql-sybase): Doc change.
(sql-mysql): Doc change.
(sql-postgres): Doc change.
2001-03-05 09:47:59 +00:00
Richard M. Stallman
b9fe3dc8d5 (fortran-strip-sqeuence-nos): Doc fix. 2001-02-17 21:43:42 +00:00
Eli Zaretskii
0d140e65af (grep-regexp-alist): Remove the blank from
the character class after the (optional) drive, to support file
names with embedded blanks.
2001-02-16 11:52:52 +00:00
Dave Love
d639db3627 (find-tag-default-function): Fix :type. 2001-02-07 23:29:06 +00:00
Dave Love
48c9c43920 (dcl-calc-command-indent-function): Fix :type. 2001-02-07 23:28:21 +00:00
Dave Love
7c5fd35547 (ada-popup-key): Fix :type. 2001-02-07 23:25:59 +00:00
Eli Zaretskii
c7ca58df3b (makefile-mode): Set SYNTAX-BEGIN member
of `font-lock-defaults' to `backward-paragraph' rather than nil.
2001-02-06 17:10:29 +00:00
Gerd Moellmann
01d19dd7bd Eliminate time-stamp functions.
(ebnf-version): New version (3.5).
(ebnf-eps-finish-and-write): Replace time-stamp functions by
format-time-string.
2001-02-05 11:21:33 +00:00
Dave Love
1355ba0cd1 (f90-mode): Remove startup message. 2001-02-01 16:02:07 +00:00
Gerd Moellmann
850d504596 (outline, dabbrev, add-log): Require when
compiling.
(tcl-using-emacs-19-23): Consider Emacs 21+.
(tcl-help-directory-list, tcl-command-switches): Fix :type.
(tcl-add-emacs-menu): Supply menu name.
(tcl-beginning-of-defun, tcl-end-of-defun): Defalias, don't fset.
2001-01-29 20:58:49 +00:00
Gerd Moellmann
dc0274bd75 (find-tag-noselect): Don't bind
tags-file-name.
2001-01-27 13:49:00 +00:00
Dave Love
3afe2b93e6 (delphi-comment-face, delphi-string-face)
(delphi-keyword-face, delphi-other-face): Fix :type.
2001-01-26 20:55:26 +00:00
Gerd Moellmann
e1cf67b6f8 (find-tag-noselect): Save the value of
tags-file-name before switching buffers, for the case it has a
buffer-local value.
2001-01-15 16:37:58 +00:00
Dave Love
50a8310e77 (ada-popup-key): Fix last change. 2001-01-12 12:40:28 +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
Eli Zaretskii
926861fbc1 (find-tag-interactive): If last-tag is nil,
behave as if there were no prefix argument.
(find-tag-noselect): If last-tag is nil, behave as if the NEXT-P
argument were nil.
2001-01-11 10:18:42 +00:00
Dave Love
2bef3a39ac (ada-popup-key): Fix :type. 2001-01-09 16:34:51 +00:00
Dave Love
61520f2613 (tags-apropos-additional-actions): Fix :type. 2001-01-09 15:25:35 +00:00
Dave Love
83c5d68f53 (sh-imenu-generic-expression): Fix doc,
:type.
2001-01-09 15:19:47 +00:00
Dave Love
ac6857fb16 (cperl-invalid-face): Don't double-quote
value.
(cperl-init-faces): Allow cperl-invalid-face to be a normal face.
2001-01-03 00:19:28 +00:00
Gerd Moellmann
e751216899 (compilation-forget-errors): Fix indentation. 2000-12-23 15:42:36 +00:00
Gerd Moellmann
647a066c8d Fix the same problem as described on ebnf2ps.el log
entry.  Doc fix.
(ebnf-yac-skip-code): Code fix.
(ebnf-yac-comment-chars): Const fix.
2000-12-21 21:24:03 +00:00
Gerd Moellmann
e4dec765ec Doc fix. 2000-12-21 21:23:21 +00:00
Gerd Moellmann
2197ec3b92 Fix the same problem as described on ebnf2ps.el log
entry.  Doc fix.
(ebnf-iso-comment-chars): Const fix.
2000-12-21 21:23:06 +00:00
Gerd Moellmann
b1f380ecb4 Fix the same problem as described on ebnf2ps.el log
entry.  Doc fix.
(ebnf-bnf-lex): Code fix.
(ebnf-bnf-comment-chars): Const fix.
2000-12-21 21:22:51 +00:00
Gerd Moellmann
6a5275dc6d Fix a problem with skip-chars-forward: it doesn't accept
ranges like \177-\237, but accepts the character sequence from \177 to
\237.  Doc fix.
(ebnf-version): New version (3.4).
(ebnf-setup): Code fix.
(ebnf-range-regexp): New fun.
(ebnf-8-bit-chars): Const fix.
2000-12-21 21:22:34 +00:00
Carsten Dominik
ba4c05aa6e Fixed copyright notice. 2000-12-19 11:15:38 +00:00
Gerd Moellmann
524c8caf60 (sql-sybase-options): New option.
(sql-sybase): Use it.  Add sql-database to the list of parameters
provided for login.  The options -w 2048 -n are not used any more.
(sql-postgres-options): Changed default from "--pset" to "-P".
(sql-mysql-options): Doc change.
(sql-stop): Doc change.
2000-12-19 10:09:25 +00:00
Gerd Moellmann
5610cefd51 Use `define-minor-mode' for the minor mode
definition (patch by Stefan Monnier).
(glasses-mode): Use jit-lock instead of `after-change-functions'
(patch by Stefan Monnier).
2000-12-12 10:20:52 +00:00
Stefan Monnier
d0c679bc85 Moved from progmodes/c-mode.el to obsolete/c-mode.el 2000-12-11 21:34:11 +00:00
Carsten Dominik
05a1abfc4a Updated IDLWAVE to version 4.7 2000-12-11 12:45:42 +00:00
Stefan Monnier
4efa209f84 Update `maintainer'. 2000-12-09 22:06:44 +00:00
Gerd Moellmann
3764ba4925 Update copyright. 2000-12-07 13:44:45 +00:00
Gerd Moellmann
97f1dbede6 (glasses-mode): Update mode line at the end
of the function.
2000-12-07 13:25:18 +00:00
Dave Love
e7cff5504b Fix copyright years. 2000-12-06 20:24:23 +00:00
Dave Love
fbee3231d0 *** empty log message *** 2000-12-06 19:57:12 +00:00
Dave Love
0e8738c3fd Fix copyright years. 2000-12-06 19:37:56 +00:00
Gerd Moellmann
fb7775eb56 (tag-partial-file-name-match-p): New function.
(etags-recognize-tags-table, find-tag-in-order): New
functionality: interpret file names as tags.
2000-12-04 21:20:57 +00:00
Gerd Moellmann
7c66d04999 New commands to run ANTLR from within Emacs and
to create Makefile rules.
(antlr-tool-command): New user option.
(antlr-ask-about-save): New user option.
(antlr-makefile-specification): New user option.
(antlr-file-formats-alist): New variable.
(antlr-special-file-formats): New variable.
(antlr-unknown-file-formats): New user option.
(antlr-help-unknown-file-text): New variable.
(antlr-help-rules-intro): New variable.
(antlr-mode-map): Add [C-c C-r] for `antlr-run-tool'.
(antlr-mode-menu): Add entries.
(antlr-file-dependencies): New function.
(antlr-directory-dependencies): New function.
(antlr-superclasses-glibs): New function.
(antlr-run-tool): New command.
(antlr-makefile-insert-variable): New function.
(antlr-insert-makefile-rules): New function.
(antlr-show-makefile-rules): New command.

More Emacs/XEmacs stuff.
(antlr-no-action-keywords): New constant with value nil.
(antlr-font-lock-keywords-alist): Use it.  Old value would break
syntax highlighting in Emacs-21.0.
(antlr-default-directory): Emacs/XEmacs dependend function.
(antlr-read-shell-command): Ditto.
(antlr-with-displaying-help-buffer): Ditto.


imenu, parsing and highlighting changes.
(antlr-imenu-create-index-function): Don't create extra submenus
for definitions in different grammar classes.  It is not necessary
for the menu and would make command `imenu' awkward to use.
(antlr-skip-file-prelude): With ANTLR-2.7+, you can specify named
header actions and more than one.
(antlr-font-lock-tokendef-face): Changed color.
(antlr-font-lock-tokenref-face): Changed color.
(antlr-font-lock-additional-keywords): Also highlight lowercase.
(antlr-mode-syntax-table): New variable.
(antlr-mode): Populate and use it instead `java-mode-syntax-table'.
(antlr-with-syntax-table): Don't copy syntax table.


Minor changes: language setting.
(antlr-language-alist): The value for file option "language" can
be both an identifier and a string.
Reported by Rajesh Radhakrishnan <radhakrs@email.uc.edu>.
(antlr-language-limit-n-regexp): Change accordingly.


Minor changes: tabs, hiding.
(antlr-tab-offset-alist): Set `indent-tabs-mode' to nil instead t.
(antlr-action-visibility): Also allow value nil to also hide the
braces.  Renamed from `antlr-tiny-action-length'.
Suggested by Jay@aol.com.
(antlr-hide-actions): Change accordingly.  Hide line if completely
hidden action is on a line of its own.
2000-11-29 16:55:47 +00:00
Dave Love
0ad0386ebb (ps-mode): Set comment-start and
comment-start-skip locally.
2000-11-28 16:39:56 +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
Stefan Monnier
9dd7cdcc1c (ada-template-map): Initialize and bind it to C-c t in ada-mode-map.
(ada-stmt-mode-hook): New function extracted from old code.
Only change the buffer-local side of skeleton-*.
(ada-mode-hook): Use it.
2000-11-23 17:56:10 +00:00
Sam Steingold
eaae8106d7 * simple.el (delete-trailing-whitespace): New interactive function.
* progmodes/ada-mode.el (ada-mode): Use it instead of
`ada-remove-trailing-spaces'
(ada-remove-trailing-spaces): Removed.
* textmodes/two-column.el (2C-merge): Recommend it in the doc.
* textmodes/picture.el (picture-mode-exit): Call it instead of
`picture-clean'.
(picture-clean): Removed.
2000-11-22 20:59:39 +00:00
Stefan Monnier
36144b26b5 (ada-mode): set '' -> setq'. 2000-11-21 22:41:20 +00:00
Stefan Monnier
3f314699c3 (grep): `tag-default' can be nil. 2000-11-14 19:30:53 +00:00
Dave Love
f7a6110d25 Fix again. 2000-11-14 17:19:59 +00:00
Dave Love
ece8c34d87 Fix bogus last checkin. 2000-11-14 14:41:38 +00:00
Dave Love
d3461e8fd0 (scheme-program-name): New variable
(originally in cmuscheme).
2000-11-14 14:33:29 +00:00
Stefan Monnier
aace6150c0 (sh-mode-syntax-table) <defvar>:
Make it into a simple syntax-table, shared among all submodes.
(sh-heredoc-face): Re-introduce.
(sh-font-lock-syntactic-face-function): New function.
(sh-mode): Use it.  Also use define-derived-mode.
Remove old bogus setting of indent-region-function.
(sh-set-shell): Don't set the syntax-table any more.
(sh-mode-syntax-table) <defun>: Remove.
2000-11-12 16:48:45 +00:00
Dave Love
84d51f9bb5 (visit-tags-table-buffer): Beware of `t' in
tags-table-list.
2000-11-12 00:33:19 +00:00
Stefan Monnier
178a6a455e Update copyright.
(awk-mode-abbrev-table): Remove.
(awk-font-lock-keywords): Use regexp-opt.
(awk-mode): Use define-derived-mode.
2000-11-05 19:13:34 +00:00
Stefan Monnier
7b371301b4 (icon-mode-map): Don't rebind \t.
(icon-mode): Define indent-line-function.
(icon-comment-indent): Simplify.
(icon-font-lock-keywords-2): Use the `words' arg to regexp-opt.
2000-11-03 23:05:16 +00:00
Dave Love
234be340d8 (imenu-generic-expression)
(imenu-progress-message): Only defvar when compiling.
2000-10-30 19:59:09 +00:00
Dave Love
072cb6f926 (cperl-mode): Set
normal-auto-fill-function correctly.
2000-10-25 13:41:19 +00:00
Eli Zaretskii
8a30aaa378 Update author's email address. 2000-10-24 09:15:44 +00:00
Stefan Monnier
34939e2c4a (sh-mode-map): Remove bindings for
sh-electric-rparen, sh-electric-less and sh-electric-hash.
(sh-st-punc, sh-here-doc-syntax): Use string-to-syntax.
(sh-font-lock-heredoc, sh-font-lock-paren): New funs.
(sh-font-lock-syntactic-keywords): Use them.
(sh-heredoc-face, sh-st-face, sh-special-syntax): Remove.
(sh-mkword-regexp, sh-electric-rparen-needed-here): Remove.
(sh-mode): Don't override font-lock-unfontify-region-function.
Use a copy of sh-font-lock-syntactic-keywords.
(sh-set-shell): Don't set sh-electric-rparen-needed-here.
Don't call sh-scan-buffer since font-lock does it on the fly.
(sh-get-indent-info): Use `face' rather than `syntax-table'
text-property to detect here-documents.
Replace sh-special-syntax with sh-st-punc.
(sh-prev-line): Use `face' rather than `syntax-table'
text-property to skip over here-documents.
(sh-font-lock-unfontify-region-function, sh-check-paren-in-case)
(sh-set-char-syntax, sh-electric-rparen, sh-electric-hash)
(sh-electric-less, sh-set-here-doc-region)
(sh-remove-our-text-properties, sh-search-word, sh-scan-case)
(sh-scan-buffer, sh-rescan-buffer): Remove.
2000-10-21 18:06:17 +00:00
Gerd Moellmann
9b5360aa71 (sql-sybase-options): New option.
(sql-sybase): Use it.  Add sql-database to the list of parameters
provided for login.  The options -w 2048 -n are not used any more.
2000-10-18 14:38:55 +00:00
Dave Love
d2d001277c Require skeleton and comint when
compiling.
2000-10-15 17:18:02 +00:00
Stefan Monnier
6c5bcbc1b1 (sh-imenu-generic-expression): Fix.
(sh-mode-syntax-table): Add punctuation syntax for < and >.
(sh-mode): Don't make all vars local here.
(sh-kw): Reformat.
(sh-set-shell): Use dolist.  Don't set indent-region-function.
(sh-mode-syntax-table): Use pop.
(sh-remember-variable): Use push.
(sh-help-string-for-variable): Use memq.
(sh-safe-backward-sexp): Remove.
(sh-safe-forward-sexp): Add ARG.
(sh-get-indent-info, sh-prev-stmt): Use it.
(sh-prev-line): Simplify by using forward-comment.
(sh-this-is-a-continuation): Simplify.
(sh-learn-buffer-indent): Use dolist.
(sh-do-nothing): Remove.
(sh-set-char-syntax, sh-set-here-doc-region):
Use inhibit-modification-hooks.
(sh-name-style): Use mapcar and push.
(sh-load-style): Use dolist.
(sh-save-styles-to-buffer): Use with-current-buffer and pp.
(sh-case, sh-while-getopts): Use propertize directly rather
than sh-electric-rparen.
2000-10-15 04:38:24 +00:00
Dave Love
8661c643db (cperl-tips-faces): Doc fix.
(cperl-invalid-face): Revert last change.
(cperl-init-faces): Quote cperl-invalid-face.
2000-10-12 13:10:22 +00:00
Gerd Moellmann
56ce0469b5 (scheme-mode-map): Use lisp-mode-shared-map
instead of shared-lisp-mode-map.
2000-10-12 10:53:00 +00:00
Sam Steingold
5c8b7eaf15 (cperl-invalid-face): double-quote underline 2000-10-11 16:53:24 +00:00
Dave Love
1b9a1e9d48 (scheme-mode-variables, dsssl-mode): Avoid
compiler warnings.
(scheme-mode): Doc fix.
(scheme-font-lock-keywords-1): Match `define-syntax'.
2000-10-11 09:46:28 +00:00
Sam Steingold
690ec64977 use lisp-mode-shared-map instead of shared-lisp-mode-map 2000-10-10 17:27:38 +00:00
Stefan Monnier
d6b8c85b26 Maintainer line updated.
(tags-table-format-functions): Renamed from tags-table-format-hooks.
2000-10-09 01:59:03 +00:00
Stefan Monnier
6010664f9c Docstring fixes.
(initialize-new-tags-table): Use run-hook-with-args-until-success.
(find-tag): Use pop-to-buffer if switch-to-buffer failed.
2000-10-08 19:25:30 +00:00
Dave Love
383d5bbba8 Fix header line, copyright notice. 2000-10-08 17:47:56 +00:00
Dave Love
88127f30ed (ada-mode-menu): Add name to menu map. 2000-10-08 17:47:03 +00:00
Dave Love
26ee4ca385 (icon-mode-map): Add name to menu-bar keymap. 2000-10-08 17:39:40 +00:00
Stefan Monnier
02c1bd081b (compile-collect-regexps): Use dolist and push. 2000-10-05 23:47:14 +00:00
Gerd Moellmann
542c655271 (sql-mysql-options): New variable.
(sql-mysql): Use it.
2000-10-05 15:26:13 +00:00
Stefan Monnier
b5d006eaf9 (icon-mode): Don't gratuitously override the default for comment-column. 2000-10-05 01:58:16 +00:00
Stefan Monnier
7b8f3241f1 (c-mode): Don't gratuitously override the default for comment-column. 2000-10-01 00:53:23 +00:00
Stefan Monnier
be5e3be3ac (perl-mode): Don't gratuitously override the default for comment-column. 2000-09-29 03:32:40 +00:00
Stefan Monnier
5dd3f26b02 (awk-mode): Don't gratuitously override the default for comment-column. 2000-09-29 03:32:07 +00:00
Stefan Monnier
5bf9c8a0c9 (asm-mode): Don't gratuitously override the default for comment-column. 2000-09-29 03:31:36 +00:00