Fred Pierresteguy
7e4f2521a4
(x_wm_set_size_hint): Add USE_X_TOOLKIT conditional and call
...
XtGetValues to get the width and the height of the Emacs frame.
1994-04-01 13:53:31 +00:00
Fred Pierresteguy
01a054bcfa
(update_menu_bar): Pass 0 to set_frame_menubar.
1994-04-01 13:43:24 +00:00
Fred Pierresteguy
b3ccf2a206
(EmacsFrameSetCharSize): Clean up code.
...
Replace XtVaSetValues by XtSetValues.
1994-04-01 13:39:34 +00:00
Richard M. Stallman
d1cb44a4d6
(try_window_id): Pass new arg to scroll_frame_lines.
1994-04-01 10:14:35 +00:00
Richard M. Stallman
d52bad6588
(make_frame_glyphs): If EMPTY, don't leave junk in ->total_charstarts.
...
(scroll_frame_lines): Typo in previous change.
Arg POS_ADJUST replaced with arg NEWPOS.
1994-04-01 10:13:32 +00:00
Richard M. Stallman
09fe4c319e
(construct_menu_click, construct_mouse_click):
...
Use XSET when setting result->x and result->y.
(note_mouse_highlight): Use the value from sort_overlays.
Make the window's buffer current temporarily.
window_end_pos is relative to Z, not ZV.
1994-04-01 10:12:10 +00:00
Richard M. Stallman
a9c90b7c24
(xmenu_show): Undo part of March 11 change:
...
Do call lw_destroy_all_widgets at the end.
1994-04-01 10:10:45 +00:00
Richard M. Stallman
ffd57920a3
(redisplay): In previous change, handle case where no newline follows.
1994-04-01 08:19:19 +00:00
Richard M. Stallman
b64b398040
(adjust_window_charstarts): New function.
...
(direct_output_for_insert): Call it.
1994-04-01 02:10:14 +00:00
Richard M. Stallman
46db848664
(redisplay): Call adjust_window_charstarts
...
to update the charstarts of following lines.
1994-04-01 02:09:44 +00:00
Richard M. Stallman
60a8948ae4
(scroll_frame_lines): Handle charstarts like glyphs.
...
(direct_output_for_insert): Likewise.
(preserve_other_columns): Likewise.
(update_line): Update charstarts like glyphs.
(make_frame_glyphs): Initialize charstarts, total_charstarts.
(free_frame_glyphs): Free those fields.
1994-03-31 23:22:23 +00:00
Richard M. Stallman
b8009dd11c
[INCLUDED_FCNTL]: Don't include fcntl.h again.
...
(XTread_socket, MotionNotify and LeaveNotify cases):
If not in any frame, call clear_mouse_face.
(x_term_init): Set frame_up_to_date_hook.
(XTframe_up_to_date): New function.
(XTupdate_begin): Turn off mouse face display, and defer it.
(XTupdate_end): Undefer.
(mouse_face_defer): New variable.
(mouse_face_mouse_frame, mouse_face_mouse_x, mouse_face_mouse_y):
New variables.
(dumpglyphs): Handle HL = 3 by using mouse_face_face_id.
(note_mouse_movement): Check for mouse face.
(show_mouse_face, fast_find_position): New functions.
(clear_mouse_face): New functions.
(mouse_face_beg, mouse_face_end, mouse_face_face_id): New variables.
(mouse_face_window): New variable.
(syms_of_xterm): Init and staticpro it.
1994-03-31 23:17:23 +00:00
Richard M. Stallman
6f13448620
(compute_char_face): New arg MOUSE.
...
(Qmouse_face): New variable.
(syms_of_xfaces): Initialize Qmouse_face.
1994-03-31 23:12:26 +00:00
Karl Heuer
3e9367e7de
(child_setup): Check out==err when relocating fds.
1994-03-31 22:19:27 +00:00
Richard M. Stallman
efc63ef0e1
(redisplay): Call frame_up_to_date_hook.
...
(display_text_line): Pass new arg to compute_char_face.
Fill in charstarts array.
(display_string): Clear part of charstarts array.
1994-03-31 18:40:11 +00:00
Fred Pierresteguy
80eb0a994f
(x_window) [USE_X_TOOLKIT]: When doing geometry management, don't compute the
...
size of the menubar if there is no menubar.
1994-03-31 16:49:00 +00:00
Fred Pierresteguy
9420e4cad5
(set_frame_size): Dont compute any geometry management.
1994-03-31 14:52:30 +00:00
Fred Pierresteguy
706aa2f2e7
(set_frame_menubar): New arg, first_time.
...
Don't update the menubar the first time it is created via x_window.
(initialize_frame_menubar): Pass 1 to set_frame_menubar.
1994-03-31 14:50:46 +00:00
Fred Pierresteguy
a7f7d5508c
(x_window) [USE_X_TOOLKIT]: New args window_prompting and minibuffer_only.
...
Don't pass top_pos and left_pos to XtCreatePopupShell.
Call initialize_frame_menubar before creating the Emacs frame if it is
not the minibuffer. Call XtManageChild for the menubar widget if any.
Compute some geometry management.
(Fx_create_frame): Pass window_prompting and minibuffer_only to x_window.
Don't call x_wm_set_size_hint.
Don't call initialize_frame_menubar.
1994-03-31 14:49:42 +00:00
Fred Pierresteguy
48508a3ae9
Define HAVE_X11R4 if AIX3_2 is defined.
1994-03-31 14:00:26 +00:00
Richard M. Stallman
0dee3c4dc9
(frame_up_to_date_hook): Declared.
1994-03-31 08:33:38 +00:00
Richard M. Stallman
b65e3dd79e
(INCLUDED_FCNTL): Define, if include fcntl.h.
1994-03-30 18:51:54 +00:00
Richard M. Stallman
5fb5aa335e
(verify_overlay_modification):
...
Copy TAIL before a hook, in case the hook recenters the overlay lists.
1994-03-30 06:32:54 +00:00
Karl Heuer
37e9a9347d
(Fminibuffer_prompt, Fminibuffer_prompt_width): New funcs.
1994-03-30 05:23:18 +00:00
Richard M. Stallman
4200677283
(Vcompletion_regexp_list): New var.
...
(syms_of_minibuf): Set up Lisp var.
(Ftry_completion, Fall_completions):
Limit possible completions to strings matching those regexps.
1994-03-30 05:17:30 +00:00
Karl Heuer
80093a1544
(Fcompute_motion): Fix symbol name in previous change.
1994-03-30 03:12:53 +00:00
Karl Heuer
992371ca56
(Fcompute_motion): Doc fix.
...
Also extracted long doc string to avoid compiler limitations.
1994-03-30 03:11:04 +00:00
Karl Heuer
faa5c515a3
(Fcompute_motion): Don't use XFASTINT on possibly-negative coords.
...
Also another doc fix.
1994-03-30 03:02:02 +00:00
Karl Heuer
4fb7678758
(Fcompute_motion): Doc fix.
1994-03-30 02:29:28 +00:00
Karl Heuer
cf4138adef
(EMACS_TIME_NEG_P): Cast to signed.
1994-03-30 00:50:02 +00:00
Karl Heuer
ee61d94e70
(Fwindow_width): Delete unnecessary variable declarations.
1994-03-29 07:20:26 +00:00
Karl Heuer
26a8d14bf2
Fix glitches in previous change.
1994-03-29 06:37:09 +00:00
Karl Heuer
ccf39e5651
(Fcompute_motion): Typecheck all arguments.
1994-03-29 05:58:40 +00:00
Karl Heuer
546714cf35
Fix typo in comment.
1994-03-29 05:54:39 +00:00
Richard M. Stallman
b741d9b1bb
(struct frame_glyphs): New fields charstarts and total_charstarts.
1994-03-29 05:22:29 +00:00
Karl Heuer
e6194ffc49
Fix typos in comments.
1994-03-29 04:57:16 +00:00
Karl Heuer
dd5f626783
(display_text_line): Handle selective display at window edge.
1994-03-29 04:08:07 +00:00
Karl Heuer
af5d2b69af
(file_name_completion): Don't step on dirname.
1994-03-29 00:57:07 +00:00
Karl Heuer
af92970ca9
(x_find_modifier_meanings): Skip zero entries.
1994-03-28 23:03:07 +00:00
Richard M. Stallman
3fcc88cce0
(file_name_completion): Protect things from GC.
1994-03-28 20:55:18 +00:00
Richard M. Stallman
2cb6da5c78
(read_minibuf): Return val via unbind_to.
...
(Fminibuffer_complete): Scroll the completion window in some cases.
1994-03-27 07:55:46 +00:00
Richard M. Stallman
5b9cf4b2e0
(Freplace_match): Doc fix.
1994-03-27 07:51:45 +00:00
Richard M. Stallman
df28eb7b38
(verify_interval_modification): For insertion in
...
middle of an interval, use the same criterion as between intervals
for whether read-only forbids it.
1994-03-26 21:02:24 +00:00
Richard M. Stallman
5b5bb5e486
*** empty log message ***
1994-03-26 05:37:00 +00:00
Richard M. Stallman
c5a02c74d8
(this_command, last_command): Declared.
1994-03-25 23:49:50 +00:00
Richard M. Stallman
36fa5981f4
(pr): Use debug_print.
1994-03-25 19:19:41 +00:00
Richard M. Stallman
cf1bb91bd1
(debug_print): New function.
1994-03-25 19:19:05 +00:00
Karl Heuer
b22e7ecc3f
(Fformat): Validate number and type of arguments.
1994-03-25 07:20:08 +00:00
Karl Heuer
ba32f2db71
(Fframe_first_window): New function.
1994-03-25 06:12:40 +00:00
Karl Heuer
121e45555c
(xmenu_show): Enable asynchronous events.
1994-03-25 03:34:45 +00:00