From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14733 invoked by alias); 7 Mar 2019 14:53:19 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 14578 invoked by uid 89); 7 Mar 2019 14:53:19 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-5.0 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.1 spammy=HX-Languages-Length:1041, personal X-HELO: eggs.gnu.org Received: from eggs.gnu.org (HELO eggs.gnu.org) (209.51.188.92) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 07 Mar 2019 14:53:17 +0000 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35429) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h1uOZ-0004Xy-AI; Thu, 07 Mar 2019 09:53:15 -0500 Received: from [176.228.60.248] (port=4447 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1h1uOY-00089Q-RZ; Thu, 07 Mar 2019 09:53:15 -0500 Date: Thu, 07 Mar 2019 14:53:00 -0000 Message-Id: <83lg1qbut3.fsf@gnu.org> From: Eli Zaretskii To: Joel Brobecker CC: tom@tromey.com, gdb-patches@sourceware.org In-reply-to: <20190307060224.GA26408@adacore.com> (message from Joel Brobecker on Thu, 7 Mar 2019 10:02:24 +0400) Subject: Re: [PATCH 00/16] Add styling to the gdb CLI and TUI References: <20181128001435.12703-1-tom@tromey.com> <83k1kxfzwo.fsf@gnu.org> <8736rja4i8.fsf@tromey.com> <83r2brhw8k.fsf@gnu.org> <87h8cmh1wg.fsf@tromey.com> <83va12gz8j.fsf@gnu.org> <87mumeb935.fsf@tromey.com> <83d0n8eyzw.fsf@gnu.org> <87d0n6adk2.fsf@tromey.com> <83imwyee29.fsf@gnu.org> <20190307060224.GA26408@adacore.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-IsSubscribed: yes X-SW-Source: 2019-03/txt/msg00145.txt.bz2 > Date: Thu, 7 Mar 2019 10:02:24 +0400 > From: Joel Brobecker > Cc: Tom Tromey , gdb-patches@sourceware.org > > > > For me magenta is even darker. Setting the intensity to bold might be > > > more acceptable? > > > > Still too dark. I guess we will need to leave this to personal > > customizations. > > My idea was to mimick what vim does: It actually has two sets of > settings, one for dark terminals, and one for bright ones. Each set > uses similar colors by default, but adapted for the brightness > of the terminal. Yes, Emacs does something similar. But experience taught me that automatically deducing whether the background is dark or light is a Pandora box, so I won't suggest this for GDB, where this is after all just a minor issue (unlike in editors). But if you meant something like "set style background light" which will change all the default colors, then I'm with you. We just need to come up with agreed-upon sets of colors.