1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-14 23:40:39 -08:00
Commit graph

1540 commits

Author SHA1 Message Date
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