Roland McGrath [Thu, 6 Jan 1994 15:25:19 +0000 (15:25 +0000)]
(compilation-buffer-p): Move defsubst before all callers.
(compilation-forget-errors): Reset compilation-parsing-end to 1 here.
(compile-reinitialize-errors): Don't reset compilation-parsing-end after
calling compilation-forget-errors.
Comment out gratuitous switch-to-buffer call; what was the rationale for it?
Don't check compilation-parsing-end (removed local AT-START); instead
always append to compilation-old-error-list, it will be nil if at start.
If compilation-error-list is non-nil before calling the parser, restore its
previous value afterwards; it still indicates the current error position.
Subtract the length of the existing compilation-error-list from
FIND-AT-LEAST when calling the parser.
(compilation-parse-errors): Don't check LIMIT-SEARCH at end of loop.
Inside check it inside each case of the cond; in error case we must discard
the last new error before stopping (just as for FIND-AT-LEAST).
Use floating-point in buffer percentage calculation, to avoid integer
overflow.
Richard M. Stallman [Thu, 6 Jan 1994 11:34:51 +0000 (11:34 +0000)]
(desktop-buffer-mh): New function for mh mail system.
(desktop-buffer-handlers): Add desktop-buffer-mh.
(desktop-buffer): Correct setting of auto-fill-mode.
Make the compilation silent using (eval-when-compile ...)
(old-kill-emacs): New explicit variable (for Emacs 18 comp.)
(desktop-globals-to-save): Add the history rings for interactive searches.
(postv18): Remove.
(desktop-create-buffer-form): New variable.
(desktop-save): Use desktop-create-buffer-form.
(desktop-value-to-string): New function.
(desktop-outvar): Clean-up using desktop-value-to-string.
(desktop-save): clean-up Using desktop-value-to-string.
(desktop-save): Decide Emacs version at compile time.
(desktop-locals-to-save): New variable.
(desktop-truncate): New function.
Richard M. Stallman [Thu, 6 Jan 1994 09:24:30 +0000 (09:24 +0000)]
(display-time-file-nonempty-p): Check existence here.
(display-time-server-down-time): New variable.
(display-time-filter): If accessing mail-spool-time takes too long,
don't try again for twenty minutes.
Richard M. Stallman [Sun, 2 Jan 1994 19:01:15 +0000 (19:01 +0000)]
(rotate_right, rotate_left): Simplify
total_length calculation. Minimize pointer dereferencing.
(balance_an_interval): Remove recursive rebalancing.
Rebalance precisely when imbalanced. If a rotation is done,
rebalance only the node which may have become unbalanced.
Iterate until the current node is balanced.
(balance_possible_root_interval): New function.
(balance_intervals): Move the interation into rebalance_an_interval.
(balance_intervals_internal): New subroutine of balance_intervals.
(split_interval_right, split_interval_left): Speed up by
not checking LEAF_INTERVAL_P.
(split_interval_right, split_interval_left, find_interval,
adjust_intervals_for_insertion, graft_intervals_into_buffer):
Add dynamic rebalancing anywhere a node may become unbalanced.
(graft_intervals_into_buffer, copy_intervals): No longer
any need to do a full rebalance as the tree stays balanced.
Richard M. Stallman [Sun, 2 Jan 1994 18:41:29 +0000 (18:41 +0000)]
(ALL_CFLAGS): Include LDFLAGS.
Use ALL_CFLAGS in all the rules that compile and link with one cmd.
(LINK_CFLAGS): New variable.
(timer): Use LINK_CFLAGS.
Richard M. Stallman [Sat, 1 Jan 1994 17:32:23 +0000 (17:32 +0000)]
(bibtex-field-name, bibtex-field-const, bibtex-field-text):
Adapted to Emacs 19 regex rules.
(bibtex-reference): Removed one set of parentheses (a workaround).
Richard M. Stallman [Fri, 31 Dec 1993 15:04:23 +0000 (15:04 +0000)]
(query-replace-highlight): New variable.
(replace-overlay): New variable.
(replace-highlight, replace-dehighlight): New functions.
(perform-replace): Use them.
Richard M. Stallman [Fri, 31 Dec 1993 12:56:41 +0000 (12:56 +0000)]
(Finsert_file_contents): Don't run after change hook
if inserted is 0. New local `handled', set if run handler.
Avoid setting modtime field if ran a handler.
Richard M. Stallman [Thu, 30 Dec 1993 11:56:19 +0000 (11:56 +0000)]
(icomplete-pre-command-hook): Reconciled with keyboard macro operation.
(icomplete-post-command-hook): Likewise.
(window-minibuffer-p): Cleaned up according to suggestion from
Richard Mlynarik.
General rectification of doc strings and comments.