1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-11 22:11:21 -08:00
Commit graph

4720 commits

Author SHA1 Message Date
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
Jim Meyering
6c3fe73934 (SET_REGS_MATCHED): Enclose if-stmt in `do {...} while(0)'
instead of using trailing `else' -- otherwise, gcc -Wall complains
of `empty body in an else-statement'.
1995-02-28 13:46:40 +00:00
Karl Heuer
887e0cbab7 (Fcall_interactively): Lock the display before executing the command, no
matter how we execute it.
1995-02-28 05:26:35 +00:00
Richard M. Stallman
6da3dd3a4e (convert_event_type_list): New function.
(lucid_event_type_list_p): New function.
(parse_modifiers_uncached): If MODIFIERS_END is -1,
look for just a modifier.  Guts rewritten.
1995-02-26 22:31:45 +00:00
Richard M. Stallman
f09bc92464 (Fdefine_key): Handle Lucid-style (crtl backspace) etc.
(Flookup_key): Likewise.
1995-02-26 21:04:52 +00:00
Richard M. Stallman
39eaa78275 (Fcall_process): Extend BUFFER arg so it can specify
a separate output file for stderr output.
(Fcall_process_region): Doc fix.
1995-02-26 07:58:52 +00:00
Richard M. Stallman
ac8f8f7d8c (Fx_popup_menu): Init f from selected_frame
before calling mouse_position_hook.
1995-02-25 21:28:36 +00:00
Karl Heuer
604ccd1d31 (unlock_display): New function.
(cmd_error, command_loop_1): Call it when appropriate.
(read_char): If no current display, don't try to echo.
1995-02-25 07:13:09 +00:00
Karl Heuer
b03471782d (term_init) [TERMINFO]: Make error message more accurate. 1995-02-25 04:05:46 +00:00
Richard M. Stallman
376b0e5954 (display_string, display_text_line):
Display table overrides ordinary display even for \t, \n, etc.
1995-02-24 18:49:48 +00:00
Karl Heuer
bded54ddfc (display_locked): New var to indicate when we're in the run state.
current_perdisplay is now meaningful in the wait state as well.
(cmd_error): Clear display_locked in addition to current_perdisplay.
(command_loop_1): outer_perdisplay renamed from global_perdisplay.
Restore display_locked as well as current_perdisplay.
(read_char): read_char_perdisplay merged with current_perdisplay.
(read_key_sequence): Likewise.
1995-02-24 02:41:55 +00:00
Karl Heuer
ebfbe2490a (Fcall_interactively): If the display hasn't already been locked by reading
from the minibuffer, lock it before executing the command.
1995-02-24 02:30:23 +00:00
Karl Heuer
718d325114 (read_minibuf): Make sure the display is locked. 1995-02-24 02:28:20 +00:00
Karl Heuer
17f650d96d (display_locked): Declare this var. 1995-02-24 02:26:46 +00:00
Richard M. Stallman
0bc395d481 (Fwhere_is_internal): If FIRSTONLY is not nil or non-ascii,
completely ignore menu bindings.
1995-02-23 09:07:36 +00:00
Richard M. Stallman
9257760577 (menu_item_equiv_key): Delete the code that rejected
menu bindings returned by Fwhere_is_internal.
1995-02-23 09:05:08 +00:00
Richard M. Stallman
3548e13846 (window_loop): Handle special display buffer frames
for DELETE_BUFFER_WINDOWS as for UNSHOW_BUFFER.

(syms_of_window): Doc fixes.
1995-02-23 09:04:34 +00:00
Richard M. Stallman
824977b67e (Fcall_interactively): Use markers temporarily in
args vector to stand for point and mark values; replace them
with integers just before calling the command.
1995-02-23 04:54:59 +00:00
Karl Heuer
beecf6a1d1 (kbd_buffer_frame_or_window): Restored old var.
(kbd_buffer, kbd_fetch_ptr, kbd_store_ptr): Likewise.
(read_char_perdisplay): New var.
(read_char): Search all appropriate perdisplay objects, and do the right thing
if the next event comes from a different source.
(read_key_sequence): If there's a change of display in mid-stream, retreat and
try reading the new display.
(find_active_event_queue): Function deleted.  All callers changed to just test
the main kbd_buffer instead.
(kbd_buffer_store_event): Write to the main kbd_buffer again.
(kbd_buffer_get_event): Read from the main kbd_buffer again.
Now returns a perdisplay pointer in addition to a lispy event.
(Fdiscard_input, swallow_events): Use the main kbd_buffer again.
(stuff_buffered_input): Likewise.
(init_perdisplay): Initialize member kbd_queue.
Remove references to obsolete members.
(wipe_perdisplay): Remove obsolete reference.
(init_keyboard, syms_of_keyboard): Restore initialization of vars.
1995-02-22 07:26:40 +00:00
Karl Heuer
4cb35c394a (menubar_selection_callback): frame_or_window field of a menu-bar event now
includes both the frame and the magic cookie.
1995-02-22 06:07:20 +00:00
Karl Heuer
b90afe71c8 Update comments to reflect changes in xmenu.c. 1995-02-22 06:05:32 +00:00
Karl Heuer
89d8f2460d (struct PERDISPLAY): New member kbd_queue.
Delete obsolescent members kbd_buffer_frame_or_window, kbd_buffer,
kbd_fetch_ptr, kbd_store_ptr; these are regular vars again.
1995-02-22 03:06:08 +00:00
Karl Heuer
cc4c29808c (mark_perdisplays): Mark kbd_queue.
Remove reference to obsolescent kbd_buffer_frame_or_window.
1995-02-22 03:03:10 +00:00
Richard M. Stallman
4908183440 (r_alloc_init): Set __malloc_extra_blocks. 1995-02-19 19:12:17 +00:00
Richard M. Stallman
4bc7e3ad62 (Fmake_terminal_frame): Doc fix. 1995-02-19 19:08:38 +00:00
Richard M. Stallman
0dee0e2d65 (LIB_X11_LIB, C_SWITCH_X_SYSTEM, LD_SWITCH_X_DEFAULT):
Add #undef's to cancel hpux8.h's definitions.
1995-02-18 09:07:07 +00:00
Richard M. Stallman
001e1e477d [__GNUC__] (C_SWITCH_SYSTEM): Defined. 1995-02-17 10:30:31 +00:00
Richard M. Stallman
5c3c0887e7 (STACK_DIRECTION): Undef before defining.
[__GNUC__] (C_SWITCH_MACHINE): Remove -cckr.
Add -32, only if IRIX_FORCE_32_BITS.
1995-02-17 10:29:46 +00:00
Richard M. Stallman
da149a8fb6 New alternative specified by WAIT_USE_INT. 1995-02-17 10:27:34 +00:00
Richard M. Stallman
ed0ce9537b (MULTI_FRAME): Define unconditionally. 1995-02-17 08:48:02 +00:00
Richard M. Stallman
8dd0c7cbf7 (calculate_costs): Update max_frame_height, max_frame_width.
They determine length of chars_wasted, copybuf and char_ins_del_vector.
1995-02-17 08:42:18 +00:00
Richard M. Stallman
45140e01dc (change_frame_size_1): New subroutine.
(change_frame_size): If f is termcap frame, change size of all of them.
(remake_frame_glyphs): No longer static.
Don't mark nonselected termcap frame as garbaged.
1995-02-17 08:40:18 +00:00
Richard M. Stallman
9769686d8b (redisplay): Don't display nonselected terminal frames. 1995-02-17 08:36:04 +00:00
Richard M. Stallman
bb1513c959 (Fmake_terminal_frame): New function.
(syms_of_frame): defsubr it.
(make_terminal_frame): Init Vframe_list only the first time.
Set visible and async_visible directly.
(redisplay): Don't display nonselected terminal frames.
1995-02-17 08:09:33 +00:00
Richard M. Stallman
44d3dec071 (r_alloc_check): Return void.
(r_alloc_freeze): Initialize if it hasn't been done.
(r_re_alloc, r_alloc_free, r_alloc_sbrk): Likewise.
1995-02-16 06:45:36 +00:00
Richard M. Stallman
6d16dd06fb Whitespace fixes. 1995-02-16 06:36:19 +00:00
Richard M. Stallman
e481f9604f (redisplay_window): If we update the mode line,
switch to the buffer for real, and switch back for real.
1995-02-15 22:23:18 +00:00
Paul Reilly
37849f292c (LIB_MOTIF): Add -lgen to provide provide the symbols
`regcmp' and `regex'.
1995-02-15 12:13:14 +00:00
Richard M. Stallman
9685a93f32 (xmenu_show, both versions): New arg for_click.
(Fx_popup_menu): Compute it and pass it.
1995-02-15 08:06:32 +00:00
Richard M. Stallman
b631003ba9 Doc fix. 1995-02-15 00:02:48 +00:00
Paul Reilly
5bf01b68c7 (x_bitmap_icon): Fix test for unallocated icon bitmap. 1995-02-14 21:48:14 +00:00