Gerd Moellmann [Wed, 18 Oct 2000 14:20:53 +0000 (14:20 +0000)]
(access_keymap): If IDX has a meta prefix, and there's
no map for meta_prefix_char, don't try to use it as a keymap.
Instead, if T_OK is non-zero, look up a default binding, if any,
otherwise, if T_OK is zero, return nil.
Miles Bader [Wed, 18 Oct 2000 14:09:54 +0000 (14:09 +0000)]
(comint-delete-output): Renamed from `comint-kill-output'.
(comint-kill-output): Changed into an alias for `comint-delete-output',
and made obsolete.
(comint-mode-map): Rename references to comint-kill-output.
Gerd Moellmann [Wed, 18 Oct 2000 11:58:07 +0000 (11:58 +0000)]
(x_color_cells, x_query_colors, x_query_color): New
functions.
(x_alloc_nearest_color): Use it to reduce calls to XQueryColors
which can be slow.
(x_copy_color, x_alloc_lighter_color): Likewise.
Eli Zaretskii [Wed, 18 Oct 2000 08:52:23 +0000 (08:52 +0000)]
(diff-header-face, diff-file-header-face)
(diff-changed-face): Add bold and italic attributes to tty faces.
(diff-function-face): New face.
(diff-font-lock-keywords): Use it.
Miles Bader [Wed, 18 Oct 2000 01:43:01 +0000 (01:43 +0000)]
(comint-output-filter):
Fixup comint-last-input-end too.
Remove commented-out call to force-mode-line-update.
(comint-kill-output):
Use `forward-line 0' instead of beginning-of-line to make sure we get
past the prompt.
Gerd Moellmann [Tue, 17 Oct 2000 19:39:17 +0000 (19:39 +0000)]
(pure_bytes_used): Renamed from pureptr.
(ALIGN): New macro.
(pure_alloc): New function.
(make_pure_string, pure_cons, make_pure_float, make_pure_vector):
Use it.
(Fpurecopy): Use PURE_POINTER_P.
Stefan Monnier [Tue, 17 Oct 2000 15:55:20 +0000 (15:55 +0000)]
(diff-header-face, diff-file-header-face):
Add specific setting for dark background.
(diff-context-face): Renamed from diff-comment-face.
Set explicitly rather than inheriting from font-lock-comment-face.
Gerd Moellmann [Tue, 17 Oct 2000 15:38:30 +0000 (15:38 +0000)]
(mark_object) [GC_CHECK_STRING_BYTES]: Check validity of
string's size_byte.
(check_string_bytes) [GC_CHECK_STRING_BYTES]: New function.
(check_string_bytes_count) [GC_CHECK_STRING_BYTES]: New variable.
(allocate_string) [GC_CHECK_STRING_BYTES]: Call it for every 10th
string allocated.
Gerd Moellmann [Mon, 16 Oct 2000 21:05:03 +0000 (21:05 +0000)]
(set_iterator_to_next): Reset box start and flags of the
iterator at the beginning, so that they can be set later on, for
instance in reseat_at_next_visible_line_start without being
overwritten.
Gerd Moellmann [Mon, 16 Oct 2000 19:57:04 +0000 (19:57 +0000)]
(pbm_format): Add :foreground and :background keywords.
(PBM_FOREGROUND, PBM_BACKGROUND): New enumerators.
(xbm_load): Recoghnize foreground and background color
specifications.
Eli Zaretskii [Mon, 16 Oct 2000 19:16:20 +0000 (19:16 +0000)]
(IT_set_face): Compare highlighted face with the default
face, and invert colors if these faces' colors are identical.
(Fmsdos_remember_default_colors): Don't swap foreground and
background colors in initial_colors[].
(IT_set_frame_parameters): Don't swap frame's foreground and
background pixels. If ALIST includes "(reverse . t)", swap
foreground-color and background-color properties in frame's
param_alist. If the original frame's param_alist doesn't specify
the colors, store unspecified-fg and unspecified-bg, reversed if
required.
Eli Zaretskii [Mon, 16 Oct 2000 19:15:09 +0000 (19:15 +0000)]
(Fframe_parameters): If a tty's frame's param_alist says
the colors are unspecified and reversed, reverse fore- and back-
ground in the returned value.
(Fframe_parameter): Ditto.
Gerd Moellmann [Mon, 16 Oct 2000 15:39:59 +0000 (15:39 +0000)]
(find_last_unchanged_at_beg_row): Renamed from
get_last_unchanged_at_beg_row.
(find_first_unchanged_at_end_row): Renamed from
get_first_unchanged_at_end_row.
(find_first_unchanged_at_end_row): Convert assertions to
unconditional tests which abort. When looking for a row in
unchanged text, don't go further back than first_text_row.
Gerd Moellmann [Mon, 16 Oct 2000 13:56:12 +0000 (13:56 +0000)]
(try_scrolling) <cursor in scroll margin at the bottom>:
Don't add in the last line's height when deciding if the new
position is below the scroll margin.
Stefan Monnier [Sun, 15 Oct 2000 21:42:41 +0000 (21:42 +0000)]
(Fstring_to_syntax): New function extracted from Fmodify_syntax_entry.
(Fmodify_syntax_entry): Use it and document the ! and | fences.
(skip_chars, Fforward_comment): Remove unused variables.
(syms_of_syntax): Add defsubr for string-to-syntax.