1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-19 01:10:57 -08:00
Commit graph

10633 commits

Author SHA1 Message Date
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
Richard M. Stallman
1c738407e3 (ecrt0.o): Target renamed from crt0.o.
(START_FILES): Use ecrt0.o.
1995-01-28 08:38:44 +00:00
Karl Heuer
3ac613c140 (print): Handle internal display-local object. 1995-01-28 04:15:03 +00:00
Karl Heuer
cd39e9464a (xdispobjfwd): New macro. 1995-01-28 03:59:42 +00:00
Karl Heuer
4bab50bd79 (mark_object): Ignore Lisp_Misc_Display_Objfwd objects. 1995-01-28 03:51:55 +00:00
Karl Heuer
f334de0e0a (enum Lisp_Misc_Type): New enumeration Lisp_Misc_Display_Local.
(struct Lisp_Display_Objfwd): New structure.
(XDISPLAY_OBJFWD, DISPLAY_OBJFWDP): Access the new structure.
(union Lisp_Misc): Add new member.
1995-01-28 03:39:17 +00:00
Karl Heuer
ba72822c1d * keyboard.c (kbd_buffer_frame_or_window): Delete; now in perdisplay.
(immediate_echo, echobuf, echoptr, echo_after_prompt): Likewise.
(echo_prompt, echo_char, echo_dash): use perdisplay and ECHOBUFSIZE.
(echo, cancel_echoing, echo_length, echo_truncate): Likewise.
(read_char, kbd_buffer_store_event, kbd_buffer_get_event): Likewise.
(Fdiscard_input, stuff_buffered_input): Likewise.
(init_keyboard, syms_of_keyboard): Likewise.
1995-01-28 03:05:45 +00:00
Karl Heuer
329d527986 (ECHOBUFSIZE): New constant, replaces sizeof (echobuf). 1995-01-28 02:51:29 +00:00
Karl Heuer
b408f510de (PERDISPLAY, the_only_perdisplay, get_perdisplay):
Renamed from PERD, etc.  All uses changed.
1995-01-28 01:43:53 +00:00
Karl Heuer
b2d11490c7 (struct x_display_info): Rename display_perd to perdisplay. 1995-01-28 01:41:07 +00:00
Karl Heuer
aee72e4fb5 (printchar, strout): Use message_log_maybe_newline.
Leave all of the newline bookkeeping to message_dolog.
1995-01-27 19:30:46 +00:00
Karl Heuer
3c6595e0b2 (message_log_need_newline): This var is now static.
(message_dolog): Set message_log_need_newline appropriately.
Don't change it at all if message logging is currently disabled.
(message_log_maybe_newline): New function.
(message2): Use message_log_maybe_newline.
1995-01-27 19:27:07 +00:00
Karl Heuer
eaecdb8162 Declare message_log_maybe_newline. 1995-01-27 19:16:50 +00:00