bpt/emacs.git
24 years agoInclude <stdlib.h> if available, and declare abort only if not. Include
Andreas Schwab [Mon, 30 Aug 1999 16:10:03 +0000 (16:10 +0000)]
Include <stdlib.h> if available, and declare abort only if not.  Include
<ctype.h>.

24 years agoAdd declarations for some functions.
Andreas Schwab [Mon, 30 Aug 1999 16:06:22 +0000 (16:06 +0000)]
Add declarations for some functions.

24 years agoInclude <stdlib.h> if available.
Andreas Schwab [Mon, 30 Aug 1999 15:08:30 +0000 (15:08 +0000)]
Include <stdlib.h> if available.

24 years agoInclude <stdlib.h> if available. Don't declare errno if it's a macro.
Andreas Schwab [Mon, 30 Aug 1999 15:07:30 +0000 (15:07 +0000)]
Include <stdlib.h> if available.  Don't declare errno if it's a macro.

24 years agoInclude <unistd.h> if available.
Andreas Schwab [Mon, 30 Aug 1999 15:05:17 +0000 (15:05 +0000)]
Include <unistd.h> if available.

24 years ago(SYNTAX_COMMENT_NESTED, SYNTAX_FLAGS_COMMENT_NESTED):
Richard M. Stallman [Sun, 29 Aug 1999 21:33:09 +0000 (21:33 +0000)]
(SYNTAX_COMMENT_NESTED, SYNTAX_FLAGS_COMMENT_NESTED):
Add support for nested comments.

24 years ago(lisp_parse_state, back_comment, Fmodify_syntax_entry)
Richard M. Stallman [Sun, 29 Aug 1999 21:32:52 +0000 (21:32 +0000)]
(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.

24 years ago(bibtex-mode): Use with-temp-buffer rather than make-temp-name, use
Richard M. Stallman [Sun, 29 Aug 1999 21:20:20 +0000 (21:20 +0000)]
(bibtex-mode): Use with-temp-buffer rather than make-temp-name, use
match-string-no-properties, and eliminate a quadratic behavior when
building bibtex-strings.

24 years ago(comint-input-ring-separator): New variable.
Richard M. Stallman [Sun, 29 Aug 1999 20:55:30 +0000 (20:55 +0000)]
(comint-input-ring-separator): New variable.
(comint-read-input-ring): Doc change; use
comint-input-ring-separator when reading file.
(comint-write-input-ring): Use comint-input-ring-separator when writing file.

24 years agoInitial revision
Richard M. Stallman [Sun, 29 Aug 1999 20:48:15 +0000 (20:48 +0000)]
Initial revision

24 years ago(compile_pattern_1): Enable RE_CHAR_CLASSES for regexp.
Richard M. Stallman [Sun, 29 Aug 1999 20:40:00 +0000 (20:40 +0000)]
(compile_pattern_1): Enable RE_CHAR_CLASSES for regexp.

24 years ago[emacs]: Handle character classes for multibyte chars:
Richard M. Stallman [Sun, 29 Aug 1999 20:38:11 +0000 (20:38 +0000)]
[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.

24 years ago(mail-extr-all-letters-but-separators)
Richard M. Stallman [Sun, 29 Aug 1999 20:35:30 +0000 (20:35 +0000)]
(mail-extr-all-letters-but-separators)
(mail-extr-first-letters, mail-extr-last-letters):
Use character classes [:alpha:] and [:alnum:].

24 years ago(tags-loop-continue): After tags-loop-operate returns, force skip to next file.
Richard M. Stallman [Sun, 29 Aug 1999 20:32:04 +0000 (20:32 +0000)]
(tags-loop-continue): After tags-loop-operate returns, force skip to next file.

24 years agoFix previous change.
Richard M. Stallman [Sun, 29 Aug 1999 20:27:40 +0000 (20:27 +0000)]
Fix previous change.

24 years ago(push, pop): New macros.
Richard M. Stallman [Sun, 29 Aug 1999 20:23:54 +0000 (20:23 +0000)]
(push, pop): New macros.

24 years ago(compilation-error-regexp-alist): New item for SGI IRIX MipsPro compilers.
Richard M. Stallman [Sun, 29 Aug 1999 19:54:39 +0000 (19:54 +0000)]
(compilation-error-regexp-alist): New item for SGI IRIX MipsPro compilers.

24 years ago(eval-defun): Expand macros,
Richard M. Stallman [Sun, 29 Aug 1999 19:53:27 +0000 (19:53 +0000)]
(eval-defun): Expand macros,
and specially handle defvar inside their expansions.
(eval-defun-1): New subroutine.

24 years ago(compilation-error-regexp-alist):
Richard M. Stallman [Sun, 29 Aug 1999 19:44:22 +0000 (19:44 +0000)]
(compilation-error-regexp-alist):
Fix the Perl -w entry to allow period after line number.
Don't allow newlines in file name, but allow them after line number
for Perl debugging traces.

24 years ago(speedbar-directory-buttons): Recognize
Richard M. Stallman [Sun, 29 Aug 1999 19:37:29 +0000 (19:37 +0000)]
(speedbar-directory-buttons): Recognize
device names when checking for file names.

24 years ago(read_input_waiting): Pass read_socket_hook just 4 args.
Richard M. Stallman [Sun, 29 Aug 1999 19:32:33 +0000 (19:32 +0000)]
(read_input_waiting): Pass read_socket_hook just 4 args.

24 years ago(print_help_and_exit): Mention --version.
Richard M. Stallman [Sun, 29 Aug 1999 19:30:53 +0000 (19:30 +0000)]
(print_help_and_exit): Mention --version.

24 years ago*** empty log message ***
Richard M. Stallman [Sun, 29 Aug 1999 19:29:21 +0000 (19:29 +0000)]
*** empty log message ***

24 years ago(array-reconfigure-rows): Use generate-new-buffer.
Richard M. Stallman [Sun, 29 Aug 1999 19:21:07 +0000 (19:21 +0000)]
(array-reconfigure-rows): Use generate-new-buffer.

24 years ago(Info-tagify): Don't insert more than one newline before the tag table.
Richard M. Stallman [Sun, 29 Aug 1999 19:19:00 +0000 (19:19 +0000)]
(Info-tagify): Don't insert more than one newline before the tag table.

(Info-tagify): Start by widening.
Match node headers that don't list the file name,
and more kinds of page separations.
Strip properties during tagification.
Use start of node header line as tag's position.
Fix the "done" message.

(Info-validate): Save and restore match data around narrowing down.

24 years ago(compilation-parsing-end,compilation-setup)
Richard M. Stallman [Sun, 29 Aug 1999 19:07:33 +0000 (19:07 +0000)]
(compilation-parsing-end,compilation-setup)
(compilation-filter, compilation-forget-errors)
(compilation-parse-errors): Use a marker instead of an integer for
`compilation-parsing-end'.

24 years ago(which-func-cleanup-function): New variable.
Richard M. Stallman [Sun, 29 Aug 1999 19:05:44 +0000 (19:05 +0000)]
(which-func-cleanup-function): New variable.
(which-function): Call that function.

24 years ago(find-function-regexp): Allow a ) or ( to end a function name.
Richard M. Stallman [Sun, 29 Aug 1999 18:15:29 +0000 (18:15 +0000)]
(find-function-regexp): Allow a ) or ( to end a function name.

24 years ago*** empty log message ***
Steve Morningthunder [Sun, 29 Aug 1999 15:20:45 +0000 (15:20 +0000)]
*** empty log message ***

24 years agodeleted kermit clone from tasks per communication with rms
Steve Morningthunder [Sun, 29 Aug 1999 15:11:03 +0000 (15:11 +0000)]
deleted kermit clone from tasks per communication with rms

24 years ago(struct Lisp_Cons, XCAR, XCDR, struct Lisp_Float): Change names of structure
Ken Raeburn [Sat, 28 Aug 1999 22:15:12 +0000 (22:15 +0000)]
(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.

24 years ago(ada-tmp-directory): Use temporary-file-directory.
Richard M. Stallman [Sat, 28 Aug 1999 18:25:40 +0000 (18:25 +0000)]
(ada-tmp-directory): Use temporary-file-directory.

24 years ago(metamail-region): Use temporary-file-directory.
Richard M. Stallman [Sat, 28 Aug 1999 18:25:16 +0000 (18:25 +0000)]
(metamail-region): Use temporary-file-directory.

24 years ago(post-mail-send-it): Use temporary-file-directory.
Richard M. Stallman [Sat, 28 Aug 1999 18:24:54 +0000 (18:24 +0000)]
(post-mail-send-it): Use temporary-file-directory.

24 years ago(te-terminfo-directory): Use temporary-file-directory.
Richard M. Stallman [Sat, 28 Aug 1999 18:24:28 +0000 (18:24 +0000)]
(te-terminfo-directory): Use temporary-file-directory.

24 years ago(ledit-zap-file, ledit-read-file, ledit-compile-file):
Richard M. Stallman [Sat, 28 Aug 1999 18:23:49 +0000 (18:23 +0000)]
(ledit-zap-file, ledit-read-file, ledit-compile-file):
Use temporary-file-directory.

24 years ago(dired-string-replace-match): Return `nil' when no match
Richard M. Stallman [Sat, 28 Aug 1999 18:23:14 +0000 (18:23 +0000)]
(dired-string-replace-match): Return `nil' when no match
found with global search.

24 years ago(tex-compilation-parse-errors):
Richard M. Stallman [Sat, 28 Aug 1999 18:22:20 +0000 (18:22 +0000)]
(tex-compilation-parse-errors):
Use a marker instead of an integer for `compilation-parsing-end'.

24 years ago(diff-parse-differences):
Richard M. Stallman [Sat, 28 Aug 1999 18:21:34 +0000 (18:21 +0000)]
(diff-parse-differences):
Use a marker instead of an integer for `compilation-parsing-end'.

24 years ago(calendar-goto-astro-day-number): Autoload the right function name.
Richard M. Stallman [Sat, 28 Aug 1999 15:21:55 +0000 (15:21 +0000)]
(calendar-goto-astro-day-number): Autoload the right function name.

24 years agoCall the new hook in every movement function.
Richard M. Stallman [Sat, 28 Aug 1999 15:20:18 +0000 (15:20 +0000)]
Call the new hook in every movement function.

24 years ago(calendar-move-hook): New hook.
Richard M. Stallman [Sat, 28 Aug 1999 15:18:39 +0000 (15:18 +0000)]
(calendar-move-hook): New hook.

24 years ago(dired-guess-shell-alist-default): Support bzip2 format.
Karl Heuer [Sat, 28 Aug 1999 15:16:55 +0000 (15:16 +0000)]
(dired-guess-shell-alist-default): Support bzip2 format.

24 years ago(easy-mmode-define-minor-mode):
Karl Heuer [Sat, 28 Aug 1999 15:13:37 +0000 (15:13 +0000)]
(easy-mmode-define-minor-mode):
On repeated call, override previous values put into
minor-mode-map-alist and minor-mode-alist.

24 years ago(USE_TOOLKIT_SCROLL_BARS): Move tests for
Richard M. Stallman [Sat, 28 Aug 1999 06:23:04 +0000 (06:23 +0000)]
(USE_TOOLKIT_SCROLL_BARS): Move tests for
-lXaw3d, -lXpm, -ljpeg, -lpng, -ltiff, and -lgif, down
after the other X-related libraries.

24 years ago(vc-backend-merge-news): Fix regexp to also match P marker
Andreas Schwab [Fri, 27 Aug 1999 07:59:22 +0000 (07:59 +0000)]
(vc-backend-merge-news): Fix regexp to also match P marker
from cvs update.

24 years agoPut quote-backquote around all symbol names
Karl Heuer [Fri, 27 Aug 1999 01:47:33 +0000 (01:47 +0000)]
Put quote-backquote around all symbol names
in doc strings, for mousing.
(time-stamp): support multi-line patterns.
(time-stamp-inserts-lines): new variable.
(time-stamp-count): new variable.
(time-stamp-string-preprocess): fixed bug where "%%a" becomes
"Thu" instead of "%a".

24 years ago(find-file): Doc fix.
Dave Love [Thu, 26 Aug 1999 17:54:28 +0000 (17:54 +0000)]
(find-file): Doc fix.

24 years ago(resize_mini_window): Don't resize if
Gerd Moellmann [Wed, 25 Aug 1999 21:12:40 +0000 (21:12 +0000)]
(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.

24 years ago(Frecenter): Clear frame if called with nil or no arg.
Gerd Moellmann [Wed, 25 Aug 1999 21:12:38 +0000 (21:12 +0000)]
(Frecenter): Clear frame if called with nil or no arg.

24 years ago(Fforward_word): If in a mini-buffer and moving
Gerd Moellmann [Wed, 25 Aug 1999 21:12:36 +0000 (21:12 +0000)]
(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.

24 years ago(kill-word): Undo previous change.
Gerd Moellmann [Wed, 25 Aug 1999 21:12:15 +0000 (21:12 +0000)]
(kill-word): Undo previous change.

24 years ago(decode_options): Update version output.
Karl Heuer [Wed, 25 Aug 1999 16:19:01 +0000 (16:19 +0000)]
(decode_options): Update version output.
(print_help_and_exit): Update bug report address.

24 years agoMerge IRIX debugging info patch from unexsgi.c
Karl Heuer [Wed, 25 Aug 1999 16:15:29 +0000 (16:15 +0000)]
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.

24 years agoUse unexelf for IRIX 5.*.
Karl Heuer [Wed, 25 Aug 1999 16:15:06 +0000 (16:15 +0000)]
Use unexelf for IRIX 5.*.

24 years agoUse unexelf for IRIX 6.*.
Karl Heuer [Wed, 25 Aug 1999 16:14:50 +0000 (16:14 +0000)]
Use unexelf for IRIX 6.*.

24 years ago(jit-lock-function): Extend the fontified range
Gerd Moellmann [Wed, 25 Aug 1999 13:03:22 +0000 (13:03 +0000)]
(jit-lock-function): Extend the fontified range
to the beginning of the line containing the range start and
the beginning of the line following the range end.

24 years ago(try_window_id): Remove typo.
Gerd Moellmann [Wed, 25 Aug 1999 10:57:56 +0000 (10:57 +0000)]
(try_window_id): Remove typo.

24 years ago(try_window_id): Recognize case that PT == ZV and in
Gerd Moellmann [Wed, 25 Aug 1999 01:05:00 +0000 (01:05 +0000)]
(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.

24 years ago(PVEC_TYPE_MASK): Add the bit for hash tables.
Gerd Moellmann [Wed, 25 Aug 1999 01:04:57 +0000 (01:04 +0000)]
(PVEC_TYPE_MASK): Add the bit for hash tables.

24 years ago(expose_window_tree): Fix typo CANON_Y_UNIT to
Gerd Moellmann [Tue, 24 Aug 1999 19:25:11 +0000 (19:25 +0000)]
(expose_window_tree): Fix typo CANON_Y_UNIT to
CANON_X_UNIT.

24 years ago[HAVE_JPEG]: Work around a warning about HAVE_STDLIB_H
Gerd Moellmann [Tue, 24 Aug 1999 19:25:06 +0000 (19:25 +0000)]
[HAVE_JPEG]: Work around a warning about HAVE_STDLIB_H
being redefined in jconfig.h.

24 years ago(Qmargin): Replacement for Qbitmap_area.
Gerd Moellmann [Tue, 24 Aug 1999 19:25:02 +0000 (19:25 +0000)]
(Qmargin): Replacement for Qbitmap_area.
(realize_basic_faces): Replace Qmargin for Qbitmap_area.
(syms_of_xfaces): Ditto.

24 years ago(redisplay_window): Don't ever test just_this_one_p
Gerd Moellmann [Tue, 24 Aug 1999 19:24:57 +0000 (19:24 +0000)]
(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.

24 years ago(Fset_window_point): Reset Vresize_mini_config.
Gerd Moellmann [Tue, 24 Aug 1999 19:24:53 +0000 (19:24 +0000)]
(Fset_window_point): Reset Vresize_mini_config.
(Fset_window_start): Ditto.
(set_window_buffer): Ditto.

24 years ago(Vresize_mini_config, resize_mini_frame,
Gerd Moellmann [Tue, 24 Aug 1999 19:24:50 +0000 (19:24 +0000)]
(Vresize_mini_config, resize_mini_frame,
resize_mini_initial_height): Add extern declarations.

24 years ago(adjust_frame_glyphs): Reset Vresize_mini_config.
Gerd Moellmann [Tue, 24 Aug 1999 19:24:46 +0000 (19:24 +0000)]
(adjust_frame_glyphs): Reset Vresize_mini_config.

24 years ago(margin): Renamed from bitmap-area.
Gerd Moellmann [Tue, 24 Aug 1999 19:24:28 +0000 (19:24 +0000)]
(margin): Renamed from bitmap-area.

24 years agoMode provide to end.
Dave Love [Tue, 24 Aug 1999 16:43:44 +0000 (16:43 +0000)]
Mode provide to end.
(timezone-parse-date): Simplify somewhat.  Assume 2-digit years <70 are
2000+.
(timezone-parse-time): Simplify somewhat.

24 years ago(gnus-emphasis-underline-italic): Doc fix.
Andreas Schwab [Tue, 24 Aug 1999 12:20:31 +0000 (12:20 +0000)]
(gnus-emphasis-underline-italic): Doc fix.

24 years ago(sql-sybase): use sql-server instead of sql-database.
Alex Schroeder [Tue, 24 Aug 1999 10:50:59 +0000 (10:50 +0000)]
(sql-sybase): use sql-server instead of sql-database.

24 years ago(delete-extract-rectangle): Doc fix from verna.
Dave Love [Mon, 23 Aug 1999 16:14:59 +0000 (16:14 +0000)]
(delete-extract-rectangle): Doc fix from verna.

24 years agoAdd/fix various doc strings. Add `*' to all the interactive specs.
Dave Love [Mon, 23 Aug 1999 14:28:34 +0000 (14:28 +0000)]
Add/fix various doc strings.  Add `*' to all the interactive specs.

24 years agoInclude "ccl.h" instead of "../src/ccl.h".
Kenichi Handa [Mon, 23 Aug 1999 10:43:51 +0000 (10:43 +0000)]
Include "ccl.h" instead of "../src/ccl.h".

24 years ago(redisplay_internal): Clear garbaged frames after
Gerd Moellmann [Mon, 23 Aug 1999 00:11:55 +0000 (00:11 +0000)]
(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.

24 years ago(beg_unchanged, end_unchanged, unchanged_modified,
Gerd Moellmann [Mon, 23 Aug 1999 00:11:54 +0000 (00:11 +0000)]
(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.

24 years ago(Fset_window_hscroll): Set
Gerd Moellmann [Mon, 23 Aug 1999 00:11:51 +0000 (00:11 +0000)]
(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.

24 years ago(command_loop_1): Set beg/end_unchanged per
Gerd Moellmann [Mon, 23 Aug 1999 00:11:47 +0000 (00:11 +0000)]
(command_loop_1):  Set beg/end_unchanged per
buffer.

24 years ago(gap_left): Use BUF_COMPUTE_UNCHANGED.
Gerd Moellmann [Mon, 23 Aug 1999 00:11:45 +0000 (00:11 +0000)]
(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.

24 years ago(direct_output_for_insert): Set beg_unchanged
Gerd Moellmann [Mon, 23 Aug 1999 00:11:43 +0000 (00:11 +0000)]
(direct_output_for_insert):  Set beg_unchanged
and unchanged_modified per buffer.

24 years ago(struct glyph_matrix): Add buffer, begv, and zv.
Gerd Moellmann [Mon, 23 Aug 1999 00:11:42 +0000 (00:11 +0000)]
(struct glyph_matrix): Add buffer, begv, and zv.

24 years ago(code_convert_region): Compute beg/end_unchanged per
Gerd Moellmann [Mon, 23 Aug 1999 00:11:40 +0000 (00:11 +0000)]
(code_convert_region): Compute beg/end_unchanged per
buffer.

24 years ago(BUF_COMPUTE_UNCHANGED): New.
Gerd Moellmann [Mon, 23 Aug 1999 00:11:39 +0000 (00:11 +0000)]
(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.

24 years ago(set_buffer_internal): Set windows_or_buffers_changed
Gerd Moellmann [Mon, 23 Aug 1999 00:11:36 +0000 (00:11 +0000)]
(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.

24 years ago(mark_glyph_matrix): Mark strings only.
Gerd Moellmann [Mon, 23 Aug 1999 00:11:34 +0000 (00:11 +0000)]
(mark_glyph_matrix): Mark strings only.

24 years agoAdd prototype for copy_hash_table and Fcopy_hash_table.
Gerd Moellmann [Sun, 22 Aug 1999 20:47:17 +0000 (20:47 +0000)]
Add prototype for copy_hash_table and Fcopy_hash_table.

24 years ago(Qkey, Qvalue): Renamed from Qkey_weak, and Qvalue_weak.
Gerd Moellmann [Sun, 22 Aug 1999 20:47:15 +0000 (20:47 +0000)]
(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.

24 years agoOctave-mode support: for the function index entries, allow the prefix
Stephen Eglen [Sun, 22 Aug 1999 18:09:58 +0000 (18:09 +0000)]
Octave-mode support: for the function index entries, allow the prefix
to also match optional return value list of form `[X Y ... Z] = '.

24 years agoCall change_frame_size and do_pending_window_change with
Gerd Moellmann [Sun, 22 Aug 1999 12:00:17 +0000 (12:00 +0000)]
Call change_frame_size and do_pending_window_change with
new parameter.

24 years ago(resize_mini_window): Do it for truncate-lines t as
Gerd Moellmann [Sat, 21 Aug 1999 21:47:57 +0000 (21:47 +0000)]
(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.

24 years ago(backward-kill-paragraph): Don't move
Gerd Moellmann [Sat, 21 Aug 1999 19:31:34 +0000 (19:31 +0000)]
(backward-kill-paragraph): Don't move
point into mini-buffer prompt.
(backward-kill-sentence): Ditto.

24 years agoCall change_frame_size and do_pending_window_change with
Gerd Moellmann [Sat, 21 Aug 1999 19:31:13 +0000 (19:31 +0000)]
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.

24 years ago(face_at_buffer_position): Don't xassert that
Gerd Moellmann [Sat, 21 Aug 1999 19:31:04 +0000 (19:31 +0000)]
(face_at_buffer_position): Don't xassert that
window's buffers equals current_buffer; this is not the
case during echo area display.

24 years agoCall change_frame_size and do_pending_window_change with
Gerd Moellmann [Sat, 21 Aug 1999 19:30:44 +0000 (19:30 +0000)]
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.

24 years agoRemove references to echo_area_glyphs
Gerd Moellmann [Sat, 21 Aug 1999 19:30:42 +0000 (19:30 +0000)]
Remove references to echo_area_glyphs
and previous_echo_glyphs.

24 years agoCall change_frame_size and do_pending_window_change with
Gerd Moellmann [Sat, 21 Aug 1999 19:30:35 +0000 (19:30 +0000)]
Call change_frame_size and do_pending_window_change with
new parameter.

24 years agoRemove conditional compilation on `standalone'.
Gerd Moellmann [Sat, 21 Aug 1999 19:30:21 +0000 (19:30 +0000)]
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.

24 years agoRemove conditional compilation on
Gerd Moellmann [Sat, 21 Aug 1999 19:30:16 +0000 (19:30 +0000)]
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.

24 years agoAdd function prototypes.
Gerd Moellmann [Sat, 21 Aug 1999 19:30:11 +0000 (19:30 +0000)]
Add function prototypes.
Add function prototypes and extern declarations for
new functions and variables.

24 years agoCall change_frame_size and do_pending_window_change with
Gerd Moellmann [Sat, 21 Aug 1999 19:29:53 +0000 (19:29 +0000)]
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.