Commit graph

537 commits

Author SHA1 Message Date
Karl Heuer
033d0963b3 (when, unless): Symbol props moved to subr.el. 1997-03-14 17:57:41 +00:00
Karl Heuer
42875c6da8 (lisp-imenu-generic-expression): Accept *', |',
and `:' in symbol names.
1997-03-11 22:32:22 +00:00
Kenichi Handa
95aeae460a (byte-compile-file): Bind coding-system-for-write
instead of coding-system-for-read to 'no-conversion to disbale
code convertion by write-region.
1997-02-26 11:59:40 +00:00
Karl Heuer
361721f240 (eval-last-sexp): Allow let-bindings to terminate
before doing the eval.
Handle (interactive ...) form specially.
1997-02-23 07:52:35 +00:00
Karl Heuer
9a06295dcf (debugger-mode): Disable multibyte character handling
in Debugger mode.
1997-02-20 05:41:01 +00:00
Karl Heuer
b8575ac32e (byte-compile-file): Write a compiled file without
any code conversion.
1997-02-20 05:40:01 +00:00
Karl Heuer
a8f15301e6 (update-file-autoloads): Read loaddefs.el without
any code conversion.
1997-02-20 05:39:18 +00:00
Noah Friedman
9d497c0123 (eldoc-message-commands): Doc fixes.
(eldoc-message): Make function, not macro.

(eldoc-last-message): New internal variable.
(eldoc-mode): Initialize it to nil.
(eldoc-message): Use it.
(eldoc-print-current-symbol-info): Use it.

(eldoc-pre-command-refresh-echo-area): New function.
(eldoc-mode): Put it on pre-command-hook if in XEmacs or using idle timers
in Emacs.

(eldoc-message-commands-table-size): New constant.
(eldoc-add-command): Use it to initialize eldoc-message-commands.

(eldoc-display-message-no-interference-p): New function.
(eldoc-display-message-p): Use it.

(eldoc-print-fnsym-args, eldoc-print-var-docstring): Arg sym no longer
optional.
Do not initialize arg if nil.

(eldoc-forward-sexp-safe): Function deleted.
(eldoc-beginning-of-sexp): New function.
(eldoc-fnsym-in-current-sexp): Use eldoc-beginning-of-sexp.
Use eldoc-current-symbol to get symbol at point.

(eldoc-function-argstring-from-docstring-method-table): Forge docstrings
for `and', `or', `list', `+', and `-'.

(eldoc-add-command-completions): New function.
(eldoc-add-command): Take list of args.
No longer interactive.

(eldoc-remove-command-completions): New function.
(eldoc-remove-command): Take list of args.
No longer interactive.

top level: Initialize eldoc-message-commands using
eldoc-add-command-completions.
1997-02-19 10:24:26 +00:00
Roland McGrath
2884cbf0e8 (update-autoloads-from-directory): Get absolute file names from
directory-files, and expand generated-autoload-file.  Subdirs happy now.
1997-02-17 21:44:59 +00:00
Noah Friedman
4fa073648d (eldoc-display-message-p): New function.
Return nil if cursor-in-echo-area, or using idle timers and a command
is still active.

(eldoc-print-current-symbol-info): Use eldoc-display-message-p.
1997-02-04 18:21:29 +00:00
Noah Friedman
332ae8db49 Update copyright notice to reflect assignment to FSF and incorporation
into Emacs.

Attempt to load `timer'.

(eldoc-idle-delay): Make defconst.
(eldoc-minor-mode-string): Make defconst.
(eldoc-argument-case): Make defconst.

(eldoc-message-commands): Renamed from eldoc-mode-message-commands.
All callers changed.
Add `mouse-set-point' as a default candidate.

(eldoc-use-idle-timer-p): New constant.
(eldoc-timer): New variable.
(eldoc-current-idle-delay): New variable.
(eldoc-schedule-timer): New function.
(eldoc-mode): Use idle timers if supported.

(eldoc-add-command): Provide completion on interactive commands only, not
all bound functions.

(eldoc-print-current-symbol-info): Renamed from
eldoc-mode-print-current-symbol-info.  All callers changed.
Check whether using idle timers or being run from post-command hooks.
Use `executing-kbd-macro' instead of `executing-macro'.

(eldoc-print-fnsym-args): Don't make interactive.
Cache current symbol name in eldoc-last-data; it was forgetting to do this
previously.
If subr args cannot be determined, show single-line docstring for it instead.

(eldoc-docstring-message): New function.
(eldoc-print-docstring): New function.
(eldoc-print-var-docstring): Use them.

(eldoc-function-argstring-from-docstring-method-table): New constant.
(eldoc-function-argstring-from-docstring): Use it.
1997-02-03 06:13:34 +00:00
Richard M. Stallman
7aec540f0c (byte-compile-inline-expand): Recalculate fn
after loading a file to define the function.
1997-01-27 02:40:13 +00:00
Richard M. Stallman
6ae5bdf58c (when, unless): Definitions moved to subr.el. 1997-01-08 06:09:48 +00:00
Richard M. Stallman
e6a6d69799 (easy-menu-create-keymaps): Menu item STYLE toggle (checkbox)
and radio (radio button) are prefixed by "[X] " or
"(*) " respectively, when selected and "[ ] " or "( ) ", when not
selected. In a menu that contain these prefixes, "    " is used
as prefix for items that have no other prefix.

(easy-menu-update-button): New function used as `menu-enable'
property for checkboxes and radio buttons to update the prefixes.

(easy-menu-define): Change documentation string to describe the
new prefixes.
1997-01-02 20:20:22 +00:00
Richard M. Stallman
cd891e6848 (byte-compile-file): Set default-directory in compiler input buffer. 1996-12-30 18:52:14 +00:00
Richard M. Stallman
f4897e407d (edebug-read-symbol, edebug-read-string): Don't back up after reading.
(edebug-read-sexp): Likewise.
1996-12-26 20:46:51 +00:00
Richard M. Stallman
d7fa5aa239 Change defconsts to defvars. 1996-12-16 01:33:02 +00:00
Karl Heuer
7bb250dacc (byte-compile-insert-header): Fix previous change. 1996-12-11 01:29:00 +00:00
Richard M. Stallman
666ef0083b (byte-compile-insert-header): If emacs-version
ends with a letter, don't check the version number.
1996-12-07 20:34:15 +00:00
Erik Naggum
488a0b059b (combine-after-change-calls): The first form is not special. 1996-11-11 20:42:08 +00:00
Richard M. Stallman
92475d89c3 (combine-after-change-calls): Add lisp-indent-function property. 1996-11-09 21:48:25 +00:00
Richard M. Stallman
5398a9e7bf (combine-after-change-calls): New def-edebug-spec. 1996-11-09 21:48:07 +00:00
Richard M. Stallman
030dccec3e (lisp-complete-symbol): Sort the list. 1996-11-01 08:19:07 +00:00
Karl Heuer
70a036cfe6 (lexical-let): Fixed a bug involving nested
lexical contexts and macros.
1996-10-24 22:45:24 +00:00
Richard M. Stallman
1814e5a971 (define-function): Mark it as obsolete. 1996-10-12 23:54:12 +00:00
Erik Naggum
e3ac26cbb8 (narrow-to-defun): Narrow to the same defun that `mark-defun' would make
the region.
(insert-parentheses): Let a negative argument enclose preceding sexps.
1996-10-08 23:13:39 +00:00
Erik Naggum
54c014f0a9 (with-current-buffer): Correct indentation property. 1996-10-08 18:22:57 +00:00
Noah Friedman
477c388f4b (eldoc-function-argstring-from-docstring): Add search that finds arglist
for `start-process'; possibly others.
1996-10-04 04:43:42 +00:00
Richard M. Stallman
b6b4c8bdd2 (eval-after-load): Add lisp-indent-function for it. 1996-10-03 21:51:39 +00:00
Erik Naggum
e0119683e4 (with-temp-buffer): Add indentation property. 1996-10-03 02:16:38 +00:00
Richard M. Stallman
52fb15fae2 Delete several \n\'s.
(profile-fix-fun): Delete an if whose test is never true.
Handle doc strings that are also the function value.
1996-10-02 21:42:42 +00:00
Richard M. Stallman
8fd2940861 (save-selected-window, save-current-buffer)
(save-match-data, with-output-to-string, with-current-buffer)
(with-temp-file, with-temp-buffer): Add def-edebug-spec calls.
1996-10-02 21:41:56 +00:00
Richard M. Stallman
08adb0997f (with-temp-file): Add lisp-indent-function property. 1996-09-28 04:21:22 +00:00
Richard M. Stallman
38f16fe199 (save-current-buffer, with-current-buffer)
(with-output-to-string): Specify how to indent.
1996-09-27 20:38:03 +00:00
Richard M. Stallman
6b4268b0b1 (exec-to-string): New alias. 1996-09-26 07:48:03 +00:00
Richard M. Stallman
1e3ab67be5 (edebug-original-signal): Don't define it.
(edebug-signal): Call signal, not edebug-original-signal.
(edebug-enter): Bind signal-hook-function instead of fsetting signal.
(edebug-recursive-edit): Clear or clear signal-hook-function.
1996-09-24 06:54:18 +00:00
Richard M. Stallman
ba88fc3af1 (pre-command-hook, post-command-hook): Defvars deleted.
(post-command-idle-hook): Defvar deleted.
(edebug-outside-post-command-idle-hook): Defvar deleted.
(edebug-enter): Don't look at or set post-command-idle-hook.
(edebug-outside-excursion): Likewise.
(edebug-emacs-19-specific): Don't define read-expression-history
and read-expression-map.
1996-09-23 04:39:19 +00:00
Richard M. Stallman
2e311f55f2 (add-timeout): Duplicate definition deleted.
(screenw-width, screen-height): Likewise.
(disable-timeout, keymap-parent, set-keymap-parent): Likewise.
1996-09-23 04:28:20 +00:00
Richard M. Stallman
2754fefaec (byte-optimize-form-code-walker):
Treat save-current-buffer like save-excursion.
1996-09-22 04:38:36 +00:00
Richard M. Stallman
f3e472b0b7 (save-current-buffer): Compile it like save-excursion.
(byte-compile-save-current-buffer): New function.
1996-09-22 04:37:55 +00:00
Richard M. Stallman
c0eae5b9ba (tq-filter): No need for save-match-data. 1996-09-18 22:00:30 +00:00
Richard M. Stallman
d8f59f561a (byte-compile-lambda): If the doc string is also the
return value, use it for both.
1996-09-17 19:01:09 +00:00
Richard M. Stallman
14603e08e2 (tq-filter): Add unwind-protect and save-match-data. 1996-09-15 18:38:49 +00:00
Richard M. Stallman
9614b740ac (pp-eval-expression): Set font-lock-default locally to nil. 1996-09-12 17:28:54 +00:00
Richard M. Stallman
94ddbbff9b (easy-menu-do-define): Use `x-popup-menu' instead of
non-existing `easy-popup-menu'.
1996-09-11 03:47:43 +00:00
Erik Naggum
77308fd7ec (byte-compile-output-file-form): Bind print-quoted and print-gensym to t
when writing compiled byte-code objects.
(byte-compile-output-docform): Likewise.
1996-09-10 23:00:29 +00:00
Richard M. Stallman
5a161ab5ff (update-file-autoloads): Don't barf if autoloads file
file is completely empty.
1996-09-10 21:54:46 +00:00
Richard M. Stallman
469414a00a (byte-compile-out-toplevel): Undo previous change.
(byte-compile-byte-code-maker): Undo previous change.
1996-09-10 19:22:12 +00:00
Richard M. Stallman
7321741136 Turn on byte-compile-dynamic. 1996-09-01 22:56:40 +00:00
Richard M. Stallman
10809e0f11 (byte-compile-associative): Treat one arg case like (+ x 0). 1996-08-29 06:20:21 +00:00