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

10633 commits

Author SHA1 Message Date
Gerd Moellmann
9aa9574988 (set_frame_size): Set flags_area_extra to
FRAME_FLAGS_AREA_WIDTH instead of 2 * that width.
(EmacsFrameSetCharSize): Ditto.
1999-08-30 23:14:26 +00:00
Gerd Moellmann
5cb26370fb (FRAME_WINDOW_WIDTH_ARG): Add in FRAME_FLAGS_AREA_COLS
once instead of twice.
(FRAME_LEFT_FLAGS_AREA_WIDTH): New.
1999-08-30 23:14:25 +00:00
Gerd Moellmann
0f799fd9a1 (mode_line_string): Add FRAME_LEFT_FLAGS_AREA_WIDTH
instead of FRAME_FLAGS_AREA_WIDTH.
1999-08-30 23:14:23 +00:00
Gerd Moellmann
e1b7d46cbd (WINDOW_DISPLAY_PIXEL_WIDTH): Subtract
FRAME_FLAGS_AREA_COLS once.
(WINDOW_DISPLAY_LEFT_EDGE_PIXEL_X): Add
FRAME_LEFT_FLAGS_AREA_WIDTH instead of FRAME_FLAGS_AREA_WIDTH.
1999-08-30 23:14:22 +00:00
Gerd Moellmann
ab5d1ddf90 (C_SWITCH_SYSTEM): Added to let configure find headers
in /usr/X11R6/include which are checked for with AC_CHECK_HEADER.
1999-08-30 22:50:53 +00:00
Gerd Moellmann
ee0403b3f3 (QCweakness): Replaces QCweak.
(Fmake_hash_table): Ditto.
(Fmakehash): Ditto.
(syms_of_fns): Ditto.
1999-08-30 21:05:30 +00:00
Andreas Schwab
9ee9af7aa2 Include <stdlib.h> if available. Declare errno only if it is not a macro. 1999-08-30 16:19:57 +00:00
Andreas Schwab
92939d319a Include <stdlib.h> if available. 1999-08-30 16:18:30 +00:00
Andreas Schwab
67ba84d17a Include <stdlib.h> if available, and declare abort only if not. Include
<ctype.h>.
1999-08-30 16:10:03 +00:00
Andreas Schwab
f5969ae957 Add declarations for some functions. 1999-08-30 16:06:22 +00:00
Richard M. Stallman
c03649190c (SYNTAX_COMMENT_NESTED, SYNTAX_FLAGS_COMMENT_NESTED):
Add support for nested comments.
1999-08-29 21:33:09 +00:00
Richard M. Stallman
95ff8dfc3c (lisp_parse_state, back_comment, Fmodify_syntax_entry)
(Fforward_comment, scan_lists, scan_sexps_forward)
(Fparse_partial_sexp): Add support for nested comments.
(forw_comment): New subroutine used in them.
1999-08-29 21:32:52 +00:00
Richard M. Stallman
d24873d402 (compile_pattern_1): Enable RE_CHAR_CLASSES for regexp. 1999-08-29 20:40:00 +00:00
Richard M. Stallman
96cc36cc58 [emacs]: Handle character classes for multibyte chars:
(ISBLANK, ISGRAPH, ISPRINT, ISALNUM, ISALPHA, ISLOWER)
(ISPUNCT, ISSPACE, ISUPPER): New definitions for emacs only.
(ISWORD): New macro.
(re_opcode_t): Add 2 bytes of flag bits to charset and charset_not.
(CHARSET_RANGE_TABLE): Update definition.
(CHARSET_RANGE_TABLE_BITS): New macro.
(print_partial_compiled_pattern): Skip charset's range table.
(struct range_table_work_area): New field `bits'.
(SET_RANGE_TABLE_WORK_AREA_BIT): New macro.
(BIT_ALNUM, BIT_ALPHA, BIT_WORD, BIT_GRAPH, BIT_LOWER, BIT_PRINT)
(BIT_PUNCT, BIT_SPACE, BIT_UPPER): New macros.
(CLEAR_RANGE_TABLE_WORK_USED): Clear field `bits'.
(RANGE_TABLE_WORK_BITS): New macro.
(IS_CHAR_CLASS): Check for "word".
(regex_compile): Set the `bits' field for some character classes.
Handle the `word' class.  Store the `bits' field into the range table.
(re_compile_fastmap): Handle flag bits in range table.
(re_match_2_internal): For charset and charset_not,
handle flag bits in the range table.
1999-08-29 20:38:11 +00:00
Richard M. Stallman
599c6c1763 (read_input_waiting): Pass read_socket_hook just 4 args. 1999-08-29 19:32:33 +00:00
Ken Raeburn
8f34f70a36 (struct Lisp_Cons, XCAR, XCDR, struct Lisp_Float): Change names of structure
elements if HIDE_LISP_IMPLEMENTATION is defined, to help detect code that uses
knowledge of the Lisp internals that it shouldn't have.
(XFLOAT_DATA): New macro.
1999-08-28 22:15:12 +00:00
Gerd Moellmann
97cafc0f48 (resize_mini_window): Don't resize if
Vmax_mini_window_height is nil.  Otherwise, use a default if
Vmax_mini_window_height is not ot a number.
(syms_of_xdisp): Extend documentation of Vmax_mini_window_height.
1999-08-25 21:12:40 +00:00
Gerd Moellmann
527b6458ed (Frecenter): Clear frame if called with nil or no arg. 1999-08-25 21:12:38 +00:00
Gerd Moellmann
5878ee6fc4 (Fforward_word): If in a mini-buffer and moving
backwards, stop in front of the prompt to prevent accidentially
moving into the read-only prompt.
1999-08-25 21:12:36 +00:00
Karl Heuer
bc597cc7be Merge IRIX debugging info patch from unexsgi.c
Auto-detect .sbss section.
(round_up): Make it static.
(unexec): Declare alignment as Elf Word.  Skip ``Program
segment above .bss'' test on MIPS without .sbss.
Copy sections .got and .sdata1 sections.  Adjust offsets in
sections .sdata, .lit4, .lit8, .got and .sdata1.
1999-08-25 16:15:29 +00:00
Karl Heuer
3bc0ab9fdd Use unexelf for IRIX 5.*. 1999-08-25 16:15:06 +00:00
Karl Heuer
cb89c722d6 Use unexelf for IRIX 6.*. 1999-08-25 16:14:50 +00:00
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
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
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
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