1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00
Commit Graph

696 Commits

Author SHA1 Message Date
Richard M. Stallman
c86b5c786c Doc fixes.
(edebug-stop-before-symbols): Variable deleted.
(edebug-form): Don't handle edebug-stop-before-symbols.
(edebug-submit-bug-report): Don't include edebug-stop-before-symbols.
1998-02-04 02:40:25 +00:00
Richard M. Stallman
74dfd056e4 (byte-compile-from-buffer): Bind edebug-all-defs and edebug-all-forms to nil. 1998-02-02 01:21:18 +00:00
Richard M. Stallman
0b33ec466a (update-file-autoloads): Give clean errors
if autoloads file is empty or can't be written.
1998-02-02 01:12:18 +00:00
Richard M. Stallman
d566098596 (easy-menu-add-item); The BEFORE argument works
now.  Done by letting `easy-menu-do-add-item' handle it.
(easy-menu-do-add-item): Take argument BEFORE instead of PREV.
Inserts directly in keymap, instead of calling `define-key-after'.
(easy-menu-create-menu): Don't reverse items as
`easy-menu-do-add-item' now puts things at the end of keymaps.
1998-01-30 02:15:13 +00:00
Richard M. Stallman
024bda024c easy-menu-define): Use ` and , read-macros
instead of (` and (,.  Implement :filter.  Doc fix.
(easy-menu-do-define): Call `easy-menu-create-menu' instead of
`easy-menu-create-keymaps'.
(easy-menu-create-keymaps): Replaced by `easy-menu-create-menu'.
(easy-menu-create-menu): New public function.  Replaces
`easy-menu-create-keymaps', but with large changes.
(easy-menu-button-prefix): New constant.
(easy-menu-do-add-item, easy-menu-make-symbol): New functions.
(easy-menu-update-button): Doc fix.
(easy-menu-change): New optional argument BEFORE.
Now just a call to `easy-menu-add-item'.
(easy-menu-add-item, easy-menu-item-present-p)
(easy-menu-remove-item): New public functions.
(easy-menu-get-map, easy-menu-is-button-p, easy-menu-have-button-p)
(easy-menu-real-binding, easy-menu-change-prefix, easy-menu-filter):
New functions.
1998-01-27 20:43:57 +00:00
Richard M. Stallman
b8ba68e52b (byte-optimize-form-code-walker): Fix previous change. 1998-01-26 10:29:25 +00:00
Richard M. Stallman
713ea1de58 Customized.
(displaying-byte-compile-warnings):
To avoid error, use (forward-line -1), not previous-line.
1998-01-26 10:28:01 +00:00
Richard M. Stallman
70b40ea144 (byte-compile-inline-expand): Use string-as-unibyte, if it is defined. 1998-01-26 09:48:21 +00:00
Richard M. Stallman
16c9c10f0f (define-compiler-macro): Handle empty arglist. 1998-01-22 02:26:48 +00:00
Richard M. Stallman
5428ee0299 (byte-optimize-form-code-walker):
If compiler-macroexpand is defined, use it.
1998-01-22 02:23:21 +00:00
Richard M. Stallman
09841f8db2 (tq-filter): Use with-current-buffer. 1998-01-21 05:26:11 +00:00
Dave Love
6e24ad221a (lm-get-package-name, lm-header,
lm-header-multiline, lm-summary, lm-version, lm-commentary):
Return string without properties.
(lm-get-header, lm-get-package-name, lm-crack-address,
lm-insert-at-column, lm-report-bug): Minor doc fixes.
1998-01-11 12:48:04 +00:00
Eric M. Ludlam
0a0a3dee18 Added some more comments in the commentary.
You can now `quote' symbols that look like keystrokes
When spell checking, meta variables can end in `th' or `s'.
1998-01-08 23:35:34 +00:00
Andreas Schwab
3d98a37401 (pp-to-string): Greatly simplify by letting the
Emacs printer do the (quote x) to 'x conversion.  Better handle
the # print syntax in all its forms.
1998-01-07 10:40:25 +00:00
Dave Love
c0b08eb017 Use imenu-case-fold-search. 1997-12-12 17:10:08 +00:00
Karl Heuer
98a602e358 (byte-optimize-lapcode): Correctly
distinguish byte-constant from operations on variables.
1997-12-04 05:58:56 +00:00
Karl Heuer
f9e899b67e (debug-on-entry): If definition is a symbol,
replace it with an equivalent lambda.
1997-12-04 04:46:09 +00:00
Karl Heuer
8c1cd093df (debugger-mode-hook): New user variable.
(debugger-env-macro): New general purpose macro for all debugger
functions; separated from `debugger-eval-expression'.
(debugger-eval-expression): Use `debugger-env-macro'.
(debugger-record-buffer): New variable.
(debugger-record-expression): New user function , key "R".
(debugger-mode): Now runs hook `debugger-mode-hook'.
1997-12-04 04:42:31 +00:00
Richard M. Stallman
7eb67d79ac (lisp-mode-auto-fill): New function.
(lisp-mode-variables): Bind normal-auto-fill-function.
1997-11-24 03:32:20 +00:00
Karl Heuer
79d137ffe7 (byte-optimize-concat): New function. 1997-11-03 03:58:23 +00:00
Dave Love
b07745ec41 (find-function, find-function-other-window, find-function-other-frame,
find-function-on-key): Add autoload cookies.
1997-10-25 13:32:06 +00:00
Dave Love
fffee8be90 Initial revision 1997-10-25 13:18:56 +00:00
Karl Heuer
b4d73c7126 picture.el no longer required.
(lm-insert-at-column): Use FORCE arg of move-to-column.
1997-10-23 06:40:32 +00:00
Karl Heuer
5b53132294 Initial revision 1997-10-16 23:21:13 +00:00
Karl Heuer
6392137fae (edebug-eval-mode): Nicer mode-name value. 1997-10-16 18:35:17 +00:00
Karl Heuer
7f0feddae2 (elint-check-defcustom-form): New function.
(elint-special-forms): Use it.
1997-10-02 02:47:57 +00:00
Richard M. Stallman
cafba8996c (lisp-imenu-generic-expression): Allow `/' in names. 1997-10-01 17:28:02 +00:00
Karl Heuer
b7797a3e84 (shadows-compare-text-p): Add.
(shadow-same-file-or-nonexistent): Add.
(find-emacs-lisp-shadows): Use directory-file-name.
1997-09-25 01:33:26 +00:00
Karl Heuer
cb5b843e72 (displaying-byte-compile-warnings): Show
entire "Compiling ..." line when recentering.
1997-09-25 01:10:01 +00:00
Richard M. Stallman
17b76fbd4c (edebug-enter): Save, and bind to nil,
overriding-local-map and overriding-terminal-local-map.
1997-09-15 03:29:47 +00:00
Richard M. Stallman
f4cf76d31f (cl-loop-let): Use last', not last*' 1997-09-13 18:49:49 +00:00
Richard M. Stallman
0aefe6ac88 (elisp-eval-buffer): New arg FILENAME is ignored. 1997-09-12 22:14:24 +00:00
Richard M. Stallman
c7387861c7 (debug): Allow recursive minibuffers if we're in a minibuffer already. 1997-09-12 20:57:17 +00:00
Richard M. Stallman
4b15e3acac (lisp-imenu-generic-expression): Recognizedefcustom' and defgroup". 1997-09-09 19:54:18 +00:00
Richard M. Stallman
ba6b3a2a59 (defun-prompt-regexp): Fix customize type. 1997-09-09 02:57:48 +00:00
Richard M. Stallman
582305b09b (regexp-opt): Doc fix. 1997-09-07 01:24:23 +00:00
Richard M. Stallman
adce3b5f3d (move-past-close-and-reindent):
Don't move closeparen back onto the end of a comment.
1997-09-07 01:12:07 +00:00
Richard M. Stallman
f070b8ae20 (easy-menu-create-keymaps):
If two distinct items have the same string, make different
keyx events for them.
1997-09-05 05:45:02 +00:00
Richard M. Stallman
36b7e5233a (byte-compile-output-file-form): Handle custom-declare-variable. 1997-08-31 17:07:28 +00:00
Richard M. Stallman
a9f8f395d5 (easy-menu-create-keymaps): If nil is
given as the enable condition, always disable the command.
1997-08-28 03:04:18 +00:00
Richard M. Stallman
f9efebcae0 (last*): Definition deleted. 1997-08-27 22:35:00 +00:00
Richard M. Stallman
37922e6ce5 (emacs-lisp-mode-syntax-table): Give formfeed whitespace syntax. 1997-08-26 18:13:31 +00:00
Richard M. Stallman
b87fe54b9f (cl-loop-let): Use last*. 1997-08-24 20:49:32 +00:00
Richard M. Stallman
329945b8d0 (last): Function renmed to last*. 1997-08-24 20:47:54 +00:00
Richard M. Stallman
2a21e93c91 (caar, cadr, cdar, cddr): Definitiosn deleted. 1997-08-23 18:53:50 +00:00
Richard M. Stallman
9ee65d3171 (update-file-autoloads):
Be careful about which directory to find loaddefs.el in.
1997-08-23 05:32:56 +00:00
Richard M. Stallman
c9411d2f03 (extent-properties, extent-at): New functions. 1997-08-13 19:39:39 +00:00
Richard M. Stallman
c27d895b27 (set-extent-property): Don't allow
multiple extents with a mouse-face property to run together.
1997-08-12 17:22:41 +00:00
Richard M. Stallman
0cdbb11dee (list-load-path-shadows): Exclude, from the path we search, all but
the first set of directories that include the standard Emacs Lisp files.
1997-08-12 05:30:47 +00:00
Richard M. Stallman
5017dcaa27 (find-emacs-lisp-shadows): Don't mention `subdirs.el'.
(list-load-path-shadows): When noninteractive, if there are shadows,
start with a message explaining what this is a problem.
1997-08-08 21:32:50 +00:00
Richard M. Stallman
020c356770 Initial revision 1997-08-07 17:25:43 +00:00
Roland McGrath
f0646ca0d4 (update-file-autoloads): Use anchored regexp search instead of requiring
leading newline before generate-autoload-cookie, which gave false negative
if sole cookie in file was at bob.
1997-08-07 15:53:39 +00:00
Richard M. Stallman
0ceb5fe0ef (update-autoloads-from-directories):
Don't process file names that start with `.'.
1997-08-05 17:16:00 +00:00
Richard M. Stallman
15b605aea8 (pp-to-string): Use emacs-lisp-mode-sytax-table. 1997-08-04 19:06:02 +00:00
Richard M. Stallman
666da7836b (make-autoload): For a defcustom,
generate custom-add-to-group and custom-add-load if needed.
1997-08-04 06:44:24 +00:00
Richard M. Stallman
5382dacc9b (copyright-regexp): Recognize @copyright{}. 1997-08-04 00:39:09 +00:00
Richard M. Stallman
0b596076e6 (copyright-regexp): Recognize the Latin-1 copyright symbol. 1997-08-04 00:37:04 +00:00
Richard M. Stallman
05e94d325c (eval-last-sexp): Ignore `...' around sexp. 1997-07-31 06:59:37 +00:00
Richard M. Stallman
0e193890cc (update-autoloads-from-directories):
Always update loaddefs.el in the source-directory.
1997-07-28 15:09:00 +00:00
Richard M. Stallman
b077f04568 (byte-compile-output-docform):
Bind print-gensym-alist; bind print-gensym to a cons cell.
1997-07-25 03:01:28 +00:00
Richard M. Stallman
2c9210580b (eql): byte-defop-compiler definition deleted. 1997-07-23 21:41:47 +00:00
Richard M. Stallman
284795f871 (condition-case): Fix edebug-form-spec to
allow a handler with a list of condition names.
1997-07-12 06:13:54 +00:00
Richard M. Stallman
b8ae93ada3 (char-after): Allow 0 args. 1997-07-10 10:55:23 +00:00
Noah Friedman
bc74e94e2b [top level]: Add up-list' and down-list' to eldoc-message-commands. 1997-07-09 12:44:15 +00:00
Simon Marshall
9b51ba9e8a simplify. 1997-06-27 07:22:37 +00:00
Richard M. Stallman
51eb91c27c (profile-million): Variable moved. 1997-06-23 19:12:42 +00:00
Richard M. Stallman
4d06d2bed2 (popup-menu): Redefine as macro.
(popup-menu-popup, popup-menu-internal): New function.
1997-06-23 02:56:03 +00:00
Richard M. Stallman
e555bfcb78 (lm-version, lm-last-modified-date):
Clean up strings that looked like RCS headers.
1997-06-23 02:09:46 +00:00
Richard M. Stallman
7f2b42a1f7 (edebug-version): Use the Emacs version. 1997-06-23 02:04:50 +00:00
Richard M. Stallman
1c57117e75 (byte-compile-file): Doc fix.
(batch-byte-compile-file): Return what byte-compile-file returns.
1997-06-22 23:08:47 +00:00
Richard M. Stallman
6b27974068 Initial revision 1997-06-22 20:08:32 +00:00
Richard M. Stallman
896546cd9b Add provide call. 1997-06-22 18:57:55 +00:00
Richard M. Stallman
5492ef3c71 (edebug-sit-for-seconds): New variable.
(edebug-display): Use that variable to control amt of time.
1997-06-22 05:01:30 +00:00
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