Karl Heuer [Wed, 8 Feb 1995 00:45:16 +0000 (00:45 +0000)]
(message_log_check_duplicate): New function.
(message_dolog): Delete previous line if the new one is a duplicate. Include
a counter if appropriate.
Don't bother truncating the buffer until after adding newline.
Karl Heuer [Tue, 7 Feb 1995 02:07:03 +0000 (02:07 +0000)]
(internal_last_event_frame, Vlast_event_frame): Deleted; now part of
perdisplay. All uses changed.
(MOUSE_ACTIVITY_AVAILABLE) Deleted.
(find_active_event_queue): New arg check_mouse. All callers changed.
(Vlast_event_frame): Change from DEFVAR_LISP to DEFVAR_DISPLAY.
Karl Heuer [Tue, 7 Feb 1995 01:04:46 +0000 (01:04 +0000)]
(struct PERDISPLAY): Add Vlast_event_frame.
Define internal_last_event_frame only #if MULTI_FRAME.
Add placeholders so we don't need to rebuild every time this struct changes.
Richard M. Stallman [Mon, 6 Feb 1995 22:53:58 +0000 (22:53 +0000)]
(x_get_foreign_selection, x_reply_selection_request):
Use an unwind-protect to call x_stop_queuing_selection_requests.
(some_frame_on_display): New function.
(queue_selection_requests_unwind): New function.
Richard M. Stallman [Mon, 6 Feb 1995 22:52:25 +0000 (22:52 +0000)]
(emacs_blocked_malloc): Set __malloc_extra_blocks here.
(malloc_hysteresis): New variable.
(init_alloc_once): Initialize malloc_hysteresis.
(buffer_memory_full): New function.
(refill_memory_reserve): New function.
(SPARE_MEMORY): New macro.
(emacs_blocked_free): If no spare_memory now, and enough free
space is available, get a new spare.
(__malloc_size_t, _bytes_used): Declared.
(bytes_used_when_full): New variable.
Richard M. Stallman [Mon, 6 Feb 1995 03:26:35 +0000 (03:26 +0000)]
(texinfo-environment-regexp): Match @menu and
@titlepage --- they require @ends. Don't match @defunx commands; they don't.
(texinfo-insert-@end): Don't put a command name after the @end
if we ran off the top of the buffer looking for its mate.
Richard M. Stallman [Sun, 5 Feb 1995 08:52:26 +0000 (08:52 +0000)]
(Fdelete_window, set_window_height, set_window_width)
(Fsplit_window, Fset_window_configuration): Set
FRAME_WINDOW_SIZES_CHANGED to 1 in the frame being changed.
Richard M. Stallman [Sun, 5 Feb 1995 02:46:34 +0000 (02:46 +0000)]
(rmail-summary-next-same-subject): New command.
(rmail-summary-previous-same-subject): Likewise.
(rmail-summary-mode-map): Add bindings for C-c C-n and C-c C-p.
Richard M. Stallman [Sun, 5 Feb 1995 00:25:16 +0000 (00:25 +0000)]
Changes to support filenames as tags too and provided
a drop-in replacement for list-tags.
(find-tag-noselect): Recognize filenames as valid tags too.
(find-tag-file-order): New variable holds function to check for match
for a file name used as a tag.
(last-tag-file): New variable; stores the filename looked for via
find-tag family of functions.
(find-tag-in-order): If the tag is a file name, position at file beg.
(etags-recognize-tags-table): Added new var find-tag-file-order to
tags-table-format variables. Added tag-filename-match-p to the
list for find-tag-tag-order.
(tag-filename-match-p): New function.
(list-tags): Rewritten for speed.
(tags-list-functions-in-file): New subroutine for list-tags.
(tags-locate-file-in-tags-table): New function locates a
file in `tags-table-list'.
Karl Heuer [Sat, 4 Feb 1995 01:11:55 +0000 (01:11 +0000)]
(syms_of_keyboard): Move DEFVAR_DISPLAY's here from callint.c.
[MULTI_PERDISPLAY] (current_perdisplay): New var.
(find_active_event_queue): Search all perdisplays.
(init_perdisplay, wipe_perdisplay): New functions.
(init_keyboard): Move perdisplay initialization to init_perdisplay.
(syms_of_keyboard): Likewise.
(echo_prompt, echo_char, echo_dash, echo, cancel_echoing, echo_length)
(read_char, Fdiscard_input, stuff_buffered_input): Use current_perdisplay,
not get_perdisplay.
Richard M. Stallman [Thu, 2 Feb 1995 23:04:54 +0000 (23:04 +0000)]
Don't use cl. Eliminate use of when, unless,
dotimes, plusp, minusp, pusnhew, second.
(completion-dolist): New macro. Use instead of dolist.
(completion-gensym-counter, completion-gensym): New variable and fn.
(locate-completion-entry-retry): Bind cmpl-entry, then use it.
(locate-completion-entry): Use completion-string, not string.
(add-completion-to-head, delete-completion):
Rename arg to completion-string.
(completions-list-return-value): Defvar'd and renamed
from return-completions.
(cmpl-preceding-syntax, cdabbrev-stop-point): Add defvars.
(delete-completion, check-completion-length): Fix message format.
(complete, add-completions-from-buffer, add-completions-from-c-buffer)
(save-completions-to-file): Likewise.
Karl Heuer [Wed, 1 Feb 1995 22:18:21 +0000 (22:18 +0000)]
(cmd_error): Clear prefix arg here.
(command_loop_1): Not here.
(command_loop_1): Save original perdisplay in case we're already locked to a
particular display.
Move display-specific cleanup to end of main loop.
Use perdisplay to access prefix arg.
(Fcommand_execute, Fexecute_extended_command): Use perdisplay.
Karl Heuer [Wed, 1 Feb 1995 02:35:54 +0000 (02:35 +0000)]
(Fcall_interactively): Use perdisplay.
(Vprefix_arg, Vcurrent_prefix_arg): Delete vars; now in perdisplay.
(syms_of_callint): Use DEFVAR_DISPLAY for prefix-arg and current-prefix-arg.
Karl Heuer [Tue, 31 Jan 1995 01:53:55 +0000 (01:53 +0000)]
[MULTI_PERDISPLAY] (get_perdisplay): Define this as a macro, for sources that
include this header.
[MULTI_PERDISPLAY] (get_perdisplay_macro): Internal macro version.
Karl Heuer [Mon, 30 Jan 1995 22:39:20 +0000 (22:39 +0000)]
(x-create-frame-with-faces): Assume cursor-color, mouse-color, and
border-color are okay as specified unless they are the same as the new
background color.