1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-29 08:31:35 -08:00
Commit graph

26840 commits

Author SHA1 Message Date
Gerd Moellmann
8f8ba18631 (try_window_id): Remove typo. 1999-08-25 10:57:56 +00:00
Gerd Moellmann
468155d7e9 (try_window_id): Recognize case that PT == ZV and in
unchanged text at the bottom when computing the cursor position.
(message3_nolog): Raise frame only if minibuffer_auto_raise is
set.
1999-08-25 01:05:00 +00:00
Gerd Moellmann
2622840455 (PVEC_TYPE_MASK): Add the bit for hash tables. 1999-08-25 01:04:57 +00:00
Gerd Moellmann
714dc26c77 (expose_window_tree): Fix typo CANON_Y_UNIT to
CANON_X_UNIT.
1999-08-24 19:25:11 +00:00
Gerd Moellmann
ba06aba44f [HAVE_JPEG]: Work around a warning about HAVE_STDLIB_H
being redefined in jconfig.h.
1999-08-24 19:25:06 +00:00
Gerd Moellmann
e536f7a0a8 (Qmargin): Replacement for Qbitmap_area.
(realize_basic_faces): Replace Qmargin for Qbitmap_area.
(syms_of_xfaces): Ditto.
1999-08-24 19:25:02 +00:00
Gerd Moellmann
c59c668a2d (redisplay_window): Don't ever test just_this_one_p
before calling try_window.
(echo_area_display): If height has changed, update other windows.
(resize_mini_frame, resize_mini_initial_height): New.
(resize_mini_window): Save/restore window configuration
differently.
1999-08-24 19:24:57 +00:00
Gerd Moellmann
ce7fae7db4 (Fset_window_point): Reset Vresize_mini_config.
(Fset_window_start): Ditto.
(set_window_buffer): Ditto.
1999-08-24 19:24:53 +00:00
Gerd Moellmann
16dec16c3a (Vresize_mini_config, resize_mini_frame,
resize_mini_initial_height): Add extern declarations.
1999-08-24 19:24:50 +00:00
Gerd Moellmann
4fdb1988fe (adjust_frame_glyphs): Reset Vresize_mini_config. 1999-08-24 19:24:46 +00:00
Gerd Moellmann
2452e0ae97 (margin): Renamed from bitmap-area. 1999-08-24 19:24:28 +00:00
Dave Love
64606d0779 Mode provide to end.
(timezone-parse-date): Simplify somewhat.  Assume 2-digit years <70 are
2000+.
(timezone-parse-time): Simplify somewhat.
1999-08-24 16:43:44 +00:00
Andreas Schwab
8de38c21fc (gnus-emphasis-underline-italic): Doc fix. 1999-08-24 12:20:31 +00:00
Alex Schroeder
1533eb58cc (sql-sybase): use sql-server instead of sql-database. 1999-08-24 10:50:59 +00:00
Dave Love
7db6139adb (delete-extract-rectangle): Doc fix from verna. 1999-08-23 16:14:59 +00:00
Dave Love
e037c34cee Add/fix various doc strings. Add `*' to all the interactive specs. 1999-08-23 14:28:34 +00:00
Kenichi Handa
2ea6666cf7 Include "ccl.h" instead of "../src/ccl.h". 1999-08-23 10:43:51 +00:00
Gerd Moellmann
9142dd5bad (redisplay_internal): Clear garbaged frames after
resizing mini-window.
(unwind_with_echo_area_buffer): Use
set_buffer_internal_1 instead of set_buffer_internal.
(with_echo_area_buffer): Ditto.
(Vresize_mini_config): New.
(resize_mini_window): Use it to save restore original window
configuration
(syms_of_xdisp): Initialize it.
(reconsider_clip_changes): New.
(redisplay_internal, redisplay_window): Call it.
(mark_window_display_accurate, redisplay_internal): Set current
matrix' buffer, begv, zv.
1999-08-23 00:11:55 +00:00
Gerd Moellmann
5e8355b2e3 (beg_unchanged, end_unchanged, unchanged_modified,
overlay_unchanged_modified): Removed.
(with_echo_area_unwind_data): Don't save beg/end_unchanged.
(unwind_with_echo_area_buffer): Don't restore them.
(debug_beg_unchanged, debug_end_unchanged) [GLYPH_DEBUG]: Removed.
(text_outside_line_unchanged_p, redisplay_internal,
try_scrolling): Use/set buffer-specific beg/end_unchanged.
(redisplay_window): Let try_window_id be called if more than one
window is displayed.  Use/set buffer-specific beg/end_unchanged.
(get_last_unchanged_at_beg_row, get_first_unchanged_at_end_row,
try_window_id):
Use buffer-specific beg/end_unchanged.
(beg_unchanged, end_unchanged, unchanged_modified,
overlay_unchanged_modified): Remove extern declarations.
1999-08-23 00:11:54 +00:00
Gerd Moellmann
b1599b4c0a (Fset_window_hscroll): Set
prevent_redisplay_optimizations_p instead of clip_changed.
(Fset_window_hscroll): Ditto.
(temp_output_buffer_show): Ditto.
(Fset_window_vscroll): Ditto.
1999-08-23 00:11:51 +00:00
Gerd Moellmann
9351ebd055 (command_loop_1): Set beg/end_unchanged per
buffer.
1999-08-23 00:11:47 +00:00
Gerd Moellmann
a50df55bb6 (gap_left): Use BUF_COMPUTE_UNCHANGED.
(gap_right): Ditto.
(modify_region): Ditto.
(gap_left): Compute beg/end_unchanged per buffer.
(gap_right): Ditto.
(adjust_after_replace): Likewise.
(replace_range, del_range_2, modify_region): Likewise.
1999-08-23 00:11:45 +00:00
Gerd Moellmann
0f8f5ffed1 (direct_output_for_insert): Set beg_unchanged
and unchanged_modified per buffer.
1999-08-23 00:11:43 +00:00
Gerd Moellmann
2201e367d8 (struct glyph_matrix): Add buffer, begv, and zv. 1999-08-23 00:11:42 +00:00
Gerd Moellmann
d9f9a1bc83 (code_convert_region): Compute beg/end_unchanged per
buffer.
1999-08-23 00:11:40 +00:00
Gerd Moellmann
133a3962c9 (BUF_COMPUTE_UNCHANGED): New.
(struct buffer): Add prevent_redisplay_optimizations_p.
(BUF_UNCHANGED_MODIFIED, UNCHANGED_MODIFIED,
BUF_OVERLAY_UNCHANGED_MODIFIED, OVERLAY_UNCHANGED_MODIFIED,
BUF_BEG_UNCHANGED, BEG_UNCHANGED, BUF_END_UNCHANGED,
END_UNCHANGED): New.
(struct buffer_text):  Add beg_unchanged, end_unchanged,
unchanged_modified, overlay_unchanged_modified.
1999-08-23 00:11:39 +00:00
Gerd Moellmann
b5a225b494 (set_buffer_internal): Set windows_or_buffers_changed
only if buffer is displayed somewhere.
(modify_overlay): Use BUF_COMPUTE_UNCHANGED.
(reset_buffer): Set clip_changed to 0 and
prevent_redisplay_optimizations_p to 1.
(Fget_buffer_create): Set prevent_redisplay_optimizations_p to 1.
(modify_overlay): Compute beg/end_unchanged
per buffer.
(Fget_buffer_create): Initialize new members of the buffer
structure.
1999-08-23 00:11:36 +00:00
Gerd Moellmann
3770920e08 (mark_glyph_matrix): Mark strings only. 1999-08-23 00:11:34 +00:00
Gerd Moellmann
d9138d5de0 Add prototype for copy_hash_table and Fcopy_hash_table. 1999-08-22 20:47:17 +00:00
Gerd Moellmann
f899c503c5 (Qkey, Qvalue): Renamed from Qkey_weak, and Qvalue_weak.
(Qkey_value_weak):  Removed.
(make_hash_table): Use nil, `key', `value', t for weakness.
(Fmake_hash_table): Ditto.
(copy_hash_table): New.
(Fcopy_hash_table): New.
1999-08-22 20:47:15 +00:00
Stephen Eglen
57f3e9c9f6 Octave-mode support: for the function index entries, allow the prefix
to also match optional return value list of form `[X Y ... Z] = '.
1999-08-22 18:09:58 +00:00
Gerd Moellmann
8938a4fbb4 Call change_frame_size and do_pending_window_change with
new parameter.
1999-08-22 12:00:17 +00:00
Gerd Moellmann
dd2eb16699 (resize_mini_window): Do it for truncate-lines t as
well.
(redisplay_internal): Resize mini-window only if text might
have changed.
(display_echo_area): Reset displayed echo_area_buffer to nil
at the end if we're displaying a nil message.
1999-08-21 21:47:57 +00:00
Gerd Moellmann
3574d3781d (backward-kill-paragraph): Don't move
point into mini-buffer prompt.
(backward-kill-sentence): Ditto.
1999-08-21 19:31:34 +00:00
Gerd Moellmann
7d1e984f8f Call change_frame_size and do_pending_window_change with
new parameter.
(x_scroll_bar_create) [USE_TOOLKIT_SCROLL_BARS]: Clear
under scroll bar widget.
1999-08-21 19:31:13 +00:00
Gerd Moellmann
060fb5c1df (face_at_buffer_position): Don't xassert that
window's buffers equals current_buffer; this is not the
case during echo area display.
1999-08-21 19:31:04 +00:00
Gerd Moellmann
c6e89d6c44 Call change_frame_size and do_pending_window_change with
new parameter.
Remove conditional compilation on
NO_PROMPT_IN_BUFFER.
(get_next_display_element): Display \r as ^M.
(minibuffer_scroll_overlap): Removed because not used
anywhere.
(unwind_redisplay): Return nil.
(clear_garbaged_frames): New.
(redisplay_internal): Use it.
(echo_area_display): Ditto.
(resize_mini_window): Mew.
(display_echo_area_1): Use it to resize echo area window.
(redisplay_internal): Use it to resize active mini-window.
(echo_area_glyphs, echo_area_message,
echo_area_glyphs_length, previous_echo_glyphs,
previous_echo_area_message, previous_echo_area_glyphs_length):
Removed.
(Vmessage_stack, echo_area_buffer, echo_buffer,
display_last_displayed_message_p, Vwith_echo_area_save_vector): New.
(message2_nolog): Use set_message and clear_message.
(message3): Rename parameter len to nbytes to make clear what
it is.
(message3_nolog): Ditto.  Use set_message and clear_message.
(update_echo_area): Rewritten.
(with_echo_area_buffer): New.
(with_echo_area_buffer_unwind_data, unwind_with_area_buffer): New.
(setup_echo_area_for_printing): New.
(display_echo_area, display_echo_area_1): New.
(current_message, current_message_1): New.
(push_message, restore_message, pop_message,
check_message_stack): New.
(truncate_echo_area): Rewritten.
(truncate_message_1): New.
(set_message, set_message_1, clear_message): New.
(echo_area_display): Rewritten.
(redisplay_internal): Check for needed echo area update
differently.
(redisplay_preserve_echo_area): Rewritten.
(redisplay_window): Check for mini-window displaying echo area
message differently.
(syms_of_xdisp): Initialize Vmessage_stack and echo area buffers.
Remove initialzation of removed variables.
(init_xdisp): Remove references to removed variables.
1999-08-21 19:30:44 +00:00
Gerd Moellmann
4da4347545 Remove references to echo_area_glyphs
and previous_echo_glyphs.
1999-08-21 19:30:42 +00:00
Gerd Moellmann
2b6538062c Call change_frame_size and do_pending_window_change with
new parameter.
1999-08-21 19:30:35 +00:00
Gerd Moellmann
0788646cc2 Remove conditional compilation on `standalone'.
(glyph_len, str_to_glyph_cpy, str_to_glyph_ncpy,
glyph_to_str_cpy):  Remove that section because GLYPHs are no
longer used in that way.
(PRINTDECLARE): Add multibyte.
(PRINTPREPARE, PRINTFINISH): Handle printcharfun t differently.
(printbufidx): Removed.
(printchar, strout): Rewritten.
1999-08-21 19:30:21 +00:00
Gerd Moellmann
39e98b382b Remove conditional compilation on
NO_PROMPT_IN_BUFFER.
(Fminibuffer_prompt_end): New.
(syms_of_minibuf): Defsubr it.  Remove
minibuffer-prompt-in-buffer.
(Fminibuffer_prompt_width): Return 0 if not in mini-buffer.
Extend documentation.
(read_minibuf): Use clear_message instead of
setting echo_area_glyphs.
(Fminibuffer_completion_help): Ditto.
1999-08-21 19:30:16 +00:00
Gerd Moellmann
986113dff2 Add function prototypes.
Add function prototypes and extern declarations for
new functions and variables.
1999-08-21 19:30:11 +00:00
Gerd Moellmann
985f9f6642 Call change_frame_size and do_pending_window_change with
new parameter.
(ok_to_echo_at_next_pause): Make it a pointer to
a struct kboard.
(echo_kboard): New.
(echo_now): Set echo_kboard to the current kboard.
(cancel_echoing): Set echo_kboard to null.
(cmd_error_internal): Use clear_message, remove references
to echo_area_glyphs and echo_area_message.
(command_loop_1): Check for echo area messages differently.
(read_char): Likewise.
(record_menu_key): Use clear_message.
(Fexecute_extended_command):  Check for echo area messages
differently.  Use push_message, restore_message, pop_message.
1999-08-21 19:29:53 +00:00
Gerd Moellmann
4f13cc9959 Remove conditional compilation on NO_PROMPT_IN_BUFFER. 1999-08-21 19:29:47 +00:00
Gerd Moellmann
32347cf4de Call change_frame_size and do_pending_window_change with
new parameter.
Remove references to echo_area_glyphs
and previous_echo_glyphs.
1999-08-21 19:29:38 +00:00
Gerd Moellmann
2e5da6761e (hash_lookup): Test with EQ before calling key comparion
function.
(hash_remove): Ditto.
(cmpfn_eq): Removed.
(cmpfn_eql): Don't test with EQ.
(cmpfn_equal): Ditto.
(make_hash_table): Set comparison function for `eq' to null.
1999-08-21 19:29:32 +00:00
Gerd Moellmann
c71106e5dd (Fdo_auto_save): Use push_message, restore_message,
pop_message.
1999-08-21 19:29:20 +00:00
Gerd Moellmann
189437a711 (shut_down_emacs): Call check_message_stack. 1999-08-21 19:29:17 +00:00
Gerd Moellmann
0634a78e14 Remove conditional compilation on NO_PROMPT_IN_BUFFER.
(Fcurrent_message): Rewritten.
1999-08-21 19:29:11 +00:00
Gerd Moellmann
b96fd3e81f (do_pending_window_change): Add parameter `safe'.
(change_frame_size): Ditto.
(change_frame_size_1): Ditto.  Deley size changes if redisplaying
and not called from a safe place.
(window_change_signal): Call change_frame_size with new parameter.
(set_window_cursor_after_update): Do the
cursor_in_echo_area case only for a mini-window showing
a message.  Don't let cursor end up after the end of a row.
(adjust_frame_message_buffer): Removed references
to echo_area_glyphs and previous_echo_glyphs.
(direct_output_for_insert): Check for mini-window displaying
echo area message differently.
(update_frame): Likewise.
(set_window_cursor_after_update): Likewise.  In echo area,
don't try to set cursor on rows that aren't enabled.
1999-08-21 19:29:02 +00:00