From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alex Kost Newsgroups: gmane.emacs.help Subject: Re: Find out what is setting color in minibufer Date: Sat, 26 Nov 2016 23:10:03 +0300 Message-ID: <87shqet338.fsf@gmail.com> References: <87wpfqt679.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1480191049 23750 195.159.176.226 (26 Nov 2016 20:10:49 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 26 Nov 2016 20:10:49 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Fernando Basso Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Nov 26 21:10:44 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cAjJ4-0005Cd-Gv for geh-help-gnu-emacs@m.gmane.org; Sat, 26 Nov 2016 21:10:42 +0100 Original-Received: from localhost ([::1]:51631 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cAjJ8-00045p-8W for geh-help-gnu-emacs@m.gmane.org; Sat, 26 Nov 2016 15:10:46 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51928) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cAjIW-00041k-5z for help-gnu-emacs@gnu.org; Sat, 26 Nov 2016 15:10:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cAjIS-0002cN-59 for help-gnu-emacs@gnu.org; Sat, 26 Nov 2016 15:10:08 -0500 Original-Received: from mail-lf0-x244.google.com ([2a00:1450:4010:c07::244]:35410) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cAjIR-0002c6-TT for help-gnu-emacs@gnu.org; Sat, 26 Nov 2016 15:10:04 -0500 Original-Received: by mail-lf0-x244.google.com with SMTP id p100so5980740lfg.2 for ; Sat, 26 Nov 2016 12:10:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=UQwx9VTkE5x9n3y3zIgQJwjIQbUeBWuvMoFEnji8pnU=; b=DTDPrNeM0SYi57/vXFLyB80U0doTc4PDzlqkech6EF9/QvOGVwmXEJSdVP8zRChUJZ K+Q/1ucoO0hXBQTdzp7WkcbVlsf2eSC6UvPs8CBSx+wRRMbIGOjvmO762WeNHS3+rvhV EwJGWy3o68Oe93wozB3Jc/gF8vXM1+6kixG4qfQevlt1UCmSwe5757gic8QF2BxX6/9v 2KTXahi0waA+GYRnwyNbbiqpCD58/6F8gaJE1TsVw75ypNwmYepPRPJaaeZURrJfbWuO 7J2ELFLQPs7wI6T978Ae9JWby4ycP+PgWE1YIZEwHshok5KUXjeipNwDN8CVktCIXQE3 x7WQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=UQwx9VTkE5x9n3y3zIgQJwjIQbUeBWuvMoFEnji8pnU=; b=QZBv9UjhMU4ouuGMWGoq9bVHrK+bPcEvy1WrESySRdZaRJar1xNX6r9YkmIbr4Hf56 a4k0JqJvDWz6Yh9WlqKcHTl7VDdIBBHlQxN4Gw7Sxi55F+JiKNlihYb+PuTbDBWhvyaN gE5MGrzKP9w6eB92uLrcIy4Miem7omLCkjZc3zOe/Ej3DDUdqZJarXpnCjkaLIGfk6LJ sd24Kj4AB+dtIMNBfgnah6AJWWuO/KL6/Cg7AgwyfhK0ddGMZ5NCVZMG32LGifu5lGaA UW+Z7I1gP+BcxJZ/M4z3fzYSz+JkAG2JgDD0QGVgELDfbqx/Ytw3GYzkR6V+uALoYTar WDSw== X-Gm-Message-State: AKaTC036KMu4OUWWl1r1H7fi1VJFzdP69HDywj0HysdlAMaj+JOMRssx8FVzmeDUshvQNQ== X-Received: by 10.25.135.130 with SMTP id j124mr5759438lfd.88.1480191002375; Sat, 26 Nov 2016 12:10:02 -0800 (PST) Original-Received: from leviafan ([217.107.192.156]) by smtp.gmail.com with ESMTPSA id h3sm10801288lfj.27.2016.11.26.12.10.01 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 26 Nov 2016 12:10:01 -0800 (PST) In-Reply-To: <87wpfqt679.fsf@gmail.com> (Alex Kost's message of "Sat, 26 Nov 2016 22:02:50 +0300") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::244 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:111811 Archived-At: Alex Kost (2016-11-26 22:02 +0300) wrote: > Fernando Basso (2016-11-25 20:45 -0200) wrote: > >> I have been using Emacs from the terminal recently. It works fine and it >> helps me with my tmux workflow. However, when I am using Geiser mode the >> minibuffer shows documentation hints in a shade of blue that makes it hard >> to read. I don't know if it is Geiser or something else that is setting >> that color. It seems the color remains even if I load a different theme. >> Also, that color is not set in my Xresources file. >> >> How should I proceed to find out what is setting that color? Emacs 25 on >> arch linux. >> >> I am attaching a screenshot in the hope that it will help. > > This is 'geiser-font-lock-autodoc-identifier' face which should have the > same look as 'font-lock-function-name-face' by default. So it's either > your custom theme or your customization that you should blame. Sorry, I think I was wrong. It's likely not the fault of your theme. The problem is that this face *does not inherit* from 'font-lock-function-name-face' but it uses its default specification instead: (defface geiser-font-lock-autodoc-identifier (face-default-spec 'font-lock-function-name-face) "Face for highlighting procedure name in autodoc messages." :group 'geiser-autodoc :group 'geiser-faces) (this is actually done via 'geiser-custom--defface' macro but it doesn't matter: ) So if your theme changes 'font-lock-function-name-face', that autodoc face will still use the default face specification (which apparently doesn't look good in a terminal). After all, I would say it's a Geiser problem: faces should inherit from other (particuarly 'font-lock') faces and should not copy their specs as it is done in Geiser faces. -- Alex