1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-13 06:50:39 -08:00
Commit graph

4458 commits

Author SHA1 Message Date
Richard M. Stallman
03414ea2b6 (regex_compile): Use putchar, not printchar. 1994-12-30 23:28:45 +00:00
Richard M. Stallman
ca0569ad39 (print): Get size of compiled function as pseudovector.
Use a switch statement again.
1994-12-30 06:50:01 +00:00
Richard M. Stallman
7c06ac2bfa (VALBITS): Default now 28.
(GCTYPEBITS): Default now 3.

(enum Lisp_Type): Lisp_Process, Lisp_Window, Lisp_Frame, Lisp_Subr deleted.
(PSEUDOVECTORP, GC_PSEUDOVECTORP):  Add paren for proper nesting.
(PROCESSP, GC_PROCESSP, XSETPROCESS): Rewrite to use pseudovectors.
(WINDOWP, GC_WINDOWP, XSETWINDOW): Likewise.
(FRAMEP, GC_FRAMEP): Likewise.
(SUBRP, GC_SUBRP, XSETSUBR): Likewise.
(PVEC_SUBR): New macro.
(struct Lisp_Subr): Add a size field.
(DEFUN (both definitions)): Store that size field.
1994-12-30 01:54:16 +00:00
Richard M. Stallman
169ee24357 (mark_object): Don't use Lisp_Process, Lisp_Window.
Handle frames, compileds and subrs as branch of Lisp_Vectorlike case.
(Fmake_byte_code): Use XSETCOMPILED.
1994-12-30 01:52:37 +00:00
Richard M. Stallman
7f358972bc (Faref): Handle compiled function as pseudovector. 1994-12-30 01:50:01 +00:00
Richard M. Stallman
086234937e (Flength): Handle compiled function as pseudovector. 1994-12-30 01:46:04 +00:00
Richard M. Stallman
aac03ccab4 (XSETFRAME): Use pseudovector. 1994-12-30 01:41:27 +00:00
Richard M. Stallman
0299d313b8 (x_scroll_bar_handle_click): Use GC_WINDOWP.
(XTframe_rehighlight, x_window_to_scroll_bar): Use GC_FRAMEP.
1994-12-30 01:37:53 +00:00
Richard M. Stallman
776332c4a2 Make size field an EMACS_INT. 1994-12-29 19:56:17 +00:00
Richard M. Stallman
ef2515c051 (Vmouse_leave_buffer_hook, Qmouse_leave_buffer_hook): New variables.
(syms_of_callint): Set them up.
(Fcall_interactively): Run the hook, for `@'.
1994-12-28 23:28:10 +00:00
Richard M. Stallman
9629ced85f [! sparc] (REL_INFO_TYPE): Use `struct relocation_info'. 1994-12-28 18:00:52 +00:00
Richard M. Stallman
eef045bf6b (make_lispy_event) [USE_X_TOOLKIT]: Turn off
special handling of menu bar mouse events.
(make_lispy_event): Tell pixel_to_glyph_coords not to clip.
1994-12-27 21:50:22 +00:00
Richard M. Stallman
9f67f20bf8 (XTupdate_begin): Fix backward test in previous change.
(x_display_box_cursor): Don't redraw old cursor spot in mouse face
if cursor was on a newline.

(XTread_socket): Handle button events from outside
the frame, received due to grabbing the mouse with a button.
1994-12-27 21:45:06 +00:00
Richard M. Stallman
c3724dc278 (x_figure_window_size): Treat missing user-position parm as nil. 1994-12-26 15:50:39 +00:00
Richard M. Stallman
1af1b1e840 (scrolling_1): When scroll_region_ok is set, use a
new scrolling method which scrolls groups of lines directly
to their final vertical positions.
(struct matrix_elt): New field writecount.
(calculate_direct_scrolling): New function.
(do_direct_scrolling): New function.
1994-12-26 15:38:56 +00:00
Richard M. Stallman
be7cd44fe1 (scroll_region_cost): New variable.
(calculate_costs): Put scroll region overhead in scroll_region_cost.
1994-12-26 15:37:22 +00:00
Richard M. Stallman
6d7b271809 (scroll_region_cost): Declared. 1994-12-26 15:36:56 +00:00
Richard M. Stallman
190bb91a07 (scrolling): Fewer restrictions if scroll_region_ok is
set.  New vector old_draw_cost for direct scrolling method.
1994-12-26 15:35:48 +00:00
Richard M. Stallman
006d3d3458 (syms_of_buffer): Doc fix for buffer-file-type. 1994-12-25 22:19:45 +00:00
Richard M. Stallman
2d4a771aad (set_search_regs): Really set search_regs.start and .end.
(save_search_regs): Set them to 0 here.
1994-12-25 21:15:07 +00:00
Richard M. Stallman
00a34088ee (read_minibuf): GCPRO things. 1994-12-25 21:14:46 +00:00
Richard M. Stallman
04be39934f (wrong_type_argument): Use Lisp_Type_Limit. 1994-12-25 17:49:39 +00:00
Richard M. Stallman
eeed793e62 (enum Lisp_Type): Rename Max_Lisp_Type to Lisp_Type_Limit. 1994-12-25 17:49:06 +00:00
Richard M. Stallman
4d1207f6f5 (enum Lisp_Type): Add Max_Lisp_Type. 1994-12-25 17:47:27 +00:00
Richard M. Stallman
e1351ff7c3 (wrong_type_argument): Abort if VALUE is invalid Lisp object. 1994-12-25 17:28:51 +00:00
Richard M. Stallman
eff52a4c6f (SET_REGS_MATCHED): Do nothing if set_regs_matched_done is 1.
Set set_regs_matched_done to 1.
(re_match_2_internal): New local var set_regs_matched_done.
Set it to 0 when appropriate.
(POP_FAILURE_POINT): Set set_regs_matched_done to 0.

(re_match_2_internal, case duplicate): Call SET_REGS_MATCHED.
1994-12-24 23:40:43 +00:00
Richard M. Stallman
e9fd42adae (BASE_PURESIZE): Incremented by 20k. 1994-12-24 16:42:33 +00:00
Richard M. Stallman
8ea231fcac (read_char): Don't echo keys when echo_keystrokes is 0. 1994-12-24 01:53:16 +00:00
Richard M. Stallman
53ece92895 entered into RCS 1994-12-23 15:06:14 +00:00
Richard M. Stallman
37c2c98b16 (XTupdate_begin): Discard records of prior mouse highlight
when frame must be redrawn.

(x_make_frame_visible, x_make_frame_invisible)
(x_iconify_frame): Give error if frame has explicit_parent.
(x_new_font): Don't set window height if frame has explicit_parent.

(x_mouse_leave): New function broken out of XTread_socket.
When x_focus_event_frame is nonzero, assume that frame gets focus.
(XTread_socket): Use x_mouse_leave for LeaveNotify.
1994-12-23 05:12:32 +00:00
Richard M. Stallman
a59e4f3d62 (x_set_frame_parameters): Handle icon-left, icon-top parms.
(Fx_color_values): Doc fix.

(Fx_create_frame): Check for parent-id parameter.
Set explicit_parent and parent fields.
Don't set visibility if explicit_parent.
[! USE_X_TOOLKIT] (x_window): Specify parent window.
1994-12-23 05:11:11 +00:00
Richard M. Stallman
ffd04ed01f *** empty log message *** 1994-12-22 00:01:19 +00:00
Richard M. Stallman
04ae1b489a (Fget_buffer_create): Copy the name, and clear text props.
(assoc_ignore_text_properties): New function.
(Fget_buffer): Use assoc_ignore_text_properties.

(Fother_buffer): Take account of frame's buffer predicate.
1994-12-21 22:50:22 +00:00
Richard M. Stallman
4ed715c128 (C_DEBUG_SWITCH): Define this only if __GNUC__. 1994-12-21 22:28:02 +00:00
Richard M. Stallman
21015f9c30 (struct frame): New field buffer_predicate.
Move all the Lisp_Object fields to the top.
1994-12-21 22:27:25 +00:00
Richard M. Stallman
329ca57419 (Fmodify_frame_parameters): For non-X frames,
call store_frame_param for each parameter set.
(store_frame_param): Handle buffer_predicate field.
(frame_buffer_predicate): New function.
(Qbuffer_predicate): New variable.
(syms_of_frame): Set it up.
1994-12-21 22:26:02 +00:00
Richard M. Stallman
d17f2a43fa (mark_object): In a frame, mark the buffer_predicate.
Don't mark the height and width fields.
1994-12-21 22:23:49 +00:00
Richard M. Stallman
700ea80976 (get_doc_string): Now static. Arg now Lisp_Object.
Allow (FILE . POS) as position argument.
(Fdocumentation, Fdocumentation_property): Fix calls to get_doc_string.
(Fdocumentation_property): Handle cons as value via get_doc_string.
(read_doc_string): New function.
1994-12-21 18:16:35 +00:00
Richard M. Stallman
ca248607ed (Fdefvar): Fix minor error in previous change.
(funcall_lambda): Fetch bytecode and constants vector from file if nec.
1994-12-21 18:15:35 +00:00
Richard M. Stallman
20ea2964cd (Qload_file_name, Vload_file_name): New variables.
(syms_of_lread): Initialize and staticpro it.
(Fload): Bind it.
(read_list): Before dumping, ignore (#$ . WHATEVER)--return 0.
1994-12-21 18:14:20 +00:00
Richard M. Stallman
d80bd4a029 (tgetst1): Let ^? stand for DEL character. 1994-12-17 12:20:46 +00:00
Richard M. Stallman
0eae1cf336 Comment change. 1994-12-17 00:03:59 +00:00
Richard M. Stallman
89a255dc29 (Fall_completions): New arg hide_spaces.
(Fminibuffer_completion_help): Pass new arg.
1994-12-15 14:00:55 +00:00
Richard M. Stallman
1702afef39 (main): Fix conversion of --display to -d.
(main): Implement --version.
1994-12-15 13:56:57 +00:00
Richard M. Stallman
dcc98b56bc (struct x_display): New field explicit_parent. 1994-12-15 13:53:44 +00:00
Richard M. Stallman
a352a815c4 Don't include ../oldXMenu/XMenu.h if USE_X_TOOLKIT.
(push_menu_item): New arg DEF.
(single_keymap_panes, list_of_items): Pass new arg.
(MENU_ITEMS_ITEM_DEFINITION): New macro.
(MENU_ITEMS_ITEM_LENGTH): Now 5.
[USE_X_TOOLKIT] (xmenu_show): Store 0 in call_data if item def is 0.
(single_submenu): Likewise.

(xmenu_show): Call x_mouse_leave.
1994-12-15 12:16:00 +00:00
Richard M. Stallman
6069d957df (readevalloop): Ignore ^M here. 1994-12-15 01:57:36 +00:00
Richard M. Stallman
a42ba017bc (Fdefconst, Fdefvar): Error if too many arguments. 1994-12-15 00:42:19 +00:00
Richard M. Stallman
c98da21442 (add_properties): Add gcpro's.
(Fadd_text_properties, copy_text_properties): Likewise.
1994-12-14 14:23:04 +00:00
Richard M. Stallman
05469d1a1e Just include sunos4shr--do nothing else. 1994-12-14 04:56:59 +00:00