1. 18 Sep, 2000 1 commit
  2. 17 Sep, 2000 2 commits
  3. 10 Sep, 2000 1 commit
  4. 08 Sep, 2000 1 commit
  5. 07 Sep, 2000 3 commits
  6. 05 Sep, 2000 1 commit
  7. 27 Aug, 2000 1 commit
  8. 26 Aug, 2000 3 commits
    • Miles Bader's avatar
      (face-x-resources): Add entry for :inherit. · a0e5a5a4
      Miles Bader authored
      a0e5a5a4
    • Miles Bader's avatar
      (set-face-attribute): · 19feb949
      Miles Bader authored
        Update doc string.
      (face-attribute-name-alist):
        Add :inherit.
      (face-valid-attribute-values):
        Handle :inherit.
      (face-read-string):
        Rephrase prompt to be less confusing.
        Assume that DEFAULT is a string, since we must return a string.
      (face-read-integer):
        Use `format' to turn DEFAULT into an acceptable default for face-read-string.
        Match NEW-VALUE against the string "unspecified", not the symbol
          `unspecified', since that's what face-read-string returns.
      (read-face-attribute):
        Lookup a name for old-value in valid, and use it as a default if we find one.
        Treat all values from face-read-string as strings.
        If the default is used, don't do any more processing on the value,
          just use the old value directly.
      (read-face-and-attribute, modify-face):
        Tweak prompt.
      (read-face-name):
        Don't assume prompt ends with a space.
      19feb949
    • Miles Bader's avatar
      25ac7b52
  9. 20 Aug, 2000 1 commit
  10. 18 Jul, 2000 1 commit
  11. 13 Jul, 2000 1 commit
  12. 03 Jul, 2000 1 commit
  13. 28 Jun, 2000 1 commit
  14. 26 Jun, 2000 1 commit
  15. 23 Jun, 2000 1 commit
  16. 20 Jun, 2000 1 commit
  17. 01 Jun, 2000 1 commit
  18. 14 May, 2000 1 commit
  19. 10 May, 2000 1 commit
  20. 09 May, 2000 1 commit
    • Dave Love's avatar
      Some doc fixes. · 70d0c3b0
      Dave Love authored
      (describe-face): Add customize button.  Return the help
      text.  Fix prompt.
      70d0c3b0
  21. 21 Mar, 2000 1 commit
  22. 01 Mar, 2000 1 commit
  23. 27 Feb, 2000 1 commit
  24. 23 Feb, 2000 1 commit
  25. 17 Feb, 2000 1 commit
  26. 16 Feb, 2000 1 commit
  27. 02 Feb, 2000 1 commit
  28. 03 Jan, 2000 1 commit
  29. 02 Jan, 2000 1 commit
  30. 16 Dec, 1999 1 commit
  31. 15 Dec, 1999 1 commit
    • Eli Zaretskii's avatar
      Changes for separate unspecified foreground and background colors · f9d2fdc4
      Eli Zaretskii authored
      on character terminals:
      
      * dispextern.h (FACE_TTY_DEFAULT_FG_COLOR)
      (FACE_TTY_DEFAULT_BG_COLOR):  New macros.
      
      * xfaces.c (Qunspecified_fg, Qunspecified_bg): New variables.
      (syms_of_xfaces): Initialize and staticpro them.
      (tty_defined_color): If the color name is unspecified-fg or
      unspecified-bg, return FACE_TTY_DEFAULT_FG_COLOR and
      FACE_TTY_DEFAULT_BG_COLOR, respectively, as the pixel value.
      (tty_color_name): If the color pixel value is either
      FACE_TTY_DEFAULT_FG_COLOR or FACE_TTY_DEFAULT_BG_COLOR, return
      Qunspecified_fg or Qunspecified_bg, respectively.
      (Finternal_set_lisp_face_attribute): Allow values Qunspecified_fg
      and Qunspecified_bg for foreground and background colors.
      (realize_default_face): If the foreground and background colors
      are not specified, default to Qunspecified_fg and Qunspecified_bg.
      (realize_tty_face): By default, set the face colors to
      FACE_TTY_DEFAULT_FG_COLOR and FACE_TTY_DEFAULT_BG_COLOR.
      [MSDOS]: Handle FACE_TTY_DEFAULT_FG_COLOR and
      FACE_TTY_DEFAULT_BG_COLOR when face colors are not defined.
      Reverse the colors if the default colors were reversed.
      
      * dispnew.c (init_display): Initialize the frame pixels of the
      initial frame to FACE_TTY_DEFAULT_FG_COLOR and
      FACE_TTY_DEFAULT_BG_COLOR.
      
      * term.c (turn_on_face): If the default fore- and background
      colors are reversed, enter inverse video mode.  Don't send color
      escape sequences for unspecified foreground and background colors.
      (turn_off_face): Handle unspecified-fg and unspecified-bg colors.
      
      * dosfns.c (unspecified_colors): New variable.
      (msdos_stdcolor_idx): Handle unspecified-fg and unspecified-bg
      color names, return FACE_TTY_DEFAULT_FG_COLOR and
      FACE_TTY_DEFAULT_BG_COLOR, respectively.
      (msdos_stdcolor_name): Handle FACE_TTY_DEFAULT_FG_COLOR and
      FACE_TTY_DEFAULT_BG_COLOR, return Qunspecified_fg and
      Qunspecified_bg, respectively.
      
      * msdos.c (IT_set_face): Support FACE_TTY_DEFAULT_FG_COLOR and
      FACE_TTY_DEFAULT_BG_COLOR as pixel values.
      
      * faces.el (face-read-integer, read-face-attribute)
      (color-defined-p, color-values): Allow color values unspecified-fg
      and unspecified-bg, handle them as unspecified.
      f9d2fdc4
  32. 06 Dec, 1999 1 commit
    • Eli Zaretskii's avatar
      Changes for automatic remapping of X colors on terminal frames: · f795f633
      Eli Zaretskii authored
      	* 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.
      f795f633
  33. 30 Nov, 1999 1 commit
  34. 04 Nov, 1999 2 commits