1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 02:20:21 -08:00
Commit graph

1509 commits

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