From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: "Why is emacs so square?" Date: Fri, 17 Apr 2020 20:45:25 +0300 Message-ID: <83lfmuatvu.fsf@gnu.org> References: <8wXYP4GY9hwW-9mYv6_LGMETZ8Vz3Ob1Bec6yh6kPT7yxjTkxA3V6dXY4ELra9tYiJUxJmgXKSIEX4w8HFiPRoeGVSQHDSoBVy1voj1e3Qo=@protonmail.com> <87wo6h1kwl.fsf@emailmessageidheader.nil> <83k12hgt43.fsf@gnu.org> <838siwhmco.fsf@gnu.org> <0348a76e-d55a-2e75-8ed1-1beaa6649ed6@gmail.com> <837dyfe45q.fsf@gnu.org> <245308ec-5154-7d4b-dba4-0b21f42a0e95@gmail.com> <835zdze1gs.fsf@gnu.org> <51cb2788-3086-367d-ec05-ea324da49a12@gmail.com> <83imhyd1w1.fsf@gnu.org> <83f35fb6-806e-1b28-da76-31919a398045@gmail.com> <833692cgr4.fsf@gnu.org> <6479af83-2cab-05b0-3042-8030ec3f1e1d@gmail.com> <83wo6eazrd.fsf@gnu.org> <8001bd11-b552-e94e-d15a-30f9bd34f71b@gmail.com> <83sgh2av7x.fsf@gnu.org> <21e1fef1-63a8-815a-1293-45ee79ffcabc@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="6208"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: =?utf-8?Q?Cl=C3=A9ment?= Pit-Claudel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Apr 17 19:46:35 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jPV4V-0001VR-47 for ged-emacs-devel@m.gmane-mx.org; Fri, 17 Apr 2020 19:46:35 +0200 Original-Received: from localhost ([::1]:50214 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jPV4U-0001av-6s for ged-emacs-devel@m.gmane-mx.org; Fri, 17 Apr 2020 13:46:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50371) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jPV3Z-0000fM-Bo for emacs-devel@gnu.org; Fri, 17 Apr 2020 13:45:40 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:41773) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jPV3Z-0007oJ-53; Fri, 17 Apr 2020 13:45:37 -0400 Original-Received: from [176.228.60.248] (port=4127 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jPV3X-0006Z1-KB; Fri, 17 Apr 2020 13:45:36 -0400 In-Reply-To: <21e1fef1-63a8-815a-1293-45ee79ffcabc@gmail.com> (message from =?utf-8?Q?Cl=C3=A9ment?= Pit-Claudel on Fri, 17 Apr 2020 13:40:29 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:247190 Archived-At: > Cc: emacs-devel@gnu.org > From: Clément Pit-Claudel > Date: Fri, 17 Apr 2020 13:40:29 -0400 > > There is a way to change the color, backgorund, etc. of a bit of text depending on the properties of the display it is on, through the face-specs of defface. Is there a similar facility for showing or hiding a piece of text depending on properties of the frame it's shown on? I tried using a conditional 'display property, but that doesn't seem to work. I don't think I understand the problem. Faces can have different definitions on different frames, so what is the problem, exactly?