Commit graph

1000 commits

Author SHA1 Message Date
Stefan Monnier
d5b037c5bf (easy-mmode-define-global-mode): Autoload.
Use find-file-hooks in the minor-mode function.
Be careful not to loop indefinitely in the post-command-hook function.
2000-06-05 06:06:30 +00:00
Stefan Monnier
be22f4cc63 Require CL during compilation.
(easy-mmode-define-global-mode): New macro.
(define-minor-mode): Fix the handling of `group'.
(easy-mmode-define-keymap): Use case.
2000-06-04 23:40:58 +00:00
Stefan Monnier
b5bbbb7612 (easy-mmode-define-toggle): Remove (inline into define-minor-mode).
(easy-mmode-pretty-mode-name): Rename from easy-mmode-derive-name
and improve to use the lighter to guess the capitalization.
(define-minor-mode): Inline code from easy-mmode-define-toggle.
Add keyword arguments to specify global-ness or the custom group.
Add local-map and help-echo properties to the lighter.
(easy-mmode-define-navigation): Add the errors to debug-ignored-errors.
2000-06-04 20:59:47 +00:00
Stefan Monnier
3837de1250 (easy-mmode-derive-name): New function.
(easy-mmode-define-toggle, define-minor-mode): Use it.
(easy-mmode-define-keymap): Docstring fix.
(define-derived-mode): Default PARENT to fundamental-mode.
Add the derived-mode-parent symbol-property.
(easy-mmode-derived-mode-p): New function.
2000-06-02 23:07:08 +00:00
Stefan Monnier
20482b7061 * byte-run.el (make-obsolete, make-obsolete-variable):
Add an optional WHEN argument and change the format of the
symbol-property information.
* emacs-lisp/bytecomp.el (byte-compile-log): Don't quote lambda.
(byte-compile-obsolete, byte-compile-variable-ref): Understand the
new obsolete-symbol-property format and print WHEN if it is provided.
(make-obsolete): Update the calls to use the third argument.
2000-06-01 04:58:08 +00:00
Dave Love
c2641e5f2d (elp-version): Deleted. 2000-05-26 13:02:13 +00:00
Dave Love
ed62683d5a (byte-compile-callargs-warn): Use subr-arity to check primitives.
(byte-compile-flush-pending, byte-compile-file-form-progn)
(byte-compile-normal-call, byte-compile-list, byte-compile-concat)
(byte-compile-insert, byte-compile-funcall): Use mapc instead of
mapcar.
2000-05-26 10:35:38 +00:00
Dave Love
80265cddc5 Change maintainer to FSF. 2000-05-26 09:15:41 +00:00
Dave Love
c2413c67aa Add finder keywords. 2000-05-25 18:29:18 +00:00
Dave Love
36172f4965 (elp-restore-function): Don't use obsolete byte-code-function-p. 2000-05-25 18:24:44 +00:00
Eli Zaretskii
bc46628f73 (edebug-emacs-19-specific): Call
display-popup-menus-p instead of looking at window-system.
2000-05-25 16:55:17 +00:00
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