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
Karl Heuer
29b38361ea (get_perdisplay): Deleted.
(same_x_server): New function.
(x_term_init): If this display shares a keyboard with one we've
already opened, then share the structure.
(x_delete_display): Don't delete the kboard until the reference
count becomes zero.
1995-03-15 01:54:19 +00:00
Karl Heuer
73410c7662 (Fx_create_frame): set the frame's kboard member. 1995-03-15 01:53:17 +00:00
Karl Heuer
6909e850d2 (struct x_display_info): member kboard (formerly perdisplay) is now a pointer,
not an actual struct.
(get_perdisplay, get_perdisplay_macro): Deleted.
1995-03-15 01:53:00 +00:00
Karl Heuer
3246260470 (struct KBOARD, MULTI_KBOARD, current_kboard, all_kboards,
Lisp_Misc_Kboard_Objfwd, Lisp_Kboard_Objfwd, XKBOARD_OBJFWD, KBOARD_OBJFWDP,
GC_KBOARD_OBJFWDP, kboard_locked, the_only_kboard, DEFVAR_KBOARD): Renamed
from PERDISPLAY, MULTI_PERDISPLAY, current_perdisplay, all_perdisplays,
Lisp_Misc_Display_Objfwd, Lisp_Display_Objfwd, XDISPLAY_OBJFWD,
DISPLAY_OBJFWDP, GC_DISPLAY_OBJFWDP, display_locked, the_only_perdisplay,
DEFVAR_DISPLAY.  All uses changed.
(struct KBOARD): New member reference_count.
(initial_kboard): Declare this var.
1995-03-15 01:51:46 +00:00
Karl Heuer
c3ada74f78 (display_mode_line): Rename perdisplay to kboard. 1995-03-15 01:50:20 +00:00
Karl Heuer
fb917148ce (print): Rename perdisplay to kboard. 1995-03-15 01:49:59 +00:00
Karl Heuer
cd8b5aa348 Rename perdisplay to kboard. 1995-03-15 01:49:46 +00:00
Karl Heuer
92b618385e (read_minibuf): Rename perdisplay to kboard. 1995-03-15 01:48:41 +00:00
Karl Heuer
3d8585a136 (specbind): Rename perdisplay to kboard. 1995-03-15 01:48:03 +00:00
Karl Heuer
a037185782 (xkbobjfwd): Renamed from xdispobjfwd. 1995-03-15 01:47:43 +00:00
Karl Heuer
37ea66e171 (struct frame): New member kboard.
(FRAME_KBOARD): Accessor macro for that member, replacing get_perdisplay.
1995-03-15 01:45:04 +00:00
Richard M. Stallman
30e13e5624 (read_minibuf): Save Voverriding_local_map.
(read_minibuf_unwind): Restore Voverriding_local_map.
1995-03-14 21:15:08 +00:00
Richard M. Stallman
c63dc4a2d8 (Fdisplay_buffer): Fix prev change--return selected window. 1995-03-14 18:39:58 +00:00
Richard M. Stallman
3b9f7964e9 (Fash): Fix previous change. 1995-03-14 18:38:28 +00:00
Richard M. Stallman
9e552710cf (Fmake_indirect_buffer): Invert the arguments. 1995-03-14 05:54:51 +00:00
Richard M. Stallman
3686a8de27 (unchain_marker): Allow differing buffers
as long as they have the same text.
1995-03-14 05:45:39 +00:00
Karl Heuer
5798cf155e (event_to_perdisplay): New function.
(kbd_buffer_get_event): Use event_to_perdisplay.
(kbd_buffer_store_event): If C-g arrives while we're in the run state on
behalf of another display, just clear the queue and deposit the C-g to be read
later.
(read_key_sequence): After a throw, unwind delayed_switch_frame as well as
keybuf.  Don't insert an extra switch-frame if empty.
1995-03-14 04:25:37 +00:00
Richard M. Stallman
85b2e0ee88 (unexec): Adjust the file offset of sections located
after the section header table.
1995-03-13 23:12:41 +00:00
Karl Heuer
7ae137a96f (print): current_perdisplay now is never null. 1995-03-13 21:49:49 +00:00
Karl Heuer
1cb0ddb988 (Fexecute_kbd_macro): current_perdisplay now is never null. 1995-03-13 21:49:34 +00:00
Karl Heuer
7f78e619ab (clear_prefix_arg): current_perdisplay now is never null. 1995-03-13 21:49:17 +00:00
Karl Heuer
df0f2ba104 (unlock_display): current_perdisplay now is never null.
(cmd_error, command_loop_1, read_char): Likewise.
(kbd_buffer_get_event, read_key_sequence): Likewise.
(read_char): Handle synchronous quit_char on a different display.
(read_char): Rewrite queue-searching code.
(read_key_sequence): Save selected_frame.
(init_keyboard): Initialize current_perdisplay.
1995-03-13 03:09:40 +00:00
Richard M. Stallman
3d31316fe5 (parse_modifiers_uncached): Delete the code for
multi-character modifiers and for recognizing a modifier alone.
(parse_solitary_modifier): New function.
(convert_event_type_list): Use parse_solitary_modifier.
Also convert symbol A to character A.
Handle shift modifier with lower-case letters.
1995-03-12 21:30:35 +00:00
Richard M. Stallman
3cb719bd3b (reset_buffer_local_variables): Init invisibility.
(init_buffer_once): Set up buffer_local_flags for it.
(syms_of_buffer): New variable `buffer-invisibility-spec'.
1995-03-11 22:36:29 +00:00
Richard M. Stallman
4abe97d9b4 (struct buffer): New field `invisibility_spec'. 1995-03-11 22:35:30 +00:00
Richard M. Stallman
642eefc6e6 (display_text_line): When setting selective_rlen,
ignore whether selective display is on or off.

(display_text_line, try_window): Check `invisible' prop
using TEXT_PROP_MEANS_INVISIBLE.
(display_text_line): Check TEXT_PROP_MEANS_INVISIBLE_WITH_ELLIPSIS;
if it says so, use ellipses after invisible text.
(invisible_p, invisible_ellipsis_p): New functions.
1995-03-11 22:34:35 +00:00
Richard M. Stallman
66c75ca5f0 (compute_motion): Call recenter_overlay_lists sooner.
Use Fnext_property_change to get a quick lower bound for
where `invisible' changes.

(compute_motion, vmotion): Check `invisible' prop
using TEXT_PROP_MEANS_INVISIBLE.
1995-03-11 22:32:17 +00:00
Richard M. Stallman
47b4c04d08 (TEXT_PROP_MEANS_INVISIBLE): New macro.
(TEXT_PROP_MEANS_INVISIBLE_WITH_ELLIPSIS): New macro.
1995-03-11 22:30:33 +00:00
Richard M. Stallman
041aa96f12 (Fnext_property_change): Handle LIMIT = t. 1995-03-11 22:03:27 +00:00
Richard M. Stallman
855d862724 (Vsame_window_buffer_names, Vsame_window_regexps): New vars.
(syms_of_window): Set up Lisp vars.
(Fdisplay_buffer): Use those vars--if requested, use current window.
1995-03-11 04:40:18 +00:00
Richard M. Stallman
3d9652eb15 (Fash, Flsh): Change arg names. 1995-03-11 00:50:20 +00:00
Richard M. Stallman
b7e6e61235 (Fforward_comment): Always clear immediate_quit for return. 1995-03-09 02:58:36 +00:00
Karl Heuer
30bef8ec51 (read_input_waiting): Fix Lisp_Object vs. int problem. 1995-03-08 22:49:11 +00:00
Karl Heuer
4524b161f6 (unlock_display): If adding to kbd_queue, set kbd_queue_has_data.
(read_char): Set and clear kbd_queue_has_data appropriately, but
leave it unset when we push back an incomplete sequence.
(read_char): Take the longjmp even if current_perdisplay was null.
(readable_events): Check kbd_queue_has_data instead of kbd_queue.
(init_perdisplay): Initialize kbd_queue_has_data.
1995-03-08 05:50:47 +00:00
Karl Heuer
6c9f24d901 (struct PERDISPLAY): New member kbd_queue_has_data. 1995-03-08 05:50:24 +00:00
Karl Heuer
486a2d0964 Declare new var and functions. 1995-03-08 03:33:23 +00:00
Karl Heuer
1cf9cfc663 (current_prefix_partial): New var.
(Funiversal_argument): New function, formerly inlined in keyboard.c.
(Fnegative_argument, Fdigit_argument): Likewise.
(clear_prefix_arg): Moved here from keyboard.c.
Don't clear the internal state if we're still building a prefix arg.
(finalize_prefix_arg, describe_prefix_arg): Moved from keyboard.c.
(syms_of_callint): defsubr the new lisp-callable functions.
1995-03-08 03:32:30 +00:00
Karl Heuer
5169b66ddc Moved clear_prefix_arg, finalize_prefix_arg, describe_prefix_arg to callint.c.
(command_loop_1): Removed inline code for prefix args.
1995-03-08 03:31:18 +00:00
Karl Heuer
b2ca5e69c8 (init_perdisplay): Initialize Vlast_kbd_macro. 1995-03-08 01:26:16 +00:00
Karl Heuer
a1a61f977d (mark_perdisplays): Mark Vlast_kbd_macro. 1995-03-08 01:25:19 +00:00
Karl Heuer
9e1ffae242 (Fstart_kbd_macro): Access Vlast_kbd_macro via perdisplay.
(Fend_kbd_macro, Fcall_last_kbd_macro): Likewise.
(init_macros): Delete initialization.
(syms_of_macros): Use DEFVAR_DISPLAY for Vlast_kbd_macro.
Doc fix for executing-macro, executing-kbd-macro, last-kbd-macro.
1995-03-08 01:25:04 +00:00
Karl Heuer
603aaedc7b (struct PERDISPLAY): New member Vlast_kbd_macro. 1995-03-08 01:24:14 +00:00
Karl Heuer
a9f16aa986 (cmd_error): Bind Vprint_level and Vprint_length. 1995-03-08 00:45:37 +00:00
Karl Heuer
c4288b3aed (command_loop_1): Fix test for prefix arg. 1995-03-07 04:57:02 +00:00
Boris Goldowsky
70743ff117 (textget): Check default_properties vbl too. 1995-03-06 15:43:56 +00:00
Boris Goldowsky
883b5fa175 Declare Vdefault_properties. 1995-03-06 15:43:56 +00:00
Boris Goldowsky
c7dd82a34d (Vdefault_properties): New vbl. 1995-03-06 15:43:56 +00:00
Richard M. Stallman
f48f33caa6 (x_connection_closed): Ignore non-X frames.
Fix the logic for deleting frames that use separate minibuffers
that are on the dead connection.
1995-03-06 04:35:33 +00:00
Richard M. Stallman
829782956e (defined_color): If colormap is full, find closest match. 1995-03-06 04:33:56 +00:00
Richard M. Stallman
a992f9d90e (load_color): Call defined_color to allocate the color. 1995-03-06 04:32:25 +00:00