Karl Heuer
ff6c30e51e
(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.
1995-02-08 00:45:16 +00:00
Richard M. Stallman
40d4f149c6
(maintainer-clean): Renamed from realclean.
...
Print warning message.
1995-02-07 23:54:00 +00:00
Richard M. Stallman
719b242f86
(r_alloc_size_in_use): New function.
...
(r_alloc_free): Call refill_memory_reserve.
1995-02-07 22:43:23 +00:00
Karl Heuer
40f239ee68
(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.
1995-02-07 02:07:03 +00:00
Karl Heuer
4299da2a85
(do_switch_frame): internal_last_event_frame is now in perdisplay.
1995-02-07 01:06:49 +00:00
Karl Heuer
e6beaa77ad
(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.
1995-02-07 01:04:46 +00:00
Richard M. Stallman
55b2d45daa
(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.
1995-02-06 22:53:58 +00:00
Richard M. Stallman
276cbe5a5f
(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.
(syms_of_alloc): Improve memory exhausted error message.
(init_alloc_once): Allocate spare_memory.
(memory_full): Free spare_memory.
1995-02-06 22:52:25 +00:00
Richard M. Stallman
81841847d1
(Fget_buffer_create): Call buffer_memory_full.
1995-02-05 08:58:27 +00:00
Richard M. Stallman
08b610e4dc
(Vwindow_size_change_functions): New variable.
...
(prepare_menu_bars): Call those functions. Add gcproing.
(syms_of_xdisp): Set up Lisp variable.
1995-02-05 08:52:52 +00:00
Richard M. Stallman
29aeee7368
(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.
1995-02-05 08:52:26 +00:00
Richard M. Stallman
adc12f0fcf
(struct frame): New field window_sizes_changed.
...
(FRAME_WINDOW_SIZES_CHANGED): New macro (two definitions).
1995-02-05 08:52:03 +00:00
Richard M. Stallman
0f6e129e26
(main): Undo previous change.
1995-02-05 08:49:14 +00:00
Karl Heuer
143e20ceb1
(cmd_error): Cancel echoing here.
...
(command_loop_1): Not here.
1995-02-04 01:46:56 +00:00
Karl Heuer
a2b20856f9
[MULTI_PERDISPLAY] (all_perdisplays): New var.
1995-02-04 01:31:01 +00:00
Karl Heuer
6c6083a932
(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.
1995-02-04 01:11:55 +00:00
Karl Heuer
eebf4ec9ce
(syms_of_callint): Move DEFVAR_DISPLAY's to keyboard.c.
1995-02-04 00:31:13 +00:00
Karl Heuer
b9737ad379
[MULTI_PERDISPLAY] (x_term_init): Initialize perdisplay.
...
[MULTI_PERDISPLAY] (x_delete_display): Destroy perdisplay.
(x_delete_display): Use xfree, not free.
1995-02-04 00:12:17 +00:00
Karl Heuer
bc9e300ca4
(print): Use current_perdisplay, not get_perdisplay.
1995-02-03 23:40:57 +00:00
Karl Heuer
09a9ec31b6
(defvar_display): Don't staticpro; these objects are now protected through
...
mark_perdisplays.
1995-02-03 23:27:14 +00:00
Karl Heuer
084b1a0c7d
(mark_perdisplays): New function.
...
(Fgarbage_collect): Call it.
1995-02-03 23:23:34 +00:00
Karl Heuer
a2d3b8ba7c
(all_perdisplays): New var.
...
(struct PERDISPLAY): New member next_perdisplay.
1995-02-03 22:21:07 +00:00
Karl Heuer
4dc85e8910
(defvar_display): Declare this function.
1995-02-03 21:13:01 +00:00
Karl Heuer
38341c5fd5
(DEFVAR_DISPLAY): Use current_perdisplay, not get_perdisplay.
1995-02-03 21:10:39 +00:00
Karl Heuer
31c45e79a1
(do_symval_forwarding): Use current_perdisplay, not get_perdisplay.
...
(store_symval_forwarding, find_symbol_value): Likewise.
1995-02-03 21:04:33 +00:00
Richard M. Stallman
2b050fec1e
(display_text_line): Deduct minibuf prompt from taboffset.
...
(try_window): Deduct minibuf prompt from tab_offset, after 1st line.
1995-02-03 10:25:44 +00:00
Richard M. Stallman
4581e9282b
(kbd_buffer_get_event, swallow_events): Remove selection_request event
...
from input queue before processing it.
1995-02-02 18:55:39 +00:00
Richard M. Stallman
db3906fd07
(x_unqueue_events): Arg is now a Display *.
...
(x_start_queuing_selection_requests): Likewise.
(x_stop_queuing_selection_requests): Likewise.
1995-02-02 18:54:47 +00:00
Richard M. Stallman
afe1529d6f
(wait_for_property_change): Avoid unlikely timing error.
...
(x_get_foreign_selection): Pass display to
x_start_queueing_selection_events and x_stop_queueing_selection_events.
(x_reply_selection_request): Call x_start_queueing_selection_events
and x_stop_queueing_selection_events. Handle X protocol errors.
1995-02-02 18:49:38 +00:00
Karl Heuer
f5ba00909f
(Fexecute_kbd_macro): Clear prefix arg here, not in command_loop_1.
1995-02-01 22:33:11 +00:00
Karl Heuer
ff4b06d3e9
(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.
1995-02-01 22:18:21 +00:00
Karl Heuer
b498c415e0
(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.
1995-02-01 02:35:54 +00:00
Karl Heuer
4e6a91e7d4
(read_minibuf, read_minibuf_unwind): Use perdisplay.
1995-02-01 02:33:04 +00:00
Karl Heuer
e17cb81b36
(Fml_provide_prefix_argument, Fml_prefix_argument_loop): Use perdisplay.
1995-02-01 02:30:43 +00:00
Karl Heuer
e07d7a05dd
(current_perdisplay): New var.
...
(DEFVAR_DISPLAY): Add missing ampersand.
(Vprefix_arg, Vcurrent_prefix_arg): Delete; now in perdisplay.
1995-02-01 02:27:46 +00:00
Karl Heuer
576a945c45
[!MULTI_PERDISPLAY] (defvar_display): Use staticpro.
1995-01-31 22:32:35 +00:00
Richard M. Stallman
5de41b1dfe
Fix previous change.
1995-01-31 20:16:07 +00:00
Richard M. Stallman
59f970afba
(main) [REL_ALLOC]: Set __malloc_extra_blocks.
1995-01-31 20:10:07 +00:00
Richard M. Stallman
5e05d0a567
(syms_of_buffer): overwrite-mode doc fix.
1995-01-31 04:55:29 +00:00
Karl Heuer
0d8b7055ea
[MULTI_PERDISPLAY] (get_perdisplay): Define this as a macro, for sources that
...
include this header.
[MULTI_PERDISPLAY] (get_perdisplay_macro): Internal macro version.
1995-01-31 01:53:55 +00:00
Karl Heuer
a1b7a2ab66
[MULTI_PERDISPLAY] (get_perdisplay): Define this as an exported function.
1995-01-31 01:53:12 +00:00
Karl Heuer
e1e81fd6b3
[MULTI_PERDISPLAY]: Declare get_perdisplay as a function.
1995-01-31 01:52:22 +00:00
Karl Heuer
3abccc4b18
(DEFVAR_DISPLAY): New macro.
1995-01-31 01:26:37 +00:00
Karl Heuer
950c215d92
(defvar_display): New function.
1995-01-31 01:26:09 +00:00
Karl Heuer
7403b5c85e
(do_symval_forwarding): Handle display-local vars.
...
(store_symval_forwarding, find_symbol_value): Likewise.
(Fmake_variable_buffer_local): Disallow display-local vars here.
(Fmake_local_variable): Likewise.
1995-01-31 00:52:50 +00:00
Karl Heuer
3826f22c3a
(specbind): Handle display-local vars.
...
Move decl of store_symval_forwarding to lisp.h.
1995-01-31 00:36:08 +00:00
Karl Heuer
7751ddd787
Declare store_symval_forwarding here.
1995-01-31 00:35:14 +00:00
Karl Heuer
9d9f56ddbf
(syms_of_keyboard): Fix missing backslashes.
1995-01-31 00:02:47 +00:00
Richard M. Stallman
80896ab486
(Fcall_interactively): Pass new arg to Fread_string.
1995-01-30 00:41:51 +00:00
Richard M. Stallman
0fb5a19cb5
(Frassoc): New function.
...
(syms_of_fns): defsubr it.
1995-01-29 22:04:10 +00:00