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

939 Commits

Author SHA1 Message Date
Stefan Monnier
40aeecadb8 Rewritten to take advantage of shy-groups and
intervals which makes it heaps simpler.
2000-05-22 04:29:52 +00:00
Dave Love
6a475c9955 (ring-elements): New function. 2000-05-21 17:29:50 +00:00
Dave Love
b9f5db901f (easy-menu-create-menu, easy-menu-do-add-item): Use keywordp. 2000-05-21 17:26:47 +00:00
Dave Love
049a65a311 Update side-effect free function lists. 2000-05-21 17:24:19 +00:00
Stefan Monnier
c8c21615b8 Update copyright and commentary.
(easy-mmode-define-toggle): Deprecate the use of *-(on|off)-hook.
Print a status message if the toggle is called interactively.
(define-minor-mode): Allow INIT-VALUE to be (global . INIT-VALUE)
for global minor modes and use `defcustom' for them.
Use add-minor-mode.
(easy-mmode-define-derived-mode): Remove.
(define-derived-mode): Fancier default docstring.
(easy-mmode-define-navigation): Signal an error rather than (ding).
2000-05-21 01:44:08 +00:00
Stefan Monnier
3f0c3d8b96 (lisp-mode-variables): Set comment-add. 2000-05-19 21:36:14 +00:00
Stefan Monnier
ac5cb26d90 (regexp-opt-depth): Fix regexp. 2000-05-10 22:43:28 +00:00
Dave Love
64a4c526f4 Doc fixes; mainly avoid duplicating arg
list in doc string.  Don't quote keyword symbols.
2000-05-05 20:01:01 +00:00
Gerd Moellmann
ec266158e4 (crm-completion-table): New variable.
(crm-collection-fn, crm-test-completion)
(completing-read-multiple): Use it.
2000-04-27 19:00:09 +00:00
Gerd Moellmann
612839b6b2 *** empty log message *** 2000-04-25 19:43:58 +00:00
Dave Love
e10b9e3264 (cl-old-mapc): Fix definition.
(cl-mapc): Rename from mapc.  Fix the funcall.
2000-04-19 22:31:21 +00:00
Gerd Moellmann
4f1390acaa (gulp-maintainer): Use expand-file-name
instead of concat.
2000-04-19 14:39:19 +00:00
Dave Love
aa455f0b87 Change maintainer. Use new backquote
syntax.
2000-04-13 19:12:13 +00:00
Dave Love
a16fcdfc64 Remove when, unless. 2000-04-13 19:10:09 +00:00
Dave Love
be0dd6570e (edebug-keywordp): Remove. Change callers
to use keywordp.
(edebug-spec): Enable keywordp.
2000-04-13 19:04:33 +00:00
Dave Love
88d9af06cb (keywordp): Remove. 2000-04-13 19:04:00 +00:00
Dave Love
cf6bc7c3a5 Don't quote keywords.
(cl-old-mapc): New variable.
(mapc): Use it.
(cl-map-intervals): Use with-current-buffer.  Don't check for
next-property-change.
(cl-map-overlays): Use with-current-buffer.
(cl-expt): Remove.
(copy-tree, remprop): Define unconditionally.
2000-04-13 19:03:34 +00:00
Gerd Moellmann
25112054fe (easy-menu-create-menu): Process menu
item help string.
(easy-menu-do-add-item): Ditto.
(easy-menu-define): Extend doc string.
2000-04-09 10:59:46 +00:00
Dave Love
3f923efebf Fix specs for dolist, dotimes, push, pop, unless, when. 2000-04-08 23:42:11 +00:00
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