GNU bug report logs -
#4221
improve font-lock-comment-face on dark background low color terminals
Previous Next
Reported by: Dan Nicolaescu <dann <at> ics.uci.edu>
Date: Fri, 21 Aug 2009 04:40:05 UTC
Severity: minor
Tags: fixed, patch
Fixed in version 24.1
Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 4221 in the body.
You can then email your comments to 4221 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#4221
; Package
emacs
.
(Fri, 21 Aug 2009 04:40:05 GMT)
Full text and
rfc822 format available.
Message #3 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
The patch below uses the high contrast "yellow" color for
font-lock-comment-face on low color terminals using a dark background
color.
Yellow is not used by many other font-lock faces on such terminals.
This will enable us to eliminate the need for the
font-lock-comment-delimiter-face. (which the patch does not do, it just
makes it identical to font-lock-comment-face, it will be done in an
incremental patch).
Index: lisp/font-lock.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/font-lock.el,v
retrieving revision 1.351
diff -u -3 -p -r1.351 font-lock.el
--- lisp/font-lock.el 2 Aug 2009 14:20:10 -0000 1.351
+++ lisp/font-lock.el 19 Aug 2009 05:15:42 -0000
@@ -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)
Added tag(s) patch.
Request was from
Juanma Barranquero <lekktu <at> gmail.com>
to
control <at> emacsbugs.donarmstrong.com
.
(Thu, 22 Oct 2009 09:40:10 GMT)
Full text and
rfc822 format available.
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#4221
; Package
emacs
.
(Tue, 12 Jul 2011 21:09:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 4221 <at> debbugs.gnu.org (full text, mbox):
Dan Nicolaescu <dann <at> ics.uci.edu> writes:
> The patch below uses the high contrast "yellow" color for
> font-lock-comment-face on low color terminals using a dark background
> color.
> Yellow is not used by many other font-lock faces on such terminals.
>
> This will enable us to eliminate the need for the
> font-lock-comment-delimiter-face. (which the patch does not do, it just
> makes it identical to font-lock-comment-face, it will be done in an
> incremental patch).
That will make the delimiters the same colour as the comments. Is that
what we want?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#4221
; Package
emacs
.
(Wed, 13 Jul 2011 04:22:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 4221 <at> debbugs.gnu.org (full text, mbox):
>> The patch below uses the high contrast "yellow" color for
>> font-lock-comment-face on low color terminals using a dark background
>> color.
>> Yellow is not used by many other font-lock faces on such terminals.
>>
>> This will enable us to eliminate the need for the
>> font-lock-comment-delimiter-face. (which the patch does not do, it just
>> makes it identical to font-lock-comment-face, it will be done in an
>> incremental patch).
> That will make the delimiters the same colour as the comments. Is that
> what we want?
I've always disliked the addition of font-lock-comment-delimiter-face,
so yes, I do want that.
Stefan
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#4221
; Package
emacs
.
(Wed, 13 Jul 2011 15:35:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 4221 <at> debbugs.gnu.org (full text, mbox):
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:
> I've always disliked the addition of font-lock-comment-delimiter-face,
> so yes, I do want that.
Ok; I've now applied the patch.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
Added tag(s) fixed.
Request was from
Lars Magne Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Wed, 13 Jul 2011 15:37:02 GMT)
Full text and
rfc822 format available.
bug marked as fixed in version 24.1, send any further explanations to
4221 <at> debbugs.gnu.org and Dan Nicolaescu <dann <at> ics.uci.edu>
Request was from
Lars Magne Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Wed, 13 Jul 2011 15:37:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 11 Aug 2011 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 14 years and 44 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.