1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-02 11:21:42 +00:00
Commit Graph

573 Commits

Author SHA1 Message Date
Richard M. Stallman
1036798c64 Comment change. 1997-06-16 17:32:40 +00:00
Richard M. Stallman
78943c8ae6 (byte-save-current-buffer): Change to code 114 (0162). 1997-06-15 23:05:19 +00:00
Richard M. Stallman
9d07cf38e7 (debug): Set overriding-terminal-local-map to nil,
don't bind it, so it won't be restored on `q'.
1997-06-09 16:42:34 +00:00
Richard M. Stallman
29e2b496f0 (debug, debugger-eval-expression):
Treat overriding-terminal-local-map like overriding-local-map.
(debugger-outer-overriding-terminal-local-map): New variable.
1997-06-08 12:25:25 +00:00
Simon Marshall
25544ce1bd emit charsets after strings so that the final regexp finds the longest match. 1997-06-06 07:10:24 +00:00
Richard M. Stallman
b8b29706b1 Update version. 1997-05-31 05:39:02 +00:00
Richard M. Stallman
e76b547b88 (edebug-signal): Avoid infinite recursion. 1997-05-29 06:32:44 +00:00
Richard M. Stallman
56329bc5ed Initial revision 1997-05-29 03:01:51 +00:00
Richard M. Stallman
b6030d2f8a (gulp-send-requests): Sort maintainers alphabetically.
(gulp-create-m-p-alist): Don't print message here.  Bind fl-tm.
(gulp-request-header, gulp-request-end): Update the default text.
1997-05-29 00:17:57 +00:00
Richard M. Stallman
0acdb86326 Comment change. 1997-05-27 19:51:23 +00:00
Noah Friedman
c128637667 (eldoc-message-commands): Move docstring into comments, since this isn't
a user variable.

(eldoc-message-commands-table-size, eldoc-use-idle-timer-p,
eldoc-function-argstring-from-docstring-method-table): Use defvar,
not defconst.

(eldoc-last-data): Use cons explicitly; don't rely on dotted pair read
syntax.  I'm worried the latter might get compiled as read-only data someday.

(eldoc-docstring-message): If truncating symbol name, show ending of name
rather than beginning.  The former is generally more unique.

(eldoc-function-argstring-from-docstring-method-table): Handle
pathological `save-restriction' case.

[top level]: Add `indent-for-tab-command' to eldoc-message-commands.
1997-05-22 06:47:41 +00:00
Richard M. Stallman
1654c9f082 (event-closest-point): Fix paren error. 1997-05-20 17:17:39 +00:00
Richard M. Stallman
4f76fb9ac4 (event-closest-point): New function.
(event-closest-point-1): New subroutine.

(mouse-event-p, button-event-p): New functions.
1997-05-17 18:38:17 +00:00
Richard M. Stallman
3fbca58aae (update-autoloads-from-directories): Renamed from
update-autoloads-from-directory.  Take multiple directories as args.
Use locate-library to find loaddefs.el and the top level Lisp dir.
(batch-update-autoloads): Call update-autoloads-from-directories.
1997-05-16 22:49:59 +00:00
Richard M. Stallman
ceaa369594 (defcustom): Add doc-string-elt property.
(make-autoload): Convert defcustom into defvar.
1997-05-12 01:14:36 +00:00
Richard M. Stallman
8c731d3d49 (byte-compile-file-form-custom-declare-variable): New function. 1997-05-08 16:28:07 +00:00
Richard M. Stallman
1fa68f218e (byte-optimize-approx-equal): Use <=, not <.
(byte-optimize-minus, byte-optimize-plus): Optimize adding
or subtracting 1.
1997-05-06 03:53:10 +00:00
Richard M. Stallman
30e19aee85 Use defcustom. 1997-05-05 15:06:25 +00:00
Richard M. Stallman
b741439511 (edebug-eval-mode): Add a mode-class property. 1997-05-05 01:03:53 +00:00
Richard M. Stallman
fcb242c978 (generated-autoload-file): Change defconst to defvar. 1997-04-29 00:23:40 +00:00
Richard M. Stallman
d83cce6dda (elp-report-limit): Change prompt string.
(elp-version): Incremented.
1997-04-21 23:48:34 +00:00
Richard M. Stallman
88b52bf54e (edebug-read-and-maybe-wrap-form): Protect
against pathological recursive calls.
1997-04-14 20:57:39 +00:00
Richard M. Stallman
a326c090b5 Add defgroup; use defcustom for user vars. 1997-04-14 07:33:28 +00:00
Richard M. Stallman
3627d6b20a Update copyright years. 1997-04-12 19:31:18 +00:00
Richard M. Stallman
9e5b444e89 Add defgroup; use defcustom for user vars. 1997-04-12 19:31:00 +00:00
Richard M. Stallman
b5ca6f92e7 (elp-functionp): Definitions deleted; use functionp. 1997-04-12 19:15:11 +00:00
Richard M. Stallman
9b267ebada (elp-functionp): New function.
(elp-instrument-package): Don't attempt to instrument autoload functions.

(elp-elapsed-time): New function to calculate the different between
two `current-time' lists.  This no longer throws away the top 16 bits
of information.

(elp-wrapper): Use elp-elapsed-time instead of elp-get-time.  Also,
call `current-time' as close to the function entrance and exit as
possible so more of the overhead is eliminated from the times.

(elp-get-time): Obsolete, deleted.

(elp-restore-function):
When restoring, do not check assq elp-wrapper
if the symbol-function is a compiled lisp function (i.e. byte coded).
If it is byte-coded, it could not have been instrumented.
Don't do the symbol-function restoration if
the symbol has no function definition.

(elp-instrument-function): Always `restore' the funsym before instrumenting.
Fail if function is an autoload symbol.

(elp-instrument-list): Remove unnecessary condition-case.

(elp-results):
Noninteractive as a function is non-portable, use the
variable instead.  buffer-substring with 3 arguments is non-portable.

(elp-instrument-function, elp-instrument-list):
Handle function symbols that have already been instrumented.  Do
not instrument them twice.

(elp-recycle-buffers-p): New variable.

(elp-report-limit, elp-sort-by-function): New default values.

(elp-use-standard-output): New variable.

(elp-results): Optionally dump results to standard-output.
1997-04-12 19:14:18 +00:00
Richard M. Stallman
c5292bc831 Add defgroup's; use defcustom for user vars. 1997-04-12 08:35:41 +00:00
Richard M. Stallman
fcad51995c Add defgroup's; use defcustom for user vars. 1997-04-12 04:15:03 +00:00
Richard M. Stallman
2c66f5d196 (eval-defun): For defcustom, always set the value. 1997-04-10 05:58:24 +00:00
Richard M. Stallman
531cbff1cc (indent-sexp): If calculate-lisp-indent returns nil,
don't change the line's indentation.
(lisp-indent-line): Likewise.
(lisp-comment-indent): Likewise.
(calculate-lisp-indent): Return nil if line starts inside a string.
1997-04-05 21:51:44 +00:00
Richard M. Stallman
614710af5b (debug): Use save-excursion inside the binding of buffer-read-only. 1997-03-30 07:05:14 +00:00
Noah Friedman
387ccacecf (eldoc-idle-delay): Make defvar, not defconst.
(eldoc-minor-mode-string): Make defvar, not defconst.
(eldoc-argument-case): Make defvar, not defconst.
1997-03-27 10:44:56 +00:00
Richard M. Stallman
941e78a72a (tq-process-buffer): Catch errors running tq-queue-head-fn. 1997-03-22 03:55:49 +00:00
Richard M. Stallman
14b6a8e104 Many doc fixes.
(ring-ref): Fix error message.
1997-03-22 03:52:36 +00:00
Richard M. Stallman
8662fc42d8 (copyright-regexp): Allow "Copyright" and the copyright symbol together. 1997-03-22 03:35:20 +00:00
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