From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by sourceware.org (Postfix) with ESMTP id 6C941393C882 for ; Thu, 11 Jun 2020 10:17:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 6C941393C882 Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-315-x7DOQrlqO2K4OkoiqqtJcw-1; Thu, 11 Jun 2020 06:17:29 -0400 X-MC-Unique: x7DOQrlqO2K4OkoiqqtJcw-1 Received: by mail-wr1-f70.google.com with SMTP id l1so2379175wrc.8 for ; Thu, 11 Jun 2020 03:17:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=PV1RUQi9SoR/+XhB/nbpLXdpon93etqiMM6fHSQeNQw=; b=IfPs1vOmUTdq25FlJMKwM80C2L+RJcb0DYOPpvSPQsgxRSucmQhcRSNQCxT0CYivOb 2+y3NvgHhh0F/OJqP7khvw+pLQTMRy/XciP/bgRO3xVUma55/sgE7M/vFxlQjr+g3CiZ ESL9JaiQWg4U73V+Q9wK1X9Jn+VKu17IC6wQAgeRHTeOiS3LMRC7eDXNjknRTU/0gTN4 ogHjHpz+N/7aL0xSe7Fx/N+FpyaZctEjox3/qkENF/J1xcAEEqeDZPYjUh0KdLgO8Xrk yTKMN7sJdSN8y7ORB3NrDS/Qszyg9JTu7IYfoRqUyniErRe01/Mvh3vZiLtnIBI+u/nD Zqig== X-Gm-Message-State: AOAM533z/3uzW7jZjUSqsuJTYyb1NWm4TLuSySoy+L3aqidTL5nIAlx9 O4Hj3yRmTTwqKUrq3hoTD7j9nmaM28o3B75lK0YhNlndvSZgpwO/FLCLUb7r9Jq0G/DutO+ScGM SikGgZAua6SL3kY+MUb7r1Q== X-Received: by 2002:adf:e545:: with SMTP id z5mr8437250wrm.89.1591870647816; Thu, 11 Jun 2020 03:17:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+1ux3Ze7Afe4tCOvunkH389PSoqTwq3hLb0h788uFiM2P6KYg7MjGJFz7SEKv3hzsUFSq1A== X-Received: by 2002:adf:e545:: with SMTP id z5mr8437228wrm.89.1591870647602; Thu, 11 Jun 2020 03:17:27 -0700 (PDT) Received: from ?IPv6:2001:8a0:f922:c400:56ee:75ff:fe8d:232b? ([2001:8a0:f922:c400:56ee:75ff:fe8d:232b]) by smtp.gmail.com with ESMTPSA id q13sm4211344wrn.84.2020.06.11.03.17.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 11 Jun 2020 03:17:27 -0700 (PDT) Subject: Re: TUI enhancement suggestion. To: Phi Debian References: Cc: gdb-patches@sourceware.org From: Pedro Alves Message-ID: <59ace237-39ff-5d7f-beb0-994ec5e107b8@redhat.com> Date: Thu, 11 Jun 2020 11:17:26 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2020 10:17:34 -0000 On 6/10/20 9:25 PM, Phi Debian wrote: > > > On Wednesday, June 10, 2020, Pedro Alves > wrote: > > Hi Phi, > > It would be much better to keep the discussion on the > mailing list, so that others could interact as well. > > Thanks, > Pedro Alves > > > Ok. Point line in src win along with the nice syntax highlight produce inconsistent background color as Pedro notified in the pics provided. In the example there is a strange yellow background on function names, it seems that the syntax highlight use a BOLD attribute. On basic xterm and vte, this BOLD goes unnoticed. When one use xterm resource colorBD see https://invisible-island.net/xterm/ctlseqs/ctlseqs.html resource also implemented in vte, resource doing the  mapping a color to the BOLD attribute (in the example yellow) it produces this background  color change. > > Dunno if that expected. I don't know much about these color mappings, but to me it looks like a bug offhand that requesting "bold" affects the background color. It would think that "bold" makes the foreground text... bold. > > I'd like to be able to got more control (config) on how point line is displayed, in my case using underline attribute for point line would be lighter then reverse video line and would preserve (simplify) the syntax highlight. If you like it better that way, then maybe others do too. I don't mind the new option. I also wouldn't mind an option to specify a different background color for the current source line highlight. > > If someones as idea would be interesting to share. > > Cheers, > Phi  Thanks, Pedro Alves