aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (SYNTAX_COMMENT_NESTED, SYNTAX_FLAGS_COMMENT_NESTED):Richard M. Stallman1999-08-291-1/+7
| | | | Add support for nested comments.
* (lisp_parse_state, back_comment, Fmodify_syntax_entry)Richard M. Stallman1999-08-291-134/+225
| | | | | | (Fforward_comment, scan_lists, scan_sexps_forward) (Fparse_partial_sexp): Add support for nested comments. (forw_comment): New subroutine used in them.
* (compile_pattern_1): Enable RE_CHAR_CLASSES for regexp.Richard M. Stallman1999-08-291-1/+1
|
* [emacs]: Handle character classes for multibyte chars:Richard M. Stallman1999-08-291-35/+201
| | | | | | | | | | | | | | | | | | | | | | (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.
* (read_input_waiting): Pass read_socket_hook just 4 args.Richard M. Stallman1999-08-291-1/+1
|
* (struct Lisp_Cons, XCAR, XCDR, struct Lisp_Float): Change names of structureKen Raeburn1999-08-281-0/+21
| | | | | | 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.
* (resize_mini_window): Don't resize ifGerd Moellmann1999-08-251-1/+8
| | | | | | 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.
* (Frecenter): Clear frame if called with nil or no arg.Gerd Moellmann1999-08-251-0/+1
|
* (Fforward_word): If in a mini-buffer and movingGerd Moellmann1999-08-251-0/+11
| | | | | backwards, stop in front of the prompt to prevent accidentially moving into the read-only prompt.
* Merge IRIX debugging info patch from unexsgi.cKarl Heuer1999-08-251-49/+96
| | | | | | | | | 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.
* Use unexelf for IRIX 5.*.Karl Heuer1999-08-251-1/+1
|
* Use unexelf for IRIX 6.*.Karl Heuer1999-08-251-1/+1
|
* (try_window_id): Remove typo.Gerd Moellmann1999-08-251-1/+1
|
* (try_window_id): Recognize case that PT == ZV and inGerd Moellmann1999-08-251-2/+12
| | | | | | unchanged text at the bottom when computing the cursor position. (message3_nolog): Raise frame only if minibuffer_auto_raise is set.
* (PVEC_TYPE_MASK): Add the bit for hash tables.Gerd Moellmann1999-08-251-1/+1
|
* (expose_window_tree): Fix typo CANON_Y_UNIT toGerd Moellmann1999-08-241-1/+1
| | | | CANON_X_UNIT.
* [HAVE_JPEG]: Work around a warning about HAVE_STDLIB_HGerd Moellmann1999-08-241-0/+11
| | | | being redefined in jconfig.h.
* (Qmargin): Replacement for Qbitmap_area.Gerd Moellmann1999-08-241-4/+4
| | | | | (realize_basic_faces): Replace Qmargin for Qbitmap_area. (syms_of_xfaces): Ditto.
* (redisplay_window): Don't ever test just_this_one_pGerd Moellmann1999-08-241-34/+70
| | | | | | | | 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.
* (Fset_window_point): Reset Vresize_mini_config.Gerd Moellmann1999-08-241-0/+25
| | | | | (Fset_window_start): Ditto. (set_window_buffer): Ditto.
* (Vresize_mini_config, resize_mini_frame,Gerd Moellmann1999-08-241-0/+3
| | | | resize_mini_initial_height): Add extern declarations.
* (adjust_frame_glyphs): Reset Vresize_mini_config.Gerd Moellmann1999-08-241-0/+8
|
* Include "ccl.h" instead of "../src/ccl.h".Kenichi Handa1999-08-231-1/+1
|
* (redisplay_internal): Clear garbaged frames afterGerd Moellmann1999-08-231-64/+93
| | | | | | | | | | | | | | | 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.
* (beg_unchanged, end_unchanged, unchanged_modified,Gerd Moellmann1999-08-231-19/+0
| | | | | | | | | | | | | | | | 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.
* (Fset_window_hscroll): SetGerd Moellmann1999-08-231-3/+4
| | | | | | | prevent_redisplay_optimizations_p instead of clip_changed. (Fset_window_hscroll): Ditto. (temp_output_buffer_show): Ditto. (Fset_window_vscroll): Ditto.
* (command_loop_1): Set beg/end_unchanged perGerd Moellmann1999-08-231-1/+3
| | | | buffer.
* (gap_left): Use BUF_COMPUTE_UNCHANGED.Gerd Moellmann1999-08-231-50/+17
| | | | | | | | | (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.
* (direct_output_for_insert): Set beg_unchangedGerd Moellmann1999-08-231-2/+2
| | | | and unchanged_modified per buffer.
* (struct glyph_matrix): Add buffer, begv, and zv.Gerd Moellmann1999-08-231-0/+6
|
* (code_convert_region): Compute beg/end_unchanged perGerd Moellmann1999-08-231-4/+4
| | | | buffer.
* (BUF_COMPUTE_UNCHANGED): New.Gerd Moellmann1999-08-231-0/+58
| | | | | | | | | | (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.
* (set_buffer_internal): Set windows_or_buffers_changedGerd Moellmann1999-08-231-29/+25
| | | | | | | | | | | | 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.
* (mark_glyph_matrix): Mark strings only.Gerd Moellmann1999-08-231-6/+3
|
* Add prototype for copy_hash_table and Fcopy_hash_table.Gerd Moellmann1999-08-221-0/+2
|
* (Qkey, Qvalue): Renamed from Qkey_weak, and Qvalue_weak.Gerd Moellmann1999-08-221-27/+65
| | | | | | | | (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.
* Call change_frame_size and do_pending_window_change withGerd Moellmann1999-08-221-7/+7
| | | | new parameter.
* (resize_mini_window): Do it for truncate-lines t asGerd Moellmann1999-08-211-59/+75
| | | | | | | | 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.
* Call change_frame_size and do_pending_window_change withGerd Moellmann1999-08-211-2/+6
| | | | | | new parameter. (x_scroll_bar_create) [USE_TOOLKIT_SCROLL_BARS]: Clear under scroll bar widget.
* (face_at_buffer_position): Don't xassert thatGerd Moellmann1999-08-211-1/+1
| | | | | window's buffers equals current_buffer; this is not the case during echo area display.
* Call change_frame_size and do_pending_window_change withGerd Moellmann1999-08-211-303/+775
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Remove references to echo_area_glyphsGerd Moellmann1999-08-211-24/+0
| | | | and previous_echo_glyphs.
* Call change_frame_size and do_pending_window_change withGerd Moellmann1999-08-213-8/+8
| | | | new parameter.
* Remove conditional compilation on `standalone'.Gerd Moellmann1999-08-211-319/+152
| | | | | | | | | | (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.
* Remove conditional compilation onGerd Moellmann1999-08-211-53/+23
| | | | | | | | | | | | 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.
* Add function prototypes.Gerd Moellmann1999-08-211-0/+10
| | | | | Add function prototypes and extern declarations for new functions and variables.
* Call change_frame_size and do_pending_window_change withGerd Moellmann1999-08-211-41/+48
| | | | | | | | | | | | | | | | 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.
* Remove conditional compilation on NO_PROMPT_IN_BUFFER.Gerd Moellmann1999-08-215-31/+3
|
* Call change_frame_size and do_pending_window_change withGerd Moellmann1999-08-211-13/+7
| | | | | | new parameter. Remove references to echo_area_glyphs and previous_echo_glyphs.
* (hash_lookup): Test with EQ before calling key comparionGerd Moellmann1999-08-211-26/+13
| | | | | | | | | 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.