1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-16 05:00:51 -08:00
Commit graph

2853 commits

Author SHA1 Message Date
Richard M. Stallman
d2f846543a (display_text_line): Rename startp to leftmargin.
Use that, not p1start, when checking for char off left edge.

(mark_window_display_accurate, redisplay):
Set window_end_valid to the buffer displayed, not Qt.
1994-04-05 07:43:21 +00:00
Richard M. Stallman
e444162e0f (note_mouse_highlight): Temporarily widen the buffer.
(note_mouse_highlight): Check window still shows buffer that was
displayed in it.
1994-04-05 07:41:09 +00:00
Richard M. Stallman
352f15454c (verify_charstarts): Handle truncation of lines. 1994-04-05 07:39:38 +00:00
Karl Heuer
75dddf59e8 (Fget_char_property): Doc fix. 1994-04-05 06:10:01 +00:00
Karl Heuer
f676868dc6 (file_name_completion): Honor completion-regexp-list. 1994-04-05 06:04:27 +00:00
Karl Heuer
c4d460ce6b (Freplace_match): Don't capitalize unless all matched words are capitalized. 1994-04-05 04:51:58 +00:00
Richard M. Stallman
82c2d8392e (Fdo_auto_save): Don't turn off auto save mode.
Instead, store -1 in b->save_length.  And don't auto save
if there is -1 there.

(Vinhibit_file_name_handlers): New var.
(syms_of_fileio): Set up Lisp var.
(Ffind_file_name_handler): Obey the variable.
1994-04-05 03:50:46 +00:00
Karl Heuer
3bd13e9203 (verify_overlay_modification): Run modification-hooks for any deletion that
intersects the overlay.
1994-04-05 03:32:07 +00:00
Richard M. Stallman
853cf34623 (display_text_line): Properly handle charstarts for hscroll,
and for continuation in mid character.
(message2): Call frame_up_to_date_hook.
1994-04-04 00:44:27 +00:00
Richard M. Stallman
514e46817a (note_mouse_highlight): Do nothing if gc_in_progress.
Set mouse_face_deferred_gc when that case arise.
(XTframe_up_to_date): If mouse_face_deferred_gc, redo highlighting.

(show_mouse_face): Turn off cursor only if it's
in the area being manipulated.
(XTupdate_begin): Don't turn off highlight if we aren't updating
the window that it is in.
1994-04-04 00:43:13 +00:00
Richard M. Stallman
3ccf510abd (overlays_at): Fix previous change. 1994-04-03 23:22:06 +00:00
Richard M. Stallman
0b20d25717 Comment changes. 1994-04-03 21:32:18 +00:00
Richard M. Stallman
4d57802ec9 (gc_in_progress): Declared. 1994-04-03 21:31:47 +00:00
Richard M. Stallman
5a7d50bac0 (Fx_popup_dialog): If POSITION is t, use selected frame. 1994-04-03 19:43:01 +00:00
Richard M. Stallman
4a44b14c12 (overlays_at): Use XGCTYPE. 1994-04-03 19:37:59 +00:00
Richard M. Stallman
29ff037d32 (OVERLAY_POSITION): Use XGCTYPE. 1994-04-03 19:37:32 +00:00
Richard M. Stallman
b14db4d73b (Fx_popup_dialog): If POSITION is t, use selected frame. 1994-04-03 19:03:23 +00:00
Richard M. Stallman
55cc089c5b (frame_up_to_date_hook): Defined. 1994-04-03 18:19:53 +00:00
Richard M. Stallman
0d2311656a (redisplay): do_verify_charstarts controls whether to call verify_charstarts.
Fix one-off when checking for the last line.
1994-04-03 08:10:46 +00:00
Richard M. Stallman
f8bdb8e6b2 (note_mouse_highlight): Reject out-of-range pos value
before it causes an error.
1994-04-03 08:09:45 +00:00
Richard M. Stallman
839c7dfb06 (direct_output_for_insert): Add charstarts entry after the new char.
Use the right point value for the inserted character.
1994-04-03 08:09:11 +00:00
Richard M. Stallman
2d810f8464 (do_scrolling): Handle charstarts like glyphs. 1994-04-03 08:08:33 +00:00
Richard M. Stallman
2e8907d397 (verify_charstarts): Count right for continued lines. 1994-04-03 02:04:38 +00:00
Richard M. Stallman
bf1c0ba101 (fast_find_position): Always return coords within the window.
(note_mouse_highlight): Handle disable_mouse_highlight.
1994-04-03 02:04:04 +00:00
Richard M. Stallman
85bcef6cd0 (display_text_line): Always store in charstart
even if at endp.  When clearing charstart, do the whole width.

(redisplay): Call verify_charstarts.

(redisplay): Don't call adjust_window_charstarts
if on last text line of window.
1994-04-03 02:03:30 +00:00
Richard M. Stallman
23b0200c67 (verify_charstarts): New function.
(scroll_frame_lines): When updating charstarts,
treat all columns alike--don't zero out any.
Fix end tests of loops over i.

(adjust_window_charstarts): Fix typo.
1994-04-03 01:36:57 +00:00
Karl Heuer
9f31d21b2c (list_buffers_1): Set buffer contents, then mode. 1994-04-02 04:08:50 +00:00
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