From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: =?UTF-8?Q?Cl=c3=a9ment_Pit-Claudel?= Newsgroups: gmane.emacs.devel Subject: Re: "Why is emacs so square?" Date: Fri, 17 Apr 2020 13:40:29 -0400 Message-ID: <21e1fef1-63a8-815a-1293-45ee79ffcabc@gmail.com> 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> 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="113981"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Apr 17 19:41:28 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 1jPUzX-000TZ2-Hn for ged-emacs-devel@m.gmane-mx.org; Fri, 17 Apr 2020 19:41:27 +0200 Original-Received: from localhost ([::1]:50144 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jPUzW-0006c9-Hw for ged-emacs-devel@m.gmane-mx.org; Fri, 17 Apr 2020 13:41:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46481) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jPUyf-0005wH-6J for emacs-devel@gnu.org; Fri, 17 Apr 2020 13:40:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jPUye-00031X-3S for emacs-devel@gnu.org; Fri, 17 Apr 2020 13:40:33 -0400 Original-Received: from mail-qv1-xf33.google.com ([2607:f8b0:4864:20::f33]:35441) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jPUyd-00030U-W3; Fri, 17 Apr 2020 13:40:32 -0400 Original-Received: by mail-qv1-xf33.google.com with SMTP id q73so1317545qvq.2; Fri, 17 Apr 2020 10:40:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=+uikBmk6hqsgy6nY6Ro5PLOXrOjhjHbQvnnsUxpCg68=; b=L6A05FCl/+XDOidKsPK+EthLEAaAT3H9/DOeLyGbxSgArYajTkhj2oqO1Xp+3a99Wd bqiu+rZtxlWCAUC89QWv9KtH4w8vKdAtYu6KjjZR4wGFDooP8Jv0BmTMsSqkvM4TrfUO gfgzlDA2wHr5VxytRZYY6for0S0jUY2hN9RelfJ5iBeRO5VLtIkCHmXnONuhu/UI/AVr cpnLpGJvVejx0mpu8oDNBSHxwDqOgi5OmX7N/SdjkEz34Wz7Qhu2E63WR1eIfcVu6o5i AfAsPt/QKiWtlqPqTHRXRIzPdGAGVBXYk3YC1WdcjwD1IuPq1bZEB1cdWPT4isOCH6E/ 78QQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=+uikBmk6hqsgy6nY6Ro5PLOXrOjhjHbQvnnsUxpCg68=; b=tdO75uwL5Hl9aNK91kbUu3Djo8mxLArJ9I9NsfSuCK9dAlyof6U3u4BR1oz7BBAxSh Lch5ZapgEKO3Dqg27rgL5urmg8UFEtnVOcUQ1zjHRjwyNBprcw8HCr5BqbIu2U3FQp1P MJfDeYVvU+JXeM++4U3GtJQup8DZOIlWucL6H+V8Mi1Ul8ugYwdaUlLENW3k4oPvHUwZ XnN0y7jBFoYa699KGjUtOWHfdX2l5FHxinLXgYgek0venDDXfQbwnElw9HHpswCmHQzn 5WZnvRn3p9bWfNO7VmHBbG6pIwv6poGWsBIfw4wlrEiFYrnaxDpkSEzkUiGGLXsnwEhd jGpg== X-Gm-Message-State: AGi0PuZ/py+5Q39UoJ3Wg/wF9rO+vHx5eMgWIvNeMskKl1ja6CkxljnK awrLdxU7cCptfC6pXJx2MvMEK9T4 X-Google-Smtp-Source: APiQypJSu9TfjTQAcWHbcAIEwFpv1SNV54GaRgwWij8m7etasebwKY77r4PBX0bYozRzMKgksYDMXA== X-Received: by 2002:a0c:aa51:: with SMTP id e17mr3799606qvb.95.1587145230643; Fri, 17 Apr 2020 10:40:30 -0700 (PDT) Original-Received: from ?IPv6:2601:184:4180:66e7:da2:5c19:86dd:363e? ([2601:184:4180:66e7:da2:5c19:86dd:363e]) by smtp.googlemail.com with ESMTPSA id p11sm9080207qki.25.2020.04.17.10.40.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 17 Apr 2020 10:40:30 -0700 (PDT) In-Reply-To: <83sgh2av7x.fsf@gnu.org> Content-Language: en-GB X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::f33 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:247188 Archived-At: On 17/04/2020 13.16, Eli Zaretskii wrote: >> Cc: emacs-devel@gnu.org >> From: Clément Pit-Claudel >> Date: Fri, 17 Apr 2020 11:52:56 -0400 >> >> Do you know how the problem with square brackets could be solved? > > Sorry, no. Custom was always a dark corner for me. Me too, but fortunately this isn't a question about custom, it's a question about features about the display engine. 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.