From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Stefan Kangas <stefankangas@gmail.com>
Cc: Oliver Yang <oliver_hom@yahoo.com>, 58917@debbugs.gnu.org
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 [thread overview]
Message-ID: <87iljjlawq.fsf@yahoo.com> (raw)
In-Reply-To: <CADwFkmn0oiMsdDKY4ZvCVrtvZCu1m9a+GQS_-GJX06em6y9QPw@mail.gmail.com> (Stefan Kangas's message of "Sat, 12 Nov 2022 20:11:23 -0800")
Stefan Kangas <stefankangas@gmail.com> 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.
next prev parent reply other threads:[~2022-11-13 4:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <3D04793A-9A50-436F-AD28-076E5B2FBC3B.ref@yahoo.com>
2022-10-30 23:44 ` bug#58917: 28.2; Arm Build on Mac OS Monterey: Buffer Name is on the same line as Tool Bar Icons Oliver Yang via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-01 1:49 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-13 4:11 ` Stefan Kangas
2022-11-13 4:45 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2022-11-13 5:03 ` Stefan Kangas
2023-09-02 16:42 ` Stefan Kangas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87iljjlawq.fsf@yahoo.com \
--to=bug-gnu-emacs@gnu.org \
--cc=58917@debbugs.gnu.org \
--cc=luangruo@yahoo.com \
--cc=oliver_hom@yahoo.com \
--cc=stefankangas@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.