From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#58917: 28.2; Arm Build on Mac OS Monterey: Buffer Name is on the same line as Tool Bar Icons Date: Sun, 13 Nov 2022 12:45:57 +0800 Message-ID: <87iljjlawq.fsf@yahoo.com> References: <3D04793A-9A50-436F-AD28-076E5B2FBC3B.ref@yahoo.com> <3D04793A-9A50-436F-AD28-076E5B2FBC3B@yahoo.com> <87edunh2af.fsf@yahoo.com> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33124"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Oliver Yang , 58917@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 13 05:47:21 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1ou4tt-0008Pt-LL for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 13 Nov 2022 05:47:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ou4tf-00066n-1X; Sat, 12 Nov 2022 23:47:07 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ou4tb-00066Q-Eh for bug-gnu-emacs@gnu.org; Sat, 12 Nov 2022 23:47:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ou4ta-0001iL-ST for bug-gnu-emacs@gnu.org; Sat, 12 Nov 2022 23:47:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ou4ta-0002sd-G1 for bug-gnu-emacs@gnu.org; Sat, 12 Nov 2022 23:47:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 13 Nov 2022 04:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58917 X-GNU-PR-Package: emacs Original-Received: via spool by 58917-submit@debbugs.gnu.org id=B58917.166831477611013 (code B ref 58917); Sun, 13 Nov 2022 04:47:02 +0000 Original-Received: (at 58917) by debbugs.gnu.org; 13 Nov 2022 04:46:16 +0000 Original-Received: from localhost ([127.0.0.1]:49793 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ou4sp-0002rZ-PO for submit@debbugs.gnu.org; Sat, 12 Nov 2022 23:46:16 -0500 Original-Received: from sonic317-33.consmr.mail.ne1.yahoo.com ([66.163.184.44]:45208) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ou4sm-0002rL-Uc for 58917@debbugs.gnu.org; Sat, 12 Nov 2022 23:46:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1668314765; bh=UDtsHbTao81sE6mNH/kYjz0S1sc99zJfEe/DHK8M+7w=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=hqlp4HylsPGK+OzKrNHhIWpnodKd5mbhjXKzPrKPnBElSm0BE4cNHnoZkZ5aXMWMjWd/9Kz1oyQye5qgwmK2Jtws5pWkGPXs5H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9tzVVqoPElM4VagW6iR.iHgMhJA9r3drBi3LppPu_spPILneZGz5X257 QX7iOMEiK_HJWakXUb04BKlgLx7UpkKiWWW5jDE25C6yamH80UncINu0fBGgVaAuIkqnCBGrvyix ThI2n5PwaHyI8MqS1rZ8KyRurLNzTeDjBBkcBXZWVcQiUeVYN2CnYMmlHf_B76ah8SyNjkHyf5Wq UARFfyTyPkPLsZZ5KmM5dt9Rm8cCbQNL1KqI7TviEr0fBH_ceFLTOB2u_dfDewhSW07wzdOyM2co _B0PV_fjVv8aNu0Eh8VIbkELwhFmZqhA7Pe7XvY5SdPwWbiHY2BI0SKcyumrHDR9ecFQT7hBJL8f IM0dRpB8Ja3s4qBiQlo1l9SAWJdxqXULXVJTJpHbjauNhForEt1TzaYQM0RLkaZ165VNkIxnJOwZ qAnGmNpWyZKlXp9OX2X_Vgoyv.RoRZX1riUKIdjwW9WF6whVbJYqI0g_TbGs5rh_j6h7BVTtbxvg G5MLaAxlRF5IJko61xQhnVrwsWo8uPjZak8xiqkQTn X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.ne1.yahoo.com with HTTP; Sun, 13 Nov 2022 04:46:05 +0000 Original-Received: by hermes--production-sg3-6c8895b545-25cjq (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID c162250cf1e6f18aacf92cc7803fad82; Sun, 13 Nov 2022 04:46:03 +0000 (UTC) In-Reply-To: (Stefan Kangas's message of "Sat, 12 Nov 2022 20:11:23 -0800") X-Mailer: WebService/1.1.20826 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:247739 Archived-At: Stefan Kangas writes: > The linked thread suggests some solutions: > > It looks like you can change the default setting for whether or not > the title (for Emacs, it's the buffer name) is over the toolbar with > > defaults write -g NSWindowSupportsAutomaticInlineTitle -bool false > > [...] > > I think that something like the following code change to Emacs in > the right place would change the default appearance always: > > if ( [NSToolbar instancesRespondToSelector:@selector(setToolbarStyle:)]) > [win setToolbarStyle: NSWindowToolbarStyleExpanded]; > > for an NSWindow object win at an appropriate time. > > There is also a link to: > > https://apple.stackexchange.com/questions/408475/revert-ui-on-big-sur > > But people are also commenting that this no longer works on Monterey > (a.k.a. macOS 12, the latest version). It is not clear to me if this > refers to the code change, or to the "defaults write" command only: > > Just an update for others who stumble across this: this setting > seems to have been removed in Monterey (12.0). It doesn't work for > me any longer, and that seems consistent with some other new web > searches turning up similar results. > > Perhaps we should test doing something like the code above, and if that > works make it into a defcustom? If that's not possible for some reason, > perhaps it should be documented in PROBLEMS? > > I don't really do Objective-C or macOS development, so I can't help with > this, I'm afraid. I'm happy to test a solution if someone were to write > up a patch though. Right. The other question is whether or not we actually want to mess with how Apple dictates the tool bar must be placed.