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: Thu, 16 Apr 2020 14:11:40 -0400 Message-ID: <245308ec-5154-7d4b-dba4-0b21f42a0e95@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> 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="115788"; 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 Thu Apr 16 20:13:02 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 1jP90Y-000Tyz-4V for ged-emacs-devel@m.gmane-mx.org; Thu, 16 Apr 2020 20:13:02 +0200 Original-Received: from localhost ([::1]:37814 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jP90W-0002WS-6d for ged-emacs-devel@m.gmane-mx.org; Thu, 16 Apr 2020 14:13:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42325) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jP8zQ-00025C-6L for emacs-devel@gnu.org; Thu, 16 Apr 2020 14:11:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jP8zO-0008FB-5U for emacs-devel@gnu.org; Thu, 16 Apr 2020 14:11:52 -0400 Original-Received: from mail-qv1-xf34.google.com ([2607:f8b0:4864:20::f34]:39194) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jP8zO-0008Eq-14; Thu, 16 Apr 2020 14:11:50 -0400 Original-Received: by mail-qv1-xf34.google.com with SMTP id v38so2500076qvf.6; Thu, 16 Apr 2020 11:11:49 -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=xBf7+h2yZy1/UuJ0wP1692jWX1S96GTF/jZjFTFqGGg=; b=tbfzuwdC7IIxGM6pO8aoz6plv10A/vSNbf/ItC8BIIMLwVlGBAB39vgVkYXCW5NdNv LDQkNoaHBfsbVL+JJw4aj98FWNd8eYrTJnuuQlKjLL2myitumnBywKb/6E9J9xfnd1cc rJYQHjJ/jgmXeTnLmOeLYfQFBF007seu4ycd7UR+6XXPKtYOWyEQ5Wlbegs4kghWiuXh bibbG4jXb54LIvWlCBPMLzh59kjwMX/NHkyvU6zJCl12Wv+dwLZP8sye8cMYfbK34wW7 vHBDVu0ZGqpbQ6+CxggyERHBg4vN1o+jxfLb3F2KW4oWHcUXXZJJ5P94HtyFY+8a3lkE gehA== 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=xBf7+h2yZy1/UuJ0wP1692jWX1S96GTF/jZjFTFqGGg=; b=UF60EHCEoOS36+pPedD5ctsRGA28Eb4/30BpMs5sAwQ6DUot9H4P1ijR8tXbEF/cwI uuYrnrn2Yxb4H4kvcz705AfaC7lpMCED8uwPZWVmdLMjT6ep1yZ9t40xiLNnokMnun9M lTI088zl1CorayzPLEfZwWjbpwdPsiOWQw20l/naTUSJdD7N7TNG/bIcfQrxXqkERKd9 vSQgf23+X0DX5C8MZsmbHPnmP+x2RsNnWrdQWjMkgPO8/UfqFWVfilYKQDc6EDulLofv 8ubAZTjvYYOD/Ym2a30iDLe4hi3HIh/++u9d0gDVObaL5/GTIdsc1G80bLV5fI+I96Ik BhVg== X-Gm-Message-State: AGi0PuY4hm7XUF1lKY1KJP8BcPavvLXI2nhw8anSd97uhp0vWU0SzrwG 1fx7bdKmqnEtL8JJXE1zLac/EML0 X-Google-Smtp-Source: APiQypL6rxqG+ki3t2QhE+j2hB6Iks1aH5mhmm5EHQl7TUrzlqTALJAIsou++jWAL2sO32ymUvnSsQ== X-Received: by 2002:a05:6214:174f:: with SMTP id dc15mr11720913qvb.107.1587060708878; Thu, 16 Apr 2020 11:11:48 -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 h63sm15331070qkd.49.2020.04.16.11.11.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Apr 2020 11:11:48 -0700 (PDT) In-Reply-To: <837dyfe45q.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::f34 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:247111 Archived-At: On 16/04/2020 13.22, Eli Zaretskii wrote: >> From: Clément Pit-Claudel >> Date: Thu, 16 Apr 2020 13:03:03 -0400 >> >> Operate on all settings in this buffer: >> [ Revert... ] [ Apply ] [ Apply and Save ] >> >> I think this is due to custom-raised-buttons being nil, which happens if cus-edit gets loaded too early in an Emacs server, as in the following example: >> >> echo "(require 'cus-edit)" > ~/.emacs >> emacsclient --alternate-editor="" --create-frame >> >> In the resulting graphical frame, customize buffers won't use 3D buttons. Tim, what is the value of custom-raised-buttons in your session? >> >> Should I open a bug report? > > I think it's a bug in your ~/.emacs, so a bug report will hardly solve > it. I think there is a misunderstanding. The recipe I posted above is self-contained and reproduces the issue. The problem is that custom-raised-buttons is initialized once and for all to a value that depends on whether the current frame when cus-edit is loaded is a graphical frame. Then all other frames, graphical or not, use that value. Clément.