From: Dan Nicolaescu <dann@godzilla.ics.uci.edu>
Subject: [patch] mode-line faces on 256-color terminals
Date: Wed, 22 Dec 2004 15:08:50 -0800 [thread overview]
Message-ID: <200412222308.iBMN8rBT002077@scanner2.ics.uci.edu> (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"))
next reply other threads:[~2004-12-22 23:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-22 23:08 Dan Nicolaescu [this message]
2004-12-23 4:40 ` [patch] mode-line faces on 256-color terminals 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200412222308.iBMN8rBT002077@scanner2.ics.uci.edu \
--to=dann@godzilla.ics.uci.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).