Juri Linkov [Tue, 19 Jul 2005 11:30:29 +0000 (11:30 +0000)]
(mode-line-highlight): Replace RoyalBlue4 with
a button-like box. Inherit from `highlight' on low colors.
(shadow): Use shades of gray only for color/grayscale with
more than 88 colors. Use green for light backgrounds with
8 colors, and yellow for dark backgrounds with 8 colors.
Juri Linkov [Tue, 19 Jul 2005 11:28:35 +0000 (11:28 +0000)]
(diff-file-header): Change foreground color from
yellow to green on light backgrounds.
(diff-context): Inherit from `shadow' only for color/grayscale
with more than 88 colors.
(diff-indicator-removed, diff-indicator-added)
(diff-indicator-changed): New faces.
(diff-font-lock-keywords): Use new faces. Regroup rules.
Add "^---$" for `normal' diff format. Fontify `#' lines with
font-lock-comment-delimiter-face and font-lock-comment-face.
Add `#' to ^[^...] in the rule for `diff-context-face'.
Juri Linkov [Tue, 19 Jul 2005 11:23:14 +0000 (11:23 +0000)]
(describe-char): Create link buttons for `charset'
and `code point'. Add the current input method name with a link
button to `to input' field. Print face names of display table
characters in `The display table entry is displayed by' section
instead of printing face-id in the `display' field.
Guess hardcoded faces and create a link button for them.
Skip empty fields when calculating max-width.
Treat `widget-create' specially while inserting strings from the
collected field list.
(describe-char-after): Made obsolete in version 22.1, not 21.5.
Juri Linkov [Tue, 19 Jul 2005 11:19:13 +0000 (11:19 +0000)]
(compare-ignore-whitespace, compare-windows-sync)
(compare-windows-sync-string-size, compare-windows-recenter)
(compare-windows-highlight, compare-windows): Add version 22.1.
(compare-windows) <defface>: Inherit from lazy-highlight instead
of duplicating its default value.
Juri Linkov [Mon, 18 Jul 2005 14:33:38 +0000 (14:33 +0000)]
(isearch-process-search-multibyte-characters): Remove unneeded `concat'.
Add intermediate values to `junk-hist' instead of `minibuffer-history'.
Test the length of `str'.
(array-mode, array-reconfigure-rows, untabify-backward): Fix typos in
docstrings.
(array-reconfigure-rows): Use `insert-buffer-substring', not `insert-buffer'.
(struct mac_display_info): Change types of scratch_cursor_gc
black_relief.gc, and white_relief.gc to GC.
(XCreateGC, XParseGeometry): Move externs from macgui.h.
(x_bitmap_icon, x_make_frame_visible): Remove declarations.
(XSetFont): Add declaration.
(mac_set_forecolor, mac_set_backcolor, mac_set_colors): Remove
functions.
(GC_FORE_COLOR, GC_BACK_COLOR, GC_FONT, MAC_WINDOW_NORMAL_GC): New
defines.
(XDrawLine, mac_draw_line_to_pixmap, XClearWindow)
(mac_draw_bitmap, XCreatePixmapFromBitmapData, XFillRectangle)
(mac_draw_rectangle, mac_draw_string_common, mac_scroll_area): Use
them.
(mac_erase_rectangle): New function.
(XClearArea, x_draw_fringe_bitmap, x_clear_glyph_string_rect)
(x_draw_stretch_glyph_string): Use it.
(XChangeGC, XCreateGC, XGetGCValues, XSetForeground)
(XSetBackground, XSetFont): Adjust for new GC implementation.
(x_draw_fringe_bitmap, x_draw_box_rect): Use GC to set colors.
(XTset_vertical_scroll_bar): Clear area under scroll bar.
(struct _XGC): New struct.
(GC): Use it.
(GCForeground, GCBackground, GCFont): Use X11 mask values.
(XCreateGC, XParseGeometry): Move externs to macterm.h.
(allout-isearch-did-quit): Variable deleted.
(allout-real-isearch-abort): Function name no longer used.
(allout-mode): Do allout-enwrap-isearch whenever feature is wanted.
(allout-isearch-rectification): isearch-mode always exists.
Don't set allout-isearch-did-quit.
(allout-isearch-expose): Check isearch-mode-end-hook-error, not
allout-isearch-did-quit.
(allout-enwrap-isearch): Just add the hook.
(allout-isearch-abort): Function deleted.
(allout-pre-command-business): Avoid warning.
(gamegrid-shared-game-dir): Add defvar.
(gamegrid-set-display-table): Avoid warning.
(gamegrid-set-timer): Likewise.
(gamegrid-make-mono-tty-face): Use set-face-inverse-video-p.
(gamegrid-add-score-with-update-game-score-1): Take FILE as argument.
(gamegrid-add-score-with-update-game-score): Pass that argument.
Rename have-shared-game-dir to gamegrid-shared-game-dir.