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: Thu, 16 Apr 2020 21:21:07 +0300 Message-ID: <835zdze1gs.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> 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="27890"; 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 Thu Apr 16 20:22:51 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 1jP9A3-0007AU-Mt for ged-emacs-devel@m.gmane-mx.org; Thu, 16 Apr 2020 20:22:51 +0200 Original-Received: from localhost ([::1]:37892 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jP9A2-0006z1-Mo for ged-emacs-devel@m.gmane-mx.org; Thu, 16 Apr 2020 14:22:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43381) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jP993-00067b-7A for emacs-devel@gnu.org; Thu, 16 Apr 2020 14:21:50 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:38606) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jP993-0003r8-2n; Thu, 16 Apr 2020 14:21:49 -0400 Original-Received: from [176.228.60.248] (port=1541 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jP98z-0000im-V0; Thu, 16 Apr 2020 14:21:48 -0400 In-Reply-To: <245308ec-5154-7d4b-dba4-0b21f42a0e95@gmail.com> (message from =?utf-8?Q?Cl=C3=A9ment?= Pit-Claudel on Thu, 16 Apr 2020 14:11:40 -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:247112 Archived-At: > Cc: emacs-devel@gnu.org > From: Clément Pit-Claudel > Date: Thu, 16 Apr 2020 14:11:40 -0400 > > > 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. Of course. Which is why I think I understand 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. Initialization of stuff that depends on GUI frames and should work in client frames needs to be done in server-after-make-frame-hook.