[plt-scheme] Re: test-coverage and colorblindness

From: Robby Findler (robby at cs.uchicago.edu)
Date: Fri Sep 12 18:24:58 EDT 2008

Just that its more work. You're welcome to supply a patch (or perhaps
a more compelling reason :).

On Fri, Sep 12, 2008 at 5:04 PM, Aleks Bromfield <aleks at cs.brown.edu> wrote:
> Thanks for the change!
>
> Is there a reason the color/style couldn't be made configurable? It
> looks like there are similar option for Java.
>
> ~ Aleks
>
> On Fri, Sep 12, 2008 at 05:01:41PM -0500, Robby Findler wrote:
>> Thanks. There is no way to change it, except by editing the source
>> code and recompiling. It is not difficult to do. Around line 1000 in
>> plt/collects/drscheme/private/debug.ss, you'll find the string
>> "firebrick". Replace it with "maroon" and I think things will be
>> better. You should probably run setup-plt after that (but I don't
>> think it is, strictly speaking, necessary).
>>
>> I've made this change in SVN, so it should be better in future versions.
>>
>> Here's a screenshot so you can see how it looks:
>>
>>   http://people.cs.uchicago.edu/~robby/tmp/new-colors.png
>>
>> As far as "never ... with only color" goes, that seems too difficult
>> to me. I've tried to instead feed drscheme into various color
>> blindness filters from time to time to see how it looks and tried to
>> work with that. (One problem with the bold suggestion: bold letter are
>> not reliably the same width as their non-bold counterparts, even in
>> so-called 'monospaced' fonts.)
>>
>> Anyways, if those colors aren't good, please let me know!
>>
>> Thanks,
>> Robby
>>
>> On Thu, Sep 11, 2008 at 9:54 AM, Aleks Bromfield <aleks at cs.brown.edu> wrote:
>> > Note that my email was prompted by an email from a student:
>> >
>> >> I have red-green color blindness and I can't see the color differences
>> >> between the tested and untested lines. Until I read this email carefully, I
>> >> thought that "syntactic test suite coverage" was just broken on my machine.
>> >>
>> >> Can these colors be changed? I didn't see relevant options in a cursory look
>> >> through Preferences.
>> >
>> > ~ Aleks
>> >
>> > _________________________________________________
>> >  For list-related administrative tasks:
>> >  http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>> >
>> >
>>
>
>


Posted on the users mailing list.