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 10:13:58 -0400 Message-ID: <83f35fb6-806e-1b28-da76-31919a398045@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> 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="102699"; 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 16:14:39 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 1jPRlP-000QcY-5g for ged-emacs-devel@m.gmane-mx.org; Fri, 17 Apr 2020 16:14:39 +0200 Original-Received: from localhost ([::1]:47778 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jPRlO-0007bO-8w for ged-emacs-devel@m.gmane-mx.org; Fri, 17 Apr 2020 10:14:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42032) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jPRko-0007AA-Md for emacs-devel@gnu.org; Fri, 17 Apr 2020 10:14:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jPRkn-0001Mr-MG for emacs-devel@gnu.org; Fri, 17 Apr 2020 10:14:02 -0400 Original-Received: from mail-qk1-x733.google.com ([2607:f8b0:4864:20::733]:33505) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jPRkn-0001Md-Is; Fri, 17 Apr 2020 10:14:01 -0400 Original-Received: by mail-qk1-x733.google.com with SMTP id v7so2525612qkc.0; Fri, 17 Apr 2020 07:14:01 -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=BSMcn7JTa07K0poSsS2KGjrdZTNDJfiHg3pemxuZKzE=; b=JN4LqkATu9J5kbEZANZK2oENTVS/e7ojQwIZ2fddXiAh149o5FF023ozrWtOs6ibC9 xLIZU22EmV7vevb0Rbi/tflbPapcY9SxEehTmxtfTqVJKNGQPplCRFy61GYContunn1H 7fuY8Ceay9Aqyejf1s9BKpoKL+GVrcCZLOFuQn3hzOXRSZDPAMfKfwfRG1hpfWy28Y2N JPbouJSeC7P7nBBNF5H+dypPHTJ5r//PrI7gr8yt+owhBgDm/hKNeNnQC/uqJwvHXh8k Qs4PMiYTrfslbCNElFfPk05BKzpcaUVSXxBw1Y0vpwZuoRACfVjILFcQVOVbWgoKSWAT Gv5A== 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=BSMcn7JTa07K0poSsS2KGjrdZTNDJfiHg3pemxuZKzE=; b=aqMSe0/c7bL93IViFAgXB9Dk9rcSz7abAmNIHXSbSMmsh7w+LinWdQRHH0dxS20niF qgiqjaAQ8R2Dk8EqYcmxbstDISPuLc3Vks/zVFAcwCsOI5XNtuPGfrMdrUrOoYi1aPpF aeZs+JwYlBO2Ac6SRjFHCeSO6/y0XHZlSzCsndbsGO3jbKwZgTvbfiiCrnCBvuEfeRck +s1GkvmTeyGeSJubt/yTInHTT0wC4iwkCISceGrcYSn/UxHAEAidmWQ4fjeExP8YipO0 YdwUmeDQQ1+Cxh+Zjbb9Io+KzmskAAaErcz5NwVoGYZRNVJWISOQWjpemMMv8l7uVtLB DUkA== X-Gm-Message-State: AGi0PuZ8yCSefc5uS8cFZYzmaHk0eABbUY0R2Y75cCMPw+9dT+2pnzJR L0HYTDgVAx+jiZtzR9MFlN6aKXgR X-Google-Smtp-Source: APiQypLL/QODG7j0PepUON564pmSmFv/MQzoRJ86TJszGPb1G1YL32nPMJET86oFK3tmMEywG/if5w== X-Received: by 2002:a05:620a:2158:: with SMTP id m24mr3217657qkm.272.1587132840309; Fri, 17 Apr 2020 07:14:00 -0700 (PDT) Original-Received: from ?IPv6:2601:184:4180:66e7:9ded:7322:a320:d8bc? ([2601:184:4180:66e7:9ded:7322:a320:d8bc]) by smtp.googlemail.com with ESMTPSA id n67sm16991620qke.88.2020.04.17.07.13.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 17 Apr 2020 07:13:59 -0700 (PDT) In-Reply-To: <83imhyd1w1.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::733 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:247170 Archived-At: On 17/04/2020 03.09, Eli Zaretskii wrote: >> Cc: emacs-devel@gnu.org >> From: Clément Pit-Claudel >> Date: Thu, 16 Apr 2020 15:52:54 -0400 >> >> emacs -Q --daemon >> emacsclient --alternate-editor="emacs -Q" --nw # In this window, run M-x customize-face RET bold RET then exit >> emacsclient --alternate-editor="emacs -Q" --create-frame # In this window, run M-x customize-face RET bold RET >> >> The second customization window doesn't have 3D buttons. > > Because your Emacs was started as a daemon. As Stefan pointed out, this isn't due to the daemon. But even so, starting Emacs as a daemon shouldn't break 3D buttons. A few messages ago, the following discussion happened: >> For me, the only 'buttons' I see are the widget style buttons and these are not really buttons - >> they are really text 'fake' buttons. > > Not sure what you mean by "text fake buttons". We show a 3D > appearance on button widgets I was just pointing out that in may cases we don't show a 3D appearance on button widgets. You also wrote: > Maybe I'm missing something, but AFAIK we already have different code > for rendering this stuff in GUI and in text-mode frames. The GUI code > inserts an image and simulates the 3D "raised button" appearance, > whereas the text-mode code shows some ASCII art instead. The code is here: (defcustom custom-raised-buttons (not (equal (face-valid-attribute-values :box) '(("unspecified" . unspecified)))) "If non-nil, indicate active buttons in a raised-button style. Otherwise use brackets." :type 'boolean :version "21.1" :group 'custom-buffer :set (lambda (variable value) (custom-set-default variable value) (setq custom-button (if value 'custom-button 'custom-button-unraised)) (setq custom-button-mouse (if value 'custom-button-mouse 'highlight)) (setq custom-button-pressed (if value 'custom-button-pressed 'custom-button-pressed-unraised)))) This definition is evaluated once and for all, instead of once per frame. Isn't that a bug? Clément.