1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-14 09:39:42 +00:00
Commit Graph

970 Commits

Author SHA1 Message Date
Gerd Moellmann
c3b2784b4b (byte-compile-file-form-autoload): Re-enable new code. 2000-03-31 11:28:14 +00:00
Gerd Moellmann
78ecf55a6a (byte-compile-inline-expand): Look
for function definition in symbol's function value slot first
instead of first consulting byte-compile-function-environment.

Fix byte-compiler warnings format.
2000-03-31 11:25:10 +00:00
Gerd Moellmann
c59a419228 (byte-compile-inline-expand): Fix bug
trying to `load' the symbol of an autoload instead of the file
recorded in the autoload.  Fix error messages.
2000-03-30 11:38:38 +00:00
Gerd Moellmann
95875d9635 (byte-compile-file-form-autoload): Disable new code. 2000-03-30 11:37:05 +00:00
Dave Love
370893a14a Add `extensions' to Keywords. 2000-03-30 11:00:35 +00:00
Dave Love
c5091f25dd Doc fixes.
(byte-compile-file-form-autoload): Update
byte-compile-function-environment.
2000-03-29 21:32:57 +00:00
Andreas Schwab
d14ef04bda Also print defsubst doc string
specially.
2000-03-29 21:31:40 +00:00
Gerd Moellmann
07d505c154 (lm-last-modified-date): Add parameter
ISO-DATE.  If non-nil, return date in ISO 8601 format.
2000-03-28 11:24:00 +00:00
Stefan Monnier
ea4b0ca303 (byte-compile-eval): Fix and reenable the code. 2000-03-26 19:52:27 +00:00
Dave Love
5e871da0a6 (lisp-eval-defun): Make arglist compatible with inf-lisp version.
(eval-defun-1): Fix custom-declare-variable case.
2000-03-26 16:36:17 +00:00
Gerd Moellmann
a0d8827097 (byte-compile-eval): Disable new code. 2000-03-24 22:50:34 +00:00
Gerd Moellmann
418d645c4d (beginning-of-defun-raw): Add regexp
matching open parenthesis in column 0 to defun-prompt-regexp
only if open-paren-in-column-0-is-defun-start is set.
2000-03-24 20:42:41 +00:00
Stefan Monnier
a586093f79 (byte-compile-warning-types, byte-compile-warnings): New warning `noruntime'.
(byte-compile-constants, byte-compile-variables): Fix docstring.
(byte-compile-initial-macro-environment): Use `byte-compile-eval' to
execute `eval-whenc-compile's body.
(byte-compile-unresolved-functions): Fix docstring.
(byte-compile-eval): New function.
(byte-compile-callargs-warn): Check if the function will be available
at runtime (via property `byte-compile-noruntime').
(byte-compile-print-syms): New function.
(byte-compile-warn-about-unresolved-functions): Also warn about
`noruntime' functions (and use `byte-compile-print-syms').
(byte-compile-file): Capitalize the message.
2000-03-24 18:37:48 +00:00
Stefan Monnier
cb3430a1f7 * pcvs.el: Add a minimal leading commentary.
(cvs-make-cvs-buffer): Change the header part by removing the startup
message and adding a `Module' entry.  Also replace the FOOTER and
HEADER special fileinfos with the new support in ewoc for updating
its own footer and header.
(cvs-update-header): Update to use the header/footer of the ewoc.
(cvs-mode): Use define-derived-mode and set truncate-lines to t.
(cvs-is-within-p): New function.
(cvs-mode-run): Take advantage of `save-some-buffers's new ability
to only examine some subset of the buffers.
* pcvs-info.el (cvs-fileinfo-pp): Use the new property-preserving
`format' instead of our own ad-hoc functions.
Remove HEADER and FOOTER cases, now handled in the EWOC.
(cvs-fileinfo<): Remove HEADER and FOOTER cases.
* pcvs-parse.el (cvs-parse-run-table): Change message for unknown
output to avoid scaring the user.
(cvs-parse-table): Catch message for non-up-to-date commits.
* pcvs-defs.el (cvs-startup-message): Remove.
(cvs-global-menu): New autoloaded menu.
* pcvs-util.el (cvs-string-fill): Remove.
* emacs-lisp/ewoc.el (ewoc--create-special-node): Remove.
(ewoc--refresh-node): Don't take the whole EWOC but only the relevant
PP part of it and also make it work for footers and headers.
(ewoc-create): Drop POS and BUFFER arguments.
Use the DLL's dummy node to store the end-of-footer position.
(ewoc-map, ewoc-invalidate): Update call to ewoc--refresh-node.
(ewoc-refresh): Remove unused `header' variable.
(ewoc-(get|set)-hf): New functions.
2000-03-22 02:57:23 +00:00
Stefan Monnier
36a5b60e8e (easy-mmode-define-navigation): Only use `ding' for interactive use
else, use `error' (to enable the caller to react to the problem).
2000-03-21 16:53:06 +00:00
Stefan Monnier
c7ea3acc6b * derived.el (define-derived-mode): Don't autoload anymore.
Prefer the macro-only version provided by easy-mmode.el.
* emacs-lisp/easy-mmode.el (define-derived-mode): New name for
`easy-mmode-define-derived-mode'.
Use `combine-run-hooks'.
(easy-mmode-define-navigation): New macro.
2000-03-21 15:35:06 +00:00
Stefan Monnier
a29a2cd183 (cl-do-arglist): Don't add (setq :<key> ':<key>). 2000-03-17 19:35:23 +00:00
Gerd Moellmann
bdec99ee91 Remove RCS Id, remove history comment. 2000-03-12 15:22:03 +00:00
Gerd Moellmann
b78417b000 (reb-re-syntax): Fix typo in `:type'. Fix comment. 2000-03-12 13:45:25 +00:00
Stefan Monnier
5b467bf4e2 *** empty log message *** 2000-03-11 03:51:31 +00:00
Stefan Monnier
e4ad5f9e5f (easy-mmode-defmap, easy-mmode-defsyntax): Autoload the functions used.
(easy-mmode-define-syntax): Fix CL typo.
(easy-mmode-define-derived-mode): Improve the docstring generation.
2000-03-11 03:37:37 +00:00
Stefan Monnier
5a7a545cc5 (easy-mmode-define-keymap): Extend to allow more flexibility.
(easy-mmode-set-keymap-parents, easy-mmode-define-syntax): New functions.
(easy-mmode-defmap, easy-mmode-defsyntax, easy-mmode-define-derived-mode):
New macros.
2000-03-10 01:17:04 +00:00
Gerd Moellmann
d1221ea91d *** empty log message *** 2000-03-09 20:28:18 +00:00
Stefan Monnier
c00562751d Update copyright and leading comment.
(regexp-opt): Update comment and adapt the code the new meaning of the
`paren' argument of regex-opt-group for shy-groups.
(regexp-opt-depth): Handle shy groups as well as backslashed backslashes.
(regexp-opt-group): Turn the leading comment into a docstring.
Allow `paren' to be a string (the string to use to open a group).
Remove open-presuf and close-presuf.
Instead of checking for `all one-char' and then later on check for
`several one-char', handle both cases close together.
Also apply a more generic algorithm for suffixes (the mirror image
of the algorithm used for prefixes).
Use shy-groups.
\Use nreverse rather than reverse.
(regexp-opt-try-suffix): Removed.
2000-03-09 00:45:15 +00:00
Dave Love
a599ac7c8f Remove expt, delete, rassoc from autoloads
lists.
2000-03-07 19:41:12 +00:00
Dave Love
e5f597f0bf (lisp-mode-syntax-table): Fix syntax of |. 2000-03-01 21:02:37 +00:00
Gerd Moellmann
7dd210174f Indent `pprint-logical-block' properly. 2000-02-25 15:46:24 +00:00
Gerd Moellmann
36e988461f (Helper-describe-mode): Make buffer writable. 2000-02-25 13:15:14 +00:00
Dave Love
1639b80357 Change old backquote syntax.
(byte-compile-const-symbol-p): New function.
(byte-compile-constp, byte-compile-out-toplevel)
(byte-compile-form, byte-compile-form, byte-compile-variable-ref):
Use it.
2000-02-23 12:29:05 +00:00
Dave Love
e1f0df6214 Change old backquote syntax.
(byte-compile-trueconstp): Include keywords.
(byte-optimize-quote, byte-optimize-lapcode): Use
byte-compile-const-symbol-p.
(byte-optimize-char-before): New optimization.
2000-02-23 12:28:09 +00:00
Kenichi Handa
1d3529b69f Don't change syntax of multibyte
characters.
(lisp-mode-variables): Set multibyte-syntax-as-symbol to t
locally.
2000-02-23 00:11:44 +00:00
Dave Love
535eadacb1 (emacs-lisp-mode-syntax-table)
(lisp-mode-map, lisp-interaction-mode-map): Define all inside
defvar.
(lisp-mode-syntax-table): Set up for #|...|# comments.
(lisp-imenu-generic-expression): Purecopy strings.  Use syntax
classes.  Match `defface'.
(emacs-lisp-mode-hook): Add checkdoc-minor-mode to options.
(eval-defun-1): Fix for defcustom.
(lisp-indent-region): Doc fix.
2000-02-22 20:13:31 +00:00
Dave Love
3d8700e8f1 Remove bogus spec for define-condition. 2000-02-22 11:52:25 +00:00
Dave Love
2505742bda Don't require emacsbug at top level.
(lm-get-header-re): Defun, not defsubst.
(lm-get-package-name): Defun, not defsubst.  Simplify.
(lm-version): Doc fix.  Simplify.
(lm-header, lm-header-multiline, lm-header-multiline, lm-summary)
(lm-crack-address, lm-last-modified-date, lm-commentary)
(lm-verify, lm-synopsis): Simplify.
(lm-report-bug): Require emacsbug.  Use compose-mail.
2000-02-20 18:25:57 +00:00
Gerd Moellmann
c382fb0af7 (caar, cadr, cdar, cddr): Add defsetfs. 2000-02-18 10:50:09 +00:00
Gerd Moellmann
3c0ed7cec3 (lisp-indent-259): Indentation fix. 2000-02-17 20:45:37 +00:00
Dave Love
4e85dd7ae5 Don't bother testing for defalias. Don't set up `caar' &c that we now
have.
2000-02-10 17:54:30 +00:00
Dave Love
fcc31755c5 Change maintainer. 2000-02-02 16:00:17 +00:00
Dave Love
b22a152b02 (cl-builtin-gethash, cl-builtin-remhash, cl-builtin-clrhash)
(cl-builtin-maphash): Remove definitions.  Use the new builtins
directly.
2000-02-02 15:25:07 +00:00
Dave Love
0d752cda8e Use bytecomp-load-hook, not emacs-lisp-mode-hook.
Don't check for defalias being defined.
2000-02-02 15:20:31 +00:00
Dave Love
3433c43f88 Run bytecomp-load-hook. 2000-02-02 15:10:35 +00:00
Gerd Moellmann
9eebfc4691 (cl-lambda-list, cl-macro-list)
(cl-macro-list1): Recognize `&allow-other-keys' instead of
`&allow-other-keywords'.
2000-01-30 21:20:14 +00:00
Dave Love
cc4dfff0ec Replace autoloads for dolist, dotimes. 2000-01-30 13:29:57 +00:00
Dave Love
63744c0ff5 Revert last change. 2000-01-30 13:19:09 +00:00
Dave Love
7e16e19905 Remove dotimes, dolist. 2000-01-28 22:42:15 +00:00
Dave Love
7df8508400 Remove stuff for dotimes, dolist, push, pop.
Don't use lisp-indent-hook property.
(cl-abs): Remove.
2000-01-28 22:32:28 +00:00
Dave Love
05c7103660 Add indent specs for dolist, dotimes, when, unless. 2000-01-28 22:14:30 +00:00
Dave Love
ba5494eb57 Add specs for push, pop, dotimes, dolist, unless, when. 2000-01-28 22:12:29 +00:00
Gerd Moellmann
ae1aa776d6 (cl-parse-loop-clause): Recognize
`collecting' as synonym for `collect'.
2000-01-28 17:31:00 +00:00
Dave Love
d8693181b0 (checkdoc-interactive-loop): Don't lose on a function with an empty
body.
2000-01-26 17:15:13 +00:00
Richard M. Stallman
04be976f67 Undo previous change. 2000-01-21 03:37:07 +00:00
Richard M. Stallman
ab22ee5354 (beginning-of-defun-function): Variable renamed from beginning-of-defun.
(beginning-of-defun-raw): Use new variable name; doc fix.
(beginning-of-defun): Doc fix.
(end-of-defun-function): Variable renamed from end-of-defun.
(end-of-defun): Use new variable name; doc fix.
2000-01-21 02:44:44 +00:00
Richard M. Stallman
992bd384ff (dolist, dotimes): Moved to subr.el. 2000-01-21 02:09:37 +00:00
Gerd Moellmann
b3303df7ab (copyright-update): Removed the
requirement for a trailing space from `copyright-regexp', to
support copyrights with owner specified on a separate line..
2000-01-14 22:42:11 +00:00
Gerd Moellmann
99c6d63bb2 (eval-last-sexp-1): Renamed from
eval-last-sexp.  Don't bind debug-on-error here.
(eval-last-sexp): New function.  Bind debug-on-error if
eval-expression-debug-on-error is non-nil.
(eval-defun-2, eval-defun): Likewise.
2000-01-12 13:14:48 +00:00
Richard M. Stallman
83c8f4616a (with-syntax-table): Moved to subr.el. 2000-01-12 03:08:29 +00:00
Richard M. Stallman
210bd5c986 (with-syntax-table): Add a def-edebug-spec. 2000-01-12 03:04:09 +00:00
Dave Love
4c5482386b Remove inappropriate customization (allowing custom.el to use
backquote).
2000-01-08 15:19:21 +00:00
Dave Love
2ac6f2c837 Add defclass, define-condition, defmethod, symbol-macrolet. 2000-01-06 23:46:13 +00:00
Dave Love
fd9b0a6b13 (byte-extrude-byte-code-vectors): Use remprop. 2000-01-06 23:38:46 +00:00
Dave Love
bf5f1abd70 Tag as emacs-mule coding. 2000-01-06 23:35:31 +00:00
Dave Love
723dd32d78 (cl-make-hash-table): Use make-hash-table.
(cl-lucid-hash-tag): Delete.
(cl-hash-table-p): Correct test for native table.
(cl-hash-table-count): Use hash-table-count.
2000-01-05 16:51:08 +00:00
Dave Love
c6eeec6550 (beginning-of-defun): New variable.
(beginning-of-defun-raw): Use it.
(end-of-defun): New variable.
(end-of-defun): Use it.
(check-parens): New command.
2000-01-05 15:08:36 +00:00
Dave Love
6125598177 (cl-emacs-type): Remove defvar.
(cl-not-hash-table, cl-clrhash, cl-maphash, cl-hash-table-count): Use
`cl-hash-table-p', not `hash-table-p'.
(cl-map-keymap, cl-map-keymap-recursively): Remove compatibility code.
2000-01-03 23:12:38 +00:00
Gerd Moellmann
094e092801 (debugger-continue): Don't continue If
debugger-may-continue is nil.
1999-12-19 13:12:28 +00:00
Dave Love
2412aadb49 Don't put optimization info on `eql'.
(side-effect-free-fns): Add gethash, hash-table-count.
(side-effect-and-error-free-fns): Add hash-table-p.
1999-12-18 17:28:36 +00:00
Dave Love
76f639b0bc Remove conditional definition of eval-when-compile. Don't specify abs,
expt, gethash, hash-table-count, hash-table-p as side-effect-free here.
(cl-emacs-type): Don't declare.
(cl-compile-time-init): Remove Emacs 18 compiler patch.
(cl-parse-loop-clause): Remove compatibility code.
1999-12-18 17:10:56 +00:00
Dave Love
f67171e6b6 Remove Emacs 18 compatibility code. Prepend `cl-' to autoload names
for some hash functions.  Don't autoload eval-when-compile.  Don't
provide mini-cl.
(cl-emacs-type): Remove.
(cl-map-extents): Remove compatibility code.
1999-12-18 17:00:52 +00:00
Dave Love
35079221bb Bind free variables. 1999-12-18 16:36:31 +00:00
Dave Love
94c79e1040 (byte-compile-constp): Include keywords. 1999-12-18 16:30:48 +00:00
Dave Love
b92dd692ad (byte-compile-bound-variables): Doc fix.
(byte-extrude-byte-code-vectors): Use remprop.
(byte-compile-lambda): Check that arg is a lambda.
1999-12-16 15:26:03 +00:00
Stefan Monnier
be961cd5aa (lm-header-multiline): fix spurious use of `cond'.
(lm-with-file): Move all the find-file...kill-buffer stuff into
this macro.  Make it use `find-file-noselect' and make it kill
the buffer only if it wasn't already displayed somewhere.
(lm-summary, lm-authors, lm-maintainer, lm-creation-date)
(lm-last-modified-date, lm-version, lm-keywords, lm-adapted-by)
(lm-commentary, lm-verify, lm-synopsis): use lm-with-file.
(lm-commentary): fix to handle the case when the change log is
at the end of the file.
1999-12-02 16:27:21 +00:00
Gerd Moellmann
a8050bff07 (lisp-mode-variables): Change
outline-regexp, add outline-level.
(lisp-outline-level): New.
1999-12-02 10:20:22 +00:00
Gerd Moellmann
ebb4159cf0 (edebug-make-enter-wrapper): Correct
invalid translation of old-style backquote syntax to new syntax.
1999-11-29 15:34:47 +00:00
Dave Love
07c8b450a9 Fix last change. 1999-11-26 21:27:25 +00:00
Richard M. Stallman
850da9d092 Many doc fixes. 1999-11-26 17:46:05 +00:00
Richard M. Stallman
995e028a96 (checkdoc-this-string-valid-engine):
Improve messages for capitalization of arg names,
for flag variables, for t and nil, for imperatives.
Call them imperatives rather than infinitives sans "to".
(checkdoc-common-verbs-wrong-voice): Add "moves".
(checkdoc-message-text-engine): Improve messages for y-or-n-p.

(checkdoc-file-comments-engine):
Don't convert comments from 3-semicolon to 2-semicolon.
That is a matter of style.
(checkdoc-triple-semi-comment-check-flag): Variable deleted.
(checkdoc-comments): Don't bind that variable.
1999-11-26 17:33:36 +00:00
Dave Love
b185f63a8c Fix last change. 1999-11-25 14:41:30 +00:00
Dave Love
d8f479c6d2 (find-function-regexp): Use `define-minor-mode' after easy-menu
change.
1999-11-23 19:12:27 +00:00
Stefan Monnier
bc165bcee0 (make-autoload): Recognize the new `define-minor-mode'.
(define-minor-mode): Specify `doc-string-elt'.
1999-11-23 09:26:55 +00:00
Stefan Monnier
29cc3b845b Changed maintainer.
(easy-mmode-define-toggle): New BODY arg; Never append `-mode';
  Use defcustom for the hooks; Improve the auto-generated docstrings.
(easy-mmode-define-minor-mode): Renamed `define-minor-mode'.
(define-minor-mode): Add BODY arg; Only declare the keymap if
  provided; Improve the auto-generated docstrings.
1999-11-23 09:08:38 +00:00
Gerd Moellmann
d8f1319a79 Use new backquote syntax. 1999-11-21 14:50:21 +00:00
Sam Steingold
6c2599ed01 * emacs-lisp/debug.el (debugger-env-macro):
Use the new backquote syntax.

* emacs-lisp/easymenu.el (easy-menu-make-symbol):
Use the new backquote syntax.
1999-11-12 18:19:39 +00:00
Gerd Moellmann
63ca439e7f (debug): If noninteractive, display the
backtrace using `message', then exit Emacs.
(debugger-batch-max-lines): New variable.
(debugger-setup-buffer): New subroutine, broken out of `debug'.
Change the messages put at the start, to say that the debugger
was entered.
1999-11-03 13:43:19 +00:00
Gerd Moellmann
17d28a2aa8 (ad-activate-on): Make it an alias for ad-activate. 1999-10-30 20:26:22 +00:00
Dave Love
fce4437307 Doc fixes.
(ad-lemacs-p): Removed.
(advice): Add :link to defgroup.
1999-10-27 11:59:45 +00:00
Gerd Moellmann
5f6bb68adf (ad-activate-internal): Renamed from
ad-activate.  All callers changed, including those in data.c.
(ad-activate-internal-off): Renamed from ad-activate-off.
All uses changed.
(ad-activate): Renamed from ad-activate-on.  All uses changed.
(ad-start-advice, ad-stop-advice, ad-recover-normality):
Alter the definition of ad-activate-internal, not ad-activate.
1999-10-26 23:27:31 +00:00
Dave Love
2ac5018110 Removed -- not now needed by edebug. 1999-10-19 13:42:46 +00:00
Dave Love
faa5fa58af (edebug-install-read-eval-functions)
(edebug-uninstall-read-eval-functions): Use load-read-function,
avoiding elisp-eval.
1999-10-16 21:30:20 +00:00
Gerd Moellmann
893d4ef0ad (common-lisp-indent-function): Use eq' instead of eql'. 1999-10-16 12:00:02 +00:00
Gerd Moellmann
b02b54a8ba (regexp-opt-try-suffix): New function.
(regexp-opt-group): Use it to get common suffixes in STRINGS.
If STRINGS is nil, return "" rather than nil.
1999-10-08 23:06:15 +00:00
Phillip Rulon
c820ffeb34 (edebug-outside-current-prefix-arg):
New variable.
(edebug-recursive-edit): Save current-prefix-arg there,
bind it, and set it back at the end.
(edebug-outside-excursion): Restore and update the outside
value of current-prefix-arg.
(edebug-emacs-version-specific): Delete support for Epoch.
1999-09-24 14:06:13 +00:00
Gerd Moellmann
2e0a943f5b (eval-last-sexp): Use prin1 instead of print. 1999-09-14 20:12:00 +00:00
Richard M. Stallman
efb195f0ca (eval-defun, eval-last-sexp):
Bind print-level, print-length and debug-on-error.
1999-09-14 07:00:36 +00:00
Dave Love
eb83be8a1d (checkdoc-display-status-buffer): Avoid
Help mode for temp buffer.
(checkdoc-this-string-valid): Don't assume default comment-start.
1999-09-13 21:05:01 +00:00
Richard M. Stallman
19b014e465 (eval-last-sexp): If after ?\LETTER, use all of that as the sexp. 1999-09-12 02:17:20 +00:00
Richard M. Stallman
3606c1c576 (byte-compile-output-docform): Bind print-gensym-alist for compatibility,
and bind print-gensym in the old way for compatibility.
1999-09-11 04:46:31 +00:00
Richard M. Stallman
42e0601d4a (byte-compile-output-docform): Bind print-continuous-numbering and
print-number-table.
1999-09-11 04:44:23 +00:00
Dave Love
e596094db5 (lisp-imenu-generic-expression): Recognize define-widget.
(emacs-lisp-mode-hook, lisp-mode-hook, lisp-interaction-mode-hook):
Customize.
1999-09-10 18:08:06 +00:00
Dave Love
f34bba6922 (byte-optimize-backward-char, byte-optimize-backward-word): New
optimizations.
(side-effect-free-fns, side-effect-and-error-free-fns): Extra entries.
1999-09-09 20:04:17 +00:00