1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-27 07:41:28 -08:00
Commit graph

4760 commits

Author SHA1 Message Date
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
Richard M. Stallman
f4c8ded2b0 (Fcall_interactively): Fix Feb 22 change. 1995-03-06 04:17:49 +00:00
Richard M. Stallman
7c2087eea5 (Fpop_to_buffer): Call Fset_buffer_major_mode if we create a buffer. 1995-03-06 04:15:23 +00:00
Richard M. Stallman
a6e0153c17 (read_key_sequence): Update orig_local_map
for some additional gotos to replay_sequence.
1995-03-03 10:32:07 +00:00
Richard M. Stallman
dfc21838c0 (exec_sentinel, read_process_output): If running filter
or sentinel changes the local map, call record_asynch_buffer_change.
1995-03-03 10:31:49 +00:00
Karl Heuer
a9cc8174a2 (display_mode_line): Temporarily set current_perdisplay to reference the frame
we're updating.
1995-03-03 06:41:20 +00:00
Karl Heuer
8b97da83a7 (defining_kbd_macro): Delete; now part of perdisplay. All uses changed.
(kbd_macro_buffer, kbd_macro_ptr, kbd_macro_end): Likewise.
(kbd_macro_bufsize): Likewise.
(Fstart_kbd_macro): Initialize kbd_macro_buffer if not already done.
(init_macros): Delete initialization of defining_kbd_macro.
(syms_of_macros): Delete initialization of kbd_macro_buffer.
1995-03-03 05:02:50 +00:00
Karl Heuer
834ec2768c (defining_kbd_macro): Delete declaration. 1995-03-03 05:02:29 +00:00
Karl Heuer
67f0e52875 (struct PERDISPLAY): New members defining_kbd_macro, kbd_macro_buffer,
kbd_macro_ptr, kbd_macro_end, kbd_macro_bufsize.
1995-03-03 05:02:06 +00:00
Karl Heuer
8066f1a1d1 (read_char_minibuf_menu_prompt): orig_defn_macro is now Lisp_Object, not int.
(init_perdisplay): Initialize some of the new members.
(wipe_perdisplay): Free kbd_macro_buffer.
1995-03-03 05:01:27 +00:00
Karl Heuer
217e16c10f (cmd_error): Allow current_perdisplay to be null. 1995-03-03 02:08:49 +00:00
Karl Heuer
44820cc38c (Fcall_interactively): Disallow switch-frame events when reading k' or K'
specification.
1995-03-03 01:51:09 +00:00
Karl Heuer
ce98e6086f (read_key_sequence): New arg can_return_switch_frame. All callers changed.
(Fread_key_sequence): Likewise.
1995-03-03 01:50:42 +00:00
Richard M. Stallman
9f232a5df0 (syms_of_emacs): Doc fix. 1995-03-02 19:37:37 +00:00
Boris Goldowsky
2e16553ccc (use_hard_newlines): Variable definition moved to paragraphs.el.
(newline): Function moved to simple.el.
(internal_self_insert): Insert newline BEFORE calling
auto-fill-function, so centering & right-justify can work.
1995-03-01 15:29:37 +00:00
Karl Heuer
4c52b66830 (cmd_error): Use clear_prefix_arg.
(internal_last_event_frame, Vlast_event_frame): Normal vars again.
All uses changed.
(Quniversal_argument, Qdigit_argument, Qnegative_argument): Declare.
(clear_prefix_arg, finalize_prefix_arg, describe_prefix_arg): New fns.
(command_loop_1): Handle digits and minus specially, when they're
part of a prefix arg.
Handle universal-argument and digit-argument and negative-argument
bindings here, rather than doing I/O in the Lisp code.
(read_char): When reading switch-frame events from the side queue,
set internal_last_event_frame.
(readable_events): Return non-zero if a side queue has data.
(kbd_buffer_get_event): Don't abort if event has no associated frame.
(read_key_sequence): Improve behavior when there's no current display.
(init_perdisplay): Initialize the new members.
1995-03-01 04:27:37 +00:00
Karl Heuer
400b2c6982 (struct PERDISPLAY): Add prefix_factor, prefix_value, prefix_sign,
prefix_partial.  Delete Vcurrent_prefix_arg and Vprefix_arg; those are now
plain vars again.
1995-03-01 03:45:45 +00:00
Karl Heuer
ee9e37ab2b (read_minibuf, read_minibuf_unwind): Undo Jan 31 change. 1995-03-01 03:44:26 +00:00
Karl Heuer
4a7bcf34e1 (Fml_provide_prefix_argument, Fml_prefix_argument_loop): Undo Jan 31 change. 1995-03-01 03:44:15 +00:00
Karl Heuer
8c917bf29e (Fcall_interactively, syms_of_callint, Vprefix_arg, Vcurrent_prefix_arg): Undo
Jan 31 change.
1995-03-01 03:44:02 +00:00
Karl Heuer
f1cbbff5d2 (Fexecute_kbd_macro): Use clear_prefix_arg. 1995-03-01 03:43:41 +00:00
Karl Heuer
4cb7d26779 (mark_perdisplays): Update to reflect current Lisp_Objects.
(NSTATICS): Increase to 768.
1995-03-01 03:43:05 +00:00
Karl Heuer
ef352596ca (do_switch_frame): Undo Feb 6 change. 1995-02-28 23:36:53 +00:00
Richard M. Stallman
e6b27a8f0a (Fframep): Doc fix. 1995-02-28 17:56:47 +00:00