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: text displayed in the header line with wrong faces Date: Tue, 20 Dec 2016 16:04:05 +0300 Message-ID: <87h95yu4ze.fsf@gmail.com> References: <20161220102536.3smvm7bbtuib55xu@doriath.local> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1482239081 28330 195.159.176.226 (20 Dec 2016 13:04:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 20 Dec 2016 13:04:41 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 20 14:04:34 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 1cJK5p-0005z9-P6 for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Dec 2016 14:04:33 +0100 Original-Received: from localhost ([::1]:51321 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJK5t-0008CI-RG for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Dec 2016 08:04:37 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49629) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJK5V-0008Bu-Hd for help-gnu-emacs@gnu.org; Tue, 20 Dec 2016 08:04:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cJK5R-00022m-0U for help-gnu-emacs@gnu.org; Tue, 20 Dec 2016 08:04:13 -0500 Original-Received: from mail-lf0-x242.google.com ([2a00:1450:4010:c07::242]:34779) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cJK5Q-00021P-P4 for help-gnu-emacs@gnu.org; Tue, 20 Dec 2016 08:04:08 -0500 Original-Received: by mail-lf0-x242.google.com with SMTP id 30so8830204lfy.1 for ; Tue, 20 Dec 2016 05:04:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version:content-transfer-encoding; bh=i/TLmg84wvn+B8qbx3PsRdWQQqkNewoduBz9R0K06yQ=; b=bMDFo3jxqC/38NKAyyTjBOFJtZh0gyszRZ9r73rWlWv+XCu7PFG8u3SznCMPSJe9bJ de5cmTGQ/Uhw8BDcot6vef45+heM58JSWMoAvTGKUlvezUGaoVHhcjdRTAt342OO9J67 aaGtGehyqIdRRQH+TH0teEjhFowf8zQT9mOkxJL01XRjgUqOft7saUGrNjD8/4DxBLIF n3E10stxvW5AXEOhC5rqaUVlBzcKCIiIdZ3uB4mZ7IDtRAsAt5K7wMsfC8Q8W0ebMSiM w4qvfQCEtyy4vb7Exe45zXd5Wl2+iuwikPMFk6HJu81zy7rweEyt9GEsnefLL+vkpuL6 DmRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=i/TLmg84wvn+B8qbx3PsRdWQQqkNewoduBz9R0K06yQ=; b=UGcRGcOihGTFfANT6YPBITYXgl5OGMdxD6NebaQFG5gBNxJcjr1gRWhK/RTLzabk4i hM/Tmv6U8XsY0sfaydIVxjHnDUuXOKc6MNFKKzn/F+86Gid72PnKXBERSOFQYK7+EsJE uEBnOSL+wiDun7EiizkbW6gDG6xU+YDLEBLLUZSVcYt1ZAF0htBCdtbQv74wktUxxkdT 88qDWk5B0ca9q9p3Rw7/oRv5XwXOG2V0wHLqmy4o7HIEU9qf7gs61M7vfLzhrdFELHzq vdFhiKYDJJcNo3EvCLFrhogmnkZtq5mZfyHPAtvvsmXa95kLGPntSNoSFl+uzgDl0oMo lUoQ== X-Gm-Message-State: AKaTC00nsYYi2Ve0WjkkAG+q74a7Imr4CDMTkb9jgh3Nd4dG8NW7F5+i2iwKc8P/oQJ+vg== X-Received: by 10.25.212.82 with SMTP id l79mr6117090lfg.155.1482239046983; Tue, 20 Dec 2016 05:04:06 -0800 (PST) Original-Received: from leviafan ([217.107.194.131]) by smtp.gmail.com with ESMTPSA id 17sm4703194ljh.39.2016.12.20.05.04.05 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 20 Dec 2016 05:04:06 -0800 (PST) In-Reply-To: <20161220102536.3smvm7bbtuib55xu@doriath.local> ("Ernest \=\?utf-8\?Q\?Adrogu\=C3\=A9\=22's\?\= message of "Tue, 20 Dec 2016 11:25:36 +0100") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::242 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:111985 Archived-At: Ernest Adrogu=C3=A9 (2016-12-20 11:25 +0100) wrote: > Hi there, > > Face attributes appear to be interpreted differently in the window > header line than in other parts of the window. For instance, if I > evaluate > > (setq header-line-format > '(:eval (propertize "abcdefghijklmnopqrstuvwxyz" > 'face 'show-paren-match))) > > the text in the header line is displayed in what seems to be reverse > video: http://i.imgur.com/BU0XmGm.png > > This doesn't happen if I disable the theme that I'm using (namely > solarized, which can found here: > https://github.com/sellout/emacs-color-theme-solarized/). Without a > theme, background and foreground colours are not swapped, although I > noticed that then the foreground colour property is not inherited. > > Any pointers on what could be causing this? I can't reproduce this behavior. For me, it displays a usual 'show-paren-match' face. I tried some other faces, and I also tried with "emacs -Q", and every time I got expected colors (but I didn't try that particular theme). Perhaps the problem is that "emacs-color-theme-solarized" is a so-called "color theme", not "custom theme" which is supported by Emacs 24 and above. Did you try with any custom theme (displayed in "M-x customize-themes")? There is which is probably similar (I don't know though as I don't use it) but it is "custom". --=20 Alex