all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [patch] mode-line faces on 256-color terminals
@ 2004-12-22 23:08 Dan Nicolaescu
  2004-12-23  4:40 ` Eli Zaretskii
  2004-12-23 19:32 ` Richard Stallman
  0 siblings, 2 replies; 6+ messages in thread
From: Dan Nicolaescu @ 2004-12-22 23:08 UTC (permalink / raw)


The mode-line* faces were somehow missed when converting the face
definitions in faces.el to use min-colors, so that they work on
terminals that support 88 (or 256) colors.

This patch fixes the above issue. Is it OK? 

2004-12-22  Dan Nicolaescu  <dann@ics.uci.edu>

	* faces.el (mode-line, mode-line-inactive): Use min-colors.


Index: faces.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/faces.el,v
retrieving revision 1.296
diff -c -3 -p -c -r1.296 faces.el
*** faces.el	21 Dec 2004 11:37:25 -0000	1.296
--- faces.el	22 Dec 2004 23:02:48 -0000
*************** created."
*** 1783,1789 ****
  
  
  (defface mode-line
!   '((((type x w32 mac) (class color))
       :box (:line-width -1 :style released-button)
       :background "grey75" :foreground "black")
      (t
--- 1783,1789 ----
  
  
  (defface mode-line
!   '((((class color) (min-colors 88))
       :box (:line-width -1 :style released-button)
       :background "grey75" :foreground "black")
      (t
*************** created."
*** 1796,1806 ****
  (defface mode-line-inactive
    '((default
       :inherit mode-line)
!     (((type x w32 mac) (background light) (class color))
       :weight light
       :box (:line-width -1 :color "grey75" :style nil)
       :foreground "grey20" :background "grey90")
!     (((type x w32 mac) (background dark) (class color))
       :weight light
       :box (:line-width -1 :color "grey40" :style nil)
       :foreground "grey80" :background "grey30"))
--- 1796,1806 ----
  (defface mode-line-inactive
    '((default
       :inherit mode-line)
!     (((class color) (min-colors 88) (background light))
       :weight light
       :box (:line-width -1 :color "grey75" :style nil)
       :foreground "grey20" :background "grey90")
!     (((class color) (min-colors 88) (background dark) )
       :weight light
       :box (:line-width -1 :color "grey40" :style nil)
       :foreground "grey80" :background "grey30"))

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-12-24 14:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-22 23:08 [patch] mode-line faces on 256-color terminals Dan Nicolaescu
2004-12-23  4:40 ` Eli Zaretskii
2004-12-23 18:44   ` Dan Nicolaescu
2004-12-23 19:32 ` Richard Stallman
2004-12-23 19:46   ` Dan Nicolaescu
2004-12-24 14:33     ` Richard Stallman

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.