1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-15 09:47:20 +00:00
Commit Graph

1554 Commits

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