From: Dan Nicolaescu <dann@ics.uci.edu>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Juri Linkov <juri@jurta.org>,
Chong Yidong <cyd@stupidchicken.com>,
emacs-devel@gnu.org
Subject: Re: Darkening font-lock colors
Date: Mon, 3 Aug 2009 16:02:46 -0700 (PDT) [thread overview]
Message-ID: <200908032302.n73N2kg7018807@godzilla.ics.uci.edu> (raw)
In-Reply-To: <jwvws5ky566.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Mon, 03 Aug 2009 17:11:45 -0400")
[-- Attachment #1: Type: text/plain, Size: 1660 bytes --]
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> > So I am proposing to simplify this whole thing by removing the reason
> > for font-lock-comment-delimiter to exist: use a readable yellow
> > foreground on 8 color dark background terminals.
>
> I don't have strong opinions about faces, and don't have time to try
> them out to make sure they work OK, but if we can find a setting that
> allows us to get rid of font-lock-comment-delimiter, I'd be in favor
> of it.
This is the first step to accomplish that (use yellow for the problem
case and just make font-lock-comment-delimiter be identical to
font-lock-comment-face):
--- font-lock.el.~1.351.~ 2009-08-02 10:53:38.000000000 -0700
+++ font-lock.el 2009-08-03 15:48:35.000000000 -0700
@@ -1853,19 +1853,13 @@ Sets various variables using `font-lock-
(((class color) (min-colors 8) (background light))
(:foreground "red"))
(((class color) (min-colors 8) (background dark))
- )
+ (:foreground "yellow"))
(t (:weight bold :slant italic)))
"Font Lock mode face used to highlight comments."
:group 'font-lock-faces)
(defface font-lock-comment-delimiter-face
- '((default :inherit font-lock-comment-face)
- (((class grayscale)))
- (((class color) (min-colors 16)))
- (((class color) (min-colors 8) (background light))
- :foreground "red")
- (((class color) (min-colors 8) (background dark))
- :foreground "red1"))
+ '((default :inherit font-lock-comment-face))
"Font Lock mode face used to highlight comment delimiters."
:group 'font-lock-faces)
Here's how it looks on a black background terminal:
[-- Attachment #2: f.jpg --]
[-- Type: image/jpeg, Size: 45764 bytes --]
[-- Attachment #3: Type: text/plain, Size: 288 bytes --]
it looks good too on a Linux console (now idea how to get a screen dump
there, but it's easy to do M-x list-colors-display to see how yellow on
back looks like).
Is this first step OK?
Obviously there's some more search&replace work + removing some code
needed to complete the removal.
next prev parent reply other threads:[~2009-08-03 23:02 UTC|newest]
Thread overview: 85+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-30 21:12 Darkening font-lock colors Chong Yidong
2009-07-30 21:39 ` Dan Nicolaescu
2009-07-30 21:51 ` Drew Adams
2009-07-30 22:00 ` Chong Yidong
2009-07-30 21:57 ` Chong Yidong
2009-07-30 22:21 ` Dan Nicolaescu
2009-07-30 23:40 ` David De La Harpe Golden
2009-07-31 0:18 ` Lennart Borgman
2009-07-31 0:55 ` Chong Yidong
2009-07-31 3:01 ` Lennart Borgman
2009-07-31 15:39 ` Lennart Borgman
2009-08-02 20:22 ` Lennart Borgman
2009-08-02 22:36 ` Chong Yidong
2009-08-02 22:40 ` Lennart Borgman
2009-08-03 0:16 ` Juri Linkov
2009-08-03 1:09 ` Lennart Borgman
2009-08-10 0:14 ` Juri Linkov
2009-08-10 2:37 ` Dan Nicolaescu
2009-08-10 3:28 ` Miles Bader
2009-08-10 23:56 ` Juri Linkov
2009-08-03 2:14 ` David De La Harpe Golden
2009-08-03 2:28 ` Lennart Borgman
2009-08-03 4:34 ` David De La Harpe Golden
2009-08-03 5:13 ` Miles Bader
2009-08-03 5:22 ` Drew Adams
2009-08-03 9:54 ` Juri Linkov
2009-08-03 11:58 ` Daniel Clemente
2009-08-03 13:49 ` Drew Adams
2009-08-03 23:32 ` Juri Linkov
2009-08-03 23:46 ` Drew Adams
2009-08-03 13:59 ` joakim
2009-08-03 20:42 ` David De La Harpe Golden
2009-08-08 20:56 ` Color themes (was: Darkening font-lock colors) Juri Linkov
2009-08-08 21:16 ` Color themes joakim
2009-08-09 3:04 ` Chong Yidong
2009-08-09 4:28 ` Leo
2009-08-09 16:18 ` Chong Yidong
2009-08-09 17:28 ` CHENG Gao
2009-08-09 18:05 ` Lennart Borgman
2009-08-09 18:51 ` joakim
2009-08-10 9:12 ` Leo
2009-08-10 23:48 ` Juri Linkov
2009-08-11 1:32 ` Leo
2009-08-11 3:58 ` Chong Yidong
2009-08-11 4:26 ` Dan Nicolaescu
2009-08-11 5:52 ` Drew Adams
2009-08-11 5:52 ` Drew Adams
2009-08-11 8:59 ` Leo
2009-08-11 18:21 ` ferkiwi
2009-08-03 20:01 ` Darkening font-lock colors Lennart Borgman
2009-08-03 22:40 ` Drew Adams
2009-08-03 22:57 ` Lennart Borgman
2009-08-03 23:54 ` Drew Adams
2009-08-04 0:10 ` Lennart Borgman
2009-08-04 0:16 ` Drew Adams
2009-08-04 21:27 ` Johan Bockgård
2009-08-04 23:16 ` Lennart Borgman
2009-08-03 23:27 ` Juri Linkov
2009-08-03 23:42 ` Lennart Borgman
2009-07-31 0:55 ` Chong Yidong
2009-07-31 2:39 ` Dan Nicolaescu
2009-08-03 0:17 ` Juri Linkov
2009-08-03 3:44 ` Dan Nicolaescu
2009-08-03 9:59 ` Juri Linkov
2009-08-03 12:34 ` Dan Nicolaescu
2009-08-03 14:21 ` Stephen Eilert
2009-08-03 21:11 ` Stefan Monnier
2009-08-03 23:02 ` Dan Nicolaescu [this message]
2009-08-04 8:27 ` Romain Francoise
2009-08-04 8:29 ` Lennart Borgman
2009-08-04 22:44 ` Dan Nicolaescu
2009-08-03 23:32 ` Juri Linkov
2009-07-31 0:46 ` Lennart Borgman
2009-07-30 21:41 ` Lennart Borgman
2009-07-30 22:22 ` Deniz Dogan
2009-07-31 1:50 ` Stefan Monnier
2009-07-31 3:54 ` tomas
2009-08-04 22:14 ` Juri Linkov
-- strict thread matches above, loose matches on Subject: below --
2009-08-03 9:35 Angelo Graziosi
2009-08-03 20:42 Francesc Rocher
2009-08-04 0:16 ` Lennart Borgman
2009-08-04 0:21 ` Drew Adams
2009-08-10 14:15 grischka
2009-08-10 23:57 ` Juri Linkov
2009-08-11 16:07 ` grischka
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=200908032302.n73N2kg7018807@godzilla.ics.uci.edu \
--to=dann@ics.uci.edu \
--cc=cyd@stupidchicken.com \
--cc=emacs-devel@gnu.org \
--cc=juri@jurta.org \
--cc=monnier@iro.umontreal.ca \
/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).