aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/ChangeLog
diff options
context:
space:
mode:
authorEli Zaretskii1999-12-06 17:55:00 +0000
committerEli Zaretskii1999-12-06 17:55:00 +0000
commitf795f63364fb98a5999930d6e09caabeae55ec1b (patch)
treed10e43e1beb5a324bee768876422759c43f72e79 /lisp/ChangeLog
parentb55048d4d61bc80e5906b469bdd41abdf472de68 (diff)
downloademacs-f795f63364fb98a5999930d6e09caabeae55ec1b.tar.gz
emacs-f795f63364fb98a5999930d6e09caabeae55ec1b.zip
Changes for automatic remapping of X colors on terminal frames:
* term/pc-win.el (msdos-setup-initial-frame): New function, run by term-setup-hook. Call msdos-remember-default-colors and msdos-handle-reverse-video. (msdos-face-setup): Parts of code moved to msdos-setup-initial-frame. (msdos-handle-reverse-video): New function, modeled after x-handle-reverse-video. (make-msdos-frame): Don't use initial-frame-alist and default-frame-alist. Call msdos-handle-reverse-video. (msdos-color-aliases): Remove. (msdos-color-translate, msdos-approximate-color): Remove. (msdos-color-values): Use 16-bit RGB values. RGB values updated for better approximation of X colors. (msdos-face-setup): Call tty-color-clear. Remove code that sets up tty-color-alist (it is now on startup.el). (x-display-color-p, x-color-defined-p, x-color-values, x-defined-colors, face-color-supported-p, face-color-gray-p): Remove. * facemenu.el (facemenu-read-color, list-colors-display): Use defined-colors for all frame types. (facemenu-color-equal): Use color-values for all frame types. * faces.el (read-face-attribute): For :foreground and :background attributes and frames on character terminals, translate the color to the closest supported one before looking it up in the list of valid values. (face-valid-attribute-values): Call defined-colors for all types of frames. (defined-colors, color-defined-p, color-values, display-color-p): New finctions. (x-defined-colors, x-color-defined-p, x-color-values, x-display-color-p): Aliases for the above. * startup.el (command-line): Register terminal colors for frame types other than x and w32, but only if the terminal supports colors. Call tty-color-define instead of face-register-tty-color. * term/x-win.el (xw-defined-colors): Renamed from x-defined-colors. * term/w32-win.el (xw-defined-colors): Likewise. * term/tty-colors.el: New file. * loadup.el: Load term/tty-colors.
Diffstat (limited to 'lisp/ChangeLog')
-rw-r--r--lisp/ChangeLog49
1 files changed, 49 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 7972adaff37..36e9fb90c1b 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,52 @@
11999-12-06 Eli Zaretskii <eliz@is.elta.co.il>
2
3 Changes for automatic remapping of X colors on terminal frames:
4
5 * term/pc-win.el (msdos-setup-initial-frame): New function, run by
6 term-setup-hook. Call msdos-remember-default-colors and
7 msdos-handle-reverse-video.
8 (msdos-face-setup): Parts of code moved to
9 msdos-setup-initial-frame.
10 (msdos-handle-reverse-video): New function, modeled after
11 x-handle-reverse-video.
12 (make-msdos-frame): Don't use initial-frame-alist and
13 default-frame-alist. Call msdos-handle-reverse-video.
14 (msdos-color-aliases): Remove.
15 (msdos-color-translate, msdos-approximate-color): Remove.
16 (msdos-color-values): Use 16-bit RGB values. RGB values updated
17 for better approximation of X colors.
18 (msdos-face-setup): Call tty-color-clear. Remove code that sets
19 up tty-color-alist (it is now on startup.el).
20 (x-display-color-p, x-color-defined-p, x-color-values,
21 x-defined-colors, face-color-supported-p, face-color-gray-p):
22 Remove.
23
24 * facemenu.el (facemenu-read-color, list-colors-display): Use
25 defined-colors for all frame types.
26 (facemenu-color-equal): Use color-values for all frame types.
27
28 * faces.el (read-face-attribute): For :foreground and :background
29 attributes and frames on character terminals, translate the color
30 to the closest supported one before looking it up in the list of
31 valid values.
32 (face-valid-attribute-values): Call defined-colors for all types
33 of frames.
34 (defined-colors, color-defined-p, color-values, display-color-p):
35 New finctions.
36 (x-defined-colors, x-color-defined-p, x-color-values,
37 x-display-color-p): Aliases for the above.
38
39 * startup.el (command-line): Register terminal colors for frame
40 types other than x and w32, but only if the terminal supports
41 colors. Call tty-color-define instead of face-register-tty-color.
42
43 * term/x-win.el (xw-defined-colors): Renamed from
44 x-defined-colors.
45 * term/w32-win.el (xw-defined-colors): Likewise.
46
47 * term/tty-colors.el: New file.
48 * loadup.el: Load term/tty-colors.
49
11999-12-06 Dave Love <fx@gnu.org> 501999-12-06 Dave Love <fx@gnu.org>
2 51
3 * ffap.el: Autoload the ffap alias directly. 52 * ffap.el: Autoload the ffap alias directly.