1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-28 00:01:33 -08:00
Commit graph

25308 commits

Author SHA1 Message Date
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
Gerd Moellmann
3f7267e7f3 (NO_PROMPT_IN_BUFFER): Removed.
Change prototypes for do_pending_window_change
and change_frame_size.
Add function prototypes.
1999-08-21 19:28:58 +00:00
Gerd Moellmann
6efc7df7b8 (Fgarbage_collect): Use push_message, restore_message,
pop_message.
1999-08-21 19:28:42 +00:00
Gerd Moellmann
572da0fe1e (next-history-element): Use minibuffer-prompt-end.
Remove test for minibuffer-prompt-in-buffer.
(kill-word): Don't move point into mini-buffer prompt.
1999-08-21 19:27:30 +00:00
Gerd Moellmann
a4bda243d2 (jit-lock-function): Use line-beginning-position.
Don't unwind-protect font-lock-fontify-region.
1999-08-21 19:27:28 +00:00
Dave Love
d39c88504e Exclude CVS dirs like RCS. 1999-08-21 17:46:37 +00:00
Dave Love
3cbbbdc6fa (C_DEBUG_SWITCH): Use -g -O. 1999-08-21 17:27:31 +00:00
Dave Love
ccecdd38a2 (C_DEBUG_SWITCH): Set for debug and optimize. 1999-08-21 17:23:59 +00:00
Dave Love
07d555c6ef Copyright update. 1999-08-21 10:43:26 +00:00
Dave Love
5ad9ac920c Don't check for jpeglib.h. 1999-08-21 10:41:58 +00:00
Gerd Moellmann
cf4790adb1 remove tiff34 prefix from include. 1999-08-20 19:30:13 +00:00
Gerd Moellmann
9f8118075d (HAVE_TIFF): Remove tiff34 prefix from tiffio.h.
(HAVE_XAW3D): Don't check for Xaw3d if USE_X_TOOLKIT=none.
1999-08-20 19:30:09 +00:00
Dave Love
965a811c6d Revert previous change. 1999-08-20 16:57:43 +00:00
Dave Love
01b23b9933 (tooltip-mode): Customize this, per convention.
(tooltip-active): Option deleted.
1999-08-19 18:35:29 +00:00
Dave Love
443de9cd11 (global-font-lock-mode): Autoload. Add :initialize. 1999-08-19 18:31:24 +00:00
Dave Love
720712eb90 Avoid ange-ftp related compilation warnings. 1999-08-19 17:50:02 +00:00
Dave Love
55df774a8a Declare dynamic vars. 1999-08-19 15:23:23 +00:00
Gerd Moellmann
e90dbbd17e (XTset_vertical_scroll_bar): Fix previous change. Clear
under scroll bar with width FRAME_SCROLL_BAR_COLS.
1999-08-19 13:56:14 +00:00
Dave Love
84394d4482 Use termcap.h. 1999-08-18 13:25:45 +00:00
Dave Love
8bf4cd99cd Add HAVE_TERMCAP_H. 1999-08-18 13:23:38 +00:00
Dave Love
13a9e2f5e9 Check for termcap.h. 1999-08-18 13:22:47 +00:00
Dave Love
495de6e953 Use lisp.h
(tparam): Use xmalloc.
1999-08-18 13:17:06 +00:00
Dave Love
48236137f4 Use stdlib.h, unistd.h. 1999-08-18 13:14:37 +00:00
Dave Love
c4a10daf11 Use stdlib.h. 1999-08-18 13:10:52 +00:00
Dave Love
a36837e471 (Finsert_file_contents): Use xfree. 1999-08-18 13:07:21 +00:00
Gerd Moellmann
495fa05e41 (x_window) [USE_X_TOOLKIT]: Remove test for
FRAME_X_WINDOW (f) being null at the of the function.  If widgets
cannot be created we will already have crashed earlier.  Call
lw_set_main_areas with a null menu-bar widget, so that we have
a reasonable default.
(Fx_create_frame): Rearranged so that Lisp errors during frame
initialization cause less damage.  Initialize menu bar widget
here.
1999-08-18 12:04:53 +00:00
Gerd Moellmann
5f999b0b9c (font-lock-support-mode): Make `jit-lock-mode'
the default so that beginners can benefit from it without
searching in manuals.
1999-08-18 12:03:57 +00:00
Gerd Moellmann
f937bde202 (update_frame_line): Fix previous change. If writing
whole line clear to end of frame.
1999-08-18 10:37:34 +00:00
Ray Blaak
06c24636be checked in with -k by blaak at 1999/08/18 05:08:39 1999-08-18 05:08:39 +00:00
Gerd Moellmann
28514cd97b (unwind_redisplay): New. Resets flag redisplaying_p.
(redisplay_internal): Register unwind_redisplay with
register_unwind_protect.
(try_window_reusing_current_matrix): If new start > old start,
give up if start pos of first reusable row is not equal to new
start.
1999-08-17 22:44:56 +00:00
Gerd Moellmann
fbad6f9a28 (Fcoordinates_in_window_p): Return `left-bitmap-area'
and `right-bitmap-area' if position is in the bitmap areas.  This
avoids an error when clicking on the bitmap areas.  Instead, they
are currently treated like clicks inside the window.
(coordinates_in_window): Return 5 and 6 for bitmap areas.
(Qleft_bitmap_area, Qright_bitmap_area): New.
(syms_of_window): Initialize new symbols.
1999-08-17 22:44:47 +00:00
Gerd Moellmann
0b5791c4a0 (Fsignal): Don't reset redisplaying_p here. 1999-08-17 22:44:44 +00:00
Gerd Moellmann
74ca462f6d (update_frame_line): If writing whole line,
don't write trailing spaces unless we must.
1999-08-17 22:44:37 +00:00