GNU bug report logs - #80307
Add ns-toolbar-style frame parameter on macOS

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: opensauce04@HIDDEN; merged with #80679; dated Sun, 1 Feb 2026 09:00:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 80307 <at> debbugs.gnu.org:


Received: (at 80307) by debbugs.gnu.org; 28 May 2026 11:21:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 28 07:21:49 2026
Received: from localhost ([127.0.0.1]:33567 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wSYo8-000146-GA
	for submit <at> debbugs.gnu.org; Thu, 28 May 2026 07:21:49 -0400
Received: from mail-vs1-xe2f.google.com ([2607:f8b0:4864:20::e2f]:50353)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <shipmints@HIDDEN>)
 id 1wSYo5-00013w-NN
 for 80307 <at> debbugs.gnu.org; Thu, 28 May 2026 07:21:46 -0400
Received: by mail-vs1-xe2f.google.com with SMTP id
 ada2fe7eead31-631a7868228so8316074137.0
 for <80307 <at> debbugs.gnu.org>; Thu, 28 May 2026 04:21:45 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1779967305; cv=none;
 d=google.com; s=arc-20240605;
 b=HlIzthHpC2A8g9BQYorz90mo7sJkPv3oE5usnVUTtAAABmNAgkGiwA/GAI1JKqPrvq
 FxzVhk8jmTR/yp9ScWWDb8dJuC7maC9lC45PIN/QTBX/r2KU/FQRnJvQ486BokwrqEVW
 ucrz0kWDyQDfaP+pPEeUTjRZRWs9D8aSFF6O1rzoHhnjruz2UL3edwJUfq9tqakuBVmL
 q78YXJXiTZW94jQpgXfpBZwwlLRBEliILk4A5H9UUngjn+9YTheMGl/4MCjhtU5W547W
 JEtnmolYXV4jkhLq1amwZxcpELO4r871oZtWahIZsJooIvkn7cC+kEPFTznM0xj7BF2i
 FBEw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
 s=arc-20240605; 
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:dkim-signature;
 bh=dLYJ0AszoNLK3ehFexq3BAN3VmNJ01jTU8+hlFh1r3Q=;
 fh=9MYW9xeIrfKJCP/9//dv1ZiHS0y0LiNKZl0le2a0u7Q=;
 b=KWfEbU5+mBUqnCStCFnkrQuJ5k6IJPOe3ZwCrkVhsuG1LptWwjOSpzPbKyeIubv6mG
 SlQqOPPT8b7Bkm5Wlu1O8TgvB9gobR/TXzV7nCNfJM7CIQjwgGMkZ1T8AXFvH7YmM0Ml
 d9gm2mMYUEhXbfxPyHVo1yY+YHVjyW4sho9FNQ4p/heK7lSskjyMccLlYPXIMGNZ1NVX
 ay0BrCEoqYmHo0U75wkd+LPbAy+XMQxntp0qJBuNWm5Cy6ANMntd7OQdU4W5tmjMr2i+
 PNBHOghNDWZ/vHKBBuF46l7Zm00wmNp38WIpM8FpgKihGUTw4iV2EwbhrmXQwLZkQtqN
 haCg==; darn=debbugs.gnu.org
ARC-Authentication-Results: i=1; mx.google.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20251104; t=1779967305; x=1780572105; darn=debbugs.gnu.org;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:from:to:cc:subject:date:message-id:reply-to;
 bh=dLYJ0AszoNLK3ehFexq3BAN3VmNJ01jTU8+hlFh1r3Q=;
 b=N5qje5gT0eFbPp7xfZCZTqrzOilI5ZOKKgoXAKHpEal3eVNQOu5sb7e+Ur/srWTngR
 QRQd1J9UoJej7efD4tly/P3mKBYDlyphPilWc8Y/7U1MNgUS3Bi7igUChPjpKL8MZuYp
 9Ncm9wP6kWYP874WedkVgf+he4rpQPAx1qnthTIdyzlRE5nfH+ccnrBhD59oCRItY/br
 M02sbitS1aVVO82HYxWhJ/RQdRO5luTzr8zaCZEMEQozHAclLSj2d2U2qiKYWV0s7Yvn
 7+W79HQZxUHs3zvih0j29YrXKXW9kcY7VDbzRBV+cPwveTYXjfkPHFneT9UHjnImjEEd
 vi4g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20251104; t=1779967305; x=1780572105;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=dLYJ0AszoNLK3ehFexq3BAN3VmNJ01jTU8+hlFh1r3Q=;
 b=OnTDXWyhQPqBsemZDJiV0yma5q7sV5C//VzSjI0nqraz6psJFTMmunlkXKRsG6ZxE9
 4DbVJd7Chaur1dw/rX6E/1X7nV4edreAR44lP5MWfTQZ2hg/G5GGNx11igatlwnGVWxk
 qG5HVkoDfQZzMwmo40CFl4Buo1PemeoX26iFQWFGeX4HlDzdrESFfeTIC7jKZVF79Kvy
 NhvFfIjhApa/N7MAeosRoF9oK2PTYne96X9DpqD4SxWbHxxT9J1dtJ4Rueotdrams1L2
 za4otmd+wsk8K5Dw2UszPOUEx3w/aNLjABR6YC0js4RvVsm4q1VhgWTvyUz95B37LcMI
 bqZg==
X-Forwarded-Encrypted: i=1;
 AFNElJ8PrG7Fh8CIFOlMx1pziWhLaf+sQibN4TyKwZ1cBYrx6ZnNgQaZ/q3UZEawNYRcoZkgl6iNag==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YwL8e7vkyb+FhL5Jpl/K5HjNMaAk8YnOuSfjUycihP1tsjR6+v/
 M2eAA4rEOh8UoTp/AVImbKOYoWgKN+q/7XMLehDDo4BBGJkLXr64ZwygdED/APQQ19T9BjUC+4W
 7S2ducuwSZMEZlPIVb53YDYbqr3z52AY=
X-Gm-Gg: Acq92OGpfQmf/nlpIseCH2yUz+eJAvvZyRLaRIOy50wcTcQunPVQ2RbFCeV1KC5fPcv
 P+9XIJrI/yQbeDkgIyqAQYuHbbvhLBjnvzVIRwJdwTmU1MTDbdrA9DApX92eCgkilePHQvvKpMs
 MuJYdPVZwa8Bt7f3ymf3B3ikSBUVWPO0WTza6gQEKJv47dMoHL7b+MKwayFxbshjMBxYTIjC55n
 Qze98ucA0oPqdqIswQuhD2gNkawEDjjP5U/gLXaj8G9jShO6lpjyM+o0ygVzoOyYR5/WPmt0x5y
 fkWTlVRsKHAUaB/nTdOoWzxLC1z/VH58D8SmvEsoPx5W8aTpzM+lS7n9ofveGiRlAJOOuTK3Gzp
 V5B0KSAinpn/jV+OqIxnIaLpB3xWpO5jdSNFUH77zyC3WkrbPGSXkOYe12EU=
X-Received: by 2002:a05:6102:5a89:b0:631:5ef5:8324 with SMTP id
 ada2fe7eead31-67c8d07131cmr14399886137.23.1779967304949; Thu, 28 May 2026
 04:21:44 -0700 (PDT)
MIME-Version: 1.0
References: <a2ed9095-e014-4902-90a5-9329a5f17297@HIDDEN>
 <86qzr318md.fsf@HIDDEN>
 <CAN+1HbpgkdCf1fAvRwLCqkfbR2JjZLQ-Xh_DzCNqJ4M5YtVF5A@HIDDEN>
 <86o6m714wp.fsf@HIDDEN>
 <CAN+1HbpvB0txw-o7=6PbPqaUpXSH2zF+PCjsBtkwG6ohF6tPYw@HIDDEN>
 <86ms1r13bt.fsf@HIDDEN> <86ecmnpm6y.fsf@HIDDEN>
 <4f3c4e22-f655-4eab-8d8f-99fa040def6e@HIDDEN>
 <865x7m9igt.fsf@HIDDEN> <86jyvx2eq1.fsf@HIDDEN> <86qzpmafda.fsf@HIDDEN>
 <86mrzstjue.fsf@HIDDEN> <7AB72FAF-6273-42BE-8375-256DDB3D7B34@HIDDEN>
 <865x4s2871.fsf@HIDDEN> <2b3ef8da-effc-41fc-8816-bf67ddac35a1@HIDDEN>
 <86jyt8zf79.fsf@HIDDEN> <9fb1b26c-a730-4716-959d-d4ead3268e30@HIDDEN>
 <86a4u3zhf4.fsf@HIDDEN> <E1wNN1N-0001Dr-CN@HIDDEN>
 <8fa9d72d-b3e6-4bb7-b0ab-380b160f60c4@HIDDEN> <86h5oa8dhp.fsf@HIDDEN>
 <m28q94wm6s.fsf@HIDDEN>
 <e7923534-f2cb-4cf9-aaab-ba7dc226e6f5@HIDDEN>
In-Reply-To: <e7923534-f2cb-4cf9-aaab-ba7dc226e6f5@HIDDEN>
From: =?UTF-8?Q?St=C3=A9phane_Marks?= <shipmints@HIDDEN>
Date: Thu, 28 May 2026 07:21:32 -0400
X-Gm-Features: AVHnY4JnL9JnuDLiJPci-Ib7TvlWn9ED3nHWwSvLrknTJSndDcxr49aY9PrsYIY
Message-ID: <CAN+1Hbq1wBgkRZPU+ZXkqj1SRMNANMi2aJBCJs_G86_VTTLidg@HIDDEN>
Subject: Re: bug#80307: Add ns-toolbar-style frame parameter on macOS
To: opensauce04@HIDDEN
Content-Type: multipart/alternative; boundary="000000000000ec63550652deee09"
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 80307
Cc: =?UTF-8?Q?Rudolf_Adamkovi=C4=8D?= <rudolf@HIDDEN>, alan@HIDDEN,
 rms@HIDDEN, luangruo@HIDDEN, dmitry@HIDDEN,
 Eli Zaretskii <eliz@HIDDEN>, 80307 <at> debbugs.gnu.org,
 waylandthrowaway@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

--000000000000ec63550652deee09
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Thu, May 28, 2026 at 7:10=E2=80=AFAM <opensauce04@HIDDEN> wrote:

> On 27/05/2026 22:56, Rudolf Adamkovi=C4=8D wrote:
> > Eli Zaretskii <eliz@HIDDEN> writes:
> >
> >> Thanks, I hope Rudolf (who submitted the changes in bug#79900) and
> >> other macOS users will be able to comment on this change.
> > My apologies for replying so late!  I have been quite busy lately.
> >
> > All right, to summarize:
> >
> > (1) Apple changes the default toolbar style.
> > (2) Emacs gets the new style, following Apple defaults.
> > (4) Some Emacs disagree with Apple on the new style.
> > (5) My patch brings back the original style, Apple be damned.
> > (6) Some Emacs users like the new style, as Apple does.
> >
> > We can either
> >
> > (A) Revert my patch and align with Apple.
> > (B) Add a customization variable.
> >
> > If we go with (B), what should be the default value? :)
> >
> > Personally, I am okay with both (A) and (B).
> >
> > The advantage of (A) is minimal maintenance, where we let Apple
> > "improve" their UI, which at this point is advertising FOSS. :)
> >
> > Rudy
> I don't think B is likely to happen; ~5 months ago, this bug
> originally began with me proposing patch which implements a
> customization value like the one you described, and since then the
> email thread has mostly consisted of philosophical discussion over
> whether or not it can be included due to macOS's proprietary
> nature. The more recent emails seem to pretty solidly imply that it
> probably isn't happening.
>
> If reverting the patch works for you, that would be fantastic. It
> would resolve the core objective of me starting this whole thing,
> which was to just get things back to how things looked in Emacs 30.
>
> To whoever here it may concern, who would be responsible for applying
> the reversion? Also, seeing as this is a reversion, is Emacs 31 back
> on the table for this change? I think it'd be a bit strange to change
> the toolbar positioning for a single version only to put it back to
> how it was before the version afterwards.
>
> In any case, hopefully this can soon be finally resolved :^)
>

I support reverting the change.  We can install a user option once the
GNU/Linux equivalent is developed and we can achieve parity, hopefully for
Emacs 32.

--000000000000ec63550652deee09
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon=
t-family:monospace"><span style=3D"font-family:Arial,Helvetica,sans-serif">=
On Thu, May 28, 2026 at 7:10=E2=80=AFAM &lt;<a href=3D"mailto:opensauce04@g=
mail.com">opensauce04@HIDDEN</a>&gt; wrote:</span></div></div><div class=
=3D"gmail_quote gmail_quote_container"><blockquote class=3D"gmail_quote" st=
yle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padd=
ing-left:1ex">On 27/05/2026 22:56, Rudolf Adamkovi=C4=8D wrote:<br>
&gt; Eli Zaretskii &lt;<a href=3D"mailto:eliz@HIDDEN" target=3D"_blank">el=
iz@HIDDEN</a>&gt; writes:<br>
&gt;<br>
&gt;&gt; Thanks, I hope Rudolf (who submitted the changes in bug#79900) and=
<br>
&gt;&gt; other macOS users will be able to comment on this change.<br>
&gt; My apologies for replying so late!=C2=A0 I have been quite busy lately=
.<br>
&gt;<br>
&gt; All right, to summarize:<br>
&gt;<br>
&gt; (1) Apple changes the default toolbar style.<br>
&gt; (2) Emacs gets the new style, following Apple defaults.<br>
&gt; (4) Some Emacs disagree with Apple on the new style.<br>
&gt; (5) My patch brings back the original style, Apple be damned.<br>
&gt; (6) Some Emacs users like the new style, as Apple does.<br>
&gt;<br>
&gt; We can either<br>
&gt;<br>
&gt; (A) Revert my patch and align with Apple.<br>
&gt; (B) Add a customization variable.<br>
&gt;<br>
&gt; If we go with (B), what should be the default value? :)<br>
&gt;<br>
&gt; Personally, I am okay with both (A) and (B).<br>
&gt;<br>
&gt; The advantage of (A) is minimal maintenance, where we let Apple<br>
&gt; &quot;improve&quot; their UI, which at this point is advertising FOSS.=
 :)<br>
&gt;<br>
&gt; Rudy<br>
I don&#39;t think B is likely to happen; ~5 months ago, this bug<br>
originally began with me proposing patch which implements a<br>
customization value like the one you described, and since then the<br>
email thread has mostly consisted of philosophical discussion over<br>
whether or not it can be included due to macOS&#39;s proprietary<br>
nature. The more recent emails seem to pretty solidly imply that it<br>
probably isn&#39;t happening.<br>
<br>
If reverting the patch works for you, that would be fantastic. It<br>
would resolve the core objective of me starting this whole thing,<br>
which was to just get things back to how things looked in Emacs 30.<br>
<br>
To whoever here it may concern, who would be responsible for applying<br>
the reversion? Also, seeing as this is a reversion, is Emacs 31 back<br>
on the table for this change? I think it&#39;d be a bit strange to change<b=
r>
the toolbar positioning for a single version only to put it back to<br>
how it was before the version afterwards.<br>
<br>
In any case, hopefully this can soon be finally resolved :^)<br></blockquot=
e><div><br></div><div class=3D"gmail_default" style=3D"font-family:monospac=
e">I support reverting the change.=C2=A0 We can install a user option once =
the GNU/Linux equivalent is developed and we can achieve parity,=C2=A0hopef=
ully for Emacs 32.<br></div></div></div>

--000000000000ec63550652deee09--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#80307; Package emacs. Full text available.

Message received at 80307 <at> debbugs.gnu.org:


Received: (at 80307) by debbugs.gnu.org; 28 May 2026 11:14:11 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 28 07:14:11 2026
Received: from localhost ([127.0.0.1]:33456 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wSYgk-0000Rl-NI
	for submit <at> debbugs.gnu.org; Thu, 28 May 2026 07:14:10 -0400
Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]:58414)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <opensauce04@HIDDEN>)
 id 1wSYgi-0000Rc-7p
 for 80307 <at> debbugs.gnu.org; Thu, 28 May 2026 07:14:08 -0400
Received: by mail-wm1-x330.google.com with SMTP id
 5b1f17b1804b1-490388fd0dbso70404235e9.0
 for <80307 <at> debbugs.gnu.org>; Thu, 28 May 2026 04:14:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20251104; t=1779966847; x=1780571647; darn=debbugs.gnu.org;
 h=content-transfer-encoding:in-reply-to:content-language:references
 :cc:to:from:subject:user-agent:mime-version:date:message-id:from:to
 :cc:subject:date:message-id:reply-to;
 bh=rhAZITXFpZHTB6B6IFX1KV6x+TAoaLrPMks7FGJ3Yaw=;
 b=AyZRtOmYVkPNtQJweU4vuvBGsP+zlbL4bzb8GhyOfkbMbsBOm/fs5hkuSAYw5bPRTz
 VHIan0VN6neAfCLThsDt/PfUV1cSAX8B/9AFaPl5b0Kv97rLaujpXrVvGmUCLJvAtI6C
 BSiiUvnJvpKMEcpTpSE1rgPc5tXzz0rZ/ejZb11hDtHvBlqYSs0v6iLxAEc/qPFPiMjt
 G4QqT1qAdzEKKzHRDEQJZ4O73+8yuwUVoSNqhcdI7jHZmFbJKxxnxrvpCGpmQrFJuHca
 32MPCQXKXP53u/NTk2iqjYsJV1nV46emE3lspFaBJ5bDbMwN2UoMF7BxEB4wqiLOH0aO
 gmXg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20251104; t=1779966847; x=1780571647;
 h=content-transfer-encoding:in-reply-to:content-language:references
 :cc:to:from:subject:user-agent:mime-version:date:message-id:x-gm-gg
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=rhAZITXFpZHTB6B6IFX1KV6x+TAoaLrPMks7FGJ3Yaw=;
 b=DwWc+/0aisEOohaLOuwYN/wbjUopnC2Omb8P1LCufWEkaonQOv4tw7jyuZzJwjVomx
 HZsRJ7ZfvomRhmJDrxhhCHyP18FLJ+4OiTKoltJi7IOdG7gJzZpJjL/RDByijnl2oreG
 pGiLjX2+eJ4hThF5n6q+UIwSrTHjM8gz1Qv8N/o4WPwo+qWjOiPe6QAuYhlsBphgNyVN
 nPFMZ12f4MGKFiI55tEWErfhDgr5wBv82c7cILM9TCbToXSJnAnnFro/O4bRJD0wp1Rl
 tVmOeldvgHWkJ3FqbjevH1M7TNgV8A52SL4vuEqsu/ykNVh4Rr7lgxfhj3ykdl1UmyUM
 iafg==
X-Gm-Message-State: AOJu0Yx2nT0a/ljIaKSqBDj/a6KqOIyhewKDYyp2sbJhgkM+olZ1d5li
 W9cLok8OrqmSbt2pJg8C34e2VbSVYAJ3mjXwNDYlHFTIDdBgcGFSw+k2
X-Gm-Gg: Acq92OHvFFrBVO0zQ6JHzxZVGx7wRFRI168vsBOdPlTJYponO/OcDS+mi9Mg0XRnEUe
 EdoR0UjRd9s1uVZEr93Rb48BNStSya0zHKEBcthyQQYhBywcnDpK57X7I2E5QJ39viVaGLAiTUS
 eJH32u+6rH9ylG1kj5GR3x9Qh+48do5eU5IK4OFnf7xb974DV6EvRM9E/2uqqJIkHjY9WI9BwbL
 +mFSQEIfvPs7QhxXZ6x0FuiiVNjEbF7XB2FPlwqp5q0Xb+0Ui1EA2td+FialC5ECh6sGq9Xytts
 WT5rp1MRw0OslibmO6i6ERpP7rHll8tLvP1Noa4cF23ASMXUtPD2dwV/GFlgTh4cFGq113705sM
 yDPy+AViM7cSKfLkirGyFfllGYJQpxeVJV+E0pvs29mncNYeOJiBmc/iYnn/qUFLInfzQdkqhf6
 QAV5VcJ7R708dp0Yle5Dtk8EiPHR/L/L/aHGbXKccS0X/5JvZv2JYIuAn8m69aCi/ThEhGasdvX
 sk58YPhAWEQkbQNBRBWp1H2gg6ZizdsaFFe
X-Received: by 2002:a05:600c:4ecc:b0:48e:5fb8:f80f with SMTP id
 5b1f17b1804b1-490426d1ea7mr428179785e9.24.1779966846529; 
 Thu, 28 May 2026 04:14:06 -0700 (PDT)
Received: from ?IPV6:2a0a:ef40:21c2:6d01:21ad:c4d8:912a:361f?
 ([2a0a:ef40:21c2:6d01:21ad:c4d8:912a:361f])
 by smtp.gmail.com with ESMTPSA id
 5b1f17b1804b1-4908d80952asm22617735e9.1.2026.05.28.04.14.05
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Thu, 28 May 2026 04:14:06 -0700 (PDT)
Message-ID: <54eee00d-cec5-4d22-9e95-45caa096a970@HIDDEN>
Date: Thu, 28 May 2026 12:14:05 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#80307: Add ns-toolbar-style frame parameter on macOS
From: opensauce04@HIDDEN
To: =?UTF-8?Q?Rudolf_Adamkovi=C4=8D?= <rudolf@HIDDEN>,
 Eli Zaretskii <eliz@HIDDEN>
References: <a2ed9095-e014-4902-90a5-9329a5f17297@HIDDEN>
 <86qzr318md.fsf@HIDDEN>
 <CAN+1HbpgkdCf1fAvRwLCqkfbR2JjZLQ-Xh_DzCNqJ4M5YtVF5A@HIDDEN>
 <86o6m714wp.fsf@HIDDEN>
 <CAN+1HbpvB0txw-o7=6PbPqaUpXSH2zF+PCjsBtkwG6ohF6tPYw@HIDDEN>
 <86ms1r13bt.fsf@HIDDEN> <86ecmnpm6y.fsf@HIDDEN>
 <4f3c4e22-f655-4eab-8d8f-99fa040def6e@HIDDEN> <865x7m9igt.fsf@HIDDEN>
 <86jyvx2eq1.fsf@HIDDEN> <86qzpmafda.fsf@HIDDEN> <86mrzstjue.fsf@HIDDEN>
 <7AB72FAF-6273-42BE-8375-256DDB3D7B34@HIDDEN> <865x4s2871.fsf@HIDDEN>
 <2b3ef8da-effc-41fc-8816-bf67ddac35a1@HIDDEN> <86jyt8zf79.fsf@HIDDEN>
 <9fb1b26c-a730-4716-959d-d4ead3268e30@HIDDEN> <86a4u3zhf4.fsf@HIDDEN>
 <E1wNN1N-0001Dr-CN@HIDDEN>
 <8fa9d72d-b3e6-4bb7-b0ab-380b160f60c4@HIDDEN> <86h5oa8dhp.fsf@HIDDEN>
 <m28q94wm6s.fsf@HIDDEN>
 <e7923534-f2cb-4cf9-aaab-ba7dc226e6f5@HIDDEN>
Content-Language: en-GB
In-Reply-To: <e7923534-f2cb-4cf9-aaab-ba7dc226e6f5@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 1.3 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  On 28/05/2026 12:10, > I don't think B is likely to happen; 
 ~5 months ago, this bug > originally began with [...] Typo correction, it
 started ~4 months ago. 
 Content analysis details:   (1.3 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [2a00:1450:4864:20:0:0:0:330 listed in]
 [list.dnswl.org]
 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
 in digit (opensauce04[at]gmail.com)
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 -0.0 SPF_PASS               SPF: sender matches SPF record
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (opensauce04[at]gmail.com)
 1.0 FORGED_GMAIL_RCVD      'From' gmail.com does not match 'Received'
 headers
X-Debbugs-Envelope-To: 80307
Cc: alan@HIDDEN, rms@HIDDEN, luangruo@HIDDEN, dmitry@HIDDEN,
 shipmints@HIDDEN, 80307 <at> debbugs.gnu.org, waylandthrowaway@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.3 (/)

On 28/05/2026 12:10, opensauce04@HIDDEN wrote:
> I don't think B is likely to happen; ~5 months ago, this bug
> originally began with [...]
Typo correction, it started ~4 months ago.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#80307; Package emacs. Full text available.

Message received at 80307 <at> debbugs.gnu.org:


Received: (at 80307) by debbugs.gnu.org; 28 May 2026 11:10:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 28 07:10:43 2026
Received: from localhost ([127.0.0.1]:33396 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wSYdP-000099-A0
	for submit <at> debbugs.gnu.org; Thu, 28 May 2026 07:10:43 -0400
Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]:47105)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <opensauce04@HIDDEN>)
 id 1wSYdJ-00007x-Vh
 for 80307 <at> debbugs.gnu.org; Thu, 28 May 2026 07:10:41 -0400
Received: by mail-wm1-x330.google.com with SMTP id
 5b1f17b1804b1-4904fd4f6aeso49252465e9.2
 for <80307 <at> debbugs.gnu.org>; Thu, 28 May 2026 04:10:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20251104; t=1779966637; x=1780571437; darn=debbugs.gnu.org;
 h=content-transfer-encoding:in-reply-to:from:content-language
 :references:cc:to:subject:user-agent:mime-version:date:message-id
 :from:to:cc:subject:date:message-id:reply-to;
 bh=WrjeNJINZoYIjYsQEaXf+H6Pq9b0oAARGsEddyfpZM8=;
 b=fl+1yQocd4EGzs28CqkhK72PrynHjLUxVoKpY1l6ibZlclmSoLYq04VtatTv4XkwC1
 mLuZ/oSGKCOc4ZPuShdSpxrwRiy3e919CuSpxN8EftI3V7u2oeaUMbfJRRhvpRahZAoz
 m1FDFAg25/NBUImoJZIrVygodLKLp+J/q/Qd63eaAaNeXLq7uXWn3sfQjirCR6pcwznZ
 0kr2xh+SrbwiWwRqzOOmttRAVeZNF3jNUodcbZX7+Jj9e0MrT7q3Zjvqw/iKBk3/0Iqk
 BUBwg5XXjwcUByOUnPQQ6eU7myBajy4QvDyyi7dKKIh6IevhNmOAHc5MVy/qlyW8HBBB
 3eQg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20251104; t=1779966637; x=1780571437;
 h=content-transfer-encoding:in-reply-to:from:content-language
 :references:cc:to:subject:user-agent:mime-version:date:message-id
 :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=WrjeNJINZoYIjYsQEaXf+H6Pq9b0oAARGsEddyfpZM8=;
 b=e+B21mFnw7HxxA5bRlrJ7nSvZaFZMCiHSjHC112o/amiPkj6tIS71PQNL2eQV8XkLJ
 RTraEguVZfSPrFyJM3SD8Gf2ipWO3DDDgxLM8DERMrW2PoEPV7ofdzQUNX+SGVkY6t9X
 KYREi3nvz+Y47Yemso2D38LatRMDrQQipfR6P4Ctn42kqoprhvTWw0MV3ue94DRo1ll5
 lfMRKnQGLwD2ZugSEBe1dST8y30i7T5pBkZE0R5QP4VhHt06uzFGMde/Z9nymrGi7kg8
 IG3wxwnDCljNe5zMcB4oJBsFjUYpzy4Bo3hN9qaN7kug1yolsKsHc/xey4Ip8pGcrQnl
 wGhg==
X-Gm-Message-State: AOJu0Yx6N4jpSZYv0k4Kgv0jbXnRu8bYLewtWbIWGVKzma/KWNy/USh5
 BzylssiKt0sImzTpccPELjVq+/+6zdwB05A5kQaUhDA5ekTdqnZva6sM
X-Gm-Gg: Acq92OGc8rNG9NbfVhffdqNcKuY3dHzl23LeH6JqNom00uo0TJGRH4amVYYSpfOyfFs
 mBfNB6swouvkfroIHM7fMN+4sWyxk1RemhxXko4hWJ6AD8Z0N3/FSUMfvVgkWALyI30zVCIEyN7
 kVccRAfZFLQPyZHJsh2yrEo6SCqCPdauw+oE3x1ONbSMrLIGNu1+s8wnSl3A9fVoJHdVAH6jsAy
 kXOJe6HlnHB+ofZpsX5LC2Uh69ROnmRWnNCjTb5yLopJS1b3TFxYZxDJsgSbzY9EhcrH/Xma8aQ
 dihItq/jPp7A9NmvMEo5RaZlUs54OITmAxVotouDK0hZ3gXq+aFUEy1tuq3w02PR8aP8KLQFBm+
 5euGB/u9DsmaSRWlZ7dX2oaAqpbWtd0VebMnJggUOWBpC1SyqJQUpVW/Vh10ygtcJM2FJ3J1Tun
 o0aNYC/qqmjEpYBGaTBrsvF+LFaMq4LrSO321fwbaRFSc/fwGIJ85/nvDL3Zvo6FWRKQj5UgPho
 AO+4tBKczDwY0blywwP3V/ChSpjjsSIJwb44kCFOx+WN34=
X-Received: by 2002:a05:600c:c0d2:10b0:490:33b3:4be0 with SMTP id
 5b1f17b1804b1-490426c1759mr335210585e9.20.1779966636522; 
 Thu, 28 May 2026 04:10:36 -0700 (PDT)
Received: from ?IPV6:2a0a:ef40:21c2:6d01:21ad:c4d8:912a:361f?
 ([2a0a:ef40:21c2:6d01:21ad:c4d8:912a:361f])
 by smtp.gmail.com with ESMTPSA id
 5b1f17b1804b1-49092a92594sm31529395e9.13.2026.05.28.04.10.35
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Thu, 28 May 2026 04:10:36 -0700 (PDT)
Message-ID: <e7923534-f2cb-4cf9-aaab-ba7dc226e6f5@HIDDEN>
Date: Thu, 28 May 2026 12:10:35 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#80307: Add ns-toolbar-style frame parameter on macOS
To: =?UTF-8?Q?Rudolf_Adamkovi=C4=8D?= <rudolf@HIDDEN>,
 Eli Zaretskii <eliz@HIDDEN>
References: <a2ed9095-e014-4902-90a5-9329a5f17297@HIDDEN>
 <86qzr318md.fsf@HIDDEN>
 <CAN+1HbpgkdCf1fAvRwLCqkfbR2JjZLQ-Xh_DzCNqJ4M5YtVF5A@HIDDEN>
 <86o6m714wp.fsf@HIDDEN>
 <CAN+1HbpvB0txw-o7=6PbPqaUpXSH2zF+PCjsBtkwG6ohF6tPYw@HIDDEN>
 <86ms1r13bt.fsf@HIDDEN> <86ecmnpm6y.fsf@HIDDEN>
 <4f3c4e22-f655-4eab-8d8f-99fa040def6e@HIDDEN> <865x7m9igt.fsf@HIDDEN>
 <86jyvx2eq1.fsf@HIDDEN> <86qzpmafda.fsf@HIDDEN> <86mrzstjue.fsf@HIDDEN>
 <7AB72FAF-6273-42BE-8375-256DDB3D7B34@HIDDEN> <865x4s2871.fsf@HIDDEN>
 <2b3ef8da-effc-41fc-8816-bf67ddac35a1@HIDDEN> <86jyt8zf79.fsf@HIDDEN>
 <9fb1b26c-a730-4716-959d-d4ead3268e30@HIDDEN> <86a4u3zhf4.fsf@HIDDEN>
 <E1wNN1N-0001Dr-CN@HIDDEN>
 <8fa9d72d-b3e6-4bb7-b0ab-380b160f60c4@HIDDEN> <86h5oa8dhp.fsf@HIDDEN>
 <m28q94wm6s.fsf@HIDDEN>
Content-Language: en-GB
From: opensauce04@HIDDEN
In-Reply-To: <m28q94wm6s.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Spam-Score: 1.3 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  On 27/05/2026 22:56, Rudolf Adamkovič wrote: > Eli Zaretskii
    writes: > >> Thanks, I hope Rudolf (who submitted the changes in bug#79900)
    and >> other macOS users will be able to comment on this cha [...] 
 
 Content analysis details:   (1.3 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
  0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
                             in digit (opensauce04[at]gmail.com)
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 -0.0 SPF_PASS               SPF: sender matches SPF record
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (opensauce04[at]gmail.com)
  1.0 FORGED_GMAIL_RCVD      'From' gmail.com does not match 'Received'
                             headers
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
                              no trust
                             [2a00:1450:4864:20:0:0:0:330 listed in]
                             [list.dnswl.org]
X-Debbugs-Envelope-To: 80307
Cc: alan@HIDDEN, rms@HIDDEN, luangruo@HIDDEN, dmitry@HIDDEN,
 shipmints@HIDDEN, 80307 <at> debbugs.gnu.org, waylandthrowaway@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.3 (/)

On 27/05/2026 22:56, Rudolf Adamkovič wrote:
> Eli Zaretskii <eliz@HIDDEN> writes:
>
>> Thanks, I hope Rudolf (who submitted the changes in bug#79900) and
>> other macOS users will be able to comment on this change.
> My apologies for replying so late!  I have been quite busy lately.
>
> All right, to summarize:
>
> (1) Apple changes the default toolbar style.
> (2) Emacs gets the new style, following Apple defaults.
> (4) Some Emacs disagree with Apple on the new style.
> (5) My patch brings back the original style, Apple be damned.
> (6) Some Emacs users like the new style, as Apple does.
>
> We can either
>
> (A) Revert my patch and align with Apple.
> (B) Add a customization variable.
>
> If we go with (B), what should be the default value? :)
>
> Personally, I am okay with both (A) and (B).
>
> The advantage of (A) is minimal maintenance, where we let Apple
> "improve" their UI, which at this point is advertising FOSS. :)
>
> Rudy
I don't think B is likely to happen; ~5 months ago, this bug
originally began with me proposing patch which implements a
customization value like the one you described, and since then the
email thread has mostly consisted of philosophical discussion over
whether or not it can be included due to macOS's proprietary
nature. The more recent emails seem to pretty solidly imply that it
probably isn't happening.

If reverting the patch works for you, that would be fantastic. It
would resolve the core objective of me starting this whole thing,
which was to just get things back to how things looked in Emacs 30.

To whoever here it may concern, who would be responsible for applying
the reversion? Also, seeing as this is a reversion, is Emacs 31 back
on the table for this change? I think it'd be a bit strange to change
the toolbar positioning for a single version only to put it back to
how it was before the version afterwards.

In any case, hopefully this can soon be finally resolved :^)




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#80307; Package emacs. Full text available.

Message received at 80307 <at> debbugs.gnu.org:


Received: (at 80307) by debbugs.gnu.org; 27 May 2026 21:57:11 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 27 17:57:11 2026
Received: from localhost ([127.0.0.1]:51207 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wSMFT-0006iy-6D
	for submit <at> debbugs.gnu.org; Wed, 27 May 2026 17:57:11 -0400
Received: from fhigh-a5-smtp.messagingengine.com ([103.168.172.156]:56479)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <rudolf@HIDDEN>)
 id 1wSMFQ-0006ih-7T
 for 80307 <at> debbugs.gnu.org; Wed, 27 May 2026 17:57:08 -0400
Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42])
 by mailfhigh.phl.internal (Postfix) with ESMTP id 0F12A140002A;
 Wed, 27 May 2026 17:57:03 -0400 (EDT)
Received: from phl-frontend-03 ([10.202.2.162])
 by phl-compute-02.internal (MEProxy); Wed, 27 May 2026 17:57:03 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adamkovic.org;
 h=cc:cc:content-transfer-encoding:content-type:content-type
 :date:date:from:from:in-reply-to:in-reply-to:message-id
 :mime-version:references:reply-to:subject:subject:to:to; s=fm2;
 t=1779919023; x=1780005423; bh=rE4Y7wV/o9/oEx/yVGoMxLGHVnVcNXv0
 S8iBnrjFD6s=; b=xxqpVTzeqZ3yu+X06LccuQ4qDpqTk2CXnsqgkzWMe+s2YaLg
 R1fwEJnkPOccQYr4uwqxVsJjXt6WELpGowJ/9sceVU/PZzOv17UXjh23Har4lsvD
 0W4rpDmE53mXhESehhkZZS9Z59mUrCZ5I4CFaXVMbnYxa5dv7DtaTG9SdFWgC2p+
 9cxYNSXf2wGkj+hD+u9C3HswesGfVMj/E5FaCfMEYc/XdE4+0ix5KHZAxZL24Di6
 aiaJvfQxhONnGZzQTcIJzd5C7EjXsH+VoBq9+6BCyV4kImHoh8PWG4STHW6YP+eH
 ftdD794ZqZ37WWigb5iJwGZjV8mpNkPYu8Lmzg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-transfer-encoding
 :content-type:content-type:date:date:feedback-id:feedback-id
 :from:from:in-reply-to:in-reply-to:message-id:mime-version
 :references:reply-to:subject:subject:to:to:x-me-proxy
 :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1779919023; x=
 1780005423; bh=rE4Y7wV/o9/oEx/yVGoMxLGHVnVcNXv0S8iBnrjFD6s=; b=o
 bCsRkDK7KZvNrrtMnqCVQCL0FeHNHzei/2lTePVzAdH8R6DMwTM6q5djZ7jxrtxa
 sks3wGOPfHMar41wrkgchQDIyXMUZYrUTKwhjpkXZmKyj1eLJp9YixdS5G5962Ie
 IzG8UdZH/M0OUwNpFhSYMaIyK7zjjyrZmwJ6R8F/Cqx1rkMXcO/yAPTqnk/IQWhh
 yQTf+QPyA/R4BA7ukofBPqvslD7XT3/3syn4WniLhrtTZuQirANl4WGSVbT/1S7y
 hxCvdnJ8Bq2GEHJ+z1EelTUTd2NnQDxZgRhC4epD5Wg5ECOlar41Cx1cnzGHhhn5
 s3FoiTjHgWimhjKJzGi5A==
X-ME-Sender: <xms:rmgXalKKElHVkcKBeHyRTAWglraQaS15CAab6TXdQINNJitsJadSeA>
 <xme:rmgXajtxdv-wWDiF34KV_Yl61FxYaeQW9jQujnD3Bx2VbpoxyO7mlTlifSqRWIR4p
 2UBRggC2DS8mdoRxNGlz7JM_xId3ZnYPq_r4utTWjaFbW78867lU-Q>
X-ME-Received: <xmr:rmgXahUNq0JEsqFy6HzPk8pWMeeoUbGKptTYI1ovZmO8CMlWDun5q5p7dw3iEOX3OKtlWZRbvlWciARtOtlQwikyYZrJhBc>
X-ME-Proxy-Cause: dmFkZTFL8zAA0X52QIWGe9d9kMqw+c2iMAq2FtPwNCd4GuTDDkMOODhttEWtALK5Ptaeuc
 /tV1tT5uDxw/Zs55OeR+FYqkxn8NVQ+lfqkAWR4grfdOtzWFwCU1TGqvsGaLNkijrQS13w
 BdVMQmo76PFspK+WY1PuVHUV+t0CjZ5z8bMi14JYNNqjvokVD+g9/Pp2jOUnTAeBxENaMt
 +CwSaKldvkj6uyg7X/aZov+WDZ0e2TPVh+veyHBnY1UWnwsjChuxWK7duDbfYl0KswtYIL
 /ZqXCk+pRL/h8AZ7PdmAzVPXCT+VPe/RLJUH4YDf7amTqOKfhcz4i56CbeZvwtMxHZIPBF
 nt9Aw4hObwS1uFa7tPYjOOguiIHPuuQ5SWah4jVxC4Fk6999/49bNZagVnJLbICE7+Vqc6
 BbKuz8iWDlxiriTO7GORYMEiV7zh9QTAkbFlYDRvpVLIv/SxkSuvPl55Cbmcym1Xh/cs+5
 kXZGVlxGB555jse4sa1+EfiZONkZK1I3SYIitDSuBvZPPyWy/amgh+0nh59qfFsMqcgKP8
 062pjLRJfpzMG1ISWO51Stfko7yxJNsCfqd8oTTzBGb65/aJGsJRNP2AsNAOUIxecPstBv
 Quh1LPJBi58YF0BkWQs/YkwEkloql1BqWL39YqVEoYO+fWliBF2BMPCKVqzw
X-ME-Proxy: <xmx:rmgXamglfmODsEPZnq6OXWkJ-zkOs6mNDK-xha3YuJpGJTxp71SV8w>
 <xmx:rmgXahqNsd9pXdLGJWFKNIBL5TOSbzXpZPi_xrInxDxvYY8O9yI2LQ>
 <xmx:rmgXakEm-HSJt_9oz9KiOMJ54UwpUI7UlMjJUUYp9EIxuYbzaKKX8A>
 <xmx:rmgXau6r-SpkNaRE6OP--jEL3dOuue_eQMBxLlfJSz7SRMKXU4XOSQ>
 <xmx:r2gXal9aFmR3F0KztVR2ii1fcLQJ1niwtmGmsUgU203MSx1bablBEVny>
Feedback-ID: i88214938:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed,
 27 May 2026 17:57:01 -0400 (EDT)
From: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= <rudolf@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>, opensauce04@HIDDEN
Subject: Re: bug#80307: Add ns-toolbar-style frame parameter on macOS
In-Reply-To: <86h5oa8dhp.fsf@HIDDEN>
References: <a2ed9095-e014-4902-90a5-9329a5f17297@HIDDEN>
 <86qzr318md.fsf@HIDDEN>
 <CAN+1HbpgkdCf1fAvRwLCqkfbR2JjZLQ-Xh_DzCNqJ4M5YtVF5A@HIDDEN>
 <86o6m714wp.fsf@HIDDEN>
 <CAN+1HbpvB0txw-o7=6PbPqaUpXSH2zF+PCjsBtkwG6ohF6tPYw@HIDDEN>
 <86ms1r13bt.fsf@HIDDEN> <86ecmnpm6y.fsf@HIDDEN>
 <4f3c4e22-f655-4eab-8d8f-99fa040def6e@HIDDEN> <865x7m9igt.fsf@HIDDEN>
 <86jyvx2eq1.fsf@HIDDEN> <86qzpmafda.fsf@HIDDEN> <86mrzstjue.fsf@HIDDEN>
 <7AB72FAF-6273-42BE-8375-256DDB3D7B34@HIDDEN> <865x4s2871.fsf@HIDDEN>
 <2b3ef8da-effc-41fc-8816-bf67ddac35a1@HIDDEN> <86jyt8zf79.fsf@HIDDEN>
 <9fb1b26c-a730-4716-959d-d4ead3268e30@HIDDEN> <86a4u3zhf4.fsf@HIDDEN>
 <E1wNN1N-0001Dr-CN@HIDDEN>
 <8fa9d72d-b3e6-4bb7-b0ab-380b160f60c4@HIDDEN> <86h5oa8dhp.fsf@HIDDEN>
Date: Wed, 27 May 2026 23:56:59 +0200
Message-ID: <m28q94wm6s.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 80307
Cc: alan@HIDDEN, rms@HIDDEN, luangruo@HIDDEN, dmitry@HIDDEN,
 shipmints@HIDDEN, 80307 <at> debbugs.gnu.org, waylandthrowaway@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

> Thanks, I hope Rudolf (who submitted the changes in bug#79900) and
> other macOS users will be able to comment on this change.

My apologies for replying so late!  I have been quite busy lately.

All right, to summarize:

(1) Apple changes the default toolbar style.
(2) Emacs gets the new style, following Apple defaults.
(4) Some Emacs disagree with Apple on the new style.
(5) My patch brings back the original style, Apple be damned.
(6) Some Emacs users like the new style, as Apple does.

We can either

(A) Revert my patch and align with Apple.
(B) Add a customization variable.

If we go with (B), what should be the default value? :)

Personally, I am okay with both (A) and (B).

The advantage of (A) is minimal maintenance, where we let Apple
"improve" their UI, which at this point is advertising FOSS. :)

Rudy
--=20
"We shall not cease from exploration
 And the end of all our exploring
 Will be to arrive where we started
 And know the place for the first time"

--- T. S. Eliot, Little Gidding, Four Quarters, 1943

Rudolf Adamkovi=C4=8D <rudolf@HIDDEN> [he/him]
http://adamkovic.org




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#80307; Package emacs. Full text available.

Message received at 80307 <at> debbugs.gnu.org:


Received: (at 80307) by debbugs.gnu.org; 25 May 2026 12:11:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 25 08:11:53 2026
Received: from localhost ([127.0.0.1]:46796 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wRU9t-0001vS-W2
	for submit <at> debbugs.gnu.org; Mon, 25 May 2026 08:11:53 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:57380)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1wRU9n-0001uy-S2
 for 80307 <at> debbugs.gnu.org; Mon, 25 May 2026 08:11:47 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1wRU9h-0003KU-Jr; Mon, 25 May 2026 08:11:37 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=Opvd6dtvQirsr+a1Tp5WNE1JRfsh+cJgIOxH4hXZT9g=; b=evTpVmP2mprh1AqDY6oy
 OYd3OQ8PVqqO+1p+TvZDP9xdKQavQhIz1DAgQ3so96B0HZj29wlpqGnnoPeUQIdGPzA4F9tLCtkhn
 AIozRac/EoMYWUp8p3oX04gKH+PkevFIcVISipFtNl+iFRgdsW/Ggz/BloBLATnbadn8nSoNopyWu
 FNrK8P76nRWQr18AAHkcF1uSZznz8zSY5CfASnudhEiUezWkvsC+kvE3vrtrEZLs0+Q2U1Xhjc7EU
 hXNSgaw6gv9keWkIAjUnzuN2bmoJ3seESIohNNca1N8nSZm8csbHZgTVj1jLswAy7tSCS2dU2YIu7
 L9yE0uR48FEepg==;
Date: Mon, 25 May 2026 15:11:35 +0300
Message-Id: <865x4bsn7s.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: opensauce04@HIDDEN
In-Reply-To: <b3c102b0-4a09-4e10-9be8-45f07dd049db@HIDDEN>
 (opensauce04@HIDDEN)
Subject: Re: bug#80307: Add ns-toolbar-style frame parameter on macOS
References: <a2ed9095-e014-4902-90a5-9329a5f17297@HIDDEN>
 <86a4xs4xl3.fsf@HIDDEN> <73b73b62-155a-48f5-afc0-ab401f721372@HIDDEN>
 <86ikcf2uu4.fsf@HIDDEN>
 <CAN+1HbqrLO44574kZnuum0K=O3o4f50m+8DT_N8puTQ+bMo7ng@HIDDEN>
 <86qzr318md.fsf@HIDDEN>
 <CAN+1HbpgkdCf1fAvRwLCqkfbR2JjZLQ-Xh_DzCNqJ4M5YtVF5A@HIDDEN>
 <86o6m714wp.fsf@HIDDEN>
 <CAN+1HbpvB0txw-o7=6PbPqaUpXSH2zF+PCjsBtkwG6ohF6tPYw@HIDDEN>
 <86ms1r13bt.fsf@HIDDEN> <86ecmnpm6y.fsf@HIDDEN>
 <4f3c4e22-f655-4eab-8d8f-99fa040def6e@HIDDEN> <865x7m9igt.fsf@HIDDEN>
 <86jyvx2eq1.fsf@HIDDEN> <86qzpmafda.fsf@HIDDEN> <86mrzstjue.fsf@HIDDEN>
 <7AB72FAF-6273-42BE-8375-256DDB3D7B34@HIDDEN> <865x4s2871.fsf@HIDDEN>
 <2b3ef8da-effc-41fc-8816-bf67ddac35a1@HIDDEN> <86jyt8zf79.fsf@HIDDEN>
 <9fb1b26c-a730-4716-959d-d4ead3268e30@HIDDEN> <86a4u3zhf4.fsf@HIDDEN>
 <E1wNN1N-0001Dr-CN@HIDDEN>
 <8fa9d72d-b3e6-4bb7-b0ab-380b160f60c4@HIDDEN> <86h5oa8dhp.fsf@HIDDEN>
 <b3c102b0-4a09-4e10-9be8-45f07dd049db@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 80307
Cc: rudolf@HIDDEN, alan@HIDDEN, luangruo@HIDDEN, dmitry@HIDDEN,
 shipmints@HIDDEN, 80307 <at> debbugs.gnu.org, waylandthrowaway@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Mon, 25 May 2026 12:22:43 +0100
> Cc: 80307 <at> debbugs.gnu.org, dmitry@HIDDEN, alan@HIDDEN,
>  luangruo@HIDDEN, shipmints@HIDDEN, waylandthrowaway@HIDDEN,
>  Eli Zaretskii <eliz@HIDDEN>
> From: opensauce04@HIDDEN
> 
> Ping

Sorry, I cannot move forward without some meaningful input from Rudolf
and at least a couple of other macOS users.  I don't use macOS and
don't even have access to such a system, so I cannot make up my mind
about the change.

> On 14/05/2026 11:57, Eli Zaretskii wrote:
> >> Date: Thu, 14 May 2026 11:34:53 +0100
> >> Cc: dmitry@HIDDEN, alan@HIDDEN, luangruo@HIDDEN,
> >>   shipmints@HIDDEN, waylandthrowaway@HIDDEN, rms@HIDDEN,
> >>   Eli Zaretskii <eliz@HIDDEN>
> >> From: opensauce04@HIDDEN
> >>
> >> I don't get the impression that this is likely to go anywhere given
> >> the ambiguity over whether or not GTK's functionality is sufficiently
> >> equivalent to what's being proposed here, so I decided to investigate
> >> what NSWindowToolbarStyleAutomatic was doing on some older macOS
> >> versions.
> >>
> >> As a reminder, on my macOS 26 system, NSWindowToolbarStyleAutomatic
> >> resolves to NSWindowToolbarStyleUnified, and that is therefore the
> >> style used in Emacs 30. I went on to test Emacs 30 in macOS versions
> >> 15.6.1 and 12.6, and on both of those versions this is also the case.
> >>
> >> While the exact methodology of selection is unclear from
> >> documentation, seems from my testing that Unified is consistently
> >> chosen when using Emacs 30 on standard setups of the relevant macOS
> >> versions.
> >>
> >> I also managed to track down a video from WWDC20 where it's stated
> >> that Unified is the "standard" toolbar style as of macOS 11.0. The
> >> video also kind of implies that Expanded may have been the default on
> >> macOS 10.15 and earlier, but the relevant code in Emacs doesn't even
> >> run unless the macOS version being used is 11.0 or newer, which will
> >> be using the Unified style as standard, so that's irrelevant:
> >> (https://developer.apple.com/videos/play/wwdc2020/10104/)
> >>
> >> ```
> >> #if defined (NS_IMPL_COCOA) && MAC_OS_X_VERSION_MAX_ALLOWED >= 110000
> >>         if ([self respondsToSelector:@selector(setToolbarStyle:)]) // <--
> >> Always false on macOS <11.0
> >>           [self setToolbarStyle: NSWindowToolbarStyleExpanded];
> >> #endif
> >> ```
> >>
> >> With all of the above, I think it makes all the sense in the world to
> >> simply just change the default to NSWindowToolbarStyleUnified instead
> >> of using NSWindowToolbarStyleExpanded. Precident from Emacs 30
> >> supports it, Apple's description of the toolbar styles supports it,
> >> and I don't see any reason not to just use it.
> >>
> >> If this were the case, I as a user would have no need for the
> >> originally proposed configurable option, as my objective was just to
> >> restore the look Emacs 30 had.
> >>
> >> I've attached a patch which makes this simple change, which I have
> >> successfully built and tested with.
> >>
> >> diff --git a/src/nsterm.m b/src/nsterm.m
> >> index 2507053f3a1..a3dca213650 100644
> >> --- a/src/nsterm.m
> >> +++ b/src/nsterm.m
> >> @@ -9829,7 +9829,7 @@ - (instancetype) initWithEmacsFrame: (struct frame *) f
> >>   	 may be chosen (which is undesirable).  */
> >>   #if defined (NS_IMPL_COCOA) && MAC_OS_X_VERSION_MAX_ALLOWED >= 110000
> >>         if ([self respondsToSelector:@selector(setToolbarStyle:)])
> >> -	[self setToolbarStyle: NSWindowToolbarStyleExpanded];
> >> +	[self setToolbarStyle: NSWindowToolbarStyleUnified];
> >>   #endif
> >>       }
> > Thanks, I hope Rudolf (who submitted the changes in bug#79900) and
> > other macOS users will be able to comment on this change.
> 




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#80307; Package emacs. Full text available.

Message received at 80307 <at> debbugs.gnu.org:


Received: (at 80307) by debbugs.gnu.org; 25 May 2026 11:22:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 25 07:22:51 2026
Received: from localhost ([127.0.0.1]:46379 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wRTOU-0003Eg-N9
	for submit <at> debbugs.gnu.org; Mon, 25 May 2026 07:22:51 -0400
Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]:56665)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <opensauce04@HIDDEN>)
 id 1wRTOQ-0003EU-A0
 for 80307 <at> debbugs.gnu.org; Mon, 25 May 2026 07:22:49 -0400
Received: by mail-wm1-x334.google.com with SMTP id
 5b1f17b1804b1-4891b0786beso63848385e9.1
 for <80307 <at> debbugs.gnu.org>; Mon, 25 May 2026 04:22:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20251104; t=1779708165; x=1780312965; darn=debbugs.gnu.org;
 h=content-transfer-encoding:in-reply-to:from:content-language
 :references:cc:to:subject:user-agent:mime-version:date:message-id
 :from:to:cc:subject:date:message-id:reply-to;
 bh=54hexcWWeKnaMnBjOzdOAWxEroZWjkiVg5yJjd7Eux8=;
 b=Zolp/p2mBv7UvSFZCEHSOXbmLruV3nojqNqBee8aUyGchtvkpVUr+7WEdtvlyEqQJ/
 QQ98njLz4ghOh/mmXq5+FpwcWwFSkWoHGJzlAiTpyWnKDjyISaOV91HdFhUZpK/YSwj3
 ySfXBM7Zqya8hoJgFMyS21TOCJAK2AsERUEKgS/CcpVQ8fqWGa3PQN4ukfBAz6iEL0Na
 c5uZj5MPSnBcvx1ZAVEcR5EUC+6ubey2Hd9qMF+0PPGW214RIPUBvLzVMQ+i81yRvahy
 Eo3YkpxY/FB/3oe3yLQSlRHMy7ZHjiH1t7+scfM0Tr1s8OOojrSv0gYBYaLchx0wtxR9
 SC0w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20251104; t=1779708165; x=1780312965;
 h=content-transfer-encoding:in-reply-to:from:content-language
 :references:cc:to:subject:user-agent:mime-version:date:message-id
 :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=54hexcWWeKnaMnBjOzdOAWxEroZWjkiVg5yJjd7Eux8=;
 b=odvLNW00CxW53WZOGFZfvE4CFmELgldkrxd5RN7iViJ0r7ujx2t18j0AgP3W7hpXuu
 5C+lg/qC5QCL2uRULlua+xOAV5ODprVyd9oX9eaPVObaPtQT7zGrwPCj+N4H0JGdR5K0
 vxIzbOis+245v0zXn9+AOhIy+hQQjWa1E1hrCDmTraDtzKgG5kMDbXwyXtyvkMXA3zVI
 GT5CFK29qlKZFgnSQgfZc76j0IDrOBG/E2CJ+3VAvYoMyHU0SP4o7LhZjbyQZCQplNkm
 5bhw4i87gmEv9tQZhIYMUYMkXzbSufmedKGLIzY+B863MAMT3CHn7UIpR5AZAGuLqE4l
 op7A==
X-Gm-Message-State: AOJu0YwzwdqvZvkeTGaov8bI+AGSad2RCLiYRCQPANX84LEcjiVyoK/e
 e52bSIwLHxVV0aJCI+zYaARKgeF32gUj02L9hBbFHvevNnNoCABlp14I
X-Gm-Gg: Acq92OErwaBjX9HdKkAXp/OEY5UtlPnhyrMHblhi3pEoCtqJvLFsKdwQmDZ+Z1vcHiw
 RvReu3bIqVID51l8sN7d3z9i9vg7VLu9gAyF26LdnkMWYXBeUyklwRc2vhLZemvxmc/vS7UanRq
 LZ6i8xcxnMwOlxtjwbdxSxImDeuvr+FxHILTzkmlUEdqdmtaQPIzbf7K7h9+WpDIsO66j91ap/8
 MymR3gzFf6pODcif1ivqrN1xnYAjFRcs3TPkQ78FBgNQPWQ0dcabFQeC85qw4QNYFlJBJWU4+jv
 jL3S36UHkBrGty6K3mkDbeAeZ5g2eIOGgStMbdDe+rNdFSmMQ+Sz4hPFwbIGkdpv7GITjCqeeGv
 cAOo2byNPfgaqwrcrreLzU+A7gpxdk8uPs/5IsgoGfUOerOKA5kdCjAP2KmYiJs87lE3O8Wl/om
 S91qpbRpOl4n+1rZWzRoqZftKr/qUG/Hg6S3tsHPcnwwR06hOUo5DAytY/Gt5DrkPGYVCdjMkDc
 n+12besF0jPbYbxbzFCwONmww==
X-Received: by 2002:a05:600c:4592:b0:490:6237:5212 with SMTP id
 5b1f17b1804b1-4906237533fmr64859385e9.9.1779708164831; 
 Mon, 25 May 2026 04:22:44 -0700 (PDT)
Received: from ?IPV6:2a0a:ef40:21c2:6d01:2c48:5bd1:c9d8:1043?
 ([2a0a:ef40:21c2:6d01:2c48:5bd1:c9d8:1043])
 by smtp.gmail.com with ESMTPSA id
 ffacd0b85a97d-45eb6d71688sm28214120f8f.33.2026.05.25.04.22.43
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Mon, 25 May 2026 04:22:44 -0700 (PDT)
Message-ID: <b3c102b0-4a09-4e10-9be8-45f07dd049db@HIDDEN>
Date: Mon, 25 May 2026 12:22:43 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#80307: Add ns-toolbar-style frame parameter on macOS
To: =?UTF-8?Q?Rudolf_Adamkovi=C4=8D?= <rudolf@HIDDEN>
References: <a2ed9095-e014-4902-90a5-9329a5f17297@HIDDEN>
 <86a4xs4xl3.fsf@HIDDEN> <73b73b62-155a-48f5-afc0-ab401f721372@HIDDEN>
 <86ikcf2uu4.fsf@HIDDEN>
 <CAN+1HbqrLO44574kZnuum0K=O3o4f50m+8DT_N8puTQ+bMo7ng@HIDDEN>
 <86qzr318md.fsf@HIDDEN>
 <CAN+1HbpgkdCf1fAvRwLCqkfbR2JjZLQ-Xh_DzCNqJ4M5YtVF5A@HIDDEN>
 <86o6m714wp.fsf@HIDDEN>
 <CAN+1HbpvB0txw-o7=6PbPqaUpXSH2zF+PCjsBtkwG6ohF6tPYw@HIDDEN>
 <86ms1r13bt.fsf@HIDDEN> <86ecmnpm6y.fsf@HIDDEN>
 <4f3c4e22-f655-4eab-8d8f-99fa040def6e@HIDDEN> <865x7m9igt.fsf@HIDDEN>
 <86jyvx2eq1.fsf@HIDDEN> <86qzpmafda.fsf@HIDDEN> <86mrzstjue.fsf@HIDDEN>
 <7AB72FAF-6273-42BE-8375-256DDB3D7B34@HIDDEN> <865x4s2871.fsf@HIDDEN>
 <2b3ef8da-effc-41fc-8816-bf67ddac35a1@HIDDEN> <86jyt8zf79.fsf@HIDDEN>
 <9fb1b26c-a730-4716-959d-d4ead3268e30@HIDDEN> <86a4u3zhf4.fsf@HIDDEN>
 <E1wNN1N-0001Dr-CN@HIDDEN>
 <8fa9d72d-b3e6-4bb7-b0ab-380b160f60c4@HIDDEN> <86h5oa8dhp.fsf@HIDDEN>
Content-Language: en-GB
From: opensauce04@HIDDEN
In-Reply-To: <86h5oa8dhp.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Spam-Score: 1.3 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  Ping On 14/05/2026 11:57, Eli Zaretskii wrote: >> Date: Thu, 
 14 May 2026 11:34:53 +0100 >> Cc: dmitry@HIDDEN, alan@HIDDEN,
 luangruo@HIDDEN, 
 >> shipmints@HIDDEN, waylandthrowaway@HIDDEN, rms [...] 
 Content analysis details:   (1.3 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (opensauce04[at]gmail.com)
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
 in digit (opensauce04[at]gmail.com)
 -0.0 SPF_PASS               SPF: sender matches SPF record
 1.0 FORGED_GMAIL_RCVD      'From' gmail.com does not match 'Received'
 headers
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [2a00:1450:4864:20:0:0:0:334 listed in]
 [list.dnswl.org]
X-Debbugs-Envelope-To: 80307
Cc: alan@HIDDEN, luangruo@HIDDEN, dmitry@HIDDEN, shipmints@HIDDEN,
 Eli Zaretskii <eliz@HIDDEN>, 80307 <at> debbugs.gnu.org,
 waylandthrowaway@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.3 (/)

Ping

On 14/05/2026 11:57, Eli Zaretskii wrote:
>> Date: Thu, 14 May 2026 11:34:53 +0100
>> Cc: dmitry@HIDDEN, alan@HIDDEN, luangruo@HIDDEN,
>>   shipmints@HIDDEN, waylandthrowaway@HIDDEN, rms@HIDDEN,
>>   Eli Zaretskii <eliz@HIDDEN>
>> From: opensauce04@HIDDEN
>>
>> I don't get the impression that this is likely to go anywhere given
>> the ambiguity over whether or not GTK's functionality is sufficiently
>> equivalent to what's being proposed here, so I decided to investigate
>> what NSWindowToolbarStyleAutomatic was doing on some older macOS
>> versions.
>>
>> As a reminder, on my macOS 26 system, NSWindowToolbarStyleAutomatic
>> resolves to NSWindowToolbarStyleUnified, and that is therefore the
>> style used in Emacs 30. I went on to test Emacs 30 in macOS versions
>> 15.6.1 and 12.6, and on both of those versions this is also the case.
>>
>> While the exact methodology of selection is unclear from
>> documentation, seems from my testing that Unified is consistently
>> chosen when using Emacs 30 on standard setups of the relevant macOS
>> versions.
>>
>> I also managed to track down a video from WWDC20 where it's stated
>> that Unified is the "standard" toolbar style as of macOS 11.0. The
>> video also kind of implies that Expanded may have been the default on
>> macOS 10.15 and earlier, but the relevant code in Emacs doesn't even
>> run unless the macOS version being used is 11.0 or newer, which will
>> be using the Unified style as standard, so that's irrelevant:
>> (https://developer.apple.com/videos/play/wwdc2020/10104/)
>>
>> ```
>> #if defined (NS_IMPL_COCOA) && MAC_OS_X_VERSION_MAX_ALLOWED >= 110000
>>         if ([self respondsToSelector:@selector(setToolbarStyle:)]) // <--
>> Always false on macOS <11.0
>>           [self setToolbarStyle: NSWindowToolbarStyleExpanded];
>> #endif
>> ```
>>
>> With all of the above, I think it makes all the sense in the world to
>> simply just change the default to NSWindowToolbarStyleUnified instead
>> of using NSWindowToolbarStyleExpanded. Precident from Emacs 30
>> supports it, Apple's description of the toolbar styles supports it,
>> and I don't see any reason not to just use it.
>>
>> If this were the case, I as a user would have no need for the
>> originally proposed configurable option, as my objective was just to
>> restore the look Emacs 30 had.
>>
>> I've attached a patch which makes this simple change, which I have
>> successfully built and tested with.
>>
>> diff --git a/src/nsterm.m b/src/nsterm.m
>> index 2507053f3a1..a3dca213650 100644
>> --- a/src/nsterm.m
>> +++ b/src/nsterm.m
>> @@ -9829,7 +9829,7 @@ - (instancetype) initWithEmacsFrame: (struct frame *) f
>>   	 may be chosen (which is undesirable).  */
>>   #if defined (NS_IMPL_COCOA) && MAC_OS_X_VERSION_MAX_ALLOWED >= 110000
>>         if ([self respondsToSelector:@selector(setToolbarStyle:)])
>> -	[self setToolbarStyle: NSWindowToolbarStyleExpanded];
>> +	[self setToolbarStyle: NSWindowToolbarStyleUnified];
>>   #endif
>>       }
> Thanks, I hope Rudolf (who submitted the changes in bug#79900) and
> other macOS users will be able to comment on this change.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#80307; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 18 May 2026 15:11:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 18 11:11:04 2026
Received: from localhost ([127.0.0.1]:59137 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wOzcV-0006Jm-Pr
	for submit <at> debbugs.gnu.org; Mon, 18 May 2026 11:11:04 -0400
Received: from lists1p.gnu.org ([2001:470:142::17]:57408)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <geb-bug-gnu-emacs@HIDDEN>)
 id 1wOzcT-0006J9-55
 for submit <at> debbugs.gnu.org; Mon, 18 May 2026 11:11:02 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <geb-bug-gnu-emacs@HIDDEN>)
 id 1wOzcN-0001TD-C0
 for bug-gnu-emacs@HIDDEN; Mon, 18 May 2026 11:10:55 -0400
Received: from ciao.gmane.io ([116.202.254.214])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <geb-bug-gnu-emacs@HIDDEN>)
 id 1wOzcL-0008Rq-1s
 for bug-gnu-emacs@HIDDEN; Mon, 18 May 2026 11:10:55 -0400
Received: from list by ciao.gmane.io with local (Exim 4.92)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>)
 id 1wOzcG-0009Wg-HJ
 for bug-gnu-emacs@HIDDEN; Mon, 18 May 2026 17:10:48 +0200
X-Injected-Via-Gmane: http://gmane.org/
To: bug-gnu-emacs@HIDDEN
From: Rudolf Schlatte <rudi@HIDDEN>
Subject: Re: bug#80307: Add ns-toolbar-style frame parameter on macOS
Date: Mon, 18 May 2026 17:10:41 +0200
Message-ID: <m1mrxweosu.fsf@HIDDEN>
References: <a2ed9095-e014-4902-90a5-9329a5f17297@HIDDEN>
 <86qzr318md.fsf@HIDDEN>
 <CAN+1HbpgkdCf1fAvRwLCqkfbR2JjZLQ-Xh_DzCNqJ4M5YtVF5A@HIDDEN>
 <86o6m714wp.fsf@HIDDEN>
 <CAN+1HbpvB0txw-o7=6PbPqaUpXSH2zF+PCjsBtkwG6ohF6tPYw@HIDDEN>
 <86ms1r13bt.fsf@HIDDEN> <86ecmnpm6y.fsf@HIDDEN>
 <4f3c4e22-f655-4eab-8d8f-99fa040def6e@HIDDEN>
 <865x7m9igt.fsf@HIDDEN> <86jyvx2eq1.fsf@HIDDEN>
 <86qzpmafda.fsf@HIDDEN> <86mrzstjue.fsf@HIDDEN>
 <7AB72FAF-6273-42BE-8375-256DDB3D7B34@HIDDEN>
 <865x4s2871.fsf@HIDDEN>
 <2b3ef8da-effc-41fc-8816-bf67ddac35a1@HIDDEN>
 <86jyt8zf79.fsf@HIDDEN>
 <9fb1b26c-a730-4716-959d-d4ead3268e30@HIDDEN>
 <86a4u3zhf4.fsf@HIDDEN> <E1wNN1N-0001Dr-CN@HIDDEN>
 <8fa9d72d-b3e6-4bb7-b0ab-380b160f60c4@HIDDEN>
 <86h5oa8dhp.fsf@HIDDEN>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:c6N2WaNCdrBZiSSm5mzNKEeBAUs=
Received-SPF: pass client-ip=116.202.254.214;
 envelope-from=geb-bug-gnu-emacs@HIDDEN; helo=ciao.gmane.io
X-Spam_score_int: -16
X-Spam_score: -1.7
X-Spam_bar: -
X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9,
 HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

Eli Zaretskii <eliz@HIDDEN> writes:

>> Date: Thu, 14 May 2026 11:34:53 +0100
>> Cc: dmitry@HIDDEN, alan@HIDDEN, luangruo@HIDDEN,
>>  shipmints@HIDDEN, waylandthrowaway@HIDDEN, rms@HIDDEN,
>>  Eli Zaretskii <eliz@HIDDEN>
>> From: opensauce04@HIDDEN
>> 
>> I don't get the impression that this is likely to go anywhere given
>> the ambiguity over whether or not GTK's functionality is sufficiently
>> equivalent to what's being proposed here, so I decided to investigate
>> what NSWindowToolbarStyleAutomatic was doing on some older macOS
>> versions.
>> 
>> As a reminder, on my macOS 26 system, NSWindowToolbarStyleAutomatic
>> resolves to NSWindowToolbarStyleUnified, and that is therefore the
>> style used in Emacs 30. I went on to test Emacs 30 in macOS versions
>> 15.6.1 and 12.6, and on both of those versions this is also the case.
>> 
>> While the exact methodology of selection is unclear from
>> documentation, seems from my testing that Unified is consistently
>> chosen when using Emacs 30 on standard setups of the relevant macOS
>> versions.
>> 
>> I also managed to track down a video from WWDC20 where it's stated
>> that Unified is the "standard" toolbar style as of macOS 11.0. The
>> video also kind of implies that Expanded may have been the default on
>> macOS 10.15 and earlier, but the relevant code in Emacs doesn't even
>> run unless the macOS version being used is 11.0 or newer, which will
>> be using the Unified style as standard, so that's irrelevant:
>> (https://developer.apple.com/videos/play/wwdc2020/10104/)
>> 
>> ```
>> #if defined (NS_IMPL_COCOA) && MAC_OS_X_VERSION_MAX_ALLOWED >= 110000
>>        if ([self respondsToSelector:@selector(setToolbarStyle:)]) // <-- 
>> Always false on macOS <11.0
>>          [self setToolbarStyle: NSWindowToolbarStyleExpanded];
>> #endif
>> ```
>> 
>> With all of the above, I think it makes all the sense in the world to
>> simply just change the default to NSWindowToolbarStyleUnified instead
>> of using NSWindowToolbarStyleExpanded. Precident from Emacs 30
>> supports it, Apple's description of the toolbar styles supports it,
>> and I don't see any reason not to just use it.
>> 
>> If this were the case, I as a user would have no need for the
>> originally proposed configurable option, as my objective was just to
>> restore the look Emacs 30 had.
>> 
>> I've attached a patch which makes this simple change, which I have
>> successfully built and tested with.
>> 
>> diff --git a/src/nsterm.m b/src/nsterm.m
>> index 2507053f3a1..a3dca213650 100644
>> --- a/src/nsterm.m
>> +++ b/src/nsterm.m
>> @@ -9829,7 +9829,7 @@ - (instancetype) initWithEmacsFrame: (struct frame *) f
>>  	 may be chosen (which is undesirable).  */
>>  #if defined (NS_IMPL_COCOA) && MAC_OS_X_VERSION_MAX_ALLOWED >= 110000
>>        if ([self respondsToSelector:@selector(setToolbarStyle:)])
>> -	[self setToolbarStyle: NSWindowToolbarStyleExpanded];
>> +	[self setToolbarStyle: NSWindowToolbarStyleUnified];
>>  #endif
>>      }
>
> Thanks, I hope Rudolf (who submitted the changes in bug#79900) and
> other macOS users will be able to comment on this change.

I wasn't the original submitter, I just reported that the patch that
changed the behavior to a non-standard one (expanded vs unified)
compiled and ran successfully.  (But maybe I'm the wrong Rudolf?)

Personally, I'd like to see the unified (standard) toolbar as in Emacs
30 rather than the non-standard one that's currently implemented.





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#80307; Package emacs. Full text available.

Message received at 80307 <at> debbugs.gnu.org:


Received: (at 80307) by debbugs.gnu.org; 14 May 2026 10:58:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 14 06:58:15 2026
Received: from localhost ([127.0.0.1]:35383 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wNTlf-0001hL-5v
	for submit <at> debbugs.gnu.org; Thu, 14 May 2026 06:58:15 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:34066)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1wNTlb-0001h8-84
 for 80307 <at> debbugs.gnu.org; Thu, 14 May 2026 06:58:13 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1wNTlV-0008Vp-3x; Thu, 14 May 2026 06:58:05 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=pwIiswzJR2QOhUKQzO4oXgV2lbzlmUh9aiV3+DW1VMQ=; b=rym9WOwKLo4zhUy1HtLg
 /Ak+jhYZCrYkuvW9HoqBCuVVN52adAH5Zx+TevBpQ4tZVNzdixlXr2AJtFH78qPzjpswhIEoMH1VW
 YzWUYzBhl3PPtARdSjdkb+rAWPVrk3kv5e0hazsKUTQ4vKniFcbekzNy7y36FxvGLAaRob3DJYYQO
 V78iAVcQ2YjC8s16SARyy8//TXrRIDDAIKkB7hhQqCb1bN6NZM3oC8IVcGgdN12IivSnjj/XQo7ft
 H77/ggELxmyEpxt+HQIO+AKpHh0MvLZVCT6pESsYnWUfCVwMGsUPQhSOx+jZ918FvPmEVh6ztvCnu
 82dMU0nmxm7mSA==;
Date: Thu, 14 May 2026 13:57:54 +0300
Message-Id: <86h5oa8dhp.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: opensauce04@HIDDEN, Rudolf =?utf-8?Q?Adamkovi=C4=8D?=
 <rudolf@HIDDEN>
In-Reply-To: <8fa9d72d-b3e6-4bb7-b0ab-380b160f60c4@HIDDEN>
 (opensauce04@HIDDEN)
Subject: Re: bug#80307: Add ns-toolbar-style frame parameter on macOS
References: <a2ed9095-e014-4902-90a5-9329a5f17297@HIDDEN>
 <86a4xs4xl3.fsf@HIDDEN> <73b73b62-155a-48f5-afc0-ab401f721372@HIDDEN>
 <86ikcf2uu4.fsf@HIDDEN>
 <CAN+1HbqrLO44574kZnuum0K=O3o4f50m+8DT_N8puTQ+bMo7ng@HIDDEN>
 <86qzr318md.fsf@HIDDEN>
 <CAN+1HbpgkdCf1fAvRwLCqkfbR2JjZLQ-Xh_DzCNqJ4M5YtVF5A@HIDDEN>
 <86o6m714wp.fsf@HIDDEN>
 <CAN+1HbpvB0txw-o7=6PbPqaUpXSH2zF+PCjsBtkwG6ohF6tPYw@HIDDEN>
 <86ms1r13bt.fsf@HIDDEN> <86ecmnpm6y.fsf@HIDDEN>
 <4f3c4e22-f655-4eab-8d8f-99fa040def6e@HIDDEN> <865x7m9igt.fsf@HIDDEN>
 <86jyvx2eq1.fsf@HIDDEN> <86qzpmafda.fsf@HIDDEN> <86mrzstjue.fsf@HIDDEN>
 <7AB72FAF-6273-42BE-8375-256DDB3D7B34@HIDDEN> <865x4s2871.fsf@HIDDEN>
 <2b3ef8da-effc-41fc-8816-bf67ddac35a1@HIDDEN> <86jyt8zf79.fsf@HIDDEN>
 <9fb1b26c-a730-4716-959d-d4ead3268e30@HIDDEN> <86a4u3zhf4.fsf@HIDDEN>
 <E1wNN1N-0001Dr-CN@HIDDEN>
 <8fa9d72d-b3e6-4bb7-b0ab-380b160f60c4@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 80307
Cc: alan@HIDDEN, rms@HIDDEN, luangruo@HIDDEN, dmitry@HIDDEN,
 shipmints@HIDDEN, 80307 <at> debbugs.gnu.org, waylandthrowaway@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Thu, 14 May 2026 11:34:53 +0100
> Cc: dmitry@HIDDEN, alan@HIDDEN, luangruo@HIDDEN,
>  shipmints@HIDDEN, waylandthrowaway@HIDDEN, rms@HIDDEN,
>  Eli Zaretskii <eliz@HIDDEN>
> From: opensauce04@HIDDEN
> 
> I don't get the impression that this is likely to go anywhere given
> the ambiguity over whether or not GTK's functionality is sufficiently
> equivalent to what's being proposed here, so I decided to investigate
> what NSWindowToolbarStyleAutomatic was doing on some older macOS
> versions.
> 
> As a reminder, on my macOS 26 system, NSWindowToolbarStyleAutomatic
> resolves to NSWindowToolbarStyleUnified, and that is therefore the
> style used in Emacs 30. I went on to test Emacs 30 in macOS versions
> 15.6.1 and 12.6, and on both of those versions this is also the case.
> 
> While the exact methodology of selection is unclear from
> documentation, seems from my testing that Unified is consistently
> chosen when using Emacs 30 on standard setups of the relevant macOS
> versions.
> 
> I also managed to track down a video from WWDC20 where it's stated
> that Unified is the "standard" toolbar style as of macOS 11.0. The
> video also kind of implies that Expanded may have been the default on
> macOS 10.15 and earlier, but the relevant code in Emacs doesn't even
> run unless the macOS version being used is 11.0 or newer, which will
> be using the Unified style as standard, so that's irrelevant:
> (https://developer.apple.com/videos/play/wwdc2020/10104/)
> 
> ```
> #if defined (NS_IMPL_COCOA) && MAC_OS_X_VERSION_MAX_ALLOWED >= 110000
>        if ([self respondsToSelector:@selector(setToolbarStyle:)]) // <-- 
> Always false on macOS <11.0
>          [self setToolbarStyle: NSWindowToolbarStyleExpanded];
> #endif
> ```
> 
> With all of the above, I think it makes all the sense in the world to
> simply just change the default to NSWindowToolbarStyleUnified instead
> of using NSWindowToolbarStyleExpanded. Precident from Emacs 30
> supports it, Apple's description of the toolbar styles supports it,
> and I don't see any reason not to just use it.
> 
> If this were the case, I as a user would have no need for the
> originally proposed configurable option, as my objective was just to
> restore the look Emacs 30 had.
> 
> I've attached a patch which makes this simple change, which I have
> successfully built and tested with.
> 
> diff --git a/src/nsterm.m b/src/nsterm.m
> index 2507053f3a1..a3dca213650 100644
> --- a/src/nsterm.m
> +++ b/src/nsterm.m
> @@ -9829,7 +9829,7 @@ - (instancetype) initWithEmacsFrame: (struct frame *) f
>  	 may be chosen (which is undesirable).  */
>  #if defined (NS_IMPL_COCOA) && MAC_OS_X_VERSION_MAX_ALLOWED >= 110000
>        if ([self respondsToSelector:@selector(setToolbarStyle:)])
> -	[self setToolbarStyle: NSWindowToolbarStyleExpanded];
> +	[self setToolbarStyle: NSWindowToolbarStyleUnified];
>  #endif
>      }

Thanks, I hope Rudolf (who submitted the changes in bug#79900) and
other macOS users will be able to comment on this change.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#80307; Package emacs. Full text available.

Message received at 80307 <at> debbugs.gnu.org:


Received: (at 80307) by debbugs.gnu.org; 14 May 2026 10:34:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 14 06:34:58 2026
Received: from localhost ([127.0.0.1]:35318 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wNTP7-0007sX-Qa
	for submit <at> debbugs.gnu.org; Thu, 14 May 2026 06:34:58 -0400
Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]:51223)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <opensauce04@HIDDEN>)
 id 1wNTP5-0007sO-Vn
 for 80307 <at> debbugs.gnu.org; Thu, 14 May 2026 06:34:56 -0400
Received: by mail-wm1-x32d.google.com with SMTP id
 5b1f17b1804b1-4891e5b9c1fso71109665e9.2
 for <80307 <at> debbugs.gnu.org>; Thu, 14 May 2026 03:34:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20251104; t=1778754895; x=1779359695; darn=debbugs.gnu.org;
 h=in-reply-to:from:content-language:references:cc:to:subject
 :user-agent:mime-version:date:message-id:from:to:cc:subject:date
 :message-id:reply-to;
 bh=W/POeXCtyxh5JF6Nloqqc3uhMCeiJ7F/tTU/SvRBMaE=;
 b=jB+cTi+Z0mPiFl2qvRUadu/IS4r57Vdmgr1u9blA5C1A7s7OG5H4E8wxHTdg6ygxnu
 7reJGa3tts3gi0QU2/7cepKhAy5zsiMk7UHzmC3yy2GUBK2l2FNxk0wGYljx230goFkL
 DjLHexn2FjJDEy3hiJ9p2AgO8+80LQxqf9mk4ya7xOCT8FRPSl4EmlgTuTJdFOb/07P4
 iQ7JGfLXyfefPCNVqbedEotfyrmDnlUq85hNa6A1wemu4/4DyEUK5loTIOrQZoXVLTvC
 1T8ILLDjXWN3q8NtrHeZu3GpYfy7QaUQ2Cc1J/vtvbcsQulphjakILrb7YIFK+bXkNZw
 5XJw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20251104; t=1778754895; x=1779359695;
 h=in-reply-to:from:content-language:references:cc:to:subject
 :user-agent:mime-version:date:message-id:x-gm-gg:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=W/POeXCtyxh5JF6Nloqqc3uhMCeiJ7F/tTU/SvRBMaE=;
 b=Hxt+leiL9SnJ5zoNb5nSXx4vOMoRLdSK2F+1R2/7efGenHAj6X5LiANuoork7K7eDm
 GB4Ry0HYc2adUbyqkwQ/8CYGL6RGRpZrSR0xsdvyeuQAzGwtJEdnzp5NdgNuLCgEPU5m
 xAFJrJToM0Mm3d7yQ9ux8Hk5EKES3U7OnsBP1SALBflv0u51S4CM3tR+xqz+dYSY9Wiw
 0QDGxDoUES6l5LwI0J5CFRO9bsPk/w2Ba7iNzoct1PHaErKt//TOKghGka2CSqdxVA7S
 vi6sU4DVmE5oguV4PdwDS8Jox/wv4OrRIR1tbprPcIVTW9C02gFgKHO24kjhQAkiJShE
 KvBQ==
X-Gm-Message-State: AOJu0YwrbjA0iaz9X/5vvfLQja+YQ0ATJ+qG6AcyOExJuQ/CrkzExIa6
 fMu7cJYsmxRD0iFdD/sSBwbz2kTjC4pDCNYB0X7Y5/n5GCa/D9S1jKhr76l1DhAf8fkH0Q==
X-Gm-Gg: Acq92OGFoQ3rBcC5oErZFDsUo5rZ5ZlQOPwIJsBzl0rumssnVc/QZ6auDHMXu9yLSuu
 3aOzBO4YeNkh2qIFKi701ei1Oz1nDNnsOLy+dg+v5p9uhHgytvOIa6RkFFb55SNJA2YgRlRbRpt
 XU6AHUmJHby5l0zdV39iM8C+69aTJa8lJXtPh2pF6OUejD8left08URSHBEWXVoD+c9fyatC85A
 At1iaDJTKAXDHGLXJ6gdkTwyMBjEBjoiXenTyIVLdI8LoeVPB/e+Yp3qCkBKqdSvvvbw/o1CTv8
 aywDo6/uQEVQl89mDVGacIKAGBLMAPo3cn9vWMUlrWZD7ZcNql36/T4QtyIJ5meI4xHUyrdtUDF
 YkL0oyIF5dN0IX2S/NizMM+m9N3seAII61Ry3sSH1ZjjRJB9wPMzR/Dhz86URNOeCEiJCPfp8uq
 7jq/R/4yFEeS1hEVOCczqrbhlh0++3nVDjSi+ieXVzzMbhvlcR/ZKZumQnIRqlCXKNiMx69htEz
 jwzFcF1vcS336Nu8UKug0Q=
X-Received: by 2002:a05:600c:6989:b0:48e:6275:27e1 with SMTP id
 5b1f17b1804b1-48fc9a4a5f4mr123261865e9.26.1778754894475; 
 Thu, 14 May 2026 03:34:54 -0700 (PDT)
Received: from ?IPV6:2a0a:ef40:21c2:6d01:9e3:ee2a:8032:6254?
 ([2a0a:ef40:21c2:6d01:9e3:ee2a:8032:6254])
 by smtp.gmail.com with ESMTPSA id
 5b1f17b1804b1-48fd768f75asm15600615e9.29.2026.05.14.03.34.53
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Thu, 14 May 2026 03:34:53 -0700 (PDT)
Content-Type: multipart/mixed; boundary="------------OpracwPzczdj21RTHlPkJMHJ"
Message-ID: <8fa9d72d-b3e6-4bb7-b0ab-380b160f60c4@HIDDEN>
Date: Thu, 14 May 2026 11:34:53 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#80307: Add ns-toolbar-style frame parameter on macOS
To: 80307 <at> debbugs.gnu.org
References: <a2ed9095-e014-4902-90a5-9329a5f17297@HIDDEN>
 <86a4xs4xl3.fsf@HIDDEN> <73b73b62-155a-48f5-afc0-ab401f721372@HIDDEN>
 <86ikcf2uu4.fsf@HIDDEN>
 <CAN+1HbqrLO44574kZnuum0K=O3o4f50m+8DT_N8puTQ+bMo7ng@HIDDEN>
 <86qzr318md.fsf@HIDDEN>
 <CAN+1HbpgkdCf1fAvRwLCqkfbR2JjZLQ-Xh_DzCNqJ4M5YtVF5A@HIDDEN>
 <86o6m714wp.fsf@HIDDEN>
 <CAN+1HbpvB0txw-o7=6PbPqaUpXSH2zF+PCjsBtkwG6ohF6tPYw@HIDDEN>
 <86ms1r13bt.fsf@HIDDEN> <86ecmnpm6y.fsf@HIDDEN>
 <4f3c4e22-f655-4eab-8d8f-99fa040def6e@HIDDEN> <865x7m9igt.fsf@HIDDEN>
 <86jyvx2eq1.fsf@HIDDEN> <86qzpmafda.fsf@HIDDEN> <86mrzstjue.fsf@HIDDEN>
 <7AB72FAF-6273-42BE-8375-256DDB3D7B34@HIDDEN> <865x4s2871.fsf@HIDDEN>
 <2b3ef8da-effc-41fc-8816-bf67ddac35a1@HIDDEN> <86jyt8zf79.fsf@HIDDEN>
 <9fb1b26c-a730-4716-959d-d4ead3268e30@HIDDEN> <86a4u3zhf4.fsf@HIDDEN>
 <E1wNN1N-0001Dr-CN@HIDDEN>
Content-Language: en-GB
From: opensauce04@HIDDEN
In-Reply-To: <E1wNN1N-0001Dr-CN@HIDDEN>
X-Spam-Score: 1.3 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview: I don't get the impression that this is likely to go anywhere
 given the ambiguity over whether or not GTK's functionality is sufficiently
 equivalent to what's being proposed here, so I decided to inve [...] 
 Content analysis details:   (1.3 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
 in digit (opensauce04[at]gmail.com)
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (opensauce04[at]gmail.com)
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 1.0 FORGED_GMAIL_RCVD      'From' gmail.com does not match 'Received'
 headers
 -0.0 SPF_PASS               SPF: sender matches SPF record
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [2a00:1450:4864:20:0:0:0:32d listed in]
 [list.dnswl.org]
X-Debbugs-Envelope-To: 80307
Cc: alan@HIDDEN, rms@HIDDEN, luangruo@HIDDEN, dmitry@HIDDEN,
 shipmints@HIDDEN, Eli Zaretskii <eliz@HIDDEN>, waylandthrowaway@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.3 (/)

This is a multi-part message in MIME format.
--------------OpracwPzczdj21RTHlPkJMHJ
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

I don't get the impression that this is likely to go anywhere given
the ambiguity over whether or not GTK's functionality is sufficiently
equivalent to what's being proposed here, so I decided to investigate
what NSWindowToolbarStyleAutomatic was doing on some older macOS
versions.

As a reminder, on my macOS 26 system, NSWindowToolbarStyleAutomatic
resolves to NSWindowToolbarStyleUnified, and that is therefore the
style used in Emacs 30. I went on to test Emacs 30 in macOS versions
15.6.1 and 12.6, and on both of those versions this is also the case.

While the exact methodology of selection is unclear from
documentation, seems from my testing that Unified is consistently
chosen when using Emacs 30 on standard setups of the relevant macOS
versions.

I also managed to track down a video from WWDC20 where it's stated
that Unified is the "standard" toolbar style as of macOS 11.0. The
video also kind of implies that Expanded may have been the default on
macOS 10.15 and earlier, but the relevant code in Emacs doesn't even
run unless the macOS version being used is 11.0 or newer, which will
be using the Unified style as standard, so that's irrelevant:
(https://developer.apple.com/videos/play/wwdc2020/10104/)

```
#if defined (NS_IMPL_COCOA) && MAC_OS_X_VERSION_MAX_ALLOWED >= 110000
       if ([self respondsToSelector:@selector(setToolbarStyle:)]) // <-- 
Always false on macOS <11.0
         [self setToolbarStyle: NSWindowToolbarStyleExpanded];
#endif
```

With all of the above, I think it makes all the sense in the world to
simply just change the default to NSWindowToolbarStyleUnified instead
of using NSWindowToolbarStyleExpanded. Precident from Emacs 30
supports it, Apple's description of the toolbar styles supports it,
and I don't see any reason not to just use it.

If this were the case, I as a user would have no need for the
originally proposed configurable option, as my objective was just to
restore the look Emacs 30 had.

I've attached a patch which makes this simple change, which I have
successfully built and tested with.
--------------OpracwPzczdj21RTHlPkJMHJ
Content-Type: text/plain; charset=UTF-8;
 name="macos-unified-toolbar-default.patch"
Content-Disposition: attachment;
 filename="macos-unified-toolbar-default.patch"
Content-Transfer-Encoding: base64

ZGlmZiAtLWdpdCBhL3NyYy9uc3Rlcm0ubSBiL3NyYy9uc3Rlcm0ubQppbmRleCAyNTA3MDUz
ZjNhMS4uYTNkY2EyMTM2NTAgMTAwNjQ0Ci0tLSBhL3NyYy9uc3Rlcm0ubQorKysgYi9zcmMv
bnN0ZXJtLm0KQEAgLTk4MjksNyArOTgyOSw3IEBAIC0gKGluc3RhbmNldHlwZSkgaW5pdFdp
dGhFbWFjc0ZyYW1lOiAoc3RydWN0IGZyYW1lICopIGYKIAkgbWF5IGJlIGNob3NlbiAod2hp
Y2ggaXMgdW5kZXNpcmFibGUpLiAgKi8KICNpZiBkZWZpbmVkIChOU19JTVBMX0NPQ09BKSAm
JiBNQUNfT1NfWF9WRVJTSU9OX01BWF9BTExPV0VEID49IDExMDAwMAogICAgICAgaWYgKFtz
ZWxmIHJlc3BvbmRzVG9TZWxlY3RvcjpAc2VsZWN0b3Ioc2V0VG9vbGJhclN0eWxlOildKQot
CVtzZWxmIHNldFRvb2xiYXJTdHlsZTogTlNXaW5kb3dUb29sYmFyU3R5bGVFeHBhbmRlZF07
CisJW3NlbGYgc2V0VG9vbGJhclN0eWxlOiBOU1dpbmRvd1Rvb2xiYXJTdHlsZVVuaWZpZWRd
OwogI2VuZGlmCiAgICAgfQogCg==

--------------OpracwPzczdj21RTHlPkJMHJ--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#80307; Package emacs. Full text available.

Message received at 80307 <at> debbugs.gnu.org:


Received: (at 80307) by debbugs.gnu.org; 14 May 2026 03:46:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 13 23:46:18 2026
Received: from localhost ([127.0.0.1]:33068 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wNN1d-0008QB-9H
	for submit <at> debbugs.gnu.org; Wed, 13 May 2026 23:46:18 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:49490)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <rms@HIDDEN>) id 1wNN1a-0008PO-EJ
 for 80307 <at> debbugs.gnu.org; Wed, 13 May 2026 23:46:15 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <rms@HIDDEN>)
 id 1wNN1U-0008BM-Gj; Wed, 13 May 2026 23:46:08 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From:
 mime-version; bh=lNxvmya3Xg+yNhAscuOIWuaDQwKVUGMT6xASloFcwa4=; b=bqWnVouoP1N7
 opmaKLZMMUktJ5GzmMITs6f9D7G7dMuV9ccwQpEVZg1R9HKzUlNj7XTs26OegtLj4RNkwP8o6Uqjh
 +PA8bAAfWEIplXATA+45LSIn7n8u7t1jDbTNg2Iv/cBKJ2IcYbf3UgF7DiKzYvSohZyCCFMIxNQn1
 hE1cD6TSEJ2zSO8b+mjQagXNcsak/Q1+rn/a486IJQap2aRbFZW4C0BtQ/JXBypOLj1tHw/qxy+ik
 3IwEi4CgIJU3pUfuEL15VIF3cdELCO6YWQESy1kfslVI3FeYA0jBuC4jVKjygYINi41NjRxCIbMXZ
 YAfhHD+L9ZBQziZQMbhM0g==;
Received: from rms by fencepost.gnu.org with local (Exim 4.90_1)
 (envelope-from <rms@HIDDEN>)
 id 1wNN1N-0001Dr-CN; Wed, 13 May 2026 23:46:01 -0400
Content-Type: text/plain; charset=Utf-8
From: Richard Stallman <rms@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <86a4u3zhf4.fsf@HIDDEN> (message from Eli Zaretskii on Wed, 13
 May 2026 14:18:39 +0300)
Subject: Re: bug#80307: Add ns-toolbar-style frame parameter on macOS
References: <a2ed9095-e014-4902-90a5-9329a5f17297@HIDDEN>
 <86a4xs4xl3.fsf@HIDDEN> <73b73b62-155a-48f5-afc0-ab401f721372@HIDDEN>
 <86ikcf2uu4.fsf@HIDDEN>
 <CAN+1HbqrLO44574kZnuum0K=O3o4f50m+8DT_N8puTQ+bMo7ng@HIDDEN>
 <86qzr318md.fsf@HIDDEN>
 <CAN+1HbpgkdCf1fAvRwLCqkfbR2JjZLQ-Xh_DzCNqJ4M5YtVF5A@HIDDEN>
 <86o6m714wp.fsf@HIDDEN>
 <CAN+1HbpvB0txw-o7=6PbPqaUpXSH2zF+PCjsBtkwG6ohF6tPYw@HIDDEN>
 <86ms1r13bt.fsf@HIDDEN> <86ecmnpm6y.fsf@HIDDEN>
 <4f3c4e22-f655-4eab-8d8f-99fa040def6e@HIDDEN> <865x7m9igt.fsf@HIDDEN>
 <86jyvx2eq1.fsf@HIDDEN> <86qzpmafda.fsf@HIDDEN> <86mrzstjue.fsf@HIDDEN>
 <7AB72FAF-6273-42BE-8375-256DDB3D7B34@HIDDEN> <865x4s2871.fsf@HIDDEN>
 <2b3ef8da-effc-41fc-8816-bf67ddac35a1@HIDDEN> <86jyt8zf79.fsf@HIDDEN>
 <9fb1b26c-a730-4716-959d-d4ead3268e30@HIDDEN> <86a4u3zhf4.fsf@HIDDEN>
Message-Id: <E1wNN1N-0001Dr-CN@HIDDEN>
Date: Wed, 13 May 2026 23:46:01 -0400
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 80307
Cc: alan@HIDDEN, luangruo@HIDDEN, dmitry@HIDDEN,
 opensauce04@HIDDEN, shipmints@HIDDEN, 80307 <at> debbugs.gnu.org,
 waylandthrowaway@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: rms@HIDDEN
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > AFAIU, this is contrary to the GNU guidance in these cases: even if a
  > non-free platform has some native feature that can be easily used from
  > Emacs, we don't install features in Emacs that rely on that as long as
  > something equivalent is not implemented on free systems.

That is correct.

-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)






Information forwarded to bug-gnu-emacs@HIDDEN:
bug#80307; Package emacs. Full text available.

Message received at 80307 <at> debbugs.gnu.org:


Received: (at 80307) by debbugs.gnu.org; 14 May 2026 03:11:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 13 23:11:22 2026
Received: from localhost ([127.0.0.1]:32795 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wNMTq-00047q-6l
	for submit <at> debbugs.gnu.org; Wed, 13 May 2026 23:11:22 -0400
Received: from fhigh-b5-smtp.messagingengine.com ([202.12.124.156]:45303)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <dmitry@HIDDEN>) id 1wNMTn-00047R-Qq
 for 80307 <at> debbugs.gnu.org; Wed, 13 May 2026 23:11:20 -0400
Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46])
 by mailfhigh.stl.internal (Postfix) with ESMTP id B43777A00DC;
 Wed, 13 May 2026 23:11:13 -0400 (EDT)
Received: from phl-frontend-03 ([10.202.2.162])
 by phl-compute-06.internal (MEProxy); Wed, 13 May 2026 23:11:13 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc
 :cc:content-transfer-encoding:content-type:content-type:date
 :date:from:from:in-reply-to:in-reply-to:message-id:mime-version
 :references:reply-to:subject:subject:to:to; s=fm2; t=1778728273;
 x=1778814673; bh=9/QvUNYE9piQfyVNo2cJWrVMZouQbFFa02ZJHZTvkk8=; b=
 TS2i/ZhtXFbZfHWTzgNeG0MfG7aaGWRJNJ6su4+nUYn6nxyHWz39QlMVvR/mHHQR
 HBQ5A2b/MXv74YelFIJB48A/c05ZSqAMuXZ3HsYWJ6Mjn1vT2dfxG2d+oLo8O+te
 p2kAPB65U6QT5azkh7DPPJQL9IP5f6p1/c6tnvGEAGorlnUuGYwH/kTz/wOjqczm
 yj1eqpkoq4vuwOqFLvyZkt1nhCND5NxUjFn+jMSIMCUDXBUl/6s2gvLKz1UVmE42
 bLPy4nN6VoYJc6GpWxdVI/5XUWNQuzaEG5MsISnmP4OkLzJRIJh3JyRoTxC5VluA
 o1UnuSQewCYsPBDVLn38jw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-transfer-encoding
 :content-type:content-type:date:date:feedback-id:feedback-id
 :from:from:in-reply-to:in-reply-to:message-id:mime-version
 :references:reply-to:subject:subject:to:to:x-me-proxy
 :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1778728273; x=
 1778814673; bh=9/QvUNYE9piQfyVNo2cJWrVMZouQbFFa02ZJHZTvkk8=; b=n
 719zJJyBm6krj/lsmXcTVXWGxTYXS1twoaREW/bqY9PDngH/2RIQmWbXSQe1HKBd
 4C2VTDet2TO77NisuzIprPVOFtht+00aKn48UeBtvHwCUx+NjfTgIL8IQK13JNbw
 U1HwdHL72YIVyAoCuOcS3QuQ+oNAi1KjtBgpnL2o5jn/zVVpZOhlbSGw0DZm8EGf
 chaWWcOHElv+V9Vijtz4aB+H3sFwMPNKWmhLu6HxkPICClhEM/bkSQAH2Fh4y4iL
 RMxXjJIPaY9n+2HMq37giS73inbmpKiQN/108bgRdhFq5Z0dDaf4g5HeBOURk+Ll
 Z3szF5R+XXUs9jhe40Vbg==
X-ME-Sender: <xms:UT0FapgKeFq-fPBEgI7v7MGdoJ2QU7oTvRphBqekQ723GCAYDbNI_g>
 <xme:UT0FagQXj_E7FnjPadCIM-h99p6Ad975ynBui9u9Uke5z2IQGFqB_0pkpTZexw2NE
 CUawld6hB9zlV4IclYimqp4CFKCtzhZ4ZrN8yGD6MA0eQwsXdDbgmMR>
X-ME-Received: <xmr:UT0FarVAjgMdZJ26qMPbKLF9-ERVbX-i8AXCQDPs2WNrxgQWmxKPksfm1rgAVY_S1cYc>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefhedrtddtgdduvdeigeduucetufdoteggodetrf
 dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu
 rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf
 gurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpeffmhhithhr
 hicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrthhtvg
 hrnhepteduleejgeehtefgheegjeekueehvdevieekueeftddvtdevfefhvdevgedujeeh
 necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepughmih
 htrhihsehguhhtohhvrdguvghvpdhnsggprhgtphhtthhopeejpdhmohguvgepshhmthhp
 ohhuthdprhgtphhtthhopegvlhhiiiesghhnuhdrohhrghdprhgtphhtthhopehophgvnh
 hsrghutggvtdegsehgmhgrihhlrdgtohhmpdhrtghpthhtoheprghlrghnsehiughiohgt
 hidrohhrghdprhgtphhtthhopehluhgrnhhgrhhuoheshigrhhhoohdrtghomhdprhgtph
 htthhopeifrgihlhgrnhguthhhrhhofigrfigrhiesghhmrghilhdrtghomhdprhgtphht
 thhopeektdeftdejseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepshhhih
 hpmhhinhhtshesghhmrghilhdrtghomh
X-ME-Proxy: <xmx:UT0FakSZP31-PPFf6h2dJtpYIe_N3Lb-yzRy4IiWR79Fs7IA2I7mmQ>
 <xmx:UT0FalkuLAIV91q_Ra37VS8uz1AMQONrRs7BIuqNajbIs2jFeUApCw>
 <xmx:UT0Faq4RzdiNpJQnK3sj87SImapJYWEnudH7ueIVbHttBdGNZpHmvA>
 <xmx:UT0Farg2dTEC17uA2J_5_1-XNhdlUF5nZoVGoejo4sUiq8fjj18mGQ>
 <xmx:UT0FahAj4Y60UqDy-kXJ8cFBppfFlXj7yntojHzps0F_wnTaqGgYYioy>
Feedback-ID: i07de48aa:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed,
 13 May 2026 23:11:11 -0400 (EDT)
Message-ID: <6f36d215-dac9-45b2-ae66-f0859a5de15f@HIDDEN>
Date: Thu, 14 May 2026 06:11:08 +0300
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#80307: Add ns-toolbar-style frame parameter on macOS
To: Eli Zaretskii <eliz@HIDDEN>
References: <a2ed9095-e014-4902-90a5-9329a5f17297@HIDDEN>
 <86a4xs4xl3.fsf@HIDDEN> <73b73b62-155a-48f5-afc0-ab401f721372@HIDDEN>
 <86ikcf2uu4.fsf@HIDDEN>
 <CAN+1HbqrLO44574kZnuum0K=O3o4f50m+8DT_N8puTQ+bMo7ng@HIDDEN>
 <86qzr318md.fsf@HIDDEN>
 <CAN+1HbpgkdCf1fAvRwLCqkfbR2JjZLQ-Xh_DzCNqJ4M5YtVF5A@HIDDEN>
 <86o6m714wp.fsf@HIDDEN>
 <CAN+1HbpvB0txw-o7=6PbPqaUpXSH2zF+PCjsBtkwG6ohF6tPYw@HIDDEN>
 <86ms1r13bt.fsf@HIDDEN> <86ecmnpm6y.fsf@HIDDEN>
 <4f3c4e22-f655-4eab-8d8f-99fa040def6e@HIDDEN> <865x7m9igt.fsf@HIDDEN>
 <86jyvx2eq1.fsf@HIDDEN> <86qzpmafda.fsf@HIDDEN> <86mrzstjue.fsf@HIDDEN>
 <7AB72FAF-6273-42BE-8375-256DDB3D7B34@HIDDEN> <865x4s2871.fsf@HIDDEN>
 <2b3ef8da-effc-41fc-8816-bf67ddac35a1@HIDDEN> <86jyt8zf79.fsf@HIDDEN>
 <9fb1b26c-a730-4716-959d-d4ead3268e30@HIDDEN> <86a4u3zhf4.fsf@HIDDEN>
Content-Language: en-US
From: Dmitry Gutov <dmitry@HIDDEN>
In-Reply-To: <86a4u3zhf4.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 80307
Cc: alan@HIDDEN, luangruo@HIDDEN, opensauce04@HIDDEN,
 shipmints@HIDDEN, 80307 <at> debbugs.gnu.org, waylandthrowaway@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

On 13/05/2026 14:18, Eli Zaretskii wrote:
> AFAIU, this is contrary to the GNU guidance in these cases: even if a
> non-free platform has some native feature that can be easily used from
> Emacs, we don't install features in Emacs that rely on that as long as
> something equivalent is not implemented on free systems.

Yes, I remember, and also the reasoning behind it.

There might be some leeway in how to interpret the "feature" part of the 
addition. The toolbar placement and look would be slightly different 
between platforms anyway. Would being able to move it to near the title 
only on macOS result in more Emacs users going to the non-free platform? 
The odds are low.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#80307; Package emacs. Full text available.

Message received at 80307 <at> debbugs.gnu.org:


Received: (at 80307) by debbugs.gnu.org; 13 May 2026 11:18:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 13 07:18:54 2026
Received: from localhost ([127.0.0.1]:49405 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wN7c5-0002t3-RR
	for submit <at> debbugs.gnu.org; Wed, 13 May 2026 07:18:54 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:48444)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1wN7c3-0002sw-Pr
 for 80307 <at> debbugs.gnu.org; Wed, 13 May 2026 07:18:52 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1wN7bx-0003pN-95; Wed, 13 May 2026 07:18:45 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=SGKWPGvqGoIs+p6yRrVn/QEVi1dL1MBiTIP0sQepjz4=; b=J6aTZiyQ3/NK
 4xEmX1Hj8KwXJofYWV/e6tYwE9YuILmxhnhVs6nvxQp7iSE/4aaiYGlpwSEw2NPvZS5w1b5IqHG3h
 n99EUZd9stG/c38Lqn7Na/hz0KkwUJa9nj7wcdc4up5KMSWrgejPPnBZ8vR0Qxq8KXCM6N8o47bSI
 W28nJWFfKKxxMdPuRyL6ERV2dpYCe/ql+I2E9WyIeMAi3LiyaUAc+q7nMExGjQvYVhZpv98QLca1I
 0ANDRUracypb+7HyN18lDvDD8Kis9ptUbnX+Aztqz7XgonNKBtV2I3B/j8aaYsARckmd8we8cCdEh
 Nm1cYdBI3H/W/IA8zJDlxQ==;
Date: Wed, 13 May 2026 14:18:39 +0300
Message-Id: <86a4u3zhf4.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Dmitry Gutov <dmitry@HIDDEN>
In-Reply-To: <9fb1b26c-a730-4716-959d-d4ead3268e30@HIDDEN> (message from
 Dmitry Gutov on Wed, 13 May 2026 03:05:14 +0300)
Subject: Re: bug#80307: Add ns-toolbar-style frame parameter on macOS
References: <a2ed9095-e014-4902-90a5-9329a5f17297@HIDDEN>
 <86a4xs4xl3.fsf@HIDDEN> <73b73b62-155a-48f5-afc0-ab401f721372@HIDDEN>
 <86ikcf2uu4.fsf@HIDDEN>
 <CAN+1HbqrLO44574kZnuum0K=O3o4f50m+8DT_N8puTQ+bMo7ng@HIDDEN>
 <86qzr318md.fsf@HIDDEN>
 <CAN+1HbpgkdCf1fAvRwLCqkfbR2JjZLQ-Xh_DzCNqJ4M5YtVF5A@HIDDEN>
 <86o6m714wp.fsf@HIDDEN>
 <CAN+1HbpvB0txw-o7=6PbPqaUpXSH2zF+PCjsBtkwG6ohF6tPYw@HIDDEN>
 <86ms1r13bt.fsf@HIDDEN> <86ecmnpm6y.fsf@HIDDEN>
 <4f3c4e22-f655-4eab-8d8f-99fa040def6e@HIDDEN> <865x7m9igt.fsf@HIDDEN>
 <86jyvx2eq1.fsf@HIDDEN> <86qzpmafda.fsf@HIDDEN> <86mrzstjue.fsf@HIDDEN>
 <7AB72FAF-6273-42BE-8375-256DDB3D7B34@HIDDEN> <865x4s2871.fsf@HIDDEN>
 <2b3ef8da-effc-41fc-8816-bf67ddac35a1@HIDDEN> <86jyt8zf79.fsf@HIDDEN>
 <9fb1b26c-a730-4716-959d-d4ead3268e30@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 80307
Cc: alan@HIDDEN, luangruo@HIDDEN, opensauce04@HIDDEN,
 shipmints@HIDDEN, 80307 <at> debbugs.gnu.org, waylandthrowaway@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Wed, 13 May 2026 03:05:14 +0300
> Cc: opensauce04@HIDDEN, alan@HIDDEN, luangruo@HIDDEN,
>  waylandthrowaway@HIDDEN, 80307 <at> debbugs.gnu.org, shipmints@HIDDEN
> From: Dmitry Gutov <dmitry@HIDDEN>
> 
> On 12/05/2026 20:54, Eli Zaretskii wrote:
> > I know.  I asked your opinion on the GTK feature that is said to be
> > equivalent.  Is it really equivalent, in your opinion?
> 
> Ah. Maybe not. But we should see to which extent it's feasible to do in 
> GTK - and if some values make sense to add for the GTK environment, 
> sure. But we could label the feature as "tool bar placement styles 
> native to the desktop environment", so we'd support that to the extent 
> that the toolkit encourages.

AFAIU, this is contrary to the GNU guidance in these cases: even if a
non-free platform has some native feature that can be easily used from
Emacs, we don't install features in Emacs that rely on that as long as
something equivalent is not implemented on free systems.

> (I'll try to find the time soon for the GTK side, but IIUC this addition 
> isn't going into make it to 31.1 due to the feature lock anyway.)

Probably not.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#80307; Package emacs. Full text available.

Message received at 80307 <at> debbugs.gnu.org:


Received: (at 80307) by debbugs.gnu.org; 13 May 2026 00:05:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 12 20:05:29 2026
Received: from localhost ([127.0.0.1]:41780 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wMx6O-0005Re-Ii
	for submit <at> debbugs.gnu.org; Tue, 12 May 2026 20:05:29 -0400
Received: from fout-b8-smtp.messagingengine.com ([202.12.124.151]:60485)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <dmitry@HIDDEN>) id 1wMx6L-0005Q3-EP
 for 80307 <at> debbugs.gnu.org; Tue, 12 May 2026 20:05:26 -0400
Received: from phl-compute-03.internal (phl-compute-03.internal [10.202.2.43])
 by mailfout.stl.internal (Postfix) with ESMTP id C0BF91D000E6;
 Tue, 12 May 2026 20:05:19 -0400 (EDT)
Received: from phl-frontend-03 ([10.202.2.162])
 by phl-compute-03.internal (MEProxy); Tue, 12 May 2026 20:05:20 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc
 :cc:content-transfer-encoding:content-type:content-type:date
 :date:from:from:in-reply-to:in-reply-to:message-id:mime-version
 :references:reply-to:subject:subject:to:to; s=fm2; t=1778630719;
 x=1778717119; bh=nPFKfV5+9zrq9w59PS9GiIjtx1NTEIhRIsAVs4zxs1Q=; b=
 QMHFukU4ubGjyaHdN44x3kz03bjVjVSsbDQF5mjMXtNFGByEHPNiW9pJG4t/1YOP
 YQ8zYr52egY+OZYK0HVUemlBxtpkLwCZ4n2wBeKEp8dmpYg42v7A2l2CbFVc2m65
 EUROw1+tt8TKA/dhu0bFjC9mDzda8HJuJ4yMPH6UY+eDACuiXrKiIODHVSC3Oxyp
 Ah3pf34feFkyfpdTQQ5vYhavNAmicuEFlRHrF/QHSp8uO8NIeiBGsV+HzewPu/lQ
 ePh2M+lV4OTfRQW+glqpmfb/du4Z2TC4cYr1E5+Q/XQTKrXlTnoM0LRJ15o7JWtt
 egpYOM0SpidTqCdDFkbitQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-transfer-encoding
 :content-type:content-type:date:date:feedback-id:feedback-id
 :from:from:in-reply-to:in-reply-to:message-id:mime-version
 :references:reply-to:subject:subject:to:to:x-me-proxy
 :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1778630719; x=
 1778717119; bh=nPFKfV5+9zrq9w59PS9GiIjtx1NTEIhRIsAVs4zxs1Q=; b=t
 kbM4neT/S6Tc7ZW/iDoQtvqJqSuhVMcMW1hlSRUbRjsApKVtWHIXlsF2CYlbcP9f
 CXwg4E/GqgWA1hHGjJtQzbsyyR5hcFYg65orDUKC8woxCX1qkNIJnSZuOJ4qFMMK
 Cu3Gb95pYPqydhVD+ooNEFQb56PlqoG+mhHI7V7emEBsYRZWihU/7T6oE148FQFa
 T1A4LunqpLv6x81Gdgo9g07KodQVT4TrATL9eYGvUtJq0Fb+2JjV0YPk5T0EQ3iy
 WzBlfxL0AU22uR9QwcE05/0db/6TuGXrEEXI4szcan8CPNv+bkunlfEKY8e4yAVI
 +UvCJ1Ar6Z5FlcHeJwhDA==
X-ME-Sender: <xms:P8ADaqFSAjj-9AHydDb-5RHquoENrTWCl_bQlWOobAm1cvrVYTBCBQ>
 <xme:P8ADatnYc7ipKlLDUiRIauqcD_dP8q80NRdHOdwbDIIvTIniSr8u5-yHFJ75WkxpK
 RRFCsxNb_rb8tp88z3hoPDVnnYAgMEH_QJ8fyYqldH8xSgQpKtNnW8>
X-ME-Received: <xmr:P8ADamYmdp9D2Wg9e7PX5xAPvB09U3B-cZynQyxzfce5L4IlU3cbKEGeAQcTOItrF3wfQg>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefhedrtddtgdduvdefudelucetufdoteggodetrf
 dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu
 rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf
 gurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpeffmhhithhr
 hicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrthhtvg
 hrnhepteduleejgeehtefgheegjeekueehvdevieekueeftddvtdevfefhvdevgedujeeh
 necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepughmih
 htrhihsehguhhtohhvrdguvghvpdhnsggprhgtphhtthhopeejpdhmohguvgepshhmthhp
 ohhuthdprhgtphhtthhopegvlhhiiiesghhnuhdrohhrghdprhgtphhtthhopehophgvnh
 hsrghutggvtdegsehgmhgrihhlrdgtohhmpdhrtghpthhtoheprghlrghnsehiughiohgt
 hidrohhrghdprhgtphhtthhopehluhgrnhhgrhhuoheshigrhhhoohdrtghomhdprhgtph
 htthhopeifrgihlhgrnhguthhhrhhofigrfigrhiesghhmrghilhdrtghomhdprhgtphht
 thhopeektdeftdejseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepshhhih
 hpmhhinhhtshesghhmrghilhdrtghomh
X-ME-Proxy: <xmx:P8ADaqFrhXRqvw4Kn9UvysI589kDVPQrQ2ca-ulVqOEI9tPNemcPTQ>
 <xmx:P8ADavJNopl_ucL9T0DvvWXzWJbsuI8mUg6mBAvGtQyQS_KbvDCOnw>
 <xmx:P8ADatP7h0UQaAoXqpkBCoDWD1IgIWqx5o6et3jlEVXZmhYlalkFaw>
 <xmx:P8ADankmhFvsrjNtkpEWaD_wT4cbdsrI1-Mq0iqTQYon3WdJcK_XSQ>
 <xmx:P8ADav2yfKULbOzYjB1r96QEGZVAOaU2yQyHbSzRV-MZ7vgzEF3ICYz7>
Feedback-ID: i07de48aa:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue,
 12 May 2026 20:05:16 -0400 (EDT)
Message-ID: <9fb1b26c-a730-4716-959d-d4ead3268e30@HIDDEN>
Date: Wed, 13 May 2026 03:05:14 +0300
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#80307: Add ns-toolbar-style frame parameter on macOS
To: Eli Zaretskii <eliz@HIDDEN>
References: <a2ed9095-e014-4902-90a5-9329a5f17297@HIDDEN>
 <86a4xs4xl3.fsf@HIDDEN> <73b73b62-155a-48f5-afc0-ab401f721372@HIDDEN>
 <86ikcf2uu4.fsf@HIDDEN>
 <CAN+1HbqrLO44574kZnuum0K=O3o4f50m+8DT_N8puTQ+bMo7ng@HIDDEN>
 <86qzr318md.fsf@HIDDEN>
 <CAN+1HbpgkdCf1fAvRwLCqkfbR2JjZLQ-Xh_DzCNqJ4M5YtVF5A@HIDDEN>
 <86o6m714wp.fsf@HIDDEN>
 <CAN+1HbpvB0txw-o7=6PbPqaUpXSH2zF+PCjsBtkwG6ohF6tPYw@HIDDEN>
 <86ms1r13bt.fsf@HIDDEN> <86ecmnpm6y.fsf@HIDDEN>
 <4f3c4e22-f655-4eab-8d8f-99fa040def6e@HIDDEN> <865x7m9igt.fsf@HIDDEN>
 <86jyvx2eq1.fsf@HIDDEN> <86qzpmafda.fsf@HIDDEN> <86mrzstjue.fsf@HIDDEN>
 <7AB72FAF-6273-42BE-8375-256DDB3D7B34@HIDDEN> <865x4s2871.fsf@HIDDEN>
 <2b3ef8da-effc-41fc-8816-bf67ddac35a1@HIDDEN> <86jyt8zf79.fsf@HIDDEN>
Content-Language: en-US
From: Dmitry Gutov <dmitry@HIDDEN>
In-Reply-To: <86jyt8zf79.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 80307
Cc: alan@HIDDEN, luangruo@HIDDEN, opensauce04@HIDDEN,
 shipmints@HIDDEN, 80307 <at> debbugs.gnu.org, waylandthrowaway@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

On 12/05/2026 20:54, Eli Zaretskii wrote:
> I know.  I asked your opinion on the GTK feature that is said to be
> equivalent.  Is it really equivalent, in your opinion?

Ah. Maybe not. But we should see to which extent it's feasible to do in 
GTK - and if some values make sense to add for the GTK environment, 
sure. But we could label the feature as "tool bar placement styles 
native to the desktop environment", so we'd support that to the extent 
that the toolkit encourages.

(I'll try to find the time soon for the GTK side, but IIUC this addition 
isn't going into make it to 31.1 due to the feature lock anyway.)




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#80307; Package emacs. Full text available.

Message received at 80307 <at> debbugs.gnu.org:


Received: (at 80307) by debbugs.gnu.org; 12 May 2026 19:06:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 12 15:06:48 2026
Received: from localhost ([127.0.0.1]:38499 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wMsRL-00081R-Gp
	for submit <at> debbugs.gnu.org; Tue, 12 May 2026 15:06:47 -0400
Received: from mail-ua1-x92e.google.com ([2607:f8b0:4864:20::92e]:43087)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <shipmints@HIDDEN>)
 id 1wMsRI-00080z-61
 for 80307 <at> debbugs.gnu.org; Tue, 12 May 2026 15:06:46 -0400
Received: by mail-ua1-x92e.google.com with SMTP id
 a1e0cc1a2514c-95f2b0bd920so2316808241.0
 for <80307 <at> debbugs.gnu.org>; Tue, 12 May 2026 12:06:44 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1778612803; cv=none;
 d=google.com; s=arc-20240605;
 b=KFAs2cna9W5evRHfsT99+ylepZn/MvBAK41uYV8ncG+28HsuczrqO9JVU1Y5v+m4iN
 lKfS9HKKnFQwNnSoSffOB+h2Tz2/L4+zfqBZL4q8iVfd/69K4pbftEeNiM2yvlIKv3mz
 vqWBPLUQv5rFfyEdva3REa4m7C48NUMszk9rivEwhGk6jaooWMgPTs3M8TW9h0l8PGNR
 y5mWlxCHXQnNrera010xiWkAF7Diunki2SnTwXj1nkrwi+GPB9+rb9k9BbpKBQP9GHGu
 TWkIqxcGHdXW0SgJbuzE/N5YkOv2u3TEF4r4QQFqcRUohwju6uQ0X/dUo2KlJHQuu0ZA
 k2Fg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
 s=arc-20240605; 
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:dkim-signature;
 bh=NLPO52Dvfb7UhXPvVvyKNk4rnXYXK54X2yIJP0Iadto=;
 fh=ledCOq17gJz092oEXeftsHINT0oqX2adOvNRcNr/Vdg=;
 b=Mg8JFx2XDy8tg12mdFfJ0sX+uNpNjjvmPvBaxhZl9EWz1TYeGgc/UeiCiBAw1yqpLI
 mDVfmfrDn4iuyhfLM1dOy0i7JNBJRyxUy3Zo3UzajKeIzLFmltMZ7Lu3wYk/l8uZOdiG
 g7JZm+45HFW7Empo8w9m2bSUtZZmvItTjoQMtQ+OVUf/Qb50OlzlZpoX9AHyWIRoNxbg
 UPfPDurB8hEhLhjBdHovK9FtZPcx854xU+sVf4QDowh5XcZDq+do5+5U51ZysiV7qU5f
 OIfnff3caz7gUYq1U+yQcTqHpZPyPnlVPS+vfOhkuFWKk/W5BE+DaSwEBSbb/zbW+1iy
 cQQA==; darn=debbugs.gnu.org
ARC-Authentication-Results: i=1; mx.google.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20251104; t=1778612803; x=1779217603; darn=debbugs.gnu.org;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:from:to:cc:subject:date:message-id:reply-to;
 bh=NLPO52Dvfb7UhXPvVvyKNk4rnXYXK54X2yIJP0Iadto=;
 b=V2Fb94jRUeySWxzMHY1mqJ4ljZJJrPCAXoNddei/9QrY2ri59FsqrLeTHoXV6pDTMN
 Fj5QZO+CdFhiZtai71MlBPGYgMawbaAVbmQPJLBZghOQ4IndIZm4n4inIgvGtCtVuuXx
 FUIRf2CRDXqvNvS4bEyJZqQFcf+vLfIdTJpHeFE7aa9GKx39uDqg16CjMa4lch4Ak71o
 JlCKow2o/8sNz8uwV1+hdp9OMgxkehi0ULiQbqqdWzcb0kGmBVeWeAZE/WxabmK/ZDGd
 1IQthmGV1MIITumpIEF4jgAXogzwLhXaQF/MBsG+39W9oOB/I1vx3zEcN6hbXWtarbwx
 tMYg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20251104; t=1778612803; x=1779217603;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=NLPO52Dvfb7UhXPvVvyKNk4rnXYXK54X2yIJP0Iadto=;
 b=B4oYyVi9dAlqGzAm2MCBYLv6NedRu7nrt7q8Ot6Up/43+5WGhgnXSaHjtYBg7YSeCD
 AWtKzJ8De7yjsQAZl7Y7pBiwXbLuqqN1xWgDh2baAr0qhuWHF1vqB2ethubvC8lOWfIP
 VPwJeXlm4cMlS5waIfKWFpsVDn2hPfyi5OmVxtz7blh2bX9m8Dm07P8ms0I/nRzhSqIZ
 vE1xIMeGf9nchOX3XS8/ethVnGzPlMtWmh3hrXHnrg3ndYc0GwjOMjAGtr+TvfosNS2q
 /ti+/LIBFzl4siKYDG28OfGZ336PHc37C5atjp4Pb+ngn/CqCt7zn8Zi1XZNacgBpcUp
 wdEQ==
X-Forwarded-Encrypted: i=1;
 AFNElJ8bPJUuw/q/W5w2Nq5VphJRFv/XGMVDGMBPRCBqOijLGUcGjngtIUBvM9aeHGzR6lnPbkV0wQ==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YwxBv1m6O5VUSEUBujnrvbRZqIOvLecSWboe/Bu1DYD+6+MLpSN
 MSKEBJDSeM7IMSEzKCwK1uCxrHdIw7CHj2MXN29eX/iy3YrS7qvoJTLx5sSBoNEmCwo08TM+ebD
 7Z9tUACxaFftJleucg0stiypPQRaCYfk=
X-Gm-Gg: Acq92OEfaOsqtrJpIftMZADvrLGspO0ngRtaYUg0HhFifeU+M28oR8nQOY0NbWaH6Ua
 OxNCukIXQslcSoMDuNp9BXczalEc4xZ060agFac3u2pNcpVmrb8Ss+zvkQTkoKS1qMAGLOR5SqL
 j8USgYXS5Gp8dAwcVJgOeqy5sgP9iSHCnkVzsLu+anxsc4IFpQ+K91/ahcpWTJLVTQuxoOsB6KM
 rBcbpDvCSPtAD2Go25MKRRHj1u7njIOV0eCK09NC7dp/KRKMeyQ1YyVuXo1dOCp3e3BNMMLwGgr
 76E6Cp6kCdzsmM75SHBdXKsOf/Z9Al/1XAtauTQOPg9OJ/GcxeH1Wyswovy0TANWiRPAo3oqKze
 8gSWY7oHHd+8wQnOSm8+D72YoXLxCmOO4e9CahhftEjzIt0A=
X-Received: by 2002:a05:6102:26c8:b0:632:b111:965a with SMTP id
 ada2fe7eead31-635d14762a5mr2234561137.11.1778612803109; Tue, 12 May 2026
 12:06:43 -0700 (PDT)
MIME-Version: 1.0
References: <a2ed9095-e014-4902-90a5-9329a5f17297@HIDDEN>
 <86a4xs4xl3.fsf@HIDDEN> <73b73b62-155a-48f5-afc0-ab401f721372@HIDDEN>
 <86ikcf2uu4.fsf@HIDDEN>
 <CAN+1HbqrLO44574kZnuum0K=O3o4f50m+8DT_N8puTQ+bMo7ng@HIDDEN>
 <86qzr318md.fsf@HIDDEN>
 <CAN+1HbpgkdCf1fAvRwLCqkfbR2JjZLQ-Xh_DzCNqJ4M5YtVF5A@HIDDEN>
 <86o6m714wp.fsf@HIDDEN>
 <CAN+1HbpvB0txw-o7=6PbPqaUpXSH2zF+PCjsBtkwG6ohF6tPYw@HIDDEN>
 <86ms1r13bt.fsf@HIDDEN> <86ecmnpm6y.fsf@HIDDEN>
 <4f3c4e22-f655-4eab-8d8f-99fa040def6e@HIDDEN>
 <865x7m9igt.fsf@HIDDEN> <86jyvx2eq1.fsf@HIDDEN> <86qzpmafda.fsf@HIDDEN>
 <86mrzstjue.fsf@HIDDEN> <7AB72FAF-6273-42BE-8375-256DDB3D7B34@HIDDEN>
 <865x4s2871.fsf@HIDDEN> <2b3ef8da-effc-41fc-8816-bf67ddac35a1@HIDDEN>
 <CAN+1Hbo-4nBc8KJGehKDiBNA5gDWGZiMyLMFZfcqs_1RFzwdYw@HIDDEN>
 <CAN+1Hbp9b-dunXgoGjVY+N8Gg3VPBxKwaNORM9o3q-uFCdNWvw@HIDDEN>
 <86h5oczeww.fsf@HIDDEN>
In-Reply-To: <86h5oczeww.fsf@HIDDEN>
From: =?UTF-8?Q?St=C3=A9phane_Marks?= <shipmints@HIDDEN>
Date: Tue, 12 May 2026 15:06:30 -0400
X-Gm-Features: AVHnY4Li6R8bBEulMFAP7rgi3hb5JCAS_v1QNLTNyqc7BzzZqRCs13E2amLrJyU
Message-ID: <CAN+1HbqnxzwQpA=z6TvJ9Ce2zsYy1rJ0rgDA_st_aKsvcALb8w@HIDDEN>
Subject: Re: bug#80307: Add ns-toolbar-style frame parameter on macOS
To: Eli Zaretskii <eliz@HIDDEN>
Content-Type: multipart/alternative; boundary="0000000000005289ce0651a3903b"
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 80307
Cc: alan@HIDDEN, luangruo@HIDDEN, dmitry@HIDDEN,
 opensauce04@HIDDEN, 80307 <at> debbugs.gnu.org, waylandthrowaway@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

--0000000000005289ce0651a3903b
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Tue, May 12, 2026 at 2:01=E2=80=AFPM Eli Zaretskii <eliz@HIDDEN> wrote:

> > From: St=C3=A9phane Marks <shipmints@HIDDEN>
> > Date: Tue, 12 May 2026 13:02:46 -0400
> > Cc: Eli Zaretskii <eliz@HIDDEN>, "opensauce04@HIDDEN" <
> opensauce04@HIDDEN>, Alan Third <alan@HIDDEN>,
> >       luangruo@HIDDEN, waylandthrowaway@HIDDEN,
> 80307 <at> debbugs.gnu.org
> >
> > I took a quick look at the patch.  Setting aside nits on the patch
> itself, I don't see the GTK support that would be
> > needed to achieve "free" system parity.  Is that required to get a patc=
h
> applied for NS or can we do NS first and
> > then GTK assuming we can design the 'toolbar-style' domain to be
> applicable to begin with rather than have
> > new legacy.
>
> If GTK already has something equivalent, we can install the NS patch.
> Failing that, the equivalent feature on free platforms will have to be
> either part of the patch or a separate patch installed before the NS
> one.
>

If Dmitry is free to do the GTK work, I'll shepherd the NS work. I'm not
really set up with GTK these days.

--0000000000005289ce0651a3903b
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon=
t-family:monospace"><span style=3D"font-family:Arial,Helvetica,sans-serif">=
On Tue, May 12, 2026 at 2:01=E2=80=AFPM Eli Zaretskii &lt;<a href=3D"mailto=
:eliz@HIDDEN">eliz@HIDDEN</a>&gt; wrote:</span></div></div><div class=3D"=
gmail_quote gmail_quote_container"><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding=
-left:1ex">&gt; From: St=C3=A9phane Marks &lt;<a href=3D"mailto:shipmints@g=
mail.com" target=3D"_blank">shipmints@HIDDEN</a>&gt;<br>
&gt; Date: Tue, 12 May 2026 13:02:46 -0400<br>
&gt; Cc: Eli Zaretskii &lt;<a href=3D"mailto:eliz@HIDDEN" target=3D"_blank=
">eliz@HIDDEN</a>&gt;, &quot;<a href=3D"mailto:opensauce04@HIDDEN" targ=
et=3D"_blank">opensauce04@HIDDEN</a>&quot; &lt;<a href=3D"mailto:opensau=
ce04@HIDDEN" target=3D"_blank">opensauce04@HIDDEN</a>&gt;, Alan Third=
 &lt;<a href=3D"mailto:alan@HIDDEN" target=3D"_blank">alan@HIDDEN</=
a>&gt;, <br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0<a href=3D"mailto:luangruo@HIDDEN" target=
=3D"_blank">luangruo@HIDDEN</a>, <a href=3D"mailto:waylandthrowaway@gmai=
l.com" target=3D"_blank">waylandthrowaway@HIDDEN</a>, <a href=3D"mailto:=
80307 <at> debbugs.gnu.org" target=3D"_blank">80307 <at> debbugs.gnu.org</a><br>
&gt; <br>
&gt; I took a quick look at the patch.=C2=A0 Setting aside nits on the patc=
h itself, I don&#39;t see the GTK support that would be<br>
&gt; needed to achieve &quot;free&quot; system parity.=C2=A0 Is that requir=
ed to get a patch applied for NS or can we do NS first and<br>
&gt; then GTK assuming we can design the &#39;toolbar-style&#39; domain to =
be applicable to begin with rather than have<br>
&gt; new legacy.<br>
<br>
If GTK already has something equivalent, we can install the NS patch.<br>
Failing that, the equivalent feature on free platforms will have to be<br>
either part of the patch or a separate patch installed before the NS<br>
one.<br></blockquote><div><br></div><div class=3D"gmail_default" style=3D"f=
ont-family:monospace">If Dmitry is free to do the GTK work, I&#39;ll shephe=
rd the NS work. I&#39;m not really set up with GTK these days.</div></div><=
/div>

--0000000000005289ce0651a3903b--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#80307; Package emacs. Full text available.

Message received at 80307 <at> debbugs.gnu.org:


Received: (at 80307) by debbugs.gnu.org; 12 May 2026 18:01:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 12 14:01:16 2026
Received: from localhost ([127.0.0.1]:37933 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wMrPv-0001UG-F4
	for submit <at> debbugs.gnu.org; Tue, 12 May 2026 14:01:16 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:40040)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1wMrPr-0001So-19
 for 80307 <at> debbugs.gnu.org; Tue, 12 May 2026 14:01:13 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1wMrPk-000388-Mq; Tue, 12 May 2026 14:01:04 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=HUfP2pjEvP8pk0p31pn+e7t3WYigWg7+/LcBmevw/0I=; b=IaUOp3CWMfLsdBSObv/z
 VGKzvj6un0HOjA94xhJq+OIwmSluV2YQ1O48NAbdD9ljeUmnPd8Cyz4jjz1/YVbumAUgi0JFO4wQa
 /quSJYAQfj3ohj3iGjqZNGyFBVtqDtcB2/CoLU+iA/QATQ1EemTpNB1nwIp/A0QQnsYcJcyWnEKZ5
 brPvlUc65/nLSWQQxH/rz/qPw5J2bt0MT/DuZCnOuRYAA+G9/Jg8vh4foiBHR97svq64eJwVBqed6
 lBqub+mBhk2Jk8ZdYIq/WKCJio6ZWpWaZO6RFKbrSwjEMBrE1vrBlJ4++I/aR6QCQdeUcSyGnA6FA
 coEZyNmhIVXmdw==;
Date: Tue, 12 May 2026 21:00:31 +0300
Message-Id: <86h5oczeww.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: =?utf-8?Q?St=C3=A9phane?= Marks <shipmints@HIDDEN>
In-Reply-To: <CAN+1Hbp9b-dunXgoGjVY+N8Gg3VPBxKwaNORM9o3q-uFCdNWvw@HIDDEN>
 (message from =?utf-8?Q?St=C3=A9phane?= Marks on Tue, 12 May 2026 13:02:46
 -0400)
Subject: Re: bug#80307: Add ns-toolbar-style frame parameter on macOS
References: <a2ed9095-e014-4902-90a5-9329a5f17297@HIDDEN>
 <86a4xs4xl3.fsf@HIDDEN> <73b73b62-155a-48f5-afc0-ab401f721372@HIDDEN>
 <86ikcf2uu4.fsf@HIDDEN>
 <CAN+1HbqrLO44574kZnuum0K=O3o4f50m+8DT_N8puTQ+bMo7ng@HIDDEN>
 <86qzr318md.fsf@HIDDEN>
 <CAN+1HbpgkdCf1fAvRwLCqkfbR2JjZLQ-Xh_DzCNqJ4M5YtVF5A@HIDDEN>
 <86o6m714wp.fsf@HIDDEN>
 <CAN+1HbpvB0txw-o7=6PbPqaUpXSH2zF+PCjsBtkwG6ohF6tPYw@HIDDEN>
 <86ms1r13bt.fsf@HIDDEN> <86ecmnpm6y.fsf@HIDDEN>
 <4f3c4e22-f655-4eab-8d8f-99fa040def6e@HIDDEN>
 <865x7m9igt.fsf@HIDDEN> <86jyvx2eq1.fsf@HIDDEN> <86qzpmafda.fsf@HIDDEN>
 <86mrzstjue.fsf@HIDDEN> <7AB72FAF-6273-42BE-8375-256DDB3D7B34@HIDDEN>
 <865x4s2871.fsf@HIDDEN> <2b3ef8da-effc-41fc-8816-bf67ddac35a1@HIDDEN>
 <CAN+1Hbo-4nBc8KJGehKDiBNA5gDWGZiMyLMFZfcqs_1RFzwdYw@HIDDEN>
 <CAN+1Hbp9b-dunXgoGjVY+N8Gg3VPBxKwaNORM9o3q-uFCdNWvw@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 80307
Cc: alan@HIDDEN, luangruo@HIDDEN, dmitry@HIDDEN,
 opensauce04@HIDDEN, 80307 <at> debbugs.gnu.org, waylandthrowaway@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Stéphane Marks <shipmints@HIDDEN>
> Date: Tue, 12 May 2026 13:02:46 -0400
> Cc: Eli Zaretskii <eliz@HIDDEN>, "opensauce04@HIDDEN" <opensauce04@HIDDEN>, Alan Third <alan@HIDDEN>, 
> 	luangruo@HIDDEN, waylandthrowaway@HIDDEN, 80307 <at> debbugs.gnu.org
> 
> I took a quick look at the patch.  Setting aside nits on the patch itself, I don't see the GTK support that would be
> needed to achieve "free" system parity.  Is that required to get a patch applied for NS or can we do NS first and
> then GTK assuming we can design the 'toolbar-style' domain to be applicable to begin with rather than have
> new legacy.

If GTK already has something equivalent, we can install the NS patch.
Failing that, the equivalent feature on free platforms will have to be
either part of the patch or a separate patch installed before the NS
one.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#80307; Package emacs. Full text available.

Message received at 80307 <at> debbugs.gnu.org:


Received: (at 80307) by debbugs.gnu.org; 12 May 2026 17:55:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 12 13:55:16 2026
Received: from localhost ([127.0.0.1]:37853 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wMrK7-0000eN-1I
	for submit <at> debbugs.gnu.org; Tue, 12 May 2026 13:55:16 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:34380)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1wMrK2-0000da-Sh
 for 80307 <at> debbugs.gnu.org; Tue, 12 May 2026 13:55:13 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1wMrJr-0007ko-M1; Tue, 12 May 2026 13:55:01 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=Kf7jiKH7Kx9K5BVNogfZjlzDp4wNeNnv9/t0rwsr2bU=; b=Vx7YtYixghUD
 TFs+jYyFBKI8/zDorFLLLoRgDD9rM6Oiu/lQwXmNeBs8uU6nQJ8r0hWOg5cIGL/KJ5Nf9rcZzFqPN
 pRy2JRJMhTQCVQIPUz5c07LvqHaI3BVi2HQgfrceYa4JBJMDP9taCshZUzLj6IDOIniEeJB9iDlBU
 tgodXOCAFcMOFgP6VJEKBmyW4o0OxZXZnO0tgBnxk1zHQBNwbAwWXKZdz2zjEAugyWjzqV43rfLi5
 hG8VoDQyyMj+MxlYyyBLMcAIPPBPgxeu0sTTGQ97eWo92YBThyeaghclnUwAz1FhSEcTocPrtPyCG
 UIUWdkWV/AHPbuyK4m/Pyw==;
Date: Tue, 12 May 2026 20:54:18 +0300
Message-Id: <86jyt8zf79.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Dmitry Gutov <dmitry@HIDDEN>
In-Reply-To: <2b3ef8da-effc-41fc-8816-bf67ddac35a1@HIDDEN> (message from
 Dmitry Gutov on Tue, 12 May 2026 19:14:17 +0300)
Subject: Re: bug#80307: Add ns-toolbar-style frame parameter on macOS
References: <a2ed9095-e014-4902-90a5-9329a5f17297@HIDDEN>
 <86a4xs4xl3.fsf@HIDDEN> <73b73b62-155a-48f5-afc0-ab401f721372@HIDDEN>
 <86ikcf2uu4.fsf@HIDDEN>
 <CAN+1HbqrLO44574kZnuum0K=O3o4f50m+8DT_N8puTQ+bMo7ng@HIDDEN>
 <86qzr318md.fsf@HIDDEN>
 <CAN+1HbpgkdCf1fAvRwLCqkfbR2JjZLQ-Xh_DzCNqJ4M5YtVF5A@HIDDEN>
 <86o6m714wp.fsf@HIDDEN>
 <CAN+1HbpvB0txw-o7=6PbPqaUpXSH2zF+PCjsBtkwG6ohF6tPYw@HIDDEN>
 <86ms1r13bt.fsf@HIDDEN> <86ecmnpm6y.fsf@HIDDEN>
 <4f3c4e22-f655-4eab-8d8f-99fa040def6e@HIDDEN> <865x7m9igt.fsf@HIDDEN>
 <86jyvx2eq1.fsf@HIDDEN> <86qzpmafda.fsf@HIDDEN> <86mrzstjue.fsf@HIDDEN>
 <7AB72FAF-6273-42BE-8375-256DDB3D7B34@HIDDEN> <865x4s2871.fsf@HIDDEN>
 <2b3ef8da-effc-41fc-8816-bf67ddac35a1@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 80307
Cc: alan@HIDDEN, luangruo@HIDDEN, opensauce04@HIDDEN,
 shipmints@HIDDEN, 80307 <at> debbugs.gnu.org, waylandthrowaway@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Tue, 12 May 2026 19:14:17 +0300
> Cc: luangruo@HIDDEN, waylandthrowaway@HIDDEN, 80307 <at> debbugs.gnu.org,
>  shipmints@HIDDEN
> From: Dmitry Gutov <dmitry@HIDDEN>
> 
> Hi,
> 
> On 12/05/2026 14:12, Eli Zaretskii wrote:
> >> I'd really prefer for this to be resolved one way or the other before Emacs 31 releases, whether that be via a configurable value or just changing the current behaviour to mirror Emacs 30.
> > We need someone with access to and knowledge of macOS to review this
> > and comment.  Maybe Alan and Dmitry could help us.
> > 
> > I'm still not convinced that the GTK feature pointed to below is
> > similar enough to what you suggest for macOS to accept this, but I
> > will yield to macOS experts.
> 
> I'm not really an authority on the NS side of things, sorry.

I know.  I asked your opinion on the GTK feature that is said to be
equivalent.  Is it really equivalent, in your opinion?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#80307; Package emacs. Full text available.

Message received at 80307 <at> debbugs.gnu.org:


Received: (at 80307) by debbugs.gnu.org; 12 May 2026 17:03:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 12 13:03:03 2026
Received: from localhost ([127.0.0.1]:37478 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wMqVa-0002Uk-Lv
	for submit <at> debbugs.gnu.org; Tue, 12 May 2026 13:03:03 -0400
Received: from mail-vs1-xe32.google.com ([2607:f8b0:4864:20::e32]:54705)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <shipmints@HIDDEN>)
 id 1wMqVX-0002UI-As
 for 80307 <at> debbugs.gnu.org; Tue, 12 May 2026 13:03:00 -0400
Received: by mail-vs1-xe32.google.com with SMTP id
 ada2fe7eead31-63133de7abcso1554303137.1
 for <80307 <at> debbugs.gnu.org>; Tue, 12 May 2026 10:02:59 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1778605378; cv=none;
 d=google.com; s=arc-20240605;
 b=h3ANL/mIOAo//RAG2WCgWFEr5Rm+rdI6qtg2eoNV2DGCpA9la1neRSzhleCHoc5EXq
 XJpiwIKom4V6uY30nMEJQ1/uJ0/WgibBDIiV6wXgvmYgcJ7TOmEkpWO8UBouJeFMjUpU
 4VcNGGOibloTo5tY3n4TtnLFjlIS0WFTkOtwvJUAjNu/Ef4+DlYcUvG1RIfcL4PU18sM
 +s+yxOg0xXsg2XnHR584fYCZKhHA3F4uY+ZDNIzMgA9IVse816AGLyMFqkEsPEAJWRsZ
 8ipmQGTSQEQdihZCmEHfBeuJ0zApg8Hbwv1Ie/qGzRXSA4m0BYCsV9o+lh2Me62HvGq3
 hSIw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
 s=arc-20240605; 
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:dkim-signature;
 bh=9JfFOHW1+nsCE48W1WLBFRNpWh2cIZqSwpwQD1kS0iE=;
 fh=JiR2PCK7m4XxDlqsqvV6wOp/oJa2MhmoxzNpF6I+3yQ=;
 b=bijtTMlUlybPK6yJg5+eIfz94gRtI8AMPAWKw7De5DaK2xzNG21aC9fe/Q7ZOL5Ny4
 pM1wtkeRIs8mrtDeYCzBcMUi7ObRaMEvf2V51m/yXYLnXGY5HjikMJmzcfE+q4+TGsT8
 i6ZmWkvB7hvDRDGAm2iHNotwwdLMPlRUwzY3i6u69s1H7eqcdrO2DX4knr9UJ5jaoByL
 nqwOj14d2Wno3vWw2wQIcKV1qWPgNTVAC9NLQE/96AySHr6tQRgwj34V4wNmtk+4v+A8
 IVUIVcw1P3p0NrkhPI2RZbSutgfl/TmRFJ2VGrT731DY+sIPFSuZwmajqJTeg8ecL9sx
 GQaQ==; darn=debbugs.gnu.org
ARC-Authentication-Results: i=1; mx.google.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20251104; t=1778605378; x=1779210178; darn=debbugs.gnu.org;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:from:to:cc:subject:date:message-id:reply-to;
 bh=9JfFOHW1+nsCE48W1WLBFRNpWh2cIZqSwpwQD1kS0iE=;
 b=BSzJHrIbJHUM6RNAqCtqlkeLacQzZu0KXIR6KftT+E8B6vgVpanH+mL0fKGEytJkXc
 p8VFWwOKnbgycn+kqOSJVZheb70wXRtWZ9Spq0D9PLlQwChZewLhvV+AUvIr/zqTjrya
 GAk1o0Kee8Fz5erIO1Ux6vjeRg14a5n10+Rl/QRvW+cLlj4h1Ufc8/UGpyozD7Dq0682
 D6CyPIO5hP2Q9HztMFBGBzmWZFzx9U2LsXtDL/M668l3GYLiyxjT7MBkSTGMTmqGx6Mc
 kVRHHexhOGYYMiW4BBReRp+v1vZglY14zXSbWNE5t5ClXcgUHwEHji8NWlm4Bg5z44Ev
 P2pg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20251104; t=1778605378; x=1779210178;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=9JfFOHW1+nsCE48W1WLBFRNpWh2cIZqSwpwQD1kS0iE=;
 b=LCXA0ft4T3sAd2u+Bgn/NoqCSP2k5tyoj/O+QCt1bolwwbolcaGU/bVMNsm45G5H4r
 t/vilhzwxgYAfH047GcloFnwaNAc8fsFO5A1rpUogauWt4Bod+yjSPR5Xja2CC7fxHGQ
 ijxDcVOwvtNsHd50eiBCQX/hf1d0Ob8U6gwXtnhBHpuxn9cyzZ8eP3QajuUZwmFel6Ib
 1z/1NqntyI7kteoNoh6gmYCxnT/vi8IjlN00WpIBBoWpZbO0fpvKc/JMq0cTBTL1XVo+
 Nz33IGbUJ430B/AY35zDqn96HuiuKesnLr8Xtr0QyvKDjfog4n0r5UefjjaPC8doCQLl
 bfgA==
X-Forwarded-Encrypted: i=1;
 AFNElJ+WcNuSepj7Sc30eMx569dpSDA8ZTSxRUhUjyS5oYbtSHK3YBfsBemifgNagIZcubcLsBrZuw==@debbugs.gnu.org
X-Gm-Message-State: AOJu0Ywaoqij9kssUG8yfIjQykHvDtaOqejxYC8lcJyxkYWxoVvrptbV
 zOyKSN8kfFwiYna8nycDArZhb/4uId1Oqxl3jl9ag07cIdbbMdg+5aI/Ayr2BIYUf6akOT2SeJS
 MnE0OMrdkorPZCtsiqy+xvNoG6U62mOI=
X-Gm-Gg: Acq92OH3s0B9VyZGVI1n7kIfD2KUKPiAAgSA3kfAXd6FfgZTaHGedqvU8MhpurRjNj1
 LNoMzvDUhjSqWnw0tNevwVI/us4HFLrstQdS4W1LdtZ/JoP1HRV9bDwACXVOLgJGj0J/MLsT1G6
 LN7sALZhGZ96kguRDmcwSJ1UxgdM68VPF5cN61lCOfSpwMTBNbrlc0JZ4zr9gDG1oaSuQ16CCBu
 WzjFmZ1EPz/a9w9CiTBLcjfNoybvH6HhHf0JqKL4Eli8SY4qchfW4GQL80qc5j7he49DkvyIgKO
 6UBJZoN/e3PA0gLYmJB19P9w6gY/z/ZDMFnDK/LLyMMwAos9QtNjm7bJ0zWu8IJtAS8gScAEe3x
 HEAnSNptdFvUdw4rV8E7G++BP+DcK4TFZB3YxWy+0D88vSmk=
X-Received: by 2002:a67:e106:0:b0:631:487a:23ab with SMTP id
 ada2fe7eead31-63613ca7d46mr2016456137.5.1778605378209; Tue, 12 May 2026
 10:02:58 -0700 (PDT)
MIME-Version: 1.0
References: <a2ed9095-e014-4902-90a5-9329a5f17297@HIDDEN>
 <86a4xs4xl3.fsf@HIDDEN> <73b73b62-155a-48f5-afc0-ab401f721372@HIDDEN>
 <86ikcf2uu4.fsf@HIDDEN>
 <CAN+1HbqrLO44574kZnuum0K=O3o4f50m+8DT_N8puTQ+bMo7ng@HIDDEN>
 <86qzr318md.fsf@HIDDEN>
 <CAN+1HbpgkdCf1fAvRwLCqkfbR2JjZLQ-Xh_DzCNqJ4M5YtVF5A@HIDDEN>
 <86o6m714wp.fsf@HIDDEN>
 <CAN+1HbpvB0txw-o7=6PbPqaUpXSH2zF+PCjsBtkwG6ohF6tPYw@HIDDEN>
 <86ms1r13bt.fsf@HIDDEN> <86ecmnpm6y.fsf@HIDDEN>
 <4f3c4e22-f655-4eab-8d8f-99fa040def6e@HIDDEN>
 <865x7m9igt.fsf@HIDDEN> <86jyvx2eq1.fsf@HIDDEN> <86qzpmafda.fsf@HIDDEN>
 <86mrzstjue.fsf@HIDDEN> <7AB72FAF-6273-42BE-8375-256DDB3D7B34@HIDDEN>
 <865x4s2871.fsf@HIDDEN> <2b3ef8da-effc-41fc-8816-bf67ddac35a1@HIDDEN>
 <CAN+1Hbo-4nBc8KJGehKDiBNA5gDWGZiMyLMFZfcqs_1RFzwdYw@HIDDEN>
In-Reply-To: <CAN+1Hbo-4nBc8KJGehKDiBNA5gDWGZiMyLMFZfcqs_1RFzwdYw@HIDDEN>
From: =?UTF-8?Q?St=C3=A9phane_Marks?= <shipmints@HIDDEN>
Date: Tue, 12 May 2026 13:02:46 -0400
X-Gm-Features: AVHnY4KXwTWzdgYeR9KhF9vsf9v2Cs9dAixtQTMmJ4s8xfrEmdBFaFJjOBebWZ0
Message-ID: <CAN+1Hbp9b-dunXgoGjVY+N8Gg3VPBxKwaNORM9o3q-uFCdNWvw@HIDDEN>
Subject: Re: bug#80307: Add ns-toolbar-style frame parameter on macOS
To: Dmitry Gutov <dmitry@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000c38a270651a1d58a"
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 80307
Cc: Alan Third <alan@HIDDEN>, luangruo@HIDDEN,
 "opensauce04@HIDDEN" <opensauce04@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>,
 80307 <at> debbugs.gnu.org, waylandthrowaway@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

--000000000000c38a270651a1d58a
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Tue, May 12, 2026 at 12:21=E2=80=AFPM St=C3=A9phane Marks <shipmints@gma=
il.com> wrote:

> On Tue, May 12, 2026 at 12:14=E2=80=AFPM Dmitry Gutov <dmitry@HIDDEN> =
wrote:
>
>> Hi,
>>
>> On 12/05/2026 14:12, Eli Zaretskii wrote:
>> >> I'd really prefer for this to be resolved one way or the other before
>> Emacs 31 releases, whether that be via a configurable value or just
>> changing the current behaviour to mirror Emacs 30.
>> > We need someone with access to and knowledge of macOS to review this
>> > and comment.  Maybe Alan and Dmitry could help us.
>> >
>> > I'm still not convinced that the GTK feature pointed to below is
>> > similar enough to what you suggest for macOS to accept this, but I
>> > will yield to macOS experts.
>>
>> I'm not really an authority on the NS side of things, sorry.
>>
>> Stephane (who is in this thread already) has done a bunch of
>> improvements in this area lately, for code review we can just ask him, I
>> think.
>>
>
> No problem.  I agree with the analysis that GTK has similar features,
> yes.  I will look at the patch later.
>

I took a quick look at the patch.  Setting aside nits on the patch itself,
I don't see the GTK support that would be needed to achieve "free" system
parity.  Is that required to get a patch applied for NS or can we do NS
first and then GTK assuming we can design the 'toolbar-style' domain to be
applicable to begin with rather than have new legacy.

--000000000000c38a270651a1d58a
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon=
t-family:monospace"><span style=3D"font-family:Arial,Helvetica,sans-serif">=
On Tue, May 12, 2026 at 12:21=E2=80=AFPM St=C3=A9phane Marks &lt;<a href=3D=
"mailto:shipmints@HIDDEN">shipmints@HIDDEN</a>&gt; wrote:</span></div=
></div><div class=3D"gmail_quote gmail_quote_container"><blockquote class=
=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg=
b(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div dir=3D"ltr"><div sty=
le=3D"font-family:monospace"><span style=3D"font-family:Arial,Helvetica,san=
s-serif">On Tue, May 12, 2026 at 12:14=E2=80=AFPM Dmitry Gutov &lt;<a href=
=3D"mailto:dmitry@HIDDEN" target=3D"_blank">dmitry@HIDDEN</a>&gt; wro=
te:</span></div></div><div class=3D"gmail_quote"><blockquote class=3D"gmail=
_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204=
,204);padding-left:1ex">Hi,<br>
<br>
On 12/05/2026 14:12, Eli Zaretskii wrote:<br>
&gt;&gt; I&#39;d really prefer for this to be resolved one way or the other=
 before Emacs 31 releases, whether that be via a configurable value or just=
 changing the current behaviour to mirror Emacs 30.<br>
&gt; We need someone with access to and knowledge of macOS to review this<b=
r>
&gt; and comment.=C2=A0 Maybe Alan and Dmitry could help us.<br>
&gt; <br>
&gt; I&#39;m still not convinced that the GTK feature pointed to below is<b=
r>
&gt; similar enough to what you suggest for macOS to accept this, but I<br>
&gt; will yield to macOS experts.<br>
<br>
I&#39;m not really an authority on the NS side of things, sorry.<br>
<br>
Stephane (who is in this thread already) has done a bunch of <br>
improvements in this area lately, for code review we can just ask him, I <b=
r>
think.<br></blockquote><div><br></div><div style=3D"font-family:monospace">=
No problem.=C2=A0 I agree with the analysis that GTK has similar features, =
yes.=C2=A0 I will look at the patch later.</div></div></div></blockquote><d=
iv><br></div><div class=3D"gmail_default" style=3D"font-family:monospace">I=
 took a quick look at the patch.=C2=A0 Setting aside nits on the patch itse=
lf, I don&#39;t see the GTK support that would be needed to achieve &quot;f=
ree&quot; system parity.=C2=A0 Is that required to get a patch applied for =
NS or can we do NS first and then GTK assuming we can design the &#39;toolb=
ar-style&#39; domain to be applicable to begin with rather than have new le=
gacy.</div></div></div>

--000000000000c38a270651a1d58a--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#80307; Package emacs. Full text available.

Message received at 80307 <at> debbugs.gnu.org:


Received: (at 80307) by debbugs.gnu.org; 12 May 2026 16:21:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 12 12:21:55 2026
Received: from localhost ([127.0.0.1]:37122 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wMprn-0005iz-4W
	for submit <at> debbugs.gnu.org; Tue, 12 May 2026 12:21:55 -0400
Received: from mail-vs1-xe33.google.com ([2607:f8b0:4864:20::e33]:61629)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <shipmints@HIDDEN>)
 id 1wMprj-0005hr-K7
 for 80307 <at> debbugs.gnu.org; Tue, 12 May 2026 12:21:52 -0400
Received: by mail-vs1-xe33.google.com with SMTP id
 ada2fe7eead31-631311d876cso2769066137.2
 for <80307 <at> debbugs.gnu.org>; Tue, 12 May 2026 09:21:51 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1778602906; cv=none;
 d=google.com; s=arc-20240605;
 b=XUsrm1nsRVZzBaimPot2EkRFvI66VMIwygwFrMsYXuJslbKC8QUpqvVWArlUK9qOVG
 NqSB2j1A/iBoSZRMSG+nb0CGlWmKTj0MWJbnOhY8Eln7mH5o6+PGdTHQH6+US2HorbgA
 5zaI/O0PiVg5pPV0hDOPYrAgRyQOXt5eGhSLCFqMsixonysOeVLQsho5GAFthOkl+lTZ
 w5gHKQZpsGL2e5PivuaiUCCLucWz/kyirw5RDNLn2ixlGJP3aY3HW7ekPG4bIZt8Weuw
 IbUN0CAGN27TrHPn7KEm3P1SQ28QMjCC+N+wbBb++5j1NGo8Un9z8b2xYBNiE6uR+SqV
 IDBg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
 s=arc-20240605; 
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:dkim-signature;
 bh=wugC+Ob87Va0Ri6olNLWMJ1KgJNck3a0EPYHIX/WtVA=;
 fh=roK+HzDE3ADl6kdhgEjIsd2O+65jpDDDBxJgNYWrH5k=;
 b=AgJMG2J+0HmPx2EgQItZi4R6ZHcpotMtePyD9bqML5KDoIbYpgzUw+s3CZcWcafqTv
 VqTJHJHpAS8acUjCJ0SXSCCF5o6zfHpsDErL1bl16X+5YO3LJUgSTCMJBXtrPKBlHgv0
 2GuL9XTh/GevnRV74ZnINsSphAAXs/zdUhEMBd6aiPYciKqSbczLJf8GMB0zPmw+xJpF
 DIMrNsB9V8XxZ6qtEeao/0iHlVr2kAsPRt7dgLpvcF/1N8gt7Dcx/osQVSjKnZE6wwQR
 3zq4/Koylkph1ubzXRjfIA1PYguObcrl/EyrNkHXpW0U61iWHj5G7Q3ugKGQfT21SuLj
 /haQ==; darn=debbugs.gnu.org
ARC-Authentication-Results: i=1; mx.google.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20251104; t=1778602906; x=1779207706; darn=debbugs.gnu.org;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:from:to:cc:subject:date:message-id:reply-to;
 bh=wugC+Ob87Va0Ri6olNLWMJ1KgJNck3a0EPYHIX/WtVA=;
 b=XehGhto/3PrARX7vjeeVpVjYEni3noinQRiwM+8J1eq3L3py1EK/73LDSM/vJ74v49
 Q57/PU1aQJQVHcEDlJsuHbDsz+ciuPLvIrpvZSC+ExJvetVd7E4XNU3BZHERo7zcpeYh
 p1QlZK1lWLPh8gVFU2T9x9ENhuGIOETfjO7YdSi1YlEBEJQD9oODZBU0qL+YJSpXEUtc
 7E0PGnX5DQdEPtLPe8FKcLcFnUhdg4IDzW/MHiMxzeB4hUagY3+4/P1B4Q6ifoYNaNB/
 PznB6Qjv4xeSVM0IrQDx771rvqOegQtuM0Wi3SCix5hVPuYSiK8RN4FoVjNQGaFTUPbR
 9INg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20251104; t=1778602906; x=1779207706;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=wugC+Ob87Va0Ri6olNLWMJ1KgJNck3a0EPYHIX/WtVA=;
 b=ImcuBoiqVKmGowoSeFbvuh4aAjtv5g6FQ1TzZ0+iJt07I3ZnVaaTjLtP+y/e5RIV0x
 4vAplw+kkTpaE92W6/8UVz9rKEL0hbB0GdmGE041p3KoO+ByY7JK8Qwqtnz3LRlR8Ms7
 i9wrcFq3Lu3w/nCwlV/I5tDgRuQaM+AmFlC2JegqbJw2yPDBXXCIs+KVboAwLpXB+kzX
 8XwNiI9z5dPA0dD8L6u/bt9V0dWg+wCt46KkmVsiBhu83QjrpPMx0p7ZEMtL93LH2LuX
 b4kwjKk6bFe9z6nKeHakUukMf7m1QbHoKX9+GPIUGRM1tHlmWFZ+Xo8e+bDvoDDpD95m
 DDqg==
X-Forwarded-Encrypted: i=1;
 AFNElJ/BNGM8NKXkQKaZ9CxJhP0Qn3K4cx6t+SnDaU93VyNRTTUYl+Bs+laTghJHRllViP6lvRVi+Q==@debbugs.gnu.org
X-Gm-Message-State: AOJu0Yz0+plviHnLqvOxAQY0Q+5IVmYTc3uBGnh6TPuj8aWkrg8eRMEf
 8X2zqSFa6ljdAsijwmnKnx+Eyu/7wtwN4XfCG7kvoqUtQMnoiDDs01SJflp80nkDQQd1O3qt53N
 YMqpwg+rjcftzfBrsQa9IPHugLLxQLv0=
X-Gm-Gg: Acq92OHT8GafXQQLaGmDoq5SrHZdeOD5UEU1WfLr1IJq/IsM34QeUeaQpU/BZb+frUU
 n0hAvIMYll5lzIt6z8S1Jmpz/9cP0BAOKRCm7ZfMUV+9+K+q+yI2mjtml0CmoyNk/L+LgYOWK9S
 I/I0LGkTJN3U5y7iN12WlDuw2GAUQnOxa6ijQKB/AjCH/Kbh7boI8ZYe/HdBwZv98h5BxKJYhuM
 naBwlqHVdoxR7m5txI0cAUjmfic1PQSFcTZ324FavMIYrRyZkAGPyMVSU9Tmtb0N5a+O2Jz6Ahw
 w3WP3jzuolxDLKpj971t2OVf3u8pyje72OudmTvy5vk2loRyVdhRETiM2Um8U/QJogBKKgfdjy7
 AZuLoLyr1Eh+62wUyRcjZ6/dr0Alk+0i7maRBZMQ6SxFxgqE=
X-Received: by 2002:a05:6102:374a:b0:633:8c42:183a with SMTP id
 ada2fe7eead31-6338c421c09mr5666580137.9.1778602905765; Tue, 12 May 2026
 09:21:45 -0700 (PDT)
MIME-Version: 1.0
References: <a2ed9095-e014-4902-90a5-9329a5f17297@HIDDEN>
 <86a4xs4xl3.fsf@HIDDEN> <73b73b62-155a-48f5-afc0-ab401f721372@HIDDEN>
 <86ikcf2uu4.fsf@HIDDEN>
 <CAN+1HbqrLO44574kZnuum0K=O3o4f50m+8DT_N8puTQ+bMo7ng@HIDDEN>
 <86qzr318md.fsf@HIDDEN>
 <CAN+1HbpgkdCf1fAvRwLCqkfbR2JjZLQ-Xh_DzCNqJ4M5YtVF5A@HIDDEN>
 <86o6m714wp.fsf@HIDDEN>
 <CAN+1HbpvB0txw-o7=6PbPqaUpXSH2zF+PCjsBtkwG6ohF6tPYw@HIDDEN>
 <86ms1r13bt.fsf@HIDDEN> <86ecmnpm6y.fsf@HIDDEN>
 <4f3c4e22-f655-4eab-8d8f-99fa040def6e@HIDDEN>
 <865x7m9igt.fsf@HIDDEN> <86jyvx2eq1.fsf@HIDDEN> <86qzpmafda.fsf@HIDDEN>
 <86mrzstjue.fsf@HIDDEN> <7AB72FAF-6273-42BE-8375-256DDB3D7B34@HIDDEN>
 <865x4s2871.fsf@HIDDEN> <2b3ef8da-effc-41fc-8816-bf67ddac35a1@HIDDEN>
In-Reply-To: <2b3ef8da-effc-41fc-8816-bf67ddac35a1@HIDDEN>
From: =?UTF-8?Q?St=C3=A9phane_Marks?= <shipmints@HIDDEN>
Date: Tue, 12 May 2026 12:21:34 -0400
X-Gm-Features: AVHnY4JyeiFsFUqUS4T3U9FSttgByea8Ogx89YmEgznpTkUPk8HoHjb7hodHozo
Message-ID: <CAN+1Hbo-4nBc8KJGehKDiBNA5gDWGZiMyLMFZfcqs_1RFzwdYw@HIDDEN>
Subject: Re: bug#80307: Add ns-toolbar-style frame parameter on macOS
To: Dmitry Gutov <dmitry@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000650dfe0651a1422f"
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 80307
Cc: Alan Third <alan@HIDDEN>, luangruo@HIDDEN,
 "opensauce04@HIDDEN" <opensauce04@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>,
 80307 <at> debbugs.gnu.org, waylandthrowaway@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

--000000000000650dfe0651a1422f
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Tue, May 12, 2026 at 12:14=E2=80=AFPM Dmitry Gutov <dmitry@HIDDEN> wr=
ote:

> Hi,
>
> On 12/05/2026 14:12, Eli Zaretskii wrote:
> >> I'd really prefer for this to be resolved one way or the other before
> Emacs 31 releases, whether that be via a configurable value or just
> changing the current behaviour to mirror Emacs 30.
> > We need someone with access to and knowledge of macOS to review this
> > and comment.  Maybe Alan and Dmitry could help us.
> >
> > I'm still not convinced that the GTK feature pointed to below is
> > similar enough to what you suggest for macOS to accept this, but I
> > will yield to macOS experts.
>
> I'm not really an authority on the NS side of things, sorry.
>
> Stephane (who is in this thread already) has done a bunch of
> improvements in this area lately, for code review we can just ask him, I
> think.
>

No problem.  I agree with the analysis that GTK has similar features, yes.
I will look at the patch later.

--000000000000650dfe0651a1422f
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon=
t-family:monospace"><span style=3D"font-family:Arial,Helvetica,sans-serif">=
On Tue, May 12, 2026 at 12:14=E2=80=AFPM Dmitry Gutov &lt;<a href=3D"mailto=
:dmitry@HIDDEN">dmitry@HIDDEN</a>&gt; wrote:</span></div></div><div c=
lass=3D"gmail_quote gmail_quote_container"><blockquote class=3D"gmail_quote=
" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);=
padding-left:1ex">Hi,<br>
<br>
On 12/05/2026 14:12, Eli Zaretskii wrote:<br>
&gt;&gt; I&#39;d really prefer for this to be resolved one way or the other=
 before Emacs 31 releases, whether that be via a configurable value or just=
 changing the current behaviour to mirror Emacs 30.<br>
&gt; We need someone with access to and knowledge of macOS to review this<b=
r>
&gt; and comment.=C2=A0 Maybe Alan and Dmitry could help us.<br>
&gt; <br>
&gt; I&#39;m still not convinced that the GTK feature pointed to below is<b=
r>
&gt; similar enough to what you suggest for macOS to accept this, but I<br>
&gt; will yield to macOS experts.<br>
<br>
I&#39;m not really an authority on the NS side of things, sorry.<br>
<br>
Stephane (who is in this thread already) has done a bunch of <br>
improvements in this area lately, for code review we can just ask him, I <b=
r>
think.<br></blockquote><div><br></div><div class=3D"gmail_default" style=3D=
"font-family:monospace">No problem.=C2=A0 I agree with the analysis that GT=
K has similar features, yes.=C2=A0 I will look at the patch later.</div></d=
iv></div>

--000000000000650dfe0651a1422f--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#80307; Package emacs. Full text available.

Message received at 80307 <at> debbugs.gnu.org:


Received: (at 80307) by debbugs.gnu.org; 12 May 2026 16:14:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 12 12:14:34 2026
Received: from localhost ([127.0.0.1]:37051 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wMpke-0004f3-FR
	for submit <at> debbugs.gnu.org; Tue, 12 May 2026 12:14:34 -0400
Received: from fhigh-a4-smtp.messagingengine.com ([103.168.172.155]:42007)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <dmitry@HIDDEN>) id 1wMpkb-0004dR-58
 for 80307 <at> debbugs.gnu.org; Tue, 12 May 2026 12:14:29 -0400
Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46])
 by mailfhigh.phl.internal (Postfix) with ESMTP id 7FC1814000B0;
 Tue, 12 May 2026 12:14:23 -0400 (EDT)
Received: from phl-frontend-03 ([10.202.2.162])
 by phl-compute-06.internal (MEProxy); Tue, 12 May 2026 12:14:23 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc
 :cc:content-transfer-encoding:content-type:content-type:date
 :date:from:from:in-reply-to:in-reply-to:message-id:mime-version
 :references:reply-to:subject:subject:to:to; s=fm2; t=1778602463;
 x=1778688863; bh=fEd+NIsvAH5OJQuDWeBwjzAnNWAC2ZJs5OKmHyQYIB0=; b=
 OZbulqAb8JXdKaGhDjfX0c8vdJzpSPxLj+X5nTEy940zzb1MUcNZEJ7kuT7EETo5
 4oktPpJtDpbqAzaxdNjcDoby0DW3P4PPza0iQrsPqCF++hh3yHf9lRwceWc20TpP
 fu6kaKIS4XwgY9l5niJeHoThnKNUs/O2dwO5T8dDLr0mqiB1aL7ypU0UScwKAng8
 BjD3/Yk2VoVXpOYCIXvdcw8gCfQ6Z8H0xGLz/NqYZNvEo2TwfRJ1SmaS6LF0+Qdm
 6CWtOHVDYEoWcVaT3wvf1u4No2EspMyKGJa0wtLgxgbwipHY3id9DDs3zIukjsSc
 y521UVG1vLDseNq45Y7aAw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-transfer-encoding
 :content-type:content-type:date:date:feedback-id:feedback-id
 :from:from:in-reply-to:in-reply-to:message-id:mime-version
 :references:reply-to:subject:subject:to:to:x-me-proxy
 :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1778602463; x=
 1778688863; bh=fEd+NIsvAH5OJQuDWeBwjzAnNWAC2ZJs5OKmHyQYIB0=; b=b
 Jfk6loEPouSztmyQ+jq8oIqGRl9UcjMMINAScsxoRMwAPgs7MpYYGppX77fmJkv/
 vUHAyrOL/WC+BcqkfgQYm6E9qhGXUFNniFz4oyedYOASGOOXoQr3bw3R1QMOx0OI
 MyTJAFHOamCll1f5vhQmpsC0PPlVf6jbg9KJhP9OwSQoPO/mdCT/68noeZDYJEvS
 Rs1gq0vbGV400jVMEhthunG7bbXZt4zWs0l2Ctzn+5qiDZDXaGSwV1QEMReAR1ub
 En8/oB57MtUBRz94KVXhByIhW53lRY3XDTjnkCpMpTzx6QwgG9Ert8E3UhqN3zbl
 nh1hGd81epIT+hnMsWdmA==
X-ME-Sender: <xms:31EDaglzFDMZgcs2qwS1rcnZ-G3B87u1U1gdK9c-2trC0GV0XtGxNw>
 <xme:31EDaiEVKfhZfOqB6tYtqCAzZtiRTaOkkqa5tEqIVgHaRLRnBTgw9-SxoNuqKbpej
 NBUC26yzDicBxkPJbZBEkl_nXWFc15QuvP7mFJMDHp8maX_lNLk3Q>
X-ME-Received: <xmr:31EDag6BKZZKEoDmwPduvtYJxQhxFx5eljA3UBOUd4qpePUlkVMtfLjl1Gk5lPv_S_-Qhw>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefhedrtddtgdduvddvvdehucetufdoteggodetrf
 dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu
 rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf
 gurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpeffmhhithhr
 hicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrthhtvg
 hrnhepteduleejgeehtefgheegjeekueehvdevieekueeftddvtdevfefhvdevgedujeeh
 necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepughmih
 htrhihsehguhhtohhvrdguvghvpdhnsggprhgtphhtthhopeejpdhmohguvgepshhmthhp
 ohhuthdprhgtphhtthhopegvlhhiiiesghhnuhdrohhrghdprhgtphhtthhopehophgvnh
 hsrghutggvtdegsehgmhgrihhlrdgtohhmpdhrtghpthhtoheprghlrghnsehiughiohgt
 hidrohhrghdprhgtphhtthhopehluhgrnhhgrhhuoheshigrhhhoohdrtghomhdprhgtph
 htthhopeifrgihlhgrnhguthhhrhhofigrfigrhiesghhmrghilhdrtghomhdprhgtphht
 thhopeektdeftdejseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepshhhih
 hpmhhinhhtshesghhmrghilhdrtghomh
X-ME-Proxy: <xmx:31EDain1NeXGmb8Za4EbR8YYoY4LIfKVse483UKA8wMp0rZ_4N5vVA>
 <xmx:31EDatoMvekRBtZJeZAbPyujAqWnKlY8lCDm_y-IhLaX1P4wmyhLgA>
 <xmx:31EDapu0T5Z6axgct0KEfAhEBd5LEPMY9NN4pWl1y4hPsAxGX1r-_A>
 <xmx:31EDaqGD8fjov30WqfcuxQsbjFH9Y6FfIx8m23VV-cx9VSYkb3iqoQ>
 <xmx:31EDagXLy96mO3bqDbsRRyF42btB0DBof3xy2Sm9ol1wSURFLFqpDbtG>
Feedback-ID: i07de48aa:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue,
 12 May 2026 12:14:20 -0400 (EDT)
Message-ID: <2b3ef8da-effc-41fc-8816-bf67ddac35a1@HIDDEN>
Date: Tue, 12 May 2026 19:14:17 +0300
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#80307: Add ns-toolbar-style frame parameter on macOS
To: Eli Zaretskii <eliz@HIDDEN>,
 "opensauce04@HIDDEN" <opensauce04@HIDDEN>, Alan Third <alan@HIDDEN>
References: <a2ed9095-e014-4902-90a5-9329a5f17297@HIDDEN>
 <86a4xs4xl3.fsf@HIDDEN> <73b73b62-155a-48f5-afc0-ab401f721372@HIDDEN>
 <86ikcf2uu4.fsf@HIDDEN>
 <CAN+1HbqrLO44574kZnuum0K=O3o4f50m+8DT_N8puTQ+bMo7ng@HIDDEN>
 <86qzr318md.fsf@HIDDEN>
 <CAN+1HbpgkdCf1fAvRwLCqkfbR2JjZLQ-Xh_DzCNqJ4M5YtVF5A@HIDDEN>
 <86o6m714wp.fsf@HIDDEN>
 <CAN+1HbpvB0txw-o7=6PbPqaUpXSH2zF+PCjsBtkwG6ohF6tPYw@HIDDEN>
 <86ms1r13bt.fsf@HIDDEN> <86ecmnpm6y.fsf@HIDDEN>
 <4f3c4e22-f655-4eab-8d8f-99fa040def6e@HIDDEN> <865x7m9igt.fsf@HIDDEN>
 <86jyvx2eq1.fsf@HIDDEN> <86qzpmafda.fsf@HIDDEN> <86mrzstjue.fsf@HIDDEN>
 <7AB72FAF-6273-42BE-8375-256DDB3D7B34@HIDDEN> <865x4s2871.fsf@HIDDEN>
Content-Language: en-US
From: Dmitry Gutov <dmitry@HIDDEN>
In-Reply-To: <865x4s2871.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 80307
Cc: luangruo@HIDDEN, 80307 <at> debbugs.gnu.org, waylandthrowaway@HIDDEN,
 shipmints@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Hi,

On 12/05/2026 14:12, Eli Zaretskii wrote:
>> I'd really prefer for this to be resolved one way or the other before Emacs 31 releases, whether that be via a configurable value or just changing the current behaviour to mirror Emacs 30.
> We need someone with access to and knowledge of macOS to review this
> and comment.  Maybe Alan and Dmitry could help us.
> 
> I'm still not convinced that the GTK feature pointed to below is
> similar enough to what you suggest for macOS to accept this, but I
> will yield to macOS experts.

I'm not really an authority on the NS side of things, sorry.

Stephane (who is in this thread already) has done a bunch of 
improvements in this area lately, for code review we can just ask him, I 
think.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#80307; Package emacs. Full text available.

Message received at 80307 <at> debbugs.gnu.org:


Received: (at 80307) by debbugs.gnu.org; 12 May 2026 15:29:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 12 11:29:05 2026
Received: from localhost ([127.0.0.1]:36486 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wMp2e-0007hL-Pn
	for submit <at> debbugs.gnu.org; Tue, 12 May 2026 11:29:05 -0400
Received: from fout-a3-smtp.messagingengine.com ([103.168.172.146]:49217)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <dmitry@HIDDEN>) id 1wMp2a-0007gB-Mx
 for 80307 <at> debbugs.gnu.org; Tue, 12 May 2026 11:29:02 -0400
Received: from phl-compute-12.internal (phl-compute-12.internal [10.202.2.52])
 by mailfout.phl.internal (Postfix) with ESMTP id 700CDEC0100;
 Tue, 12 May 2026 11:28:55 -0400 (EDT)
Received: from phl-frontend-03 ([10.202.2.162])
 by phl-compute-12.internal (MEProxy); Tue, 12 May 2026 11:28:55 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc
 :cc:content-transfer-encoding:content-type:content-type:date
 :date:from:from:in-reply-to:in-reply-to:message-id:mime-version
 :references:reply-to:subject:subject:to:to; s=fm2; t=1778599735;
 x=1778686135; bh=QPEXDZgyh+vqbI3SWmq5wye76TBm9eSD8fwMet+j2Ys=; b=
 jULV6iUy2QXdrc0PpHgiLUCm2SJwZm4SlmFr0xmBhx0RT9aRjcYf20MdkH87EnWa
 7vNNP9QvxQwvGc1a/r1Cx65pbZ82fy6rGE5CHskAHcyP7fG0DEDMcBGFIKVI31Tv
 E+Juy8e7wubPzqrhlVEsY5sPm9+N5esETXlTJNjE5uo6t9M+rP1bCecageYBTV5M
 1OtQYNkKFkdYa3GP2iv3euJqeTV39h5dCLcJr2wB3Q36mUYtIg7v0RD0cqWsv3Me
 svp04G4vuTnY5w1IYZi4dq7Ray4bA5e8vlk0gbWgqEkwY9OK7gcS02HMELJJxXyN
 /Y7VU565qs6Hpw0INBmVnQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-transfer-encoding
 :content-type:content-type:date:date:feedback-id:feedback-id
 :from:from:in-reply-to:in-reply-to:message-id:mime-version
 :references:reply-to:subject:subject:to:to:x-me-proxy
 :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1778599735; x=
 1778686135; bh=QPEXDZgyh+vqbI3SWmq5wye76TBm9eSD8fwMet+j2Ys=; b=F
 Kuph9bIxEm2TwwixyHnJgIXNXFhi82KcAmlyzzBJY7hPQiqzWlOFKNHtUMssgKps
 ko1q6dPgaR+MTsdc2lBcUKUc2TdBoqruldj0asesKv2O7zstHioJqnZPJJssDe69
 +rQU5y4U9wzv+6dwXjGhkgU2YuvDBdjg0BaEfDeXxrh/c8d//q/c2VaCwqY1JCB3
 iGKhOhv8FPthininJMqaBdjbHbhXd4VWTooNjQJjFSuA5msKsq2vROCLH8xDhT+q
 DqLXz/vZ/tJCIsNNu9H99otuOsEN73v+/gqlof8dH2brGk5JnGioPl5qJG0vzg5Q
 4ZO8V0LzXvYFG5qXPeYRA==
X-ME-Sender: <xms:N0cDatiZ7lQQvaiW8DhhNbmqO69XsVtle2OZ1G_6AzK-awcMCZvDPg>
 <xme:N0cDapBRHg6osHMi2uu_Z4mXnad0eS3HA1udfk0ZVR4Xh5WMdNuw0zEs-zdkZ7_sK
 TEUfwHCbqaD2zigGx7jlERCxNvAphJk_Mr7_g4eXip8_wa8qN7cn7Y>
X-ME-Received: <xmr:N0cDaiEo2r4_Vdn_lYl2-o53EWfvVfTWj4jma-jp0wEPyTsrAGUUDuaUKnvJAJc3Rq5bIg>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefhedrtddtgdduvddvudeiucetufdoteggodetrf
 dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu
 rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf
 gurhepkfffgggfuffvvehfhfgjtgfgsehtkeertddtvdejnecuhfhrohhmpeffmhhithhr
 hicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrthhtvg
 hrnhepgfeuhefgiedtgfevueevkefggfejleekjeevhfejfedtheevudetgeeikeellefg
 necuffhomhgrihhnpehgthhkrdhorhhgpdhgnhhomhgvrdhorhhgnecuvehluhhsthgvrh
 fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepughmihhtrhihsehguhhtohhv
 rdguvghvpdhnsggprhgtphhtthhopeegpdhmohguvgepshhmthhpohhuthdprhgtphhtth
 hopehshhhiphhmihhnthhssehgmhgrihhlrdgtohhmpdhrtghpthhtohepvghlihiisehg
 nhhurdhorhhgpdhrtghpthhtohepohhpvghnshgruhgtvgdtgeesghhmrghilhdrtghomh
 dprhgtphhtthhopeektdeftdejseguvggssghughhsrdhgnhhurdhorhhg
X-ME-Proxy: <xmx:N0cDahLKfLjK5l12oeY4VsZ-ZLwcoqyvG-L24bSMOFfY9RsVDeO_Ew>
 <xmx:N0cDamlrhzyidt5BmJS_dzcQt7GGIsEBCfY9_9qkxHTfN8xveMeJrA>
 <xmx:N0cDapRfi9F2zbPsitnR3KJqouaRiEj_18WcYSP8TEDDa02FUL-4xA>
 <xmx:N0cDaoK9kWxUSKD5exECbkM-0nRx1vaoFfLZaAg3wylPcLIljW6viQ>
 <xmx:N0cDapVYlvOnDgysnGeYOb5eenkBRemaSI0ebll69rWJ9f8tsgbh4aMZ>
Feedback-ID: i07de48aa:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue,
 12 May 2026 11:28:53 -0400 (EDT)
Message-ID: <3f8b3d18-d8e8-40f7-85fe-a182bb633561@HIDDEN>
Date: Tue, 12 May 2026 18:28:50 +0300
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#80307: Add ns-toolbar-style frame parameter on macOS
To: =?UTF-8?Q?St=C3=A9phane_Marks?= <shipmints@HIDDEN>,
 Eli Zaretskii <eliz@HIDDEN>
References: <a2ed9095-e014-4902-90a5-9329a5f17297@HIDDEN>
 <86a4xs4xl3.fsf@HIDDEN> <73b73b62-155a-48f5-afc0-ab401f721372@HIDDEN>
 <86ikcf2uu4.fsf@HIDDEN>
 <CAN+1HbqrLO44574kZnuum0K=O3o4f50m+8DT_N8puTQ+bMo7ng@HIDDEN>
 <86qzr318md.fsf@HIDDEN>
 <CAN+1HbpgkdCf1fAvRwLCqkfbR2JjZLQ-Xh_DzCNqJ4M5YtVF5A@HIDDEN>
Content-Language: en-US
From: Dmitry Gutov <dmitry@HIDDEN>
In-Reply-To: <CAN+1HbpgkdCf1fAvRwLCqkfbR2JjZLQ-Xh_DzCNqJ4M5YtVF5A@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 80307
Cc: opensauce04@HIDDEN, 80307 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

On 02/02/2026 17:37, Stéphane Marks wrote:
>      > GTK support some toolbar styling albeit different than NS/macOS
>     options
>      > https://docs.gtk.org/gtk3/enum.ToolbarStyle.html <https://
>     docs.gtk.org/gtk3/enum.ToolbarStyle.html> I did not look to see if
>     this API is exposed to ELisp or not.
> 
>     We support this, see gtkutil.c.  But I'm not sure this is similar
>     enough, it only affects how the tool-bar buttons are shown.  We need a
>     capability to control whether t6he GTK tool bar is aligned to left,
>     right, centered, or some other arrangement relative to the Emacs
>     frame.
> 
> 
> I see this in gtkutil which is the closest analog since GTK itself 
> doesn't support the precise set of values as NS/macOS:
> 
> static void
> xg_pack_tool_bar (struct frame *f, Lisp_Object pos)
> {
>    xp_output *x = f->output_data.xp;
>    bool into_hbox = EQ (pos, Qleft) || EQ (pos, Qright);
>    GtkWidget *top_widget = x->toolbar_widget;
> 
>    gtk_orientable_set_orientation (GTK_ORIENTABLE (x->toolbar_widget),
>                                    into_hbox
>                                    ? GTK_ORIENTATION_VERTICAL
>                                    : GTK_ORIENTATION_HORIZONTAL);

This is the handling of the variable tool-bar-position, which as documented:

   ... This option takes effect only on graphical frames, the values
   ‘left’ and ‘right’ only if Emacs was built with GTK

Speaking of closest counter-parts to NSWindow.ToolbarStyle, it seems GTK 
can achieve something like that using GtkHeaderBar:

   https://developer.gnome.org/hig/patterns/containers/header-bars.html
   https://docs.gtk.org/gtk3/method.Window.set_titlebar.html

I'm not particularly an expert; it's a suggestion to experiment.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#80307; Package emacs. Full text available.

Message received at 80307 <at> debbugs.gnu.org:


Received: (at 80307) by debbugs.gnu.org; 12 May 2026 11:12:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 12 07:12:19 2026
Received: from localhost ([127.0.0.1]:34558 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wMl2A-0000MU-Df
	for submit <at> debbugs.gnu.org; Tue, 12 May 2026 07:12:18 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:59732)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1wMl27-0000M5-UR
 for 80307 <at> debbugs.gnu.org; Tue, 12 May 2026 07:12:16 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1wMl20-0001Ug-RQ; Tue, 12 May 2026 07:12:09 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=ZNfdnmbPxiH1LLwYi60A3p/1l1NFLWe0usfQ0bvj+hw=; b=PjKf0YCwgjkWQP9X+O2Z
 51427JtBurmn8NQSbBTORmT7sVhHNoWUgVsxMYrCttZXTFkEOdZn/RhL1QoV+s/DbCx3Wp2o6QizP
 ReCjlfhu5UyiNqHG6pyyduaGqsBXfqcd4SYNSOCyu8pgR5pNP5JOk2KLfes2C2CS03ZHkchtKpgAP
 w04pue04WML+h5tvEc/5YvKwq0/tGQo7il75kcJ3YQ3+Kz/12gONkQtuMPI6sy8IOIcxsPQnk/SDq
 ftTkLOGBcLO4gLGNryZLTteBtk+hj64CVVtakZPwZe79s0iXZgsDysaFXbnDNi3xkTYJkO2t2C+qW
 p3ICrzmd8jHGqQ==;
Date: Tue, 12 May 2026 14:12:02 +0300
Message-Id: <865x4s2871.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: "opensauce04@HIDDEN" <opensauce04@HIDDEN>,
 Alan Third <alan@HIDDEN>, Dmitry Gutov <dmitry@HIDDEN>
In-Reply-To: <7AB72FAF-6273-42BE-8375-256DDB3D7B34@HIDDEN>
 (opensauce04@HIDDEN)
Subject: Re: bug#80307: Add ns-toolbar-style frame parameter on macOS
References: <a2ed9095-e014-4902-90a5-9329a5f17297@HIDDEN>
 <86a4xs4xl3.fsf@HIDDEN> <73b73b62-155a-48f5-afc0-ab401f721372@HIDDEN>
 <86ikcf2uu4.fsf@HIDDEN>
 <CAN+1HbqrLO44574kZnuum0K=O3o4f50m+8DT_N8puTQ+bMo7ng@HIDDEN>
 <86qzr318md.fsf@HIDDEN>
 <CAN+1HbpgkdCf1fAvRwLCqkfbR2JjZLQ-Xh_DzCNqJ4M5YtVF5A@HIDDEN>
 <86o6m714wp.fsf@HIDDEN>
 <CAN+1HbpvB0txw-o7=6PbPqaUpXSH2zF+PCjsBtkwG6ohF6tPYw@HIDDEN>
 <86ms1r13bt.fsf@HIDDEN> <86ecmnpm6y.fsf@HIDDEN>
 <4f3c4e22-f655-4eab-8d8f-99fa040def6e@HIDDEN> <865x7m9igt.fsf@HIDDEN>
 <86jyvx2eq1.fsf@HIDDEN> <86qzpmafda.fsf@HIDDEN> <86mrzstjue.fsf@HIDDEN>
 <7AB72FAF-6273-42BE-8375-256DDB3D7B34@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 80307
Cc: luangruo@HIDDEN, 80307 <at> debbugs.gnu.org, waylandthrowaway@HIDDEN,
 shipmints@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Mon, 11 May 2026 20:39:02 +0100
> From: "opensauce04@HIDDEN" <opensauce04@HIDDEN>
> CC: 80307 <at> debbugs.gnu.org, shipmints@HIDDEN
> 
> Hey, so any update on this?
> 
> I'd really prefer for this to be resolved one way or the other before Emacs 31 releases, whether that be via a configurable value or just changing the current behaviour to mirror Emacs 30.

We need someone with access to and knowledge of macOS to review this
and comment.  Maybe Alan and Dmitry could help us.

I'm still not convinced that the GTK feature pointed to below is
similar enough to what you suggest for macOS to accept this, but I
will yield to macOS experts.

> On 28 March 2026 08:54:33 GMT, Eli Zaretskii <eliz@HIDDEN> wrote:
> >Ping! Ping! Ping!  Po Lu, please chime in.
> >
> >> Cc: opensauce04@HIDDEN, 80307 <at> debbugs.gnu.org, shipmints@HIDDEN
> >> Date: Sat, 14 Mar 2026 12:13:05 +0200
> >> From: Eli Zaretskii <eliz@HIDDEN>
> >> 
> >> Ping! Ping!  Po Lu, please respond.
> >> 
> >> > Cc: opensauce04@HIDDEN, 80307 <at> debbugs.gnu.org, shipmints@HIDDEN
> >> > Date: Sat, 28 Feb 2026 15:13:26 +0200
> >> > From: Eli Zaretskii <eliz@HIDDEN>
> >> > 
> >> > Ping!  Po Lu, please chime in.
> >> > 
> >> > > Cc: 80307 <at> debbugs.gnu.org, shipmints@HIDDEN
> >> > > Date: Tue, 24 Feb 2026 19:09:22 +0200
> >> > > From: Eli Zaretskii <eliz@HIDDEN>
> >> > > 
> >> > > > Date: Tue, 24 Feb 2026 14:25:24 +0000
> >> > > > Cc: 80307 <at> debbugs.gnu.org, shipmints@HIDDEN
> >> > > > From: opensauce04@HIDDEN
> >> > > > 
> >> > > > >> Cc: opensauce04@HIDDEN, 80307 <at> debbugs.gnu.org
> >> > > > >> Date: Mon, 02 Feb 2026 19:07:50 +0200
> >> > > > >> From: Eli Zaretskii <eliz@HIDDEN>
> >> > > > >>
> >> > > > >>> From: Stéphane Marks <shipmints@HIDDEN>
> >> > > > >>> Date: Mon, 2 Feb 2026 11:51:40 -0500
> >> > > > >>> Cc: opensauce04@HIDDEN, 80307 <at> debbugs.gnu.org
> >> > > > >>>
> >> > > > >>> On Mon, Feb 2, 2026 at 11:33 AM Eli Zaretskii <eliz@HIDDEN> wrote:
> >> > > > >>>
> >> > > > >>>   > From: Stéphane Marks <shipmints@HIDDEN>
> >> > > > >>>   > Date: Mon, 2 Feb 2026 10:37:00 -0500
> >> > > > >>>   > Cc: opensauce04@HIDDEN, 80307 <at> debbugs.gnu.org
> >> > > > >>>   >
> >> > > > >>>   > I see this in gtkutil which is the closest analog since GTK itself doesn't support the precise set of
> >> > > > >>>   values as
> >> > > > >>>   > NS/macOS:
> >> > > > >>>   >
> >> > > > >>>   > static void
> >> > > > >>>   > xg_pack_tool_bar (struct frame *f, Lisp_Object pos)
> >> > > > >>>   > {
> >> > > > >>>   >   xp_output *x = f->output_data.xp;
> >> > > > >>>   >   bool into_hbox = EQ (pos, Qleft) || EQ (pos, Qright);
> >> > > > >>>   >   GtkWidget *top_widget = x->toolbar_widget;
> >> > > > >>>   >
> >> > > > >>>   >   gtk_orientable_set_orientation (GTK_ORIENTABLE (x->toolbar_widget),
> >> > > > >>>   >                                   into_hbox
> >> > > > >>>   >                                   ? GTK_ORIENTATION_VERTICAL
> >> > > > >>>   >                                   : GTK_ORIENTATION_HORIZONTAL);
> >> > > > >>>
> >> > > > >>>   I don't know what that means (I know nothing about GTK), but if
> >> > > > >>>   someone explains what this does/allows, we could discuss whether it is
> >> > > > >>>   close enough to what the OP suggested for macOS.
> >> > > > >>>
> >> > > > >>> I tried to find a picture on the web but came up short. I'm no GTK expert. Perhaps Po Lu could be of some
> >> > > > >>> assitance here.
> >> > > > >> If we add him to the discussion.  Done.
> >> > > > > Po Lu, any comments or suggestions regarding this?
> >> > > > What should we do if this person doesn't respond? Change the default? 
> >> > > > Add the config option?
> >> > > 
> >> > > We should wait for him to respond.  Or for some other expert on this
> >> > > to review the patch.
> 




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#80307; Package emacs. Full text available.

Message received at 80307 <at> debbugs.gnu.org:


Received: (at 80307) by debbugs.gnu.org; 11 May 2026 19:39:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 11 15:39:07 2026
Received: from localhost ([127.0.0.1]:52917 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wMWT5-0001SD-6c
	for submit <at> debbugs.gnu.org; Mon, 11 May 2026 15:39:07 -0400
Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]:54586)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <opensauce04@HIDDEN>)
 id 1wMWT3-0001Rs-6M
 for 80307 <at> debbugs.gnu.org; Mon, 11 May 2026 15:39:05 -0400
Received: by mail-wr1-x432.google.com with SMTP id
 ffacd0b85a97d-43d7645adbdso2560488f8f.1
 for <80307 <at> debbugs.gnu.org>; Mon, 11 May 2026 12:39:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20251104; t=1778528344; x=1779133144; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:message-id:references
 :in-reply-to:user-agent:subject:cc:to:from:date:from:to:cc:subject
 :date:message-id:reply-to;
 bh=eX3HPXXHJa9lF5m04jYp71E/rwSlgeU33YI4LTkl3Nw=;
 b=anDq1RLtWLnuq7KBCINHj9OdC7kTZJimIvSXL7j9fY2vYtJKGcX6tXFVlwF58teEPc
 5sqMNjFMmhU+jgQdodA841cv0yTj5TDw/oQJFHZvM0PIoe+AoIEPIz13t6/YGWPD5QaV
 7SSYq9Pe0ljAOxYzK8L53LH99z4I119P26SJg+pboW2SMZALNwncH1OOdN9W1omSVPcA
 Sfs10eg0IDOhWnd3VWv7y4WGnkI3AzRmb6EdYisUcIFGrojTQ4BVVl/fen4R1R/NmzIr
 v/u98UeowrwZvaeUr7scYOVXaWNcOgR4diBC8q6Li8Tm32JYX1n5CCo0SN0hxfHM8TWP
 4gqw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20251104; t=1778528344; x=1779133144;
 h=content-transfer-encoding:mime-version:message-id:references
 :in-reply-to:user-agent:subject:cc:to:from:date:x-gm-gg
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=eX3HPXXHJa9lF5m04jYp71E/rwSlgeU33YI4LTkl3Nw=;
 b=KiVRnY2UcIf9P6ZYEhqMpup69g2IEv+I90pIX1w9NXHj/ZT7YHJzrkEpBuYripSKE7
 g1pULW5mZhc0Si8yuL16QtBepulq934KT3TNqlqa+l911nyTGVnoZsw3dHN1WDAmGN6a
 +TL9y+GNDOH5R+QqkGnTYIUveriUbqSCh2nD4DABRdUDcUW6IGPA3Z0K+6b+o94s8c8O
 bhGezIZNuJCm6A0wVcxxMr55TaW8BHgKQFHUthmQBZ1NGAroSbfIV3s2Yx8y3toOadsy
 JZW+2XI7R0mG5000ZsjV3iLzsIv/7NkOLY92qNEKD0MWe3B9Te5tMkObEAQA8bnCLpKf
 mMQw==
X-Gm-Message-State: AOJu0YxdmkdRNOSvcd0vqdOoDCUgvW9ZT1OcGMUM6N5JzzAh/tf5PbJZ
 nOG7MGIMCHkrRWgrKr1lGhQ5ESHE/pyWfszH9x7jzjMvUE4Tpbl8vj7S
X-Gm-Gg: Acq92OFjESzvQGX0btOWp1S+gt9BNmIcqEmyDuwLD9cv59A4xbHgmGluD3Xmfz0Mg//
 3yUtNBjHXUOIYAvYxKih0nM5JSeneSS4CaCAhq1p/N/z+d7HdTl+4McJmXUq94j6MMah2keGLKR
 378hOJSD9XZn4WkrVjE0LwKkhaz4CXKv4dS+HP6SUmPU3iBjU356F4ptSJJBk2Wqa5/w7lgDhsA
 gqxuZpz2snA/bq7Bi+sppjUAoOHVe3oSHtgvKVr14mVwzEOgAAYMU+T99+y6mKEThtZAPCxkTgf
 caW4r4ciYQZmaUU9GBcOFs0pUg4/KWINxdhteg015E10zh5j0vFBHCEPO/dtJHteWRcN2qP/G8B
 9yOo4oblnKWFhNbCHwSt1RAsqUg7fJ2wJykJkPT1DtgrSmSLYnRtue+pKlhgyR8gmJWmLzuqEHJ
 B+no6xkjHj2RKE66g5y0/9SVjvWdL/gUZ7/eGw
X-Received: by 2002:a05:6000:4305:b0:44a:ef8c:de18 with SMTP id
 ffacd0b85a97d-4515cf125c6mr41393148f8f.25.1778528343401; 
 Mon, 11 May 2026 12:39:03 -0700 (PDT)
Received: from ehlo.thunderbird.net ([148.252.132.220])
 by smtp.gmail.com with ESMTPSA id
 ffacd0b85a97d-4548ec6b071sm26952298f8f.14.2026.05.11.12.39.02
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Mon, 11 May 2026 12:39:03 -0700 (PDT)
Date: Mon, 11 May 2026 20:39:02 +0100
From: "opensauce04@HIDDEN" <opensauce04@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>, luangruo@HIDDEN,
 waylandthrowaway@HIDDEN
Subject: Re: bug#80307: Add ns-toolbar-style frame parameter on macOS
User-Agent: Thunderbird for Android
In-Reply-To: <86mrzstjue.fsf@HIDDEN>
References: <a2ed9095-e014-4902-90a5-9329a5f17297@HIDDEN>
 <86a4xs4xl3.fsf@HIDDEN> <73b73b62-155a-48f5-afc0-ab401f721372@HIDDEN>
 <86ikcf2uu4.fsf@HIDDEN>
 <CAN+1HbqrLO44574kZnuum0K=O3o4f50m+8DT_N8puTQ+bMo7ng@HIDDEN>
 <86qzr318md.fsf@HIDDEN>
 <CAN+1HbpgkdCf1fAvRwLCqkfbR2JjZLQ-Xh_DzCNqJ4M5YtVF5A@HIDDEN>
 <86o6m714wp.fsf@HIDDEN>
 <CAN+1HbpvB0txw-o7=6PbPqaUpXSH2zF+PCjsBtkwG6ohF6tPYw@HIDDEN>
 <86ms1r13bt.fsf@HIDDEN> <86ecmnpm6y.fsf@HIDDEN>
 <4f3c4e22-f655-4eab-8d8f-99fa040def6e@HIDDEN> <865x7m9igt.fsf@HIDDEN>
 <86jyvx2eq1.fsf@HIDDEN> <86qzpmafda.fsf@HIDDEN> <86mrzstjue.fsf@HIDDEN>
Message-ID: <7AB72FAF-6273-42BE-8375-256DDB3D7B34@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 2.3 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  Hey, so any update on this? I'd really prefer for this to
 be resolved one way or the other before Emacs 31 releases, whether that be
 via a configurable value or just changing the current behaviour to mirror
 Emacs 30. 
 Content analysis details:   (2.3 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (opensauce04[at]gmail.com)
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
 in digit (opensauce04[at]gmail.com)
 -0.0 SPF_PASS               SPF: sender matches SPF record
 1.0 FORGED_GMAIL_RCVD      'From' gmail.com does not match 'Received'
 headers
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [2a00:1450:4864:20:0:0:0:432 listed in]
 [list.dnswl.org]
 1.0 FREEMAIL_REPLY         From and body contain different freemails
X-Debbugs-Envelope-To: 80307
Cc: 80307 <at> debbugs.gnu.org, shipmints@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.3 (/)

Hey, so any update on this?

I'd really prefer for this to be resolved one way or the other before Emac=
s 31 releases, whether that be via a configurable value or just changing th=
e current behaviour to mirror Emacs 30=2E

On 28 March 2026 08:54:33 GMT, Eli Zaretskii <eliz@gnu=2Eorg> wrote:
>Ping! Ping! Ping!  Po Lu, please chime in=2E
>
>> Cc: opensauce04@gmail=2Ecom, 80307@debbugs=2Egnu=2Eorg, shipmints@gmail=
=2Ecom
>> Date: Sat, 14 Mar 2026 12:13:05 +0200
>> From: Eli Zaretskii <eliz@gnu=2Eorg>
>>=20
>> Ping! Ping!  Po Lu, please respond=2E
>>=20
>> > Cc: opensauce04@gmail=2Ecom, 80307@debbugs=2Egnu=2Eorg, shipmints@gma=
il=2Ecom
>> > Date: Sat, 28 Feb 2026 15:13:26 +0200
>> > From: Eli Zaretskii <eliz@gnu=2Eorg>
>> >=20
>> > Ping!  Po Lu, please chime in=2E
>> >=20
>> > > Cc: 80307@debbugs=2Egnu=2Eorg, shipmints@gmail=2Ecom
>> > > Date: Tue, 24 Feb 2026 19:09:22 +0200
>> > > From: Eli Zaretskii <eliz@gnu=2Eorg>
>> > >=20
>> > > > Date: Tue, 24 Feb 2026 14:25:24 +0000
>> > > > Cc: 80307@debbugs=2Egnu=2Eorg, shipmints@gmail=2Ecom
>> > > > From: opensauce04@gmail=2Ecom
>> > > >=20
>> > > > >> Cc: opensauce04@gmail=2Ecom, 80307@debbugs=2Egnu=2Eorg
>> > > > >> Date: Mon, 02 Feb 2026 19:07:50 +0200
>> > > > >> From: Eli Zaretskii <eliz@gnu=2Eorg>
>> > > > >>
>> > > > >>> From: St=C3=A9phane Marks <shipmints@gmail=2Ecom>
>> > > > >>> Date: Mon, 2 Feb 2026 11:51:40 -0500
>> > > > >>> Cc: opensauce04@gmail=2Ecom, 80307@debbugs=2Egnu=2Eorg
>> > > > >>>
>> > > > >>> On Mon, Feb 2, 2026 at 11:33=E2=80=AFAM Eli Zaretskii <eliz@g=
nu=2Eorg> wrote:
>> > > > >>>
>> > > > >>>   > From: St=C3=A9phane Marks <shipmints@gmail=2Ecom>
>> > > > >>>   > Date: Mon, 2 Feb 2026 10:37:00 -0500
>> > > > >>>   > Cc: opensauce04@gmail=2Ecom, 80307@debbugs=2Egnu=2Eorg
>> > > > >>>   >
>> > > > >>>   > I see this in gtkutil which is the closest analog since G=
TK itself doesn't support the precise set of
>> > > > >>>   values as
>> > > > >>>   > NS/macOS:
>> > > > >>>   >
>> > > > >>>   > static void
>> > > > >>>   > xg_pack_tool_bar (struct frame *f, Lisp_Object pos)
>> > > > >>>   > {
>> > > > >>>   >   xp_output *x =3D f->output_data=2Exp;
>> > > > >>>   >   bool into_hbox =3D EQ (pos, Qleft) || EQ (pos, Qright);
>> > > > >>>   >   GtkWidget *top_widget =3D x->toolbar_widget;
>> > > > >>>   >
>> > > > >>>   >   gtk_orientable_set_orientation (GTK_ORIENTABLE (x->tool=
bar_widget),
>> > > > >>>   >                                   into_hbox
>> > > > >>>   >                                   ? GTK_ORIENTATION_VERTI=
CAL
>> > > > >>>   >                                   : GTK_ORIENTATION_HORIZ=
ONTAL);
>> > > > >>>
>> > > > >>>   I don't know what that means (I know nothing about GTK), bu=
t if
>> > > > >>>   someone explains what this does/allows, we could discuss wh=
ether it is
>> > > > >>>   close enough to what the OP suggested for macOS=2E
>> > > > >>>
>> > > > >>> I tried to find a picture on the web but came up short=2E I'm=
 no GTK expert=2E Perhaps Po Lu could be of some
>> > > > >>> assitance here=2E
>> > > > >> If we add him to the discussion=2E  Done=2E
>> > > > > Po Lu, any comments or suggestions regarding this?
>> > > > What should we do if this person doesn't respond? Change the defa=
ult?=20
>> > > > Add the config option?
>> > >=20
>> > > We should wait for him to respond=2E  Or for some other expert on t=
his
>> > > to review the patch=2E




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#80307; Package emacs. Full text available.

Message received at 80307 <at> debbugs.gnu.org:


Received: (at 80307) by debbugs.gnu.org; 28 Mar 2026 08:54:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 28 04:54:44 2026
Received: from localhost ([127.0.0.1]:42956 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1w6PRM-0004xw-Al
	for submit <at> debbugs.gnu.org; Sat, 28 Mar 2026 04:54:44 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:46138)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1w6PRK-0004xA-8A
 for 80307 <at> debbugs.gnu.org; Sat, 28 Mar 2026 04:54:42 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1w6PRE-0001vE-RQ; Sat, 28 Mar 2026 04:54:36 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=XlGV+A0ORlqfnIHRVlXatadsXRLUyk//gpieit35y08=; b=g9B1clA2Ta580UyM7bxL
 9/F7almi9S6M2ApHz5Abcyz4HIPM/VFWBkmAb241UqPKxjkY2Uo/qPt1BHgmkFmollF3SBdn+Bait
 t20/rLCNJjVRtIclTfYWjGDdMBvqyvP5h7g/Dh2POzBtIiTA5CMO3CFTdXVOB0xnDYpb7iNkNO82Y
 w0P+wAWbQZubVrcIvRF0USRme9a8fR4sBUzeyIH7wuU8U5aNVg6cSmY+ri6YyvI94RsiNqO/70aTE
 AA6pAlxwjntcGAfcO+va08yPs2t2l+EQrruUKuvQOGOtOsZPtlQuwl3KLAIWj20hNuh/VHfEzKrm/
 fsqWOrs57xTt0A==;
Date: Sat, 28 Mar 2026 11:54:33 +0300
Message-Id: <86mrzstjue.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: luangruo@HIDDEN, waylandthrowaway@HIDDEN
In-Reply-To: <86qzpmafda.fsf@HIDDEN> (message from Eli Zaretskii on Sat, 14
 Mar 2026 12:13:05 +0200)
Subject: Re: bug#80307: Add ns-toolbar-style frame parameter on macOS
References: <a2ed9095-e014-4902-90a5-9329a5f17297@HIDDEN>
 <86a4xs4xl3.fsf@HIDDEN> <73b73b62-155a-48f5-afc0-ab401f721372@HIDDEN>
 <86ikcf2uu4.fsf@HIDDEN>
 <CAN+1HbqrLO44574kZnuum0K=O3o4f50m+8DT_N8puTQ+bMo7ng@HIDDEN>
 <86qzr318md.fsf@HIDDEN>
 <CAN+1HbpgkdCf1fAvRwLCqkfbR2JjZLQ-Xh_DzCNqJ4M5YtVF5A@HIDDEN>
 <86o6m714wp.fsf@HIDDEN>
 <CAN+1HbpvB0txw-o7=6PbPqaUpXSH2zF+PCjsBtkwG6ohF6tPYw@HIDDEN>
 <86ms1r13bt.fsf@HIDDEN> <86ecmnpm6y.fsf@HIDDEN>
 <4f3c4e22-f655-4eab-8d8f-99fa040def6e@HIDDEN> <865x7m9igt.fsf@HIDDEN>
 <86jyvx2eq1.fsf@HIDDEN> <86qzpmafda.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 80307
Cc: opensauce04@HIDDEN, 80307 <at> debbugs.gnu.org, shipmints@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Ping! Ping! Ping!  Po Lu, please chime in.

> Cc: opensauce04@HIDDEN, 80307 <at> debbugs.gnu.org, shipmints@HIDDEN
> Date: Sat, 14 Mar 2026 12:13:05 +0200
> From: Eli Zaretskii <eliz@HIDDEN>
> 
> Ping! Ping!  Po Lu, please respond.
> 
> > Cc: opensauce04@HIDDEN, 80307 <at> debbugs.gnu.org, shipmints@HIDDEN
> > Date: Sat, 28 Feb 2026 15:13:26 +0200
> > From: Eli Zaretskii <eliz@HIDDEN>
> > 
> > Ping!  Po Lu, please chime in.
> > 
> > > Cc: 80307 <at> debbugs.gnu.org, shipmints@HIDDEN
> > > Date: Tue, 24 Feb 2026 19:09:22 +0200
> > > From: Eli Zaretskii <eliz@HIDDEN>
> > > 
> > > > Date: Tue, 24 Feb 2026 14:25:24 +0000
> > > > Cc: 80307 <at> debbugs.gnu.org, shipmints@HIDDEN
> > > > From: opensauce04@HIDDEN
> > > > 
> > > > >> Cc: opensauce04@HIDDEN, 80307 <at> debbugs.gnu.org
> > > > >> Date: Mon, 02 Feb 2026 19:07:50 +0200
> > > > >> From: Eli Zaretskii <eliz@HIDDEN>
> > > > >>
> > > > >>> From: Stéphane Marks <shipmints@HIDDEN>
> > > > >>> Date: Mon, 2 Feb 2026 11:51:40 -0500
> > > > >>> Cc: opensauce04@HIDDEN, 80307 <at> debbugs.gnu.org
> > > > >>>
> > > > >>> On Mon, Feb 2, 2026 at 11:33 AM Eli Zaretskii <eliz@HIDDEN> wrote:
> > > > >>>
> > > > >>>   > From: Stéphane Marks <shipmints@HIDDEN>
> > > > >>>   > Date: Mon, 2 Feb 2026 10:37:00 -0500
> > > > >>>   > Cc: opensauce04@HIDDEN, 80307 <at> debbugs.gnu.org
> > > > >>>   >
> > > > >>>   > I see this in gtkutil which is the closest analog since GTK itself doesn't support the precise set of
> > > > >>>   values as
> > > > >>>   > NS/macOS:
> > > > >>>   >
> > > > >>>   > static void
> > > > >>>   > xg_pack_tool_bar (struct frame *f, Lisp_Object pos)
> > > > >>>   > {
> > > > >>>   >   xp_output *x = f->output_data.xp;
> > > > >>>   >   bool into_hbox = EQ (pos, Qleft) || EQ (pos, Qright);
> > > > >>>   >   GtkWidget *top_widget = x->toolbar_widget;
> > > > >>>   >
> > > > >>>   >   gtk_orientable_set_orientation (GTK_ORIENTABLE (x->toolbar_widget),
> > > > >>>   >                                   into_hbox
> > > > >>>   >                                   ? GTK_ORIENTATION_VERTICAL
> > > > >>>   >                                   : GTK_ORIENTATION_HORIZONTAL);
> > > > >>>
> > > > >>>   I don't know what that means (I know nothing about GTK), but if
> > > > >>>   someone explains what this does/allows, we could discuss whether it is
> > > > >>>   close enough to what the OP suggested for macOS.
> > > > >>>
> > > > >>> I tried to find a picture on the web but came up short. I'm no GTK expert. Perhaps Po Lu could be of some
> > > > >>> assitance here.
> > > > >> If we add him to the discussion.  Done.
> > > > > Po Lu, any comments or suggestions regarding this?
> > > > What should we do if this person doesn't respond? Change the default? 
> > > > Add the config option?
> > > 
> > > We should wait for him to respond.  Or for some other expert on this
> > > to review the patch.
> > > 
> > > 
> > > 
> > > 
> > 
> > 
> > 
> > 
> 
> 
> 
> 




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#80307; Package emacs. Full text available.

Message received at 80307 <at> debbugs.gnu.org:


Received: (at 80307) by debbugs.gnu.org; 26 Mar 2026 17:13:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 26 13:13:27 2026
Received: from localhost ([127.0.0.1]:43603 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1w5oGs-0003B9-5F
	for submit <at> debbugs.gnu.org; Thu, 26 Mar 2026 13:13:26 -0400
Received: from mail-dl1-x122c.google.com ([2607:f8b0:4864:20::122c]:54359)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <kickingvegas@HIDDEN>)
 id 1w5oGq-0003Au-Lr
 for 80307 <at> debbugs.gnu.org; Thu, 26 Mar 2026 13:13:25 -0400
Received: by mail-dl1-x122c.google.com with SMTP id
 a92af1059eb24-1273349c56bso1573989c88.0
 for <80307 <at> debbugs.gnu.org>; Thu, 26 Mar 2026 10:13:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20251104; t=1774545203; x=1775150003; darn=debbugs.gnu.org;
 h=to:cc:date:message-id:subject:mime-version
 :content-transfer-encoding:from:from:to:cc:subject:date:message-id
 :reply-to; bh=4pOJuJVPeLNM+Wh9i0LZkJAktD7/am664jMS9e77BAU=;
 b=jlYeWTfBfNdXX5sR08W72219rJjiEp4baiWq7TKCo7jcdIJuPtCaeXeqIMMErUr3u8
 w6W+jvOymFrr9tMe6jDtPhfPs41ohEX+jIvaEfHDfM0dIGUuE1IXzv9SA9MOzZPqpD8N
 oYaHiZrPL+rdfa6E/+pLBCavy1dwHfDiqd1jB9Y9E2Q9kLqd2HomuNdj+AFbFEE29Q9x
 cwEBwJN82f5Nbu4sfEB//cmjz8+LqaaKMEWlLcvinKeKFO810rTeP2iKbuLxo8RPtA7/
 Fq+p3DxHpfC9ZfFDJHFnZk7uxdNeqn289YhMQkmxC05hoyTM9IILN9Hhol7RI8B9Z8Vn
 nw2A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20251104; t=1774545203; x=1775150003;
 h=to:cc:date:message-id:subject:mime-version
 :content-transfer-encoding:from:x-gm-gg:x-gm-message-state:from:to
 :cc:subject:date:message-id:reply-to;
 bh=4pOJuJVPeLNM+Wh9i0LZkJAktD7/am664jMS9e77BAU=;
 b=m6sclqTbQkdhBDopwTzEsPcHsaynpgkyTIl5LNAiDQGm6vnn2bxvAQ2aWMJYTZK97H
 4cThWucXdDCgF+o+EbiauuJVDgoJXWTXJh3CZZiukyw2cBozrY7o9LLXXymvR5AqgZbX
 4/bJ0p8+hAVf7EJKaoVWxLHYx6iGxMW4OPttceAmZNa+2GTDDp3OaFcMaH0J1V0uB/oj
 6HjiVkzqdnXnaXFn5MSqbvPJJD1z0tz1g572gJuu6oaI7kNIWTE2p4nbLgO+BJCFjT8s
 JK5vlnbb/eCpwmc0A1rS5ahLDmfGIy4TUTUIx174wYQjj05RzWeAjm2ZQCYZ2IlPTOob
 spPw==
X-Gm-Message-State: AOJu0YwBdagSFKT8Y9MzDu3hEr0P/tTGD0Xgseia4k8hIE3Rsn3SgcKF
 FFvfIBycK3kXNWI20i/zpPiV5ilM3X/vWsOUMpG8RA4lovu15QpDrVMc
X-Gm-Gg: ATEYQzwM6Zthk7qzeAsvjMD6p9/4cSPa4OnShcFAundEwBMJ2i28rPDlAYb5PFZxBQu
 htKZGfh5PAWANP7ZSVgIC1XkgR6YCMA/FuMbc7+TLlVIcUCQXFhcw8MQkXTGnF9f9IjU9S7HpUS
 BcsK5gM2hP6c8DiJ8QEkJkTDWuN1GpgrND27xpq7pfbnQrfuPd4R6SR8mxO7JLE2H1L55sy3t5o
 a8vfQ9Bnfii4OgmP0nDZBk9Vv4VJenmsG8dXzXDlgeJck5s92u2eKWTnXNF1FdedaP8UsH6LOIT
 O2UaL55Qk/kRb48U3wC9PIbfuuotnS9f6zHshVrMb6pOJX3FEJtnZ0VajU/XLEo1o5VyJ/l8NCy
 N6JFeIqQvoMVaG8mQR85sN5BReZoPNx/53td3FWNeLyYFtrEMWc0EHnEKkvOZlRyK0SqrRjyCAZ
 hdnWIOJpZHNRQffvuibah/w/5FwLGSYGESuZZ2c72C7rl1yPZsJ1/IrG+2C078erGxGif+hnfqb
 uQ=
X-Received: by 2002:a05:7022:45a1:b0:127:33e0:ea40 with SMTP id
 a92af1059eb24-12a96e7e829mr4284407c88.15.1774545203195; 
 Thu, 26 Mar 2026 10:13:23 -0700 (PDT)
Received: from smtpclient.apple (c-98-33-93-77.hsd1.ca.comcast.net.
 [98.33.93.77]) by smtp.gmail.com with ESMTPSA id
 a92af1059eb24-12aa6e5b38csm4856971c88.2.2026.03.26.10.13.22
 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
 Thu, 26 Mar 2026 10:13:22 -0700 (PDT)
From: Charles Choi <kickingvegas@HIDDEN>
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.700.81.1.6\))
Subject: Re: bug#80307: Add ns-toolbar-style frame parameter on macOS
Message-Id: <E50AAAA9-8CF9-4DE0-8548-D306076CE60B@HIDDEN>
Date: Thu, 26 Mar 2026 10:13:11 -0700
To: opensauce04@HIDDEN
X-Mailer: Apple Mail (2.3826.700.81.1.6)
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 80307
Cc: eliz@HIDDEN, 80307 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)


opensauce04@HIDDEN writes:

>> If you want to discuss a possible change in the default behavior, we
>> can do that without any restrictions.  If macOS users in general =
agree
>> that the current default is not the best one, I see now reason not to
>> change the default.  But supporting user-defined control of the
>> behavior is a different matter.
>
>> What matters for us in this case are the user-facing features and
>> capabilities, not the software mechanisms used by the implementation.
>
>
> I still believe that giving the user a choice in the matter would be =
ideal to
> avoid the inevitable bikeshedding that I can foresee resulting from =
this
> conversation, but if that truly isn't an option, then I suppose I =
personally
> wouldn't be bothered if the appearance was changed back to how I =
experienced it
> on my system in Emacs 30.
>


I just filed bug#80679 that requested a reversion to the NS 30 title and
toolbar layout.

While making this configurable would be a nice to have, I think that is
separable from the change in UI layout.





=E2=80=94
Charles Y. Choi, Ph.D.
kickingvegas@HIDDEN









Information forwarded to bug-gnu-emacs@HIDDEN:
bug#80307; Package emacs. Full text available.
Forcibly Merged 80307 80679. Request was from Eli Zaretskii <eliz@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 80307 <at> debbugs.gnu.org:


Received: (at 80307) by debbugs.gnu.org; 14 Mar 2026 10:13:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 14 06:13:16 2026
Received: from localhost ([127.0.0.1]:52885 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1w1Lzg-0006ld-CP
	for submit <at> debbugs.gnu.org; Sat, 14 Mar 2026 06:13:16 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:56210)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1w1Lze-0006km-8N
 for 80307 <at> debbugs.gnu.org; Sat, 14 Mar 2026 06:13:14 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1w1LzY-0000oJ-Tq; Sat, 14 Mar 2026 06:13:08 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=0PqJq8WzlVpLMZSPUjTMBVQVhaUG5OC0xqvq8k2B3yQ=; b=ecMTUfVYKR2MJi6UiFG3
 qJL8BGrumLavTgrRFix5vb6DzxjC27YF/Qbu6mdvMaMiP2atecwA/3WGrywC0Iujk/u8lEjgQPIqN
 Z0csIulNOGNWCBTd1ytk2Cce5FyQ11VrjWV7y0JDvCO+mEMVuCjmw+3Gs5dgxZDkSXC1UlaqSTL31
 gnaqB1iH5BrVcrJE0Z34ruqbunTB2Rl1ktCQO3s+oVh0YmKF7nhhkn0GKTsWMqpgj5bFBAwVKgcDk
 47IbVznTYM1DHOwpnA2EVTDEMK78cZd34eTRCoDej2Ao0tOVNfJfOnTS6tXY3bK0pnqFOiUTERj0j
 I3aCKmA39SbTFw==;
Date: Sat, 14 Mar 2026 12:13:05 +0200
Message-Id: <86qzpmafda.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: luangruo@HIDDEN
In-Reply-To: <86jyvx2eq1.fsf@HIDDEN> (message from Eli Zaretskii on Sat, 28
 Feb 2026 15:13:26 +0200)
Subject: Re: bug#80307: Add ns-toolbar-style frame parameter on macOS
References: <a2ed9095-e014-4902-90a5-9329a5f17297@HIDDEN>
 <86a4xs4xl3.fsf@HIDDEN> <73b73b62-155a-48f5-afc0-ab401f721372@HIDDEN>
 <86ikcf2uu4.fsf@HIDDEN>
 <CAN+1HbqrLO44574kZnuum0K=O3o4f50m+8DT_N8puTQ+bMo7ng@HIDDEN>
 <86qzr318md.fsf@HIDDEN>
 <CAN+1HbpgkdCf1fAvRwLCqkfbR2JjZLQ-Xh_DzCNqJ4M5YtVF5A@HIDDEN>
 <86o6m714wp.fsf@HIDDEN>
 <CAN+1HbpvB0txw-o7=6PbPqaUpXSH2zF+PCjsBtkwG6ohF6tPYw@HIDDEN>
 <86ms1r13bt.fsf@HIDDEN> <86ecmnpm6y.fsf@HIDDEN>
 <4f3c4e22-f655-4eab-8d8f-99fa040def6e@HIDDEN> <865x7m9igt.fsf@HIDDEN>
 <86jyvx2eq1.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 80307
Cc: opensauce04@HIDDEN, 80307 <at> debbugs.gnu.org, shipmints@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Ping! Ping!  Po Lu, please respond.

> Cc: opensauce04@HIDDEN, 80307 <at> debbugs.gnu.org, shipmints@HIDDEN
> Date: Sat, 28 Feb 2026 15:13:26 +0200
> From: Eli Zaretskii <eliz@HIDDEN>
> 
> Ping!  Po Lu, please chime in.
> 
> > Cc: 80307 <at> debbugs.gnu.org, shipmints@HIDDEN
> > Date: Tue, 24 Feb 2026 19:09:22 +0200
> > From: Eli Zaretskii <eliz@HIDDEN>
> > 
> > > Date: Tue, 24 Feb 2026 14:25:24 +0000
> > > Cc: 80307 <at> debbugs.gnu.org, shipmints@HIDDEN
> > > From: opensauce04@HIDDEN
> > > 
> > > >> Cc: opensauce04@HIDDEN, 80307 <at> debbugs.gnu.org
> > > >> Date: Mon, 02 Feb 2026 19:07:50 +0200
> > > >> From: Eli Zaretskii <eliz@HIDDEN>
> > > >>
> > > >>> From: Stéphane Marks <shipmints@HIDDEN>
> > > >>> Date: Mon, 2 Feb 2026 11:51:40 -0500
> > > >>> Cc: opensauce04@HIDDEN, 80307 <at> debbugs.gnu.org
> > > >>>
> > > >>> On Mon, Feb 2, 2026 at 11:33 AM Eli Zaretskii <eliz@HIDDEN> wrote:
> > > >>>
> > > >>>   > From: Stéphane Marks <shipmints@HIDDEN>
> > > >>>   > Date: Mon, 2 Feb 2026 10:37:00 -0500
> > > >>>   > Cc: opensauce04@HIDDEN, 80307 <at> debbugs.gnu.org
> > > >>>   >
> > > >>>   > I see this in gtkutil which is the closest analog since GTK itself doesn't support the precise set of
> > > >>>   values as
> > > >>>   > NS/macOS:
> > > >>>   >
> > > >>>   > static void
> > > >>>   > xg_pack_tool_bar (struct frame *f, Lisp_Object pos)
> > > >>>   > {
> > > >>>   >   xp_output *x = f->output_data.xp;
> > > >>>   >   bool into_hbox = EQ (pos, Qleft) || EQ (pos, Qright);
> > > >>>   >   GtkWidget *top_widget = x->toolbar_widget;
> > > >>>   >
> > > >>>   >   gtk_orientable_set_orientation (GTK_ORIENTABLE (x->toolbar_widget),
> > > >>>   >                                   into_hbox
> > > >>>   >                                   ? GTK_ORIENTATION_VERTICAL
> > > >>>   >                                   : GTK_ORIENTATION_HORIZONTAL);
> > > >>>
> > > >>>   I don't know what that means (I know nothing about GTK), but if
> > > >>>   someone explains what this does/allows, we could discuss whether it is
> > > >>>   close enough to what the OP suggested for macOS.
> > > >>>
> > > >>> I tried to find a picture on the web but came up short. I'm no GTK expert. Perhaps Po Lu could be of some
> > > >>> assitance here.
> > > >> If we add him to the discussion.  Done.
> > > > Po Lu, any comments or suggestions regarding this?
> > > What should we do if this person doesn't respond? Change the default? 
> > > Add the config option?
> > 
> > We should wait for him to respond.  Or for some other expert on this
> > to review the patch.
> > 
> > 
> > 
> > 
> 
> 
> 
> 




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#80307; Package emacs. Full text available.

Message received at 80307 <at> debbugs.gnu.org:


Received: (at 80307) by debbugs.gnu.org; 28 Feb 2026 13:13:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Feb 28 08:13:41 2026
Received: from localhost ([127.0.0.1]:35484 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1vwK8b-0004gs-Fa
	for submit <at> debbugs.gnu.org; Sat, 28 Feb 2026 08:13:41 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:60472)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1vwK8Y-0004gP-P7
 for 80307 <at> debbugs.gnu.org; Sat, 28 Feb 2026 08:13:39 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1vwK8T-000400-B2; Sat, 28 Feb 2026 08:13:33 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=e5eJlWaip8Aq4F1TtDPlCKR6r4Ey9g5Hsmjht4S4uEY=; b=VjWCAGbI8uEhBvTyZLOK
 IbqRkO+JT0BQLxsW+Ar3jtdbrp+BND9+zD4flAJHf/vjd+32yOrXWLutFUHKno1yguv2nUDCGsOOm
 2m0MFiDDCK7hrGXWP4o5KUJoB6h/Q+UKcSj9iUl2gz1nZdDWe2HmnTPoOmQQry/G0UPNQ3l+CW6NZ
 IjkpBdDwCJ7izkA9x/QZM0O66AT6wuvbsSKZsYubin4p46t17GmOz0cS4pwh46+xaqZpLtXOn8b9b
 7tnLU3SyMr5pPGjh6pmWMhpQeRG2IasRaAkntO7Qo/xOqCVH8oQXqOvi/pIUlo78oePVVIAaajP8G
 CY3eL5qwjI7+HA==;
Date: Sat, 28 Feb 2026 15:13:26 +0200
Message-Id: <86jyvx2eq1.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Po Lu <luangruo@HIDDEN>
In-Reply-To: <865x7m9igt.fsf@HIDDEN> (message from Eli Zaretskii on Tue, 24
 Feb 2026 19:09:22 +0200)
Subject: Re: bug#80307: Add ns-toolbar-style frame parameter on macOS
References: <a2ed9095-e014-4902-90a5-9329a5f17297@HIDDEN>
 <86a4xs4xl3.fsf@HIDDEN> <73b73b62-155a-48f5-afc0-ab401f721372@HIDDEN>
 <86ikcf2uu4.fsf@HIDDEN>
 <CAN+1HbqrLO44574kZnuum0K=O3o4f50m+8DT_N8puTQ+bMo7ng@HIDDEN>
 <86qzr318md.fsf@HIDDEN>
 <CAN+1HbpgkdCf1fAvRwLCqkfbR2JjZLQ-Xh_DzCNqJ4M5YtVF5A@HIDDEN>
 <86o6m714wp.fsf@HIDDEN>
 <CAN+1HbpvB0txw-o7=6PbPqaUpXSH2zF+PCjsBtkwG6ohF6tPYw@HIDDEN>
 <86ms1r13bt.fsf@HIDDEN> <86ecmnpm6y.fsf@HIDDEN>
 <4f3c4e22-f655-4eab-8d8f-99fa040def6e@HIDDEN> <865x7m9igt.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 80307
Cc: opensauce04@HIDDEN, 80307 <at> debbugs.gnu.org, shipmints@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Ping!  Po Lu, please chime in.

> Cc: 80307 <at> debbugs.gnu.org, shipmints@HIDDEN
> Date: Tue, 24 Feb 2026 19:09:22 +0200
> From: Eli Zaretskii <eliz@HIDDEN>
> 
> > Date: Tue, 24 Feb 2026 14:25:24 +0000
> > Cc: 80307 <at> debbugs.gnu.org, shipmints@HIDDEN
> > From: opensauce04@HIDDEN
> > 
> > >> Cc: opensauce04@HIDDEN, 80307 <at> debbugs.gnu.org
> > >> Date: Mon, 02 Feb 2026 19:07:50 +0200
> > >> From: Eli Zaretskii <eliz@HIDDEN>
> > >>
> > >>> From: Stéphane Marks <shipmints@HIDDEN>
> > >>> Date: Mon, 2 Feb 2026 11:51:40 -0500
> > >>> Cc: opensauce04@HIDDEN, 80307 <at> debbugs.gnu.org
> > >>>
> > >>> On Mon, Feb 2, 2026 at 11:33 AM Eli Zaretskii <eliz@HIDDEN> wrote:
> > >>>
> > >>>   > From: Stéphane Marks <shipmints@HIDDEN>
> > >>>   > Date: Mon, 2 Feb 2026 10:37:00 -0500
> > >>>   > Cc: opensauce04@HIDDEN, 80307 <at> debbugs.gnu.org
> > >>>   >
> > >>>   > I see this in gtkutil which is the closest analog since GTK itself doesn't support the precise set of
> > >>>   values as
> > >>>   > NS/macOS:
> > >>>   >
> > >>>   > static void
> > >>>   > xg_pack_tool_bar (struct frame *f, Lisp_Object pos)
> > >>>   > {
> > >>>   >   xp_output *x = f->output_data.xp;
> > >>>   >   bool into_hbox = EQ (pos, Qleft) || EQ (pos, Qright);
> > >>>   >   GtkWidget *top_widget = x->toolbar_widget;
> > >>>   >
> > >>>   >   gtk_orientable_set_orientation (GTK_ORIENTABLE (x->toolbar_widget),
> > >>>   >                                   into_hbox
> > >>>   >                                   ? GTK_ORIENTATION_VERTICAL
> > >>>   >                                   : GTK_ORIENTATION_HORIZONTAL);
> > >>>
> > >>>   I don't know what that means (I know nothing about GTK), but if
> > >>>   someone explains what this does/allows, we could discuss whether it is
> > >>>   close enough to what the OP suggested for macOS.
> > >>>
> > >>> I tried to find a picture on the web but came up short. I'm no GTK expert. Perhaps Po Lu could be of some
> > >>> assitance here.
> > >> If we add him to the discussion.  Done.
> > > Po Lu, any comments or suggestions regarding this?
> > What should we do if this person doesn't respond? Change the default? 
> > Add the config option?
> 
> We should wait for him to respond.  Or for some other expert on this
> to review the patch.
> 
> 
> 
> 




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#80307; Package emacs. Full text available.

Message received at 80307 <at> debbugs.gnu.org:


Received: (at 80307) by debbugs.gnu.org; 24 Feb 2026 17:09:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 24 12:09:58 2026
Received: from localhost ([127.0.0.1]:44832 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1vuvv4-0005PT-H2
	for submit <at> debbugs.gnu.org; Tue, 24 Feb 2026 12:09:58 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:51290)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1vuvv2-0005PG-N5
 for 80307 <at> debbugs.gnu.org; Tue, 24 Feb 2026 12:09:57 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1vuvur-0006DO-W0; Tue, 24 Feb 2026 12:09:49 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=/VdMdj1BJm89U32Ylnq7mi82rL5rsWk2KIxQiuQPjzE=; b=HljSKSRDLJueqfeTkfeQ
 u+PtnTd9pOLngdpzf6VI012x3n58wAdZ/u5gexrTEUrUOtS67QZxvFcNiWKHc0KtwdOslnpl4cW1h
 GtYBRvAdqgjfcyap0//Xt+rhgKxs1hjPiiwwNCsCqXObIxeqbCFJvL05eWiARMZvPINnhdxhESjrx
 aFz66kIDv6uv2R54nk2yNbjg9f4QSE1XMKSIZuY4L1JyckA4gOtWiwJvOuUUskH5kcPTfj946jpRX
 CntIz1kX79qK/EhcHF3Fq+OkqlrXeR5jkcdSOw27z8ZGRxeKXsUAAQeBrxOQ76LK7I1OdEDJl8yNE
 ivUPf5Dyq36Nfg==;
Date: Tue, 24 Feb 2026 19:09:22 +0200
Message-Id: <865x7m9igt.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: opensauce04@HIDDEN
In-Reply-To: <4f3c4e22-f655-4eab-8d8f-99fa040def6e@HIDDEN>
 (opensauce04@HIDDEN)
Subject: Re: bug#80307: Add ns-toolbar-style frame parameter on macOS
References: <a2ed9095-e014-4902-90a5-9329a5f17297@HIDDEN>
 <86a4xs4xl3.fsf@HIDDEN> <73b73b62-155a-48f5-afc0-ab401f721372@HIDDEN>
 <86ikcf2uu4.fsf@HIDDEN>
 <CAN+1HbqrLO44574kZnuum0K=O3o4f50m+8DT_N8puTQ+bMo7ng@HIDDEN>
 <86qzr318md.fsf@HIDDEN>
 <CAN+1HbpgkdCf1fAvRwLCqkfbR2JjZLQ-Xh_DzCNqJ4M5YtVF5A@HIDDEN>
 <86o6m714wp.fsf@HIDDEN>
 <CAN+1HbpvB0txw-o7=6PbPqaUpXSH2zF+PCjsBtkwG6ohF6tPYw@HIDDEN>
 <86ms1r13bt.fsf@HIDDEN> <86ecmnpm6y.fsf@HIDDEN>
 <4f3c4e22-f655-4eab-8d8f-99fa040def6e@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 80307
Cc: 80307 <at> debbugs.gnu.org, shipmints@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Tue, 24 Feb 2026 14:25:24 +0000
> Cc: 80307 <at> debbugs.gnu.org, shipmints@HIDDEN
> From: opensauce04@HIDDEN
> 
> >> Cc: opensauce04@HIDDEN, 80307 <at> debbugs.gnu.org
> >> Date: Mon, 02 Feb 2026 19:07:50 +0200
> >> From: Eli Zaretskii <eliz@HIDDEN>
> >>
> >>> From: Stéphane Marks <shipmints@HIDDEN>
> >>> Date: Mon, 2 Feb 2026 11:51:40 -0500
> >>> Cc: opensauce04@HIDDEN, 80307 <at> debbugs.gnu.org
> >>>
> >>> On Mon, Feb 2, 2026 at 11:33 AM Eli Zaretskii <eliz@HIDDEN> wrote:
> >>>
> >>>   > From: Stéphane Marks <shipmints@HIDDEN>
> >>>   > Date: Mon, 2 Feb 2026 10:37:00 -0500
> >>>   > Cc: opensauce04@HIDDEN, 80307 <at> debbugs.gnu.org
> >>>   >
> >>>   > I see this in gtkutil which is the closest analog since GTK itself doesn't support the precise set of
> >>>   values as
> >>>   > NS/macOS:
> >>>   >
> >>>   > static void
> >>>   > xg_pack_tool_bar (struct frame *f, Lisp_Object pos)
> >>>   > {
> >>>   >   xp_output *x = f->output_data.xp;
> >>>   >   bool into_hbox = EQ (pos, Qleft) || EQ (pos, Qright);
> >>>   >   GtkWidget *top_widget = x->toolbar_widget;
> >>>   >
> >>>   >   gtk_orientable_set_orientation (GTK_ORIENTABLE (x->toolbar_widget),
> >>>   >                                   into_hbox
> >>>   >                                   ? GTK_ORIENTATION_VERTICAL
> >>>   >                                   : GTK_ORIENTATION_HORIZONTAL);
> >>>
> >>>   I don't know what that means (I know nothing about GTK), but if
> >>>   someone explains what this does/allows, we could discuss whether it is
> >>>   close enough to what the OP suggested for macOS.
> >>>
> >>> I tried to find a picture on the web but came up short. I'm no GTK expert. Perhaps Po Lu could be of some
> >>> assitance here.
> >> If we add him to the discussion.  Done.
> > Po Lu, any comments or suggestions regarding this?
> What should we do if this person doesn't respond? Change the default? 
> Add the config option?

We should wait for him to respond.  Or for some other expert on this
to review the patch.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#80307; Package emacs. Full text available.

Message received at 80307 <at> debbugs.gnu.org:


Received: (at 80307) by debbugs.gnu.org; 24 Feb 2026 14:25:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 24 09:25:30 2026
Received: from localhost ([127.0.0.1]:42130 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1vutLu-0003Jk-5S
	for submit <at> debbugs.gnu.org; Tue, 24 Feb 2026 09:25:30 -0500
Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:55479)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <opensauce04@HIDDEN>)
 id 1vutLr-0003JS-82
 for 80307 <at> debbugs.gnu.org; Tue, 24 Feb 2026 09:25:27 -0500
Received: by mail-wr1-x429.google.com with SMTP id
 ffacd0b85a97d-439857ec679so695059f8f.2
 for <80307 <at> debbugs.gnu.org>; Tue, 24 Feb 2026 06:25:27 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1771943126; x=1772547926; darn=debbugs.gnu.org;
 h=content-transfer-encoding:in-reply-to:from:cc:content-language
 :references:to:subject:user-agent:mime-version:date:message-id:from
 :to:cc:subject:date:message-id:reply-to;
 bh=GCELBzs+a2j5wK0KBwQc+qobEFHs/4WHN3dOzEuTn8Q=;
 b=QVlcd3V6tkp4CpjEwx3cz49InRa0HmFQ071rhAebBN5b65pqPpkbGt9X7czakqAf2/
 fg6wLyU/sA4PEr9uUmVAGsGuXRinOazP8AN+yZjwRSh8oAZQtp8Iqj7FmghI1mUFyUXh
 4m4LxBx7OwakDXh/BS7Ep/IBxQoDAboyKLXeBmczw5VdOSsDSgcRC339RYGK296H2mAh
 HJ9hLnmGwKucrlYcuEhrV5yJkA7cam+2Etiv5dPPFAKOPmmQq554YBysAB06KwxDzF1Y
 VYxlj8NkXCsz8nNUfTP+ke2hAPkD9pkaQK7GIRIKEL0uGXgXzkVPiF6dujKmTNhnh7Bc
 nhlA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1771943126; x=1772547926;
 h=content-transfer-encoding:in-reply-to:from:cc:content-language
 :references:to:subject:user-agent:mime-version:date:message-id
 :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=GCELBzs+a2j5wK0KBwQc+qobEFHs/4WHN3dOzEuTn8Q=;
 b=X6vgztODkjaTdYSn38T9dsMBGsVST+4+mCQ2kBMsWczfs6ekOy+QqYbyeIY2tmbRMK
 ecPWyhoZU5Fp9UFFVLuvGPfNVbBQfk86Kvn2b90sb9cPKZ9F6tR2jBNOhwkNJPognkb+
 oRDw6dsDbD/4xk8apfv7/Rovxd2SGKNltirJbi666S8kqmT5tCdvKwAhPPPa85S6vO0M
 p/I+j30ROedZWYx4QMnWRzUQ7uq+OMYcGJ/bJ+XrCSUHBMZ3/4sNJvmF/zxOmiCgLVfn
 1XTYnMO3NZvX9XYDv70To5ySp3JYH+ZGUjzXnIdluwuNLtHhAsl+l27rHN1og340o53/
 +WGQ==
X-Gm-Message-State: AOJu0Ywjz7LaME3fajXxU/EkTCHs+5A9o5XgZPXgEBpfkS0kUX4wqhjl
 yeHG14ObZY7YeXOcMYw3NCdezenS8NPnYZOGASE3yuRqsHMfjwuddrUN
X-Gm-Gg: AZuq6aLyBJClre+2mVQBqpZQ2n+NvoIqJ/r+ro8vYONZvcEaR2srw7IG+j1Lh+Xn19I
 RxLJFW4kAuDJGpvam3ynWu+1/BPN2HPL6L1FWPYp9+zm0kRzFy1KRzN+jKQ8kkBwu5X41j/yxLQ
 erabNSGGrDytKf2HODGuW1Ae6iF9kwBGTUtgpx96QOMtV6qNUYgJqKSTwMik+xRO2hLEv8lKtTc
 uq9sz1jPQIC9E8e4XSwP2UfXduEqXp0KpiWjsAjM5OmTAMqgJCxOcLJac56n90Itmp82Gm//L8e
 Wj/5I4hz1RopLh2brXtzljNIsXUgpFKtzlXMh8Bc+jvemwhEkgZlnwSFCoe1HZYkujdbPBhJJN3
 DD5NlNdEKkvLbuA1vc+xHzj3F4G6BdFT8W7RR/RuyYZ7jIOThvbkFfDYubpR3qDv42XIS7QD886
 p5hzrNWus6qWzvrDByB0RaOFhtkiLQqkV7JUpc4+216IpFpPvt2lA/HYTWvobFeXX8FZfNew7NY
 HcQVKU4C5m5UrE9wniqrkLoi2Dd2g6njQ==
X-Received: by 2002:a05:600c:6094:b0:483:8f0f:36fe with SMTP id
 5b1f17b1804b1-483a95eac45mr216007565e9.1.1771943125782; 
 Tue, 24 Feb 2026 06:25:25 -0800 (PST)
Received: from ?IPV6:2a0a:ef40:188:2101:adc6:fcad:e09f:1c6e?
 ([2a0a:ef40:188:2101:adc6:fcad:e09f:1c6e])
 by smtp.gmail.com with ESMTPSA id
 5b1f17b1804b1-483bd75df9fsm1994925e9.13.2026.02.24.06.25.24
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Tue, 24 Feb 2026 06:25:25 -0800 (PST)
Message-ID: <4f3c4e22-f655-4eab-8d8f-99fa040def6e@HIDDEN>
Date: Tue, 24 Feb 2026 14:25:24 +0000
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#80307: Add ns-toolbar-style frame parameter on macOS
To: Eli Zaretskii <eliz@HIDDEN>
References: <a2ed9095-e014-4902-90a5-9329a5f17297@HIDDEN>
 <86a4xs4xl3.fsf@HIDDEN> <73b73b62-155a-48f5-afc0-ab401f721372@HIDDEN>
 <86ikcf2uu4.fsf@HIDDEN>
 <CAN+1HbqrLO44574kZnuum0K=O3o4f50m+8DT_N8puTQ+bMo7ng@HIDDEN>
 <86qzr318md.fsf@HIDDEN>
 <CAN+1HbpgkdCf1fAvRwLCqkfbR2JjZLQ-Xh_DzCNqJ4M5YtVF5A@HIDDEN>
 <86o6m714wp.fsf@HIDDEN>
 <CAN+1HbpvB0txw-o7=6PbPqaUpXSH2zF+PCjsBtkwG6ohF6tPYw@HIDDEN>
 <86ms1r13bt.fsf@HIDDEN> <86ecmnpm6y.fsf@HIDDEN>
Content-Language: en-GB
From: opensauce04@HIDDEN
In-Reply-To: <86ecmnpm6y.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Spam-Score: 1.3 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  >> Cc: opensauce04@HIDDEN, 80307 <at> debbugs.gnu.org >> Date:
    Mon, 02 Feb 2026 19:07:50 +0200 >> From: Eli Zaretskii >> >>> From: Stéphane
    Marks >>> Date: Mon, 2 Feb 2026 11:51:40 -0500 >>> Cc: op [...] 
 
 Content analysis details:   (1.3 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
                              no trust
                             [2a00:1450:4864:20:0:0:0:429 listed in]
                             [list.dnswl.org]
  1.0 FORGED_GMAIL_RCVD      'From' gmail.com does not match 'Received'
                             headers
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (opensauce04[at]gmail.com)
  0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
                             in digit (opensauce04[at]gmail.com)
 -0.0 SPF_PASS               SPF: sender matches SPF record
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
X-Debbugs-Envelope-To: 80307
Cc: 80307 <at> debbugs.gnu.org, shipmints@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.3 (/)

>> Cc: opensauce04@HIDDEN, 80307 <at> debbugs.gnu.org
>> Date: Mon, 02 Feb 2026 19:07:50 +0200
>> From: Eli Zaretskii <eliz@HIDDEN>
>>
>>> From: Stéphane Marks <shipmints@HIDDEN>
>>> Date: Mon, 2 Feb 2026 11:51:40 -0500
>>> Cc: opensauce04@HIDDEN, 80307 <at> debbugs.gnu.org
>>>
>>> On Mon, Feb 2, 2026 at 11:33 AM Eli Zaretskii <eliz@HIDDEN> wrote:
>>>
>>>   > From: Stéphane Marks <shipmints@HIDDEN>
>>>   > Date: Mon, 2 Feb 2026 10:37:00 -0500
>>>   > Cc: opensauce04@HIDDEN, 80307 <at> debbugs.gnu.org
>>>   >
>>>   > I see this in gtkutil which is the closest analog since GTK itself doesn't support the precise set of
>>>   values as
>>>   > NS/macOS:
>>>   >
>>>   > static void
>>>   > xg_pack_tool_bar (struct frame *f, Lisp_Object pos)
>>>   > {
>>>   >   xp_output *x = f->output_data.xp;
>>>   >   bool into_hbox = EQ (pos, Qleft) || EQ (pos, Qright);
>>>   >   GtkWidget *top_widget = x->toolbar_widget;
>>>   >
>>>   >   gtk_orientable_set_orientation (GTK_ORIENTABLE (x->toolbar_widget),
>>>   >                                   into_hbox
>>>   >                                   ? GTK_ORIENTATION_VERTICAL
>>>   >                                   : GTK_ORIENTATION_HORIZONTAL);
>>>
>>>   I don't know what that means (I know nothing about GTK), but if
>>>   someone explains what this does/allows, we could discuss whether it is
>>>   close enough to what the OP suggested for macOS.
>>>
>>> I tried to find a picture on the web but came up short. I'm no GTK expert. Perhaps Po Lu could be of some
>>> assitance here.
>> If we add him to the discussion.  Done.
> Po Lu, any comments or suggestions regarding this?
What should we do if this person doesn't respond? Change the default? 
Add the config option?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#80307; Package emacs. Full text available.

Message received at 80307 <at> debbugs.gnu.org:


Received: (at 80307) by debbugs.gnu.org; 14 Feb 2026 12:02:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Feb 14 07:02:57 2026
Received: from localhost ([127.0.0.1]:43209 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1vrEMS-0003iN-UD
	for submit <at> debbugs.gnu.org; Sat, 14 Feb 2026 07:02:57 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:34210)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1vrEMQ-0003i7-AW
 for 80307 <at> debbugs.gnu.org; Sat, 14 Feb 2026 07:02:54 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1vrEML-000750-02; Sat, 14 Feb 2026 07:02:49 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=BxqXct4SWzi+douOzKzKUF56T+WFntHnwNwyv8toh+o=; b=sOZ/+rD7EyiAmLHxwVzJ
 dYRo+csfZUkg+zWN6mAU5tAYsVUe9TTBdIOlRrtPo7k9EOwgveRmXm7Wupy0USU4vIgQ0KHK5eegI
 RlfQ1SkIuVQIqlqbAbjil33EwXaB/3/S5vyk4xfDceKmoFejzszChsVrn05VJ3U73VEKFCx5y9gDL
 QOSNZZ18VaYHVVlEgVgr/36eRQIYAtT+HwXBz6xwn02GsHh7WcD4sk9wvc112+o+kcA3qle2aeB9s
 C1nVjxSPuLt59tvsGhy1kZeGykFpNXzVQl4mqQrVpO5sfazy2pZpPdoGT/Hm+9XCgm1f/5Z3m0/HH
 qgneFRBJIv4G4w==;
Date: Sat, 14 Feb 2026 14:02:45 +0200
Message-Id: <86ecmnpm6y.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Po Lu <luangruo@HIDDEN>
In-Reply-To: <86ms1r13bt.fsf@HIDDEN> (message from Eli Zaretskii on Mon, 02
 Feb 2026 19:07:50 +0200)
Subject: Re: bug#80307: Add ns-toolbar-style frame parameter on macOS
References: <a2ed9095-e014-4902-90a5-9329a5f17297@HIDDEN>
 <86a4xs4xl3.fsf@HIDDEN> <73b73b62-155a-48f5-afc0-ab401f721372@HIDDEN>
 <86ikcf2uu4.fsf@HIDDEN>
 <CAN+1HbqrLO44574kZnuum0K=O3o4f50m+8DT_N8puTQ+bMo7ng@HIDDEN>
 <86qzr318md.fsf@HIDDEN>
 <CAN+1HbpgkdCf1fAvRwLCqkfbR2JjZLQ-Xh_DzCNqJ4M5YtVF5A@HIDDEN>
 <86o6m714wp.fsf@HIDDEN>
 <CAN+1HbpvB0txw-o7=6PbPqaUpXSH2zF+PCjsBtkwG6ohF6tPYw@HIDDEN>
 <86ms1r13bt.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 80307
Cc: opensauce04@HIDDEN, 80307 <at> debbugs.gnu.org, shipmints@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Cc: opensauce04@HIDDEN, 80307 <at> debbugs.gnu.org
> Date: Mon, 02 Feb 2026 19:07:50 +0200
> From: Eli Zaretskii <eliz@HIDDEN>
> 
> > From: Stéphane Marks <shipmints@HIDDEN>
> > Date: Mon, 2 Feb 2026 11:51:40 -0500
> > Cc: opensauce04@HIDDEN, 80307 <at> debbugs.gnu.org
> > 
> > On Mon, Feb 2, 2026 at 11:33 AM Eli Zaretskii <eliz@HIDDEN> wrote:
> > 
> >  > From: Stéphane Marks <shipmints@HIDDEN>
> >  > Date: Mon, 2 Feb 2026 10:37:00 -0500
> >  > Cc: opensauce04@HIDDEN, 80307 <at> debbugs.gnu.org
> >  > 
> >  > I see this in gtkutil which is the closest analog since GTK itself doesn't support the precise set of
> >  values as
> >  > NS/macOS:
> >  > 
> >  > static void
> >  > xg_pack_tool_bar (struct frame *f, Lisp_Object pos)
> >  > {
> >  >   xp_output *x = f->output_data.xp;
> >  >   bool into_hbox = EQ (pos, Qleft) || EQ (pos, Qright);
> >  >   GtkWidget *top_widget = x->toolbar_widget;
> >  > 
> >  >   gtk_orientable_set_orientation (GTK_ORIENTABLE (x->toolbar_widget),
> >  >                                   into_hbox
> >  >                                   ? GTK_ORIENTATION_VERTICAL
> >  >                                   : GTK_ORIENTATION_HORIZONTAL);
> > 
> >  I don't know what that means (I know nothing about GTK), but if
> >  someone explains what this does/allows, we could discuss whether it is
> >  close enough to what the OP suggested for macOS.
> > 
> > I tried to find a picture on the web but came up short. I'm no GTK expert. Perhaps Po Lu could be of some
> > assitance here.
> 
> If we add him to the discussion.  Done.

Po Lu, any comments or suggestions regarding this?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#80307; Package emacs. Full text available.

Message received at 80307 <at> debbugs.gnu.org:


Received: (at 80307) by debbugs.gnu.org; 2 Feb 2026 17:08:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 02 12:08:00 2026
Received: from localhost ([127.0.0.1]:60542 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1vmxP5-00081g-QL
	for submit <at> debbugs.gnu.org; Mon, 02 Feb 2026 12:08:00 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:48222)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1vmxP4-00081T-9q
 for 80307 <at> debbugs.gnu.org; Mon, 02 Feb 2026 12:07:58 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1vmxOy-0005lG-Un; Mon, 02 Feb 2026 12:07:52 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=J44c7Z/X3jeXGnzpyUYM5n2X1D3EQLD8N78pXqgW1V8=; b=WJvy11EgPXiNGd6jTdjs
 BlAb0IEpAynhMFf47q88fGBVDHKZ8zwJ7TuWNQAK9gfwXgiFnx/aVKqwrp0254qUmIyjJH+wYq4sV
 XZXUjbH5tVMGjHlQJg0WE6lNhrWBt3REnKnXcOlz+orTlxCAF4Bbp5/NQND9Mx2fxTQ2JSj+935xx
 Wjr9BlgNprP3R1kpJeVE3DfaRcPQkIi7IWgWyufWym4HrRarHT/JwJjuHjoA2ups2+wqfe9A22g5i
 KdF1YmYP/jSTUI9kwN2OkAgdPHM2R3F2j9+zwZI6YDEik5+ZtTEAk28dCR1Snnw60bun9AztHHAx2
 9fSKSH2Ye2zUgw==;
Date: Mon, 02 Feb 2026 19:07:50 +0200
Message-Id: <86ms1r13bt.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: =?utf-8?Q?St=C3=A9phane?= Marks <shipmints@HIDDEN>, Po Lu
 <luangruo@HIDDEN>
In-Reply-To: <CAN+1HbpvB0txw-o7=6PbPqaUpXSH2zF+PCjsBtkwG6ohF6tPYw@HIDDEN>
 (message from =?utf-8?Q?St=C3=A9phane?= Marks on Mon, 2 Feb 2026 11:51:40
 -0500)
Subject: Re: bug#80307: Add ns-toolbar-style frame parameter on macOS
References: <a2ed9095-e014-4902-90a5-9329a5f17297@HIDDEN>
 <86a4xs4xl3.fsf@HIDDEN> <73b73b62-155a-48f5-afc0-ab401f721372@HIDDEN>
 <86ikcf2uu4.fsf@HIDDEN>
 <CAN+1HbqrLO44574kZnuum0K=O3o4f50m+8DT_N8puTQ+bMo7ng@HIDDEN>
 <86qzr318md.fsf@HIDDEN>
 <CAN+1HbpgkdCf1fAvRwLCqkfbR2JjZLQ-Xh_DzCNqJ4M5YtVF5A@HIDDEN>
 <86o6m714wp.fsf@HIDDEN>
 <CAN+1HbpvB0txw-o7=6PbPqaUpXSH2zF+PCjsBtkwG6ohF6tPYw@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 80307
Cc: opensauce04@HIDDEN, 80307 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Stéphane Marks <shipmints@HIDDEN>
> Date: Mon, 2 Feb 2026 11:51:40 -0500
> Cc: opensauce04@HIDDEN, 80307 <at> debbugs.gnu.org
> 
> On Mon, Feb 2, 2026 at 11:33 AM Eli Zaretskii <eliz@HIDDEN> wrote:
> 
>  > From: Stéphane Marks <shipmints@HIDDEN>
>  > Date: Mon, 2 Feb 2026 10:37:00 -0500
>  > Cc: opensauce04@HIDDEN, 80307 <at> debbugs.gnu.org
>  > 
>  > I see this in gtkutil which is the closest analog since GTK itself doesn't support the precise set of
>  values as
>  > NS/macOS:
>  > 
>  > static void
>  > xg_pack_tool_bar (struct frame *f, Lisp_Object pos)
>  > {
>  >   xp_output *x = f->output_data.xp;
>  >   bool into_hbox = EQ (pos, Qleft) || EQ (pos, Qright);
>  >   GtkWidget *top_widget = x->toolbar_widget;
>  > 
>  >   gtk_orientable_set_orientation (GTK_ORIENTABLE (x->toolbar_widget),
>  >                                   into_hbox
>  >                                   ? GTK_ORIENTATION_VERTICAL
>  >                                   : GTK_ORIENTATION_HORIZONTAL);
> 
>  I don't know what that means (I know nothing about GTK), but if
>  someone explains what this does/allows, we could discuss whether it is
>  close enough to what the OP suggested for macOS.
> 
> I tried to find a picture on the web but came up short. I'm no GTK expert. Perhaps Po Lu could be of some
> assitance here.

If we add him to the discussion.  Done.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#80307; Package emacs. Full text available.

Message received at 80307 <at> debbugs.gnu.org:


Received: (at 80307) by debbugs.gnu.org; 2 Feb 2026 16:51:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 02 11:51:54 2026
Received: from localhost ([127.0.0.1]:60358 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1vmx9W-00072v-9M
	for submit <at> debbugs.gnu.org; Mon, 02 Feb 2026 11:51:54 -0500
Received: from mail-vs1-xe2b.google.com ([2607:f8b0:4864:20::e2b]:58510)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <shipmints@HIDDEN>)
 id 1vmx9U-00072m-CG
 for 80307 <at> debbugs.gnu.org; Mon, 02 Feb 2026 11:51:53 -0500
Received: by mail-vs1-xe2b.google.com with SMTP id
 ada2fe7eead31-5f539e05d63so1330305137.0
 for <80307 <at> debbugs.gnu.org>; Mon, 02 Feb 2026 08:51:52 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1770051111; cv=none;
 d=google.com; s=arc-20240605;
 b=CUuxx2x4Ahnp8ri4aaEvi/QHZxLlKjXxaCq3SRTP9VI5QiYMdZE+wr6iKGDX911Aze
 jVArAo3PDn36uaz1cSjjtBg+ZFou5BMiLTr4/Z0wASvK/IliErj3fjXUjTEMWylASSee
 PoDNXQXKzlOV6Y1oGqa9dqzgNoc74cJn95Vc9lNXNcoYtMkkNGD71hE/B+FwNHqEc1j3
 6hTcM2t0OYtnZdJlG8nFJoR6ZwOXsYsfT5tJxuetJMt+pv9TSKt+9AWsBt3rJr+JwfpN
 sCOuOKIXVJzzgQt+cVkyVP0Im64ZpfZ+wfGJJHmRWqWwbqkCZsiy/8T9gZLKEO6vk13A
 EPCg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
 s=arc-20240605; 
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:dkim-signature;
 bh=8OTvpgX3Kmc5/Muz6Ng3/RDoz0EIkuGPJCqV9pdPdVE=;
 fh=CJQ6D4RGbRpEO7vS51FzfvQYmGXWbcyljxXJYe54x6s=;
 b=XaEy3uTsNQ1ZQ4i/xIjCkXsUxJTDpM5IALAYzeD8NVegjL4/RsT53xoTNhhasG8dIo
 dFAJX5RRRMlujPefv1DLgbrSxuig0aIakDgQ7oz3jVE9vaow2TeZmKaj0XkTX8tjotNe
 kf8wYiY0yXQ69RiofRk127TyqXxwt0VcmRDJvxlRm6yiOt3SiTDdvIUnuBsixZXqfXle
 hQH/YHmu/BLzz2AZyKsCdYFX0PpZ+bXq5L0b1ZrAtBUgD+/xap0EmrQ7IFRQg6J0UpV9
 5oSL/a2tkudsK7hzmcbGQjF9ZH95VTM0cx6l4Yvbj/gNKpJNmD/ks9KqquAm+N4kIGyt
 tg4Q==; darn=debbugs.gnu.org
ARC-Authentication-Results: i=1; mx.google.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1770051111; x=1770655911; darn=debbugs.gnu.org;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:from:to:cc:subject:date:message-id:reply-to;
 bh=8OTvpgX3Kmc5/Muz6Ng3/RDoz0EIkuGPJCqV9pdPdVE=;
 b=JxEr54ofeg1DXZjPLQrSNV3IpnJTXEb1khVB+JVxzTTxBL3f9scQ0VSjDKPIYK3Qo0
 5pISH1nqCTYmpbrjM2ZXTgpjachfRROv1bk/SqVtS0hgZQWLrPsqOfTjKwQkB+3CqCvZ
 XgMeMPK/h8lr4amvQaIXpCWPM5086Z5Wny9MgGnzUASqZeC/owp+e0cG2bwQLSHoTPHz
 BqIyG2Jy24+8ENrFAIdM4bo8012uAWo7daVfnhiOFZAXEQ3BY8CMa3lBZ+7orvjEJv72
 hp1OcHmrKJVLbtdYyU1vFqaoyf65Ej6b8WJW09YAhmZUFeMI4oVbX8raEQlLls20LX+L
 lVzQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1770051111; x=1770655911;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=8OTvpgX3Kmc5/Muz6Ng3/RDoz0EIkuGPJCqV9pdPdVE=;
 b=Msewxr52s/dI/eKw7yVgLlYmKWQcEGiWOO4x2unRx1mP3d9v4KdEs/0la4BAP81tE8
 zTLI1ZQh4QuA9Jhq8QzrItT+rO2elY9YFCNdZgB6dxfP6pdtw7iwBeO3/4X64aa34Jm4
 qvLqjpRXJakyu5fe67ugRZ0P80ntVp3gBqcbPpwiGoSBej+ij42Z2EBICUgEGFYy0Ncj
 avs5WTBEycEhE6zzuOYrJ6s1/hUYk3Zoh08YsoT6da3QDsXhtHpmAoBgYG5aqA+Zsot1
 fb6HwdUBCPtp14Ohkkn8HE6EspdVf0Rud7oz2HAmB7Fi3vpxAbwSZ9sY9aIzBoG9vEDF
 k79g==
X-Forwarded-Encrypted: i=1;
 AJvYcCV6V0Y2XGVaUmx6umKSXkP9m7BVYT4j+4TBEL8RNZR8Wu9LTeumVkFWahRZimlcxSzL6O7UGA==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YyNqyP0arXEYkQJc1U4Ff0Ywht++/s+x63W6dXAKpQLWAV+7rBp
 pYC1NRZ6DhBi/eFrhrlKZ8wHcYC8Wn8EswBFKMf6m63vESWteZcmHaQrRsoCJ4hI2RAHEJIDomY
 Q/uKOx7dxK8ocTHhcV0gPcceNEYkoYjo=
X-Gm-Gg: AZuq6aI7/DEXKvIEvGQ9W23XBPSt0xtoBiwNTVm9Jbw4X2JTg2RNTluMuIQv/Bqwp6w
 p8P37sR3Z0HPXstFs+qVh25Fdo7NyExvYW+gTWiC+5kC+PYFR/hqK/zmf3jmuQcDNf2E99fD3yL
 XJjcL+8+CMVl4/yXmSWGLN4yt0wmhdHgcA7kjWVFA46dEkjqCXMIX+7rqyBDdUM5QMBMEu3WUuv
 UrvLRQkSXPy2SHkoybtw2F6fXyhxKHaC0HDXo0xa0WgdbT1BVoSaCnBBFdjA/1wxDpA9hMsbHJx
 UOnsdNS40XnP/7VnEB168eAFFK6zNCmT6tXDe0U5dfuJAbUMwwI=
X-Received: by 2002:a05:6102:304e:b0:5f5:2e08:bbab with SMTP id
 ada2fe7eead31-5f8e23e7d3amr3349475137.6.1770051111556; Mon, 02 Feb 2026
 08:51:51 -0800 (PST)
MIME-Version: 1.0
References: <a2ed9095-e014-4902-90a5-9329a5f17297@HIDDEN>
 <86a4xs4xl3.fsf@HIDDEN> <73b73b62-155a-48f5-afc0-ab401f721372@HIDDEN>
 <86ikcf2uu4.fsf@HIDDEN>
 <CAN+1HbqrLO44574kZnuum0K=O3o4f50m+8DT_N8puTQ+bMo7ng@HIDDEN>
 <86qzr318md.fsf@HIDDEN>
 <CAN+1HbpgkdCf1fAvRwLCqkfbR2JjZLQ-Xh_DzCNqJ4M5YtVF5A@HIDDEN>
 <86o6m714wp.fsf@HIDDEN>
In-Reply-To: <86o6m714wp.fsf@HIDDEN>
From: =?UTF-8?Q?St=C3=A9phane_Marks?= <shipmints@HIDDEN>
Date: Mon, 2 Feb 2026 11:51:40 -0500
X-Gm-Features: AZwV_QhTk_ICGWp79yIfqOW8cDCcjRLJt32NfgJtJktqdzb6ZY88Jo5bjw21Qis
Message-ID: <CAN+1HbpvB0txw-o7=6PbPqaUpXSH2zF+PCjsBtkwG6ohF6tPYw@HIDDEN>
Subject: Re: bug#80307: Add ns-toolbar-style frame parameter on macOS
To: Eli Zaretskii <eliz@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000bd1a530649da23e2"
X-Spam-Score: 2.0 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  On Mon, Feb 2, 2026 at 11:33 AM Eli Zaretskii wrote: > >
    From: Stéphane Marks > > Date: Mon, 2 Feb 2026 10:37:00 -0500 > > Cc: opensauce04@HIDDEN,
    80307 <at> debbugs.gnu.org > > > > I see this in gtkutil which is the closest
   analog since GTK itself > d [...] 
 
 Content analysis details:   (2.0 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
                              no trust
                             [2607:f8b0:4864:20:0:0:0:e2b listed in]
                             [list.dnswl.org]
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (shipmints[at]gmail.com)
  1.0 FORGED_GMAIL_RCVD      'From' gmail.com does not match 'Received'
                             headers
 -0.0 SPF_PASS               SPF: sender matches SPF record
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
  0.0 HTML_MESSAGE           BODY: HTML included in message
  1.0 FREEMAIL_REPLY         From and body contain different freemails
X-Debbugs-Envelope-To: 80307
Cc: opensauce04@HIDDEN, 80307 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

--000000000000bd1a530649da23e2
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Mon, Feb 2, 2026 at 11:33=E2=80=AFAM Eli Zaretskii <eliz@HIDDEN> wrote:

> > From: St=C3=A9phane Marks <shipmints@HIDDEN>
> > Date: Mon, 2 Feb 2026 10:37:00 -0500
> > Cc: opensauce04@HIDDEN, 80307 <at> debbugs.gnu.org
> >
> > I see this in gtkutil which is the closest analog since GTK itself
> doesn't support the precise set of values as
> > NS/macOS:
> >
> > static void
> > xg_pack_tool_bar (struct frame *f, Lisp_Object pos)
> > {
> >   xp_output *x =3D f->output_data.xp;
> >   bool into_hbox =3D EQ (pos, Qleft) || EQ (pos, Qright);
> >   GtkWidget *top_widget =3D x->toolbar_widget;
> >
> >   gtk_orientable_set_orientation (GTK_ORIENTABLE (x->toolbar_widget),
> >                                   into_hbox
> >                                   ? GTK_ORIENTATION_VERTICAL
> >                                   : GTK_ORIENTATION_HORIZONTAL);
>
> I don't know what that means (I know nothing about GTK), but if
> someone explains what this does/allows, we could discuss whether it is
> close enough to what the OP suggested for macOS.
>

I tried to find a picture on the web but came up short. I'm no GTK expert.
Perhaps Po Lu could be of some assitance here.

--000000000000bd1a530649da23e2
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon=
t-family:monospace"><span style=3D"font-family:Arial,Helvetica,sans-serif">=
On Mon, Feb 2, 2026 at 11:33=E2=80=AFAM Eli Zaretskii &lt;<a href=3D"mailto=
:eliz@HIDDEN">eliz@HIDDEN</a>&gt; wrote:</span></div></div><div class=3D"=
gmail_quote gmail_quote_container"><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding=
-left:1ex">&gt; From: St=C3=A9phane Marks &lt;<a href=3D"mailto:shipmints@g=
mail.com" target=3D"_blank">shipmints@HIDDEN</a>&gt;<br>
&gt; Date: Mon, 2 Feb 2026 10:37:00 -0500<br>
&gt; Cc: <a href=3D"mailto:opensauce04@HIDDEN" target=3D"_blank">opensau=
ce04@HIDDEN</a>, <a href=3D"mailto:80307 <at> debbugs.gnu.org" target=3D"_bla=
nk">80307 <at> debbugs.gnu.org</a><br>
&gt; <br>
&gt; I see this in gtkutil which is the closest analog since GTK itself doe=
sn&#39;t support the precise set of values as<br>
&gt; NS/macOS:<br>
&gt; <br>
&gt; static void<br>
&gt; xg_pack_tool_bar (struct frame *f, Lisp_Object pos)<br>
&gt; {<br>
&gt;=C2=A0 =C2=A0xp_output *x =3D f-&gt;output_data.xp;<br>
&gt;=C2=A0 =C2=A0bool into_hbox =3D EQ (pos, Qleft) || EQ (pos, Qright);<br=
>
&gt;=C2=A0 =C2=A0GtkWidget *top_widget =3D x-&gt;toolbar_widget;<br>
&gt; <br>
&gt;=C2=A0 =C2=A0gtk_orientable_set_orientation (GTK_ORIENTABLE (x-&gt;tool=
bar_widget),<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0into_hbox<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0? GTK_ORIENTATION_VE=
RTICAL<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0: GTK_ORIENTATION_HO=
RIZONTAL);<br>
<br>
I don&#39;t know what that means (I know nothing about GTK), but if<br>
someone explains what this does/allows, we could discuss whether it is<br>
close enough to what the OP suggested for macOS.<br></blockquote><div><br><=
/div><div class=3D"gmail_default" style=3D"font-family:monospace">I tried t=
o find a picture on the web but came up short. I&#39;m no GTK expert. Perha=
ps Po Lu could be of some assitance here.</div></div></div>

--000000000000bd1a530649da23e2--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#80307; Package emacs. Full text available.

Message received at 80307 <at> debbugs.gnu.org:


Received: (at 80307) by debbugs.gnu.org; 2 Feb 2026 16:33:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 02 11:33:54 2026
Received: from localhost ([127.0.0.1]:60128 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1vmws5-0005sS-UC
	for submit <at> debbugs.gnu.org; Mon, 02 Feb 2026 11:33:54 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:58784)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1vmws3-0005sB-Iv
 for 80307 <at> debbugs.gnu.org; Mon, 02 Feb 2026 11:33:52 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1vmwry-0000Xg-7W; Mon, 02 Feb 2026 11:33:46 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=McxicjXNKiQFWbiMB3Zv2B9zsnCRXJjtuEsMmeXQ93E=; b=Us1F1yIo8NVcJ/9Bln0I
 On0NM0ZZHrelvRiGzGUgBSKS47j6uLYKGW7Fm2sjG1+DzZPUxFqLwUCPo36a3AVD6jXTO/lvXejzx
 d0mkcVfbaeiRfDuMKnxzj21goeyx2NkGJhG9W49FoZXejjyrVAzllHVVHFqbiF3R9yjeCYM58LNYr
 +p5VhTDtjraEQfEJBEz9VGklLIFN8ijmAI8MG6HHGVQWr0AIvL7hKGkwRfOfjB5XHR3M53iC3NTpL
 dYJqCplSrFi/RBp704alaMLBSsK2Ee0PKFSxaFLjnl117RvFxweE9NQ8XPb1c9+hdZNDGSqJqbRxR
 lxOs4bvs8oAUdg==;
Date: Mon, 02 Feb 2026 18:33:42 +0200
Message-Id: <86o6m714wp.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: =?utf-8?Q?St=C3=A9phane?= Marks <shipmints@HIDDEN>
In-Reply-To: <CAN+1HbpgkdCf1fAvRwLCqkfbR2JjZLQ-Xh_DzCNqJ4M5YtVF5A@HIDDEN>
 (message from =?utf-8?Q?St=C3=A9phane?= Marks on Mon, 2 Feb 2026 10:37:00
 -0500)
Subject: Re: bug#80307: Add ns-toolbar-style frame parameter on macOS
References: <a2ed9095-e014-4902-90a5-9329a5f17297@HIDDEN>
 <86a4xs4xl3.fsf@HIDDEN> <73b73b62-155a-48f5-afc0-ab401f721372@HIDDEN>
 <86ikcf2uu4.fsf@HIDDEN>
 <CAN+1HbqrLO44574kZnuum0K=O3o4f50m+8DT_N8puTQ+bMo7ng@HIDDEN>
 <86qzr318md.fsf@HIDDEN>
 <CAN+1HbpgkdCf1fAvRwLCqkfbR2JjZLQ-Xh_DzCNqJ4M5YtVF5A@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 80307
Cc: opensauce04@HIDDEN, 80307 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Stéphane Marks <shipmints@HIDDEN>
> Date: Mon, 2 Feb 2026 10:37:00 -0500
> Cc: opensauce04@HIDDEN, 80307 <at> debbugs.gnu.org
> 
> I see this in gtkutil which is the closest analog since GTK itself doesn't support the precise set of values as
> NS/macOS:
> 
> static void
> xg_pack_tool_bar (struct frame *f, Lisp_Object pos)
> {
>   xp_output *x = f->output_data.xp;
>   bool into_hbox = EQ (pos, Qleft) || EQ (pos, Qright);
>   GtkWidget *top_widget = x->toolbar_widget;
> 
>   gtk_orientable_set_orientation (GTK_ORIENTABLE (x->toolbar_widget),
>                                   into_hbox
>                                   ? GTK_ORIENTATION_VERTICAL
>                                   : GTK_ORIENTATION_HORIZONTAL);

I don't know what that means (I know nothing about GTK), but if
someone explains what this does/allows, we could discuss whether it is
close enough to what the OP suggested for macOS.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#80307; Package emacs. Full text available.

Message received at 80307 <at> debbugs.gnu.org:


Received: (at 80307) by debbugs.gnu.org; 2 Feb 2026 15:37:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 02 10:37:20 2026
Received: from localhost ([127.0.0.1]:59460 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1vmvzL-00029o-Mg
	for submit <at> debbugs.gnu.org; Mon, 02 Feb 2026 10:37:20 -0500
Received: from mail-ua1-x92d.google.com ([2607:f8b0:4864:20::92d]:50598)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <shipmints@HIDDEN>)
 id 1vmvzJ-00029e-Pi
 for 80307 <at> debbugs.gnu.org; Mon, 02 Feb 2026 10:37:18 -0500
Received: by mail-ua1-x92d.google.com with SMTP id
 a1e0cc1a2514c-948a0867527so1569374241.1
 for <80307 <at> debbugs.gnu.org>; Mon, 02 Feb 2026 07:37:17 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1770046637; cv=none;
 d=google.com; s=arc-20240605;
 b=i+xXVOPfJy8XWZkVTWy7Z8CAL/EEI35sDuRYFpj7CpPKbXOIENxcPuu9FxKMbv9qrL
 mBBLivCV5VTd1/GvAfN+O2vZAK8bdm1c/BuLr4JB2kyD2ayU3SRc8RjVHitldksQZWRH
 FB2pPND+wgZ+uwhSBs88mvf/u3QlKksOVAGeU82jekQV1dQZuOZPsdq8jMiZDBNmnSnH
 7TWBThxPdSmr4PDkeBzof55Br4e0YW4ozdladK60lORc0HEBgPf26fBmwYeiHc0cCawC
 va8iWqmzSsS0KmkvPOTuAHjge8kkUV5sAuK0KYxcKvXlVYY4hr2Kv/f3bWeWTtr2lrnI
 dOmw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
 s=arc-20240605; 
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:dkim-signature;
 bh=VMkaEq7+dksBSx6nxNZGsg0m0wlE6rYzATP/2ROhhq8=;
 fh=VLAJdvRNQp0abAxSNwHys4RPdeavGO/emAPRP6Mb+bI=;
 b=K3hDD7V1jXfO5+f5941D5CTlwEZRsGQ161wZUmeM5E4DNZ1n5yf8XB6hnwd/5KkwJ6
 htd3p0ZWhPJF4B5Q9InZemstd+n1aAXUENJEpuZgV8YGgXe8g9bgERvmMqfjvIGzOOZX
 FIizQi2X2eKBBYmwkDOTckV5xt+899xODQGjwCXv76qkYz1sRRBNDV2+hk5gT54xfYXx
 VvNx29Qc18DsiIwVTiSBS/ZHrh3Qtw049vH+wE2pll4K8tED2I12QhkFjyx7TtASID6B
 +kBMkiIOzt2beyaFPMgt+qLKgqbs89L72j14678vtbTj/NGH/En5Cs82yEYGWkBYFdUU
 L9iw==; darn=debbugs.gnu.org
ARC-Authentication-Results: i=1; mx.google.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1770046637; x=1770651437; darn=debbugs.gnu.org;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:from:to:cc:subject:date:message-id:reply-to;
 bh=VMkaEq7+dksBSx6nxNZGsg0m0wlE6rYzATP/2ROhhq8=;
 b=j4Q6whSOfrsDG1Fto8vUiTpWJ5YjuZBgYJeCGBpIHmlRTLiNHidAZC72czhcEi7VXL
 VgsbgSHFdaqEpcPG9I+g9TuI8WbaQamMFHboDluxKbrEdKFwxulQuqFbI9AH5lu4ThpH
 dmRhswk73ZuvAcimsuMKFmAqeWBCJjt+MitScCyndVRy0Voc3FHfNPPa2bsdFLxlAm7S
 ODFfS7ZCD73wMxY1L9LjVCYXRyyFh7ecWnQVAj498qil2yosmgEunC76bpeEn2ZCr2G9
 A/Wp5SBgyGmqOvWeo3Ko7a9KesXhZbyZB3f2TQ2PwSenGi/II06oFssE4aqJki/2zf9T
 zxww==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1770046637; x=1770651437;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=VMkaEq7+dksBSx6nxNZGsg0m0wlE6rYzATP/2ROhhq8=;
 b=rq9kIncLsmLDaVvL6Wn9yeDGoythAqSeQr6CFdpx01cMrPYAoGdJOgd/e9/d8XKhnE
 Urd9k7bwpdbuEKCqR/Nwl4f9GsfCxTqgPQO4aHwiMXcxMuRQ2liiHTLA4zzL8kzzvaxa
 aVamGLXnmUuZHJICJwLewL9zXrwTWZ6Zf1W6TjfgRp2SvDhZhbsSf06EGAVfIzOtk4dt
 mjtFetVvyQ5bF/A4erY4xEi+thv6/yYOvQN4bwRKajFd8yZJUdWGY4KeDU9xJQ/HA8Lu
 o8jO0XrDcp1ykkzDvp7nX9uN9sUaQE3L1DBHiookA1eNBiMiiKKIXMmJYT949WsKxPEg
 Wr1w==
X-Forwarded-Encrypted: i=1;
 AJvYcCX7bR7fsBFSrrvV1saEBJzhz4QH6nFLl0Tu9haR3MJdwpRCORQG/D9EPMkS3UQFzDGtbt48kA==@debbugs.gnu.org
X-Gm-Message-State: AOJu0Yzk9Bhm/mwHdMxDJc0+Q+4qw4oDtk1CdzopUMawa070OWZhCH4L
 00/Evvn3GNMluuSlzODCArUMA/J1aYudeLjybgMBniWQpgkgRGI8dMcClgRpHadf0UBu5bovsiD
 p+nOdZX85lHQIqRxJZTHzMd8iTIVIxIY=
X-Gm-Gg: AZuq6aKuXVLVXJmp0XhPgWr7BSsZR27av8qHBTmH+iGPp0yOBU2aHI2lcre2Q4AW2di
 H/osfJYrYfVpr3ahns6R40LYD4VDKJ1jSIqqu32luIlLY9oeTeuGUzwOiNebfGCUcuv9N1bUqky
 hR0Flltx3v56HFRIeNgEY/fIzUYQnwY75qvoLHnxVXM1XstWh5l/KtKdECjV36kVSg89590swdO
 t1QuuJSw/hyq4Dc99ESzUrsgaiE31qvJpIMacw0Ufc3kw5lhkaIYmC0EP530NxHjHlBRMBzdVdI
 O5Yak9Dab6IsX/eKb1xoqje2pToWOtQe31ohsP01fB/7y3iVwBs=
X-Received: by 2002:a05:6102:b0a:b0:5f1:606f:2a14 with SMTP id
 ada2fe7eead31-5f8e2556591mr4447496137.23.1770046632160; Mon, 02 Feb 2026
 07:37:12 -0800 (PST)
MIME-Version: 1.0
References: <a2ed9095-e014-4902-90a5-9329a5f17297@HIDDEN>
 <86a4xs4xl3.fsf@HIDDEN> <73b73b62-155a-48f5-afc0-ab401f721372@HIDDEN>
 <86ikcf2uu4.fsf@HIDDEN>
 <CAN+1HbqrLO44574kZnuum0K=O3o4f50m+8DT_N8puTQ+bMo7ng@HIDDEN>
 <86qzr318md.fsf@HIDDEN>
In-Reply-To: <86qzr318md.fsf@HIDDEN>
From: =?UTF-8?Q?St=C3=A9phane_Marks?= <shipmints@HIDDEN>
Date: Mon, 2 Feb 2026 10:37:00 -0500
X-Gm-Features: AZwV_Qi2qhbFnKjEcZ3_GXDMb_UhDTd9H1ksArR7gL1TPP2nQReua6IrUcn50v8
Message-ID: <CAN+1HbpgkdCf1fAvRwLCqkfbR2JjZLQ-Xh_DzCNqJ4M5YtVF5A@HIDDEN>
Subject: Re: bug#80307: Add ns-toolbar-style frame parameter on macOS
To: Eli Zaretskii <eliz@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000bef43e0649d918c4"
X-Spam-Score: 2.0 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  On Mon, Feb 2, 2026 at 10:13 AM Eli Zaretskii wrote: > >
    From: Stéphane Marks > > Date: Mon, 2 Feb 2026 09:50:59 -0500 > > Cc: opensauce04@HIDDEN,
    80307 <at> debbugs.gnu.org > > > > GTK support some toolbar styling albeit different
    than NS/macOS option [...] 
 
 Content analysis details:   (2.0 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
                              no trust
                             [2607:f8b0:4864:20:0:0:0:92d listed in]
                             [list.dnswl.org]
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (shipmints[at]gmail.com)
  1.0 FORGED_GMAIL_RCVD      'From' gmail.com does not match 'Received'
                             headers
 -0.0 SPF_PASS               SPF: sender matches SPF record
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
  0.0 HTML_MESSAGE           BODY: HTML included in message
  1.0 FREEMAIL_REPLY         From and body contain different freemails
X-Debbugs-Envelope-To: 80307
Cc: opensauce04@HIDDEN, 80307 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

--000000000000bef43e0649d918c4
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Mon, Feb 2, 2026 at 10:13=E2=80=AFAM Eli Zaretskii <eliz@HIDDEN> wrote:

> > From: St=C3=A9phane Marks <shipmints@HIDDEN>
> > Date: Mon, 2 Feb 2026 09:50:59 -0500
> > Cc: opensauce04@HIDDEN, 80307 <at> debbugs.gnu.org
> >
> > GTK support some toolbar styling albeit different than NS/macOS options
> > https://docs.gtk.org/gtk3/enum.ToolbarStyle.html I did not look to see
> if this API is exposed to ELisp or not.
>
> We support this, see gtkutil.c.  But I'm not sure this is similar
> enough, it only affects how the tool-bar buttons are shown.  We need a
> capability to control whether t6he GTK tool bar is aligned to left,
> right, centered, or some other arrangement relative to the Emacs
> frame.
>

I see this in gtkutil which is the closest analog since GTK itself doesn't
support the precise set of values as NS/macOS:

static void
xg_pack_tool_bar (struct frame *f, Lisp_Object pos)
{
  xp_output *x =3D f->output_data.xp;
  bool into_hbox =3D EQ (pos, Qleft) || EQ (pos, Qright);
  GtkWidget *top_widget =3D x->toolbar_widget;

  gtk_orientable_set_orientation (GTK_ORIENTABLE (x->toolbar_widget),
                                  into_hbox
                                  ? GTK_ORIENTATION_VERTICAL
                                  : GTK_ORIENTATION_HORIZONTAL);

--000000000000bef43e0649d918c4
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon=
t-family:monospace"><span style=3D"font-family:Arial,Helvetica,sans-serif">=
On Mon, Feb 2, 2026 at 10:13=E2=80=AFAM Eli Zaretskii &lt;<a href=3D"mailto=
:eliz@HIDDEN">eliz@HIDDEN</a>&gt; wrote:</span></div></div><div class=3D"=
gmail_quote gmail_quote_container"><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding=
-left:1ex">&gt; From: St=C3=A9phane Marks &lt;<a href=3D"mailto:shipmints@g=
mail.com" target=3D"_blank">shipmints@HIDDEN</a>&gt;<br>
&gt; Date: Mon, 2 Feb 2026 09:50:59 -0500<br>
&gt; Cc: <a href=3D"mailto:opensauce04@HIDDEN" target=3D"_blank">opensau=
ce04@HIDDEN</a>, <a href=3D"mailto:80307 <at> debbugs.gnu.org" target=3D"_bla=
nk">80307 <at> debbugs.gnu.org</a><br>
&gt; <br>
&gt; GTK support some toolbar styling albeit different than NS/macOS option=
s<br>
&gt; <a href=3D"https://docs.gtk.org/gtk3/enum.ToolbarStyle.html" rel=3D"no=
referrer" target=3D"_blank">https://docs.gtk.org/gtk3/enum.ToolbarStyle.htm=
l</a> I did not look to see if this API is exposed to ELisp or not.<br>
<br>
We support this, see gtkutil.c.=C2=A0 But I&#39;m not sure this is similar<=
br>
enough, it only affects how the tool-bar buttons are shown.=C2=A0 We need a=
<br>
capability to control whether t6he GTK tool bar is aligned to left,<br>
right, centered, or some other arrangement relative to the Emacs<br>
frame.<br></blockquote><div><br></div><div class=3D"gmail_default" style=3D=
"font-family:monospace">I see this in gtkutil which is the closest analog s=
ince GTK itself doesn&#39;t support the precise set of values as NS/macOS:<=
/div><div class=3D"gmail_default" style=3D"font-family:monospace"><br></div=
><div class=3D"gmail_default" style=3D"font-family:monospace">static void<b=
r>xg_pack_tool_bar (struct frame *f, Lisp_Object pos)<br>{<br>=C2=A0 xp_out=
put *x =3D f-&gt;output_data.xp;<br>=C2=A0 bool into_hbox =3D EQ (pos, Qlef=
t) || EQ (pos, Qright);<br>=C2=A0 GtkWidget *top_widget =3D x-&gt;toolbar_w=
idget;<br><br>=C2=A0 gtk_orientable_set_orientation (GTK_ORIENTABLE (x-&gt;=
toolbar_widget),<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 into_hbox<b=
r>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ? GTK_ORIENTATION_VERTICAL<br=
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 : GTK_ORIENTATION_HORIZONTAL)=
;<br></div></div></div>

--000000000000bef43e0649d918c4--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#80307; Package emacs. Full text available.

Message received at 80307 <at> debbugs.gnu.org:


Received: (at 80307) by debbugs.gnu.org; 2 Feb 2026 15:29:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 02 10:29:00 2026
Received: from localhost ([127.0.0.1]:59359 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1vmvrI-0001Xk-4J
	for submit <at> debbugs.gnu.org; Mon, 02 Feb 2026 10:29:00 -0500
Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]:55522)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <opensauce04@HIDDEN>)
 id 1vmvrF-0001XO-OD
 for 80307 <at> debbugs.gnu.org; Mon, 02 Feb 2026 10:28:58 -0500
Received: by mail-ed1-x533.google.com with SMTP id
 4fb4d7f45d1cf-65378ba2ff7so6806951a12.2
 for <80307 <at> debbugs.gnu.org>; Mon, 02 Feb 2026 07:28:57 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1770046136; x=1770650936; darn=debbugs.gnu.org;
 h=content-transfer-encoding:subject:from:to:content-language
 :user-agent:mime-version:date:message-id:from:to:cc:subject:date
 :message-id:reply-to;
 bh=HIDHXF/g+jpRdum0/K0dLQ1GgKcO7O5M/TvGvMzlXV4=;
 b=CQ4d0LyoU3iQqYgi/jCMcldz7pSNSgFbArSse0UraKQ6dyeJS7wh0TLvVFmbZSwSUC
 5OEYBL/Qv/B4lt5PGx7zXua+WYwbD433463CSwwmxrN/wKN6FDdzU+Ht7861++iI9he+
 fNT7Tr0wv4KlHRFUmksafqgrQqSMELU3LH1Tn7+hgKno0qnr2MBfeL1tXKGXZJBz1lYM
 cmmJeeNTfEHeMrB24GhU1IWfU5CCFnF+LKW117ZV+PK7xXbDWWPcfLW/UhrSKTXjVycS
 cfq3juIBTMqyPckAOuCBHPUsPQRD7L36pIhmisIOwYIZm3yezwSW5eE7Z0HtgS+fXOOK
 4B+A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1770046136; x=1770650936;
 h=content-transfer-encoding:subject:from:to:content-language
 :user-agent:mime-version:date:message-id:x-gm-gg:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=HIDHXF/g+jpRdum0/K0dLQ1GgKcO7O5M/TvGvMzlXV4=;
 b=AilBcL3qZZcwnXSf9uPICkci34mOMGDUhhI7TeFA+smedvr0VkJM3tsl5/TSh0cYiG
 LC4A7R5MY88JLbyWIjzdxPUxApxFAtQ6OhBnhnH2Y6HZjKYOJV66ZdoTVKH1Gic1ad/N
 hQID/6SF07qM2mE6UmBBWy4qERagxxyv29BjJizqTBc+lqCg3Kk+7El3yen1Idt/r/li
 irSF4iMfG3tGakUwhXJV31dj5W8tIJB/XN35ncs9yYgxWkpmxPmFWwMccyyzvYCHqwrj
 1KIboV91WpTv0aw6KxSXrdQyWWP/JF940mfO7iwSai+X6ubCgynTYk20HTmrItV9U9c5
 2ngQ==
X-Gm-Message-State: AOJu0YyKGf2vBf8aVegpqZvLexhiUw4k9tfgdqmlMab3ci1MHP+mRgdM
 awPYe/ArqDH2LQKqpoUyhTrZ9guQhZ07kDV/JfcTiMF14r8XvwrpUYSfwtkF8g==
X-Gm-Gg: AZuq6aLTVjih15HmjAWOkQ+FKq58cTKm9DPdUQ1aFcR8UKebD8Y6s8/2RixNH3BU87v
 vc7W7fERSRBoPU32PoYhH+Cav+KHIldmkpUfM0tOm17c2hxIiETMtBgiXOt9Jw/BWKcf1RKCXh+
 wSM/1pW2XnpYjW+YK0w3aAz2LX+suIKtmN8uwnb+Zl7S7WW/gOT7TM0ayNlIDI9/0ZybifeUz/y
 FxqsHmWSppU52ogt5LPHBSImQTe1IcVGBuLsTCCWfjrqWCJtQjpZR3wQYaq2QdWCItvWqKVGUIP
 pIYKRj8A9xpqBO994egq4UNZxGLFYOvuwq1FR6IIhvZcO+Pgxu/zMI6T99nciZi2HTq3BH6As4T
 X0O3OJY1G43g1+NVMfa8jdJ+a/q+sZwdMbIfJBdjuJpR20ChXt6Cfaafx/6n1dTNH1fp+2WJgqB
 M6S+TvTM5eEpsOrjyzucvTw8tG4FAX2U4PJ/5ioQdS41rF9oi1XSRWibtUbt7WYA6G/4Ec8otjE
 YYGhfxE
X-Received: by 2002:a17:907:1b28:b0:b87:1e94:ef6a with SMTP id
 a640c23a62f3a-b8dff6ed606mr624331166b.47.1770046136301; 
 Mon, 02 Feb 2026 07:28:56 -0800 (PST)
Received: from ?IPV6:2a0a:ef40:2c:1c01:a830:dfae:d10a:183b?
 ([2a0a:ef40:2c:1c01:a830:dfae:d10a:183b])
 by smtp.gmail.com with ESMTPSA id
 a640c23a62f3a-b8debc6e956sm688696066b.64.2026.02.02.07.28.55
 for <80307 <at> debbugs.gnu.org>
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Mon, 02 Feb 2026 07:28:55 -0800 (PST)
Message-ID: <cd702e08-fe7f-4397-ae38-9856819a5ee4@HIDDEN>
Date: Mon, 2 Feb 2026 15:28:55 +0000
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-GB
X-Debbugs-Cc: eliz@HIDDEN
To: 80307 <at> debbugs.gnu.org
From: opensauce04@HIDDEN
Subject: Re: bug#80307: Add ns-toolbar-style frame parameter on macOS
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 1.3 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  > If you want to discuss a possible change in the default
 behavior, we > can do that without any restrictions. If macOS users in general
 agree > that the current default is not the best one, I see now [...] 
 Content analysis details:   (1.3 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (opensauce04[at]gmail.com)
 1.0 FORGED_GMAIL_RCVD      'From' gmail.com does not match 'Received'
 headers
 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
 in digit (opensauce04[at]gmail.com)
 -0.0 SPF_PASS               SPF: sender matches SPF record
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [2a00:1450:4864:20:0:0:0:533 listed in]
 [list.dnswl.org]
X-Debbugs-Envelope-To: 80307
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.3 (/)

> If you want to discuss a possible change in the default behavior, we
> can do that without any restrictions.  If macOS users in general agree
> that the current default is not the best one, I see now reason not to
> change the default.  But supporting user-defined control of the
> behavior is a different matter.

> What matters for us in this case are the user-facing features and
> capabilities, not the software mechanisms used by the implementation.


I still believe that giving the user a choice in the matter would be 
ideal to avoid the inevitable bikeshedding that I can foresee resulting 
from this conversation, but if that truly isn't an option, then I 
suppose I personally wouldn't be bothered if the appearance was changed 
back to how I experienced it on my system in Emacs 30.

If I'm understanding it correctly, it seems that the aim of the original 
patch that I referenced in my initial patch description was to avoid 
inconsistent toolbar styling depending on the OS version or some other 
unknown factor, and the choice of NSWindowToolbarStyleExpanded was 
seemingly arbitrary. On my system, on Emacs 30, the style which was used 
was NSWindowToolbarStyleUnified, and that is the style that I prefer and 
would like to use. I don't know how we would decide on what the "best" 
default value would be, because as I mentioned before, it doesn't really 
seem like the criteria for the style automatically chosen by macOS is 
particularly well-understood (I am personally running a pretty 
conventional setup with the most recent stable release of macOS, version 
26.2).

Again, I really think that just including a frame parameter for this 
would be easier for everyone involved, but it's ultimately your call.





Information forwarded to eliz@HIDDEN, bug-gnu-emacs@HIDDEN:
bug#80307; Package emacs. Full text available.

Message received at 80307 <at> debbugs.gnu.org:


Received: (at 80307) by debbugs.gnu.org; 2 Feb 2026 15:13:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 02 10:13:51 2026
Received: from localhost ([127.0.0.1]:59163 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1vmvcd-0000Ug-FP
	for submit <at> debbugs.gnu.org; Mon, 02 Feb 2026 10:13:51 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:43766)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1vmvca-0000UB-R9
 for 80307 <at> debbugs.gnu.org; Mon, 02 Feb 2026 10:13:49 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1vmvcV-0007Tt-Hn; Mon, 02 Feb 2026 10:13:43 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=UIevEOLHquMpOLObSWnvNAnIMBWcp6GzYLOxv6hAq68=; b=giR8BQ/Dd+ZROe4CEzCm
 QUhHf1KlxLuQomPAdW1Bej3iNLOS0GgWylj4e+hKg2Cecccul9FQ3PKL3MjCzxiOmlVJkJJDKWRNZ
 +0vn4Ake9mGLmH2JBCgW3hqmjFvBOebkGUWCkkEfiiv/GFGW2W00eCaNhgq6YQlY/aSjRVWf2J+96
 eu3QFUmPQRHWgo7MCyxXyjQFwwceyIe1rulKAkN/9D48CB5ki2QtdhWm1BqgHIYcYnQTklY9ymlbi
 sxz1iseg7AQmJUlFc1eMynbWQ09Dljb2M/e5oZlb2cl5HNx0f6cpUs97TzItlVXIMFerQguRnrZcI
 t3Ecb3+QKHwb0w==;
Date: Mon, 02 Feb 2026 17:13:30 +0200
Message-Id: <86qzr318md.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: =?utf-8?Q?St=C3=A9phane?= Marks <shipmints@HIDDEN>
In-Reply-To: <CAN+1HbqrLO44574kZnuum0K=O3o4f50m+8DT_N8puTQ+bMo7ng@HIDDEN>
 (message from =?utf-8?Q?St=C3=A9phane?= Marks on Mon, 2 Feb 2026 09:50:59
 -0500)
Subject: Re: bug#80307: Add ns-toolbar-style frame parameter on macOS
References: <a2ed9095-e014-4902-90a5-9329a5f17297@HIDDEN>
 <86a4xs4xl3.fsf@HIDDEN> <73b73b62-155a-48f5-afc0-ab401f721372@HIDDEN>
 <86ikcf2uu4.fsf@HIDDEN>
 <CAN+1HbqrLO44574kZnuum0K=O3o4f50m+8DT_N8puTQ+bMo7ng@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 80307
Cc: opensauce04@HIDDEN, 80307 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Stéphane Marks <shipmints@HIDDEN>
> Date: Mon, 2 Feb 2026 09:50:59 -0500
> Cc: opensauce04@HIDDEN, 80307 <at> debbugs.gnu.org
> 
> GTK support some toolbar styling albeit different than NS/macOS options
> https://docs.gtk.org/gtk3/enum.ToolbarStyle.html I did not look to see if this API is exposed to ELisp or not.

We support this, see gtkutil.c.  But I'm not sure this is similar
enough, it only affects how the tool-bar buttons are shown.  We need a
capability to control whether t6he GTK tool bar is aligned to left,
right, centered, or some other arrangement relative to the Emacs
frame.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#80307; Package emacs. Full text available.

Message received at 80307 <at> debbugs.gnu.org:


Received: (at 80307) by debbugs.gnu.org; 2 Feb 2026 14:51:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 02 09:51:15 2026
Received: from localhost ([127.0.0.1]:57627 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1vmvGk-0007JI-PU
	for submit <at> debbugs.gnu.org; Mon, 02 Feb 2026 09:51:15 -0500
Received: from mail-ua1-x92d.google.com ([2607:f8b0:4864:20::92d]:51461)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <shipmints@HIDDEN>)
 id 1vmvGi-0007J6-3J
 for 80307 <at> debbugs.gnu.org; Mon, 02 Feb 2026 09:51:12 -0500
Received: by mail-ua1-x92d.google.com with SMTP id
 a1e0cc1a2514c-948b9c951b0so740088241.3
 for <80307 <at> debbugs.gnu.org>; Mon, 02 Feb 2026 06:51:12 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1770043871; cv=none;
 d=google.com; s=arc-20240605;
 b=Mbo0+J9ErraNHp0cRx2OhyAyTpj/bglR14q4d/a50eFCU/5M5S1n9xDOmhoGNlzobl
 0LTHEb8FL4WniF3epaZlh7PCXvMyFHCb83oBESN2jm1nO1xvPp3MNcr0Kg7SG+Wmu8MD
 Vh+Re7Kd8ENmau5z2jGbDpf+RVrvemVzRm6EQiqUjveuvnrXBURgBaxxFNJsZ+J61GKa
 JNPRInU5k5xSS2XUc+/zTuqiVWCQFjrQtmhzIwUJ1RMhsWI0mBsPdu+oR0wgJnG4ke8C
 eH8xUtkJxqPoOmx4QhwBST8zMZgqhmR/b+tnzTIMSIOdBGxrmILVtOep2bRk3qRlDZWB
 L8GQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
 s=arc-20240605; 
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:dkim-signature;
 bh=z2jQsuiG2BPtM+NS1jFY/LMcyEntsdRi+PrwT3UWITQ=;
 fh=Fhjq9wwvHcL9u4x5JMz9IkYVWcOjLnkMFyVM6KCA7Po=;
 b=DPFdDKamtf+CPr3Y4vCl37p8yUizJQXS/dX0enADGOvK7LlyV4SXMe92l/FNVpQERK
 HJbQOzzEY17InBG5dq5BtnDAEYFY0oWcit3FWizGdoQLBDLbazKGjogkbbfVdOUXsDCy
 Q98v7c7iKwSAmYKJbqAXVS3Z3+dYmbnrp99AGyQ+jH2FeR2z9DMeDFQD4FlB72tKurKM
 dMCY5SN2hT4YQHZlOzglvQEywEM7F2UZ2k2o9V+KZVzMQQDtl4z4akt7IyNFE31Srkx9
 crer3dKZR64YUEBGXurRydz/FqeRUROGrdyFf4auUeLCRSuhLUF82REvWqm1W6ynQhh1
 15Ag==; darn=debbugs.gnu.org
ARC-Authentication-Results: i=1; mx.google.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1770043871; x=1770648671; darn=debbugs.gnu.org;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:from:to:cc:subject:date:message-id:reply-to;
 bh=z2jQsuiG2BPtM+NS1jFY/LMcyEntsdRi+PrwT3UWITQ=;
 b=PgmlyJCVktv7gjdSOYVrHfSea+Cc68b+uAP4aSuhDN0zysL8wrRVI84/clMXs5ytIW
 /LsJiLGne8b58a/jJuyxdsehZ52FnoMRsycUOdfGfCB3uC1G4UJlbGKYlDqgtekG45Uh
 IkxZNsmK1crKtZ3nkbl9SW5r/g7TzEg9oR16F+h0yuLp407tStM6SIid/k30PscKd8TF
 YrEr8+sGy5HxhsuSAMPV8DO1cYP/5OiikZN4Ao3A56fj+/VJCwZuMpI41Cd8kc9rS+Yx
 wkawPz9jsowKKO9uAvWG7TO08mv7KAeZg0PrRYpZUoQKJ0kut+D86J152AyG8pSkKWMa
 pewQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1770043871; x=1770648671;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=z2jQsuiG2BPtM+NS1jFY/LMcyEntsdRi+PrwT3UWITQ=;
 b=O+s6rs0/AuwtDsqAh4FD/oTsWY8MrB/dfJ/Den0Wt6XRhg3h2XnG1a+QnHJUypVRSk
 ekk37RQHh586hM/suXHpwvioJSByJyvvTQMDELfGcR/pH5mBSf6XU9+eKmVkY5ig8C/P
 O/X1QS1HTmjKPCav8SHmXZbmzjKquZ0wR09CPfM7ZY+Wtn1mtLOc+PexWVfHAqPOAL6w
 V3M+pJ6NLxsYbsU3wRe9i1taALSNCoTpVMzNm8aFjUi/PZWLDsO/AqZqnNusMTm9xxLU
 FnW2PRJP4zND7/SotSz3gTiorMb2D1ZDY+Z52ep/f2pRsTgHf2caSbqoHN5Z/0WWQHC2
 +JDQ==
X-Forwarded-Encrypted: i=1;
 AJvYcCUT7wcliGSqEaccT6zTSvUmUY2XBnm0HlLAh6LVCFzmaeVUcsYiNo39kLIrbN7bVv/dE0YNpg==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YwyadfeWGN8Fonuw/QkwHNF9zi5TLE5wNQtWDdA0EBjedgWXVeD
 nKfpgONXgxxoo6fUOWnyprmrkv1PxAlBXnI7WH9TSUyss/ZId36CYunJI9EeFICCW9VMGtoGoxW
 jpzxXW6b0RVQEqDKZk2o1EGXH6kPPlGI=
X-Gm-Gg: AZuq6aJaCQsgWd/YHxeDNROl1OQpVNeWndlhUM5GzsQ1Dym1rPyyTbaB1/bmkwbOXyn
 1doqV4so48YjBmftqy/3bDii4XPLRQb6EoVIdcCumSGLegRvxxJzxcfbX+KrwHgagzbDTsO4/bp
 LySTjSxz726RMCpG8hOYGnCJQY86OlZCYcD+FBIpjVzkn+CGf+cxvmsTlDHj23j6U65I2St5cWh
 TZ0sMsiGpHQ7lq2ws86PqLUrfAvGTCENM+VCahyfuozskC4v1bxtCbS97oHv+HMWv2ytPDo7jHR
 UDPaW0F7W7e3mL9snTLLGCTl1Y9YnS1dOLNwJEKvo1X5p+91I1c=
X-Received: by 2002:a05:6102:1449:20b0:5f8:e37a:9236 with SMTP id
 ada2fe7eead31-5f8e37a9591mr2905210137.29.1770043871182; Mon, 02 Feb 2026
 06:51:11 -0800 (PST)
MIME-Version: 1.0
References: <a2ed9095-e014-4902-90a5-9329a5f17297@HIDDEN>
 <86a4xs4xl3.fsf@HIDDEN> <73b73b62-155a-48f5-afc0-ab401f721372@HIDDEN>
 <86ikcf2uu4.fsf@HIDDEN>
In-Reply-To: <86ikcf2uu4.fsf@HIDDEN>
From: =?UTF-8?Q?St=C3=A9phane_Marks?= <shipmints@HIDDEN>
Date: Mon, 2 Feb 2026 09:50:59 -0500
X-Gm-Features: AZwV_QjFGVrz3dGqUHY2BhoS0eEw3OUkpNmmWjYsMMZ3wZ9K6oJUJ4MoxGMMYpk
Message-ID: <CAN+1HbqrLO44574kZnuum0K=O3o4f50m+8DT_N8puTQ+bMo7ng@HIDDEN>
Subject: Re: bug#80307: Add ns-toolbar-style frame parameter on macOS
To: Eli Zaretskii <eliz@HIDDEN>
Content-Type: multipart/alternative; boundary="0000000000002dc2710649d874e3"
X-Spam-Score: 2.0 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  On Mon, Feb 2, 2026 at 7:29 AM Eli Zaretskii wrote: > >
   Date: Sun, 1 Feb 2026 12:24:08 +0000 > > Cc: 80307 <at> debbugs.gnu.org > > From:
    opensauce04@HIDDEN > > > > > Please post patches as binary attachments,
    preferably using the output > > > of the "gi [...] 
 
 Content analysis details:   (2.0 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
  1.0 FORGED_GMAIL_RCVD      'From' gmail.com does not match 'Received'
                             headers
 -0.0 SPF_PASS               SPF: sender matches SPF record
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (shipmints[at]gmail.com)
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
                              no trust
                             [2607:f8b0:4864:20:0:0:0:92d listed in]
                             [list.dnswl.org]
  0.0 HTML_MESSAGE           BODY: HTML included in message
  1.0 FREEMAIL_REPLY         From and body contain different freemails
X-Debbugs-Envelope-To: 80307
Cc: opensauce04@HIDDEN, 80307 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

--0000000000002dc2710649d874e3
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Mon, Feb 2, 2026 at 7:29=E2=80=AFAM Eli Zaretskii <eliz@HIDDEN> wrote:

> > Date: Sun, 1 Feb 2026 12:24:08 +0000
> > Cc: 80307 <at> debbugs.gnu.org
> > From: opensauce04@HIDDEN
> >
> > > Please post patches as binary attachments, preferably using the outpu=
t
> > > of the "git format-patch" command.  The way you did it, your email
> > > software squashed the leading whitespace of every line, which makes
> > > the patch unusable.
> >
> > Ah, sorry! I assumed that when Emacs put the patch text into the email
> > body, it would just ready to send as-is.
>
> No sweat, no harm done.
>
> > > We try to avoid having features that are only available on
> > > some platforms, especially if those platforms are proprietary. So I
> > > must ask: is this kind of feature available on GNU/Linux, in the GTK
> > > or PGTK builds?  If not, we will need to wait until those builds can
> > > use this feature.
> >
> > This seems rather arbitrary. If that's the case, why does Emacs
> > support using the macOS-exclusive ns-transparent-titlebar and
> > ns-appearance values?
>
> I presume that something similar exists on GNU/Linux.  Or maybe it
> was a mistake
>
> > In fact, ns-toolbar-style arguably has more of a right to exist
> > because it's being introduced in response to a non-user-configurable
> > change Emacs made to its appearance which some users evidently won't
> > like. In the email exchange where the change was introduced, someone
> > voiced their dislike for the new appearance, calling it "outdated"
> > and bringing up the valid criticism that it takes away vertical
> > space.  I'm sure there are others that would feel the same if they
> > knew of the change, but they either aren't using Emacs 31 or don't
> > follow the mailing list. I was one of those people until the other
> > day when I built Emacs 31 out of curiosity and discovered the
> > change, and I agree with the person in the mailing list that the new
> > toolbar style is an overall downgrade.
>
> If you want to discuss a possible change in the default behavior, we
> can do that without any restrictions.  If macOS users in general agree
> that the current default is not the best one, I see now reason not to
> change the default.  But supporting user-defined control of the
> behavior is a different matter.
>
> > It's also worth noting that this patch doesn't really introduce any
> > new interactions with proprietary frameworks. The code which sets
> > `setToolbarStyle`  was introduced by the patch I referenced in my
> > original email. This feature simply allows users to control which
> > value is passed to `setToolbarStyle`.
>
> What matters for us in this case are the user-facing features and
> capabilities, not the software mechanisms used by the implementation.
>

GTK support some toolbar styling albeit different than NS/macOS options
https://docs.gtk.org/gtk3/enum.ToolbarStyle.html I did not look to see if
this API is exposed to ELisp or not.

--0000000000002dc2710649d874e3
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon=
t-family:monospace"><span style=3D"font-family:Arial,Helvetica,sans-serif">=
On Mon, Feb 2, 2026 at 7:29=E2=80=AFAM Eli Zaretskii &lt;<a href=3D"mailto:=
eliz@HIDDEN">eliz@HIDDEN</a>&gt; wrote:</span></div></div><div class=3D"g=
mail_quote gmail_quote_container"><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding=
-left:1ex">&gt; Date: Sun, 1 Feb 2026 12:24:08 +0000<br>
&gt; Cc: <a href=3D"mailto:80307 <at> debbugs.gnu.org" target=3D"_blank">80307@d=
ebbugs.gnu.org</a><br>
&gt; From: <a href=3D"mailto:opensauce04@HIDDEN" target=3D"_blank">opens=
auce04@HIDDEN</a><br>
&gt; <br>
&gt; &gt; Please post patches as binary attachments, preferably using the o=
utput<br>
&gt; &gt; of the &quot;git format-patch&quot; command.=C2=A0 The way you di=
d it, your email<br>
&gt; &gt; software squashed the leading whitespace of every line, which mak=
es<br>
&gt; &gt; the patch unusable.<br>
&gt; <br>
&gt; Ah, sorry! I assumed that when Emacs put the patch text into the email=
<br>
&gt; body, it would just ready to send as-is.<br>
<br>
No sweat, no harm done.<br>
<br>
&gt; &gt; We try to avoid having features that are only available on<br>
&gt; &gt; some platforms, especially if those platforms are proprietary. So=
 I<br>
&gt; &gt; must ask: is this kind of feature available on GNU/Linux, in the =
GTK<br>
&gt; &gt; or PGTK builds?=C2=A0 If not, we will need to wait until those bu=
ilds can<br>
&gt; &gt; use this feature. <br>
&gt; <br>
&gt; This seems rather arbitrary. If that&#39;s the case, why does Emacs<br=
>
&gt; support using the macOS-exclusive ns-transparent-titlebar and<br>
&gt; ns-appearance values?<br>
<br>
I presume that something similar exists on GNU/Linux.=C2=A0 Or maybe it<br>
was a mistake<br>
<br>
&gt; In fact, ns-toolbar-style arguably has more of a right to exist<br>
&gt; because it&#39;s being introduced in response to a non-user-configurab=
le<br>
&gt; change Emacs made to its appearance which some users evidently won&#39=
;t<br>
&gt; like. In the email exchange where the change was introduced, someone<b=
r>
&gt; voiced their dislike for the new appearance, calling it &quot;outdated=
&quot;<br>
&gt; and bringing up the valid criticism that it takes away vertical<br>
&gt; space.=C2=A0 I&#39;m sure there are others that would feel the same if=
 they<br>
&gt; knew of the change, but they either aren&#39;t using Emacs 31 or don&#=
39;t<br>
&gt; follow the mailing list. I was one of those people until the other<br>
&gt; day when I built Emacs 31 out of curiosity and discovered the<br>
&gt; change, and I agree with the person in the mailing list that the new<b=
r>
&gt; toolbar style is an overall downgrade.<br>
<br>
If you want to discuss a possible change in the default behavior, we<br>
can do that without any restrictions.=C2=A0 If macOS users in general agree=
<br>
that the current default is not the best one, I see now reason not to<br>
change the default.=C2=A0 But supporting user-defined control of the<br>
behavior is a different matter.<br>
<br>
&gt; It&#39;s also worth noting that this patch doesn&#39;t really introduc=
e any<br>
&gt; new interactions with proprietary frameworks. The code which sets<br>
&gt; `setToolbarStyle`=C2=A0 was introduced by the patch I referenced in my=
<br>
&gt; original email. This feature simply allows users to control which<br>
&gt; value is passed to `setToolbarStyle`.<br>
<br>
What matters for us in this case are the user-facing features and<br>
capabilities, not the software mechanisms used by the implementation.<br></=
blockquote><div><br></div><div class=3D"gmail_default" style=3D"font-family=
:monospace">GTK support some toolbar styling albeit different than NS/macOS=
 options=C2=A0<a href=3D"https://docs.gtk.org/gtk3/enum.ToolbarStyle.html">=
https://docs.gtk.org/gtk3/enum.ToolbarStyle.html</a>=C2=A0I did not look to=
 see if this API is exposed to ELisp or not.</div></div></div>

--0000000000002dc2710649d874e3--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#80307; Package emacs. Full text available.

Message received at 80307 <at> debbugs.gnu.org:


Received: (at 80307) by debbugs.gnu.org; 2 Feb 2026 12:28:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 02 07:28:30 2026
Received: from localhost ([127.0.0.1]:55750 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1vmt2b-0003Cc-8C
	for submit <at> debbugs.gnu.org; Mon, 02 Feb 2026 07:28:30 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:34840)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1vmt2Y-0003CC-LX
 for 80307 <at> debbugs.gnu.org; Mon, 02 Feb 2026 07:28:28 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1vmt2S-00058H-QM; Mon, 02 Feb 2026 07:28:21 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=tGKpOaz2yv7gCdREw4vXd8rDHK3rqgSBzV4PxWcgsnQ=; b=IZiZqTgYWo+FXHuc+ISk
 y9CAa1xniwcZ3fIDQJ/m1q3VUt6H5EfS5tpTM5Vu3GtTOjoY+ENDQ29bkWz+VCPIMifnKGvBm2p3f
 c75huOl8+lmGQ66gaHq6O9tzFbA90g40C9HXU8tPB3OSfInhnBMmQ6ghgd44DIiIxwNguSEc7ROhh
 zczN4SDXzWH9woGz70aGXld+kHu84urr4am/mDWtiLCnWIqej6O+LkzW/cNw/tsCK5Uj8z81gCCff
 ICL8owBSxt2Ug8KNF9VSy+PT5qzMHh5xlkFhpmuIXoxiintMBuSmlQpjiXuZ9RSEaVJtzq+Zkj1lY
 YGc8C1+77S8O6Q==;
Date: Mon, 02 Feb 2026 14:28:19 +0200
Message-Id: <86ikcf2uu4.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: opensauce04@HIDDEN
In-Reply-To: <73b73b62-155a-48f5-afc0-ab401f721372@HIDDEN>
 (opensauce04@HIDDEN)
Subject: Re: bug#80307: Add ns-toolbar-style frame parameter on macOS
References: <a2ed9095-e014-4902-90a5-9329a5f17297@HIDDEN>
 <86a4xs4xl3.fsf@HIDDEN> <73b73b62-155a-48f5-afc0-ab401f721372@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 80307
Cc: 80307 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Sun, 1 Feb 2026 12:24:08 +0000
> Cc: 80307 <at> debbugs.gnu.org
> From: opensauce04@HIDDEN
> 
> > Please post patches as binary attachments, preferably using the output
> > of the "git format-patch" command.  The way you did it, your email
> > software squashed the leading whitespace of every line, which makes
> > the patch unusable.
> 
> Ah, sorry! I assumed that when Emacs put the patch text into the email
> body, it would just ready to send as-is.

No sweat, no harm done.

> > We try to avoid having features that are only available on
> > some platforms, especially if those platforms are proprietary. So I
> > must ask: is this kind of feature available on GNU/Linux, in the GTK
> > or PGTK builds?  If not, we will need to wait until those builds can
> > use this feature. 
> 
> This seems rather arbitrary. If that's the case, why does Emacs
> support using the macOS-exclusive ns-transparent-titlebar and
> ns-appearance values?

I presume that something similar exists on GNU/Linux.  Or maybe it
was a mistake

> In fact, ns-toolbar-style arguably has more of a right to exist
> because it's being introduced in response to a non-user-configurable
> change Emacs made to its appearance which some users evidently won't
> like. In the email exchange where the change was introduced, someone
> voiced their dislike for the new appearance, calling it "outdated"
> and bringing up the valid criticism that it takes away vertical
> space.  I'm sure there are others that would feel the same if they
> knew of the change, but they either aren't using Emacs 31 or don't
> follow the mailing list. I was one of those people until the other
> day when I built Emacs 31 out of curiosity and discovered the
> change, and I agree with the person in the mailing list that the new
> toolbar style is an overall downgrade.

If you want to discuss a possible change in the default behavior, we
can do that without any restrictions.  If macOS users in general agree
that the current default is not the best one, I see now reason not to
change the default.  But supporting user-defined control of the
behavior is a different matter.

> It's also worth noting that this patch doesn't really introduce any
> new interactions with proprietary frameworks. The code which sets
> `setToolbarStyle`  was introduced by the patch I referenced in my
> original email. This feature simply allows users to control which
> value is passed to `setToolbarStyle`.

What matters for us in this case are the user-facing features and
capabilities, not the software mechanisms used by the implementation.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#80307; Package emacs. Full text available.

Message received at 80307 <at> debbugs.gnu.org:


Received: (at 80307) by debbugs.gnu.org; 1 Feb 2026 13:14:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 01 08:14:14 2026
Received: from localhost ([127.0.0.1]:38488 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1vmXHH-00077M-La
	for submit <at> debbugs.gnu.org; Sun, 01 Feb 2026 08:14:14 -0500
Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]:50584)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <opensauce04@HIDDEN>)
 id 1vmWko-0004JA-Ty
 for 80307 <at> debbugs.gnu.org; Sun, 01 Feb 2026 07:40:40 -0500
Received: by mail-wr1-x42d.google.com with SMTP id
 ffacd0b85a97d-4359a302794so2456569f8f.1
 for <80307 <at> debbugs.gnu.org>; Sun, 01 Feb 2026 04:40:38 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1769949638; x=1770554438; darn=debbugs.gnu.org;
 h=subject:from:to:content-language:user-agent:mime-version:date
 :message-id:from:to:cc:subject:date:message-id:reply-to;
 bh=BYn1GnI5QHoHlnj4aZFSGD+W4YXNJcdj1L3hZZTH1wA=;
 b=bWwgd17zElwOLZd/LTXoIbfYh9iXtqNa0FT/SPWZwk9ezkfvNTVvUCXbUQ1HvzvcMX
 O47flAiz40Sv+zlFNZZfdTK3I0vKzZY9Nh8loAQPXhshcT76SevpCEjakqfu00Y6uI8s
 INn5ywhKjxKiiR9U1V8CrAw8a6yeovWnhgiSpI95ZuP/SZ+W/uOFInF/RTBr/ndhZVMV
 h9QTX5VnrZV52kfuas2Gc7wufpbl457ErMXzotUxhazfnLzS+jjS5GuqiM5xnODNBC+g
 p76Y7TPAd5lQCP+w3mEs2UmrssAzaYWqD3kHJCh3h+RvGW1uJ8/39JWzWiaLFhwbcACk
 HV5A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1769949638; x=1770554438;
 h=subject:from:to:content-language:user-agent:mime-version:date
 :message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=BYn1GnI5QHoHlnj4aZFSGD+W4YXNJcdj1L3hZZTH1wA=;
 b=AB/NSJY+VGFLRy0cBLMY9JDHFUkZUti3knGpAOPMQifwUaEzkMpoXemaZuQxP+NksV
 dyexpPy22b63i80x7O1fDP0J1KL3cZZhTSqlFqlqO8xgmahRNlhyJJV1BSyRi0sdJh0w
 vOfd3XF0XMrylZ71aQeMUa6InLHYTVac3W8GsYAzSFtTtiZvCJlFb/TgrAN9DYpYkfx1
 8l2vhvvta4wDAVnqB4060PjXYskdIRsPzCzD+ZMjksLtCzb+dZD4ocRkX/3ZqbEp6jKV
 dyEm0pOr3X9atsX9A8LPm0h6dtYAGLb8o9WyuPZexXTx1cFY5PqL5RKvrA5+DoBgbL51
 oRTg==
X-Gm-Message-State: AOJu0YxRrFTiFxpqt5g9lnD3V8SSOrdFLG7mn5a1h91qCv8dqTggZ+q2
 602ikO3wJFVc7uYydQPhJu67TbuUtwSDqP/ToevtsP7f2/aI4pYpz9SGsxULwA==
X-Gm-Gg: AZuq6aJKzZZ5CjqtnUpOjV6CprGtqAJ2OhfPpMu85ClrDdn8wpQgGB1Je4ArG8+k9Rg
 2Tyq8TvF0iHTh3tW0O+ET56CPowNPIT73XYPdDxfYlksVjmrJSJ7bJ9RGrF+xq9kVDmTFoqqkPs
 4T8/0vP10Un90US7fWzSLGnn4s+sIdUVTF4UAOE0ZjzoOBkXaYbX1nmPnt2//7tp+xFgcAGwD8Y
 uUt+ZWJ4YD+h5JKqqyxPMxXeLRXXaJyykwiEat+qK0w7c4S63xPk2j9huOMR3yr4KUGzYqsMG6r
 X5q4ifqYVzo0BJKfRkW4Cbmqh+0kd6H8sH3xzdG390doadFjIdjEuc9lIaH9fHUImGIPczIEVf+
 d2UqPotlm2Lm6S+aScxhNfGG6mblNjM+8yL6GM4RU3tGrtfBK1rONq8XbSvXpSoUunq8me5KALC
 5jUb/KOTGayLrVLQ3fGFcvxynnwtYqqjQwtHfvP3JuzvYYDozOYKj8QRk/PbeBJF3HhD+lcE+fv
 6Vv1g==
X-Received: by 2002:a05:600c:1549:b0:471:114e:5894 with SMTP id
 5b1f17b1804b1-482db4e3054mr100938575e9.25.1769949637632; 
 Sun, 01 Feb 2026 04:40:37 -0800 (PST)
Received: from ?IPV6:2a0a:ef40:2c:1c01:1fc:fc96:1ade:bda8?
 ([2a0a:ef40:2c:1c01:1fc:fc96:1ade:bda8])
 by smtp.gmail.com with ESMTPSA id
 5b1f17b1804b1-4806cdebf86sm304882995e9.8.2026.02.01.04.40.36
 for <80307 <at> debbugs.gnu.org>
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Sun, 01 Feb 2026 04:40:36 -0800 (PST)
Content-Type: multipart/mixed; boundary="------------gUyr1DL2B3f5BzyRxUu0qPVL"
Message-ID: <18297495-5e1e-4800-919b-05e1d51f9738@HIDDEN>
Date: Sun, 1 Feb 2026 12:40:36 +0000
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-GB
To: 80307 <at> debbugs.gnu.org
From: opensauce04@HIDDEN
Subject: Re: bug#80307: Add ns-toolbar-style frame parameter on macOS
X-Spam-Score: 1.3 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  > Please post patches as binary attachments, preferably using
    the output > of the "git format-patch" command.  The way you did it, your
    email > software squashed the leading whitespace of every line, [...] 
 
 Content analysis details:   (1.3 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (opensauce04[at]gmail.com)
  1.0 FORGED_GMAIL_RCVD      'From' gmail.com does not match 'Received'
                             headers
 -0.0 SPF_PASS               SPF: sender matches SPF record
  0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
                             in digit (opensauce04[at]gmail.com)
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
                              no trust
                             [2a00:1450:4864:20:0:0:0:42d listed in]
                             [list.dnswl.org]
  0.0 HTML_MESSAGE           BODY: HTML included in message
X-Debbugs-Envelope-To: 80307
X-Mailman-Approved-At: Sun, 01 Feb 2026 08:14:09 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.3 (/)

This is a multi-part message in MIME format.
--------------gUyr1DL2B3f5BzyRxUu0qPVL
Content-Type: multipart/alternative;
 boundary="------------xIomRETQut006D3Z3cV11WIo"

--------------xIomRETQut006D3Z3cV11WIo
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

> Please post patches as binary attachments, preferably using the output
> of the "git format-patch" command.  The way you did it, your email
> software squashed the leading whitespace of every line, which makes
> the patch unusable.

Ah, sorry! I assumed that when Emacs put the patch text into the email
body, it would just ready to send as-is.

> In any case, the names of the styles should not blindly follow the
> macOS names, but instead make sense to Emacs users.  For example,
> "preference" should probably be called "centered", "expanded" should
> be "left-aligned" or somesuch, etc.

I've attached a new patch which addresses this. These are how the changes
map to the old names:
- auto <- automatic
- left <- expanded
- center <- preference
- right <- unified
- right-compact <- unified-compact
I dropped the proposed '-aligned' suffix because it seemed redundant to add
it to each option when they all align the toolbar in some way. Please 
let me know
if you feel differently and I'll adjust the names accordingly.

> We try to avoid having features that are only available on
> some platforms, especially if those platforms are proprietary. So I
> must ask: is this kind of feature available on GNU/Linux, in the GTK
> or PGTK builds?  If not, we will need to wait until those builds can
> use this feature. 

This seems rather arbitrary. If that's the case, why does Emacs support 
using
the macOS-exclusive ns-transparent-titlebar and ns-appearance values? I 
don't
see any reasons that those would be included and this wouldn't.

In fact, ns-toolbar-style arguably has more of a right to exist because 
it's being
introduced in response to a non-user-configurable change Emacs made to its
appearance which some users evidently won't like. In the email exchange 
where the
change was introduced, someone voiced their dislike for the new appearance,
calling it "outdated" and bringing up the valid criticism that it takes 
away vertical space.
I'm sure there are others that would feel the same if they knew of the 
change, but they either
aren't using Emacs 31 or don't follow the mailing list. I was one of 
those people until
the other day when I built Emacs 31 out of curiosity and discovered the 
change, and
I agree with the person in the mailing list that the new toolbar style 
is an overall downgrade.

It's also worth noting that this patch doesn't really introduce any new 
interactions with
proprietary frameworks. The code which sets `setToolbarStyle`  was 
introduced by the patch
I referenced in my original email. This feature simply allows users to 
control which value is
passed to `setToolbarStyle`.


--------------xIomRETQut006D3Z3cV11WIo
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html>
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <blockquote type="cite" style="color: #007cff;">Please post patches
      as binary attachments, preferably using the output
      <br>
      of the "git format-patch" command.  The way you did it, your email
      <br>
      software squashed the leading whitespace of every line, which
      makes
      <br>
      the patch unusable.
      <br>
    </blockquote>
    <br>
    Ah, sorry! I assumed that when Emacs put the patch text into the
    email
    <br>
    body, it would just ready to send as-is.
    <br>
    <br>
    <blockquote type="cite" style="color: #007cff;">In any case, the
      names of the styles should not blindly follow the
      <br>
      macOS names, but instead make sense to Emacs users.  For example,
      <br>
      "preference" should probably be called "centered", "expanded"
      should
      <br>
      be "left-aligned" or somesuch, etc.
      <br>
    </blockquote>
    <br>
    I've attached a new patch which addresses this. These are how the
    changes
    <br>
    map to the old names:
    <br>
    - auto &lt;- automatic
    <br>
    - left &lt;- expanded
    <br>
    - center &lt;- preference
    <br>
    - right &lt;- unified
    <br>
    - right-compact &lt;- unified-compact
    <br>
    I dropped the proposed '-aligned' suffix because it seemed redundant
    to add
    <br>
    it to each option when they all align the toolbar in some way.
    Please let me know
    <br>
    if you feel differently and I'll adjust the names accordingly.
    <br>
    <br>
    <blockquote type="cite" style="color: #007cff;">We try to avoid
      having features that are only available on
      <br>
      some platforms, especially if those platforms are proprietary. So
      I
      <br>
      must ask: is this kind of feature available on GNU/Linux, in the
      GTK
      <br>
      or PGTK builds?  If not, we will need to wait until those builds
      can
      <br>
      use this feature. </blockquote>
    <br>
    This seems rather arbitrary. If that's the case, why does Emacs
    support using
    <br>
    the macOS-exclusive ns-transparent-titlebar and ns-appearance
    values? I don't
    <br>
    see any reasons that those would be included and this wouldn't.
    <br>
    <br>
    In fact, ns-toolbar-style arguably has more of a right to exist
    because it's being
    <br>
    introduced in response to a non-user-configurable change Emacs made
    to its
    <br>
    appearance which some users evidently won't like. In the email
    exchange where the
    <br>
    change was introduced, someone voiced their dislike for the new
    appearance,
    <br>
    calling it "outdated" and bringing up the valid criticism that it
    takes away vertical space.
    <br>
    I'm sure there are others that would feel the same if they knew of
    the change, but they either
    <br>
    aren't using Emacs 31 or don't follow the mailing list. I was one of
    those people until
    <br>
    the other day when I built Emacs 31 out of curiosity and discovered
    the change, and
    <br>
    I agree with the person in the mailing list that the new toolbar
    style is an overall downgrade.
    <br>
    <br>
    It's also worth noting that this patch doesn't really introduce any
    new interactions with
    <br>
    proprietary frameworks. The code which sets `setToolbarStyle`  was
    introduced by the patch
    <br>
    I referenced in my original email. This feature simply allows users
    to control which value is
    <br>
    passed to `setToolbarStyle`.
    <p><br>
    </p>
  </body>
</html>

--------------xIomRETQut006D3Z3cV11WIo--

--------------gUyr1DL2B3f5BzyRxUu0qPVL
Content-Type: text/plain; charset=UTF-8;
 name="emacs-ns-toolbar-style-v2.patch"
Content-Disposition: attachment; filename="emacs-ns-toolbar-style-v2.patch"
Content-Transfer-Encoding: base64

ZGlmZiAtLWdpdCBhL2RvYy9saXNwcmVmL2ZyYW1lcy50ZXhpIGIvZG9jL2xpc3ByZWYvZnJh
bWVzLnRleGkKaW5kZXggYmRkNzk1MjhjYWMuLjE5Y2ZkZjkyZGNhIDEwMDY0NAotLS0gYS9k
b2MvbGlzcHJlZi9mcmFtZXMudGV4aQorKysgYi9kb2MvbGlzcHJlZi9mcmFtZXMudGV4aQpA
QCAtMjQ1NSw2ICsyNDU1LDIxIEBAIE1hbmFnZW1lbnQgUGFyYW1ldGVycwogb2YgYm90aCB0
byBtYXRjaCB0aGUgRW1hY3MgYmFja2dyb3VuZCBjb2xvci4KIEBlbmQgdGFibGUKIAorQHZp
bmRleCBucy10b29sYmFyLXN0eWxlQHJ7LCBhIGZyYW1lIHBhcmFtZXRlcn0KK0BpdGVtIG5z
LXRvb2xiYXItc3R5bGUKK09ubHkgYXZhaWxhYmxlIG9uIG1hY09TLCBzZXRzIHRoZSBzdHls
ZSBvZiB0aGUgdG9vbGJhciBpbiB0aGUgbWFjT1MKK3dpbmRvdyB0aXRsZSBiYXIuCitJZiBA
Y29kZXtsZWZ0fSBvciBAY29kZXtuaWx9LCB0aGUgbWVudWJhciBpcyBwb3NpdGlvbmVkIHVu
ZGVyIHRoZQord2luZG93IHRpdGxlIG9uIHRoZSBsZWZ0IHNpZGUgb2Ygb2YgdGhlIHRpdGxl
IGJhci4KK0lmIEBjb2Rle2F1dG99LCBFbWFjcyBhbGxvd3MgbWFjT1MgdG8gYXV0b21hdGlj
YWxseSBzZWxlY3QKK2EgdG9vbGJhciBzdHlsZS4KK0lmIEBjb2Rle2NlbnRlcn0sIHRoZSB0
b29sYmFyIHdpbGwgYmUgcG9zaXRpb25lZCB1bmRlciB0aGUgd2luZG93Cit0aXRsZSBtaWRk
bGUgb2YgdGhlIHRpdGxlIGJhci4KK0lmIEBjb2Rle3JpZ2h0fSwgdGhlIHRvb2xiYXIgd2ls
bCBiZSBwb3NpdGlvbmVkIG9uIHRoZSByaWdodCBzaWRlIG9mCit0aGUgdGl0bGUgYmFyIGlu
IGxpbmUgd2l0aCB0aGUgd2luZG93IHRpdGxlLgorSWYgQGNvZGV7cmlnaHQtY29tcGFjdH0s
IHRoZSB0b29sYmFyIHdpbGwgaGF2ZSBhIHNpbWlsYXIgYXBwZWFyYW5jZQordG8gdGhlIHVu
aWZpZWQgbGF5b3V0LCBleGNlcHQgd2l0aCBhIHNtYWxsZXIgdG9vbGJhci4KKwogCiBAbm9k
ZSBDdXJzb3IgUGFyYW1ldGVycwogQHN1YnN1YnNlY3Rpb24gQ3Vyc29yIFBhcmFtZXRlcnMK
ZGlmZiAtLWdpdCBhL2xpc3AvZnJhbWUuZWwgYi9saXNwL2ZyYW1lLmVsCmluZGV4IDU0NTAy
ODM3YmY2Li4yYjNkMzVjYTY0MCAxMDA2NDQKLS0tIGEvbGlzcC9mcmFtZS5lbAorKysgYi9s
aXNwL2ZyYW1lLmVsCkBAIC04NCw3ICs4NCw3IEBAIGZyYW1lLS1zcGVjaWFsLXBhcmFtZXRl
cnMKICAgICAibWluLXdpZHRoIiAibWluaWJ1ZmZlciIgIm1pbmlidWZmZXItZXhpdCIgIm1v
dXNlLWNvbG9yIgogICAgICJtb3VzZS13aGVlbC1mcmFtZSIgIm5hbWUiICJuby1hY2NlcHQt
Zm9jdXMiICJuby1mb2N1cy1vbi1tYXAiCiAgICAgIm5vLW90aGVyLWZyYW1lIiAibm8tc3Bl
Y2lhbC1nbHlwaHMiICJucy1hcHBlYXJhbmNlIgotICAgICJucy10cmFuc3BhcmVudC10aXRs
ZWJhciIgIm91dGVyLXdpbmRvdy1pZCIgIm92ZXJyaWRlLXJlZGlyZWN0IgorICAgICJucy10
cmFuc3BhcmVudC10aXRsZWJhciIgIm5zLXRvb2xiYXItc3R5bGUiICJvdXRlci13aW5kb3ct
aWQiICJvdmVycmlkZS1yZWRpcmVjdCIKICAgICAicGFyZW50LWZyYW1lIiAicmlnaHQtZnJp
bmdlIiAicmlnaHQtZGl2aWRlci13aWR0aCIgInNjcmVlbi1nYW1tYSIKICAgICAic2Nyb2xs
LWJhci1iYWNrZ3JvdW5kIiAic2Nyb2xsLWJhci1mb3JlZ3JvdW5kIiAic2Nyb2xsLWJhci1o
ZWlnaHQiCiAgICAgInNjcm9sbC1iYXItd2lkdGgiICJzaGFkZWQiICJza2lwLXRhc2tiYXIi
ICJzbmFwLXdpZHRoIiAic3RpY2t5IgpAQCAtMTIxLDYgKzEyMSw4IEBAIGZyYW1lLS1jb21w
bGV0ZS1wYXJhbWV0ZXItdmFsdWUKICAgICAgICAgICAgICAgICAgICAgICAoKGVxIHBhcmFt
ZXRlciAndmlzaWJpbGl0eSkgJygibmlsIiAidCIgImljb24iKSkKICAgICAgICAgICAgICAg
ICAgICAgICAoKG1lbXEgcGFyYW1ldGVyICcobnMtYXBwZWFyYW5jZSBiYWNrZ3JvdW5kLW1v
ZGUpKQogICAgICAgICAgICAgICAgICAgICAgICAnKCJkYXJrIiAibGlnaHQiKSkKKyAgICAg
ICAgICAgICAgICAgICAgICAoKG1lbXEgcGFyYW1ldGVyICcobnMtdG9vbGJhci1zdHlsZSB0
b29sYmFyLXN0eWxlKSkKKyAgICAgICAgICAgICAgICAgICAgICAgJygiYXV0byIgImxlZnQi
ICJjZW50ZXIiICJyaWdodCIgInJpZ2h0LWNvbXBhY3QiKSkKICAgICAgICAgICAgICAgICAg
ICAgICAoKGVxIHBhcmFtZXRlciAnZm9udC1iYWNrZW5kKQogICAgICAgICAgICAgICAgICAg
ICAgICAnKCJ4IiAieGZ0IiAieGZ0aGIiICJmdGNyIiAiZnRjcmhiIiAiZ2RpIgogICAgICAg
ICAgICAgICAgICAgICAgICAgICJ1bmlzY3JpYmUiICJoYXJmYnV6eiIpKQpkaWZmIC0tZ2l0
IGEvc3JjL2ZyYW1lLmMgYi9zcmMvZnJhbWUuYwppbmRleCBkMTk3ZTRkNTM1MS4uNGI1ZDIw
MGE5YmMgMTAwNjQ0Ci0tLSBhL3NyYy9mcmFtZS5jCisrKyBiL3NyYy9mcmFtZS5jCkBAIC0x
MjExLDYgKzEyMTEsNyBAQCBtYWtlX2ZyYW1lIChib29sIG1pbmlfcCkKICNpZmRlZiBOU19J
TVBMX0NPQ09BCiAgIGYtPm5zX2FwcGVhcmFuY2UgPSBuc19hcHBlYXJhbmNlX3N5c3RlbV9k
ZWZhdWx0OwogICBmLT5uc190cmFuc3BhcmVudF90aXRsZWJhciA9IGZhbHNlOworICBmLT5u
c190b29sYmFyX3N0eWxlID0gbnNfdG9vbGJhcl9zdHlsZV9hdXRvbWF0aWM7CiAjZW5kaWYK
ICNlbmRpZgogICBmLT5zZWxlY3RfbWluaV93aW5kb3dfZmxhZyA9IGZhbHNlOwpAQCAtNDg0
OCw2ICs0ODQ5LDcgQEAgREVGVU4gKCJmcmFtZS1zY2FsZS1mYWN0b3IiLCBGZnJhbWVfc2Nh
bGVfZmFjdG9yLCBTZnJhbWVfc2NhbGVfZmFjdG9yLAogI2lmZGVmIE5TX0lNUExfQ09DT0EK
ICAgeyJucy1hcHBlYXJhbmNlIiwJCVNZTUJPTF9JTkRFWCAoUW5zX2FwcGVhcmFuY2UpfSwK
ICAgeyJucy10cmFuc3BhcmVudC10aXRsZWJhciIsCVNZTUJPTF9JTkRFWCAoUW5zX3RyYW5z
cGFyZW50X3RpdGxlYmFyKX0sCisgIHsibnMtdG9vbGJhci1zdHlsZSIsCQlTWU1CT0xfSU5E
RVggKFFuc190b29sYmFyX3N0eWxlKX0sCiAjZW5kaWYKIH07CiAKQEAgLTcyODEsNiArNzI4
Myw3IEBAIHN5bXNfb2ZfZnJhbWUgKHZvaWQpCiAjaWZkZWYgTlNfSU1QTF9DT0NPQQogICBE
RUZTWU0gKFFuc19hcHBlYXJhbmNlLCAibnMtYXBwZWFyYW5jZSIpOwogICBERUZTWU0gKFFu
c190cmFuc3BhcmVudF90aXRsZWJhciwgIm5zLXRyYW5zcGFyZW50LXRpdGxlYmFyIik7Cisg
IERFRlNZTSAoUW5zX3Rvb2xiYXJfc3R5bGUsICJucy10b29sYmFyLXN0eWxlIik7CiAjZW5k
aWYKIAogICBERUZTWU0gKFFhbHBoYSwgImFscGhhIik7CmRpZmYgLS1naXQgYS9zcmMvZnJh
bWUuaCBiL3NyYy9mcmFtZS5oCmluZGV4IDA5MWIxMTJlOGI5Li5lNmJhMzAyOWM4MyAxMDA2
NDQKLS0tIGEvc3JjL2ZyYW1lLmgKKysrIGIvc3JjL2ZyYW1lLmgKQEAgLTczLDYgKzczLDE1
IEBAICNkZWZpbmUgRU1BQ1NfRlJBTUVfSAogICAgIG5zX2FwcGVhcmFuY2VfYXF1YSwKICAg
ICBuc19hcHBlYXJhbmNlX3ZpYnJhbnRfZGFyawogICB9OworCitlbnVtIG5zX3Rvb2xiYXJf
c3R5bGVfdHlwZQorICB7CisgICAgbnNfdG9vbGJhcl9zdHlsZV9hdXRvbWF0aWMsCisgICAg
bnNfdG9vbGJhcl9zdHlsZV9leHBhbmRlZCwKKyAgICBuc190b29sYmFyX3N0eWxlX3ByZWZl
cmVuY2UsCisgICAgbnNfdG9vbGJhcl9zdHlsZV91bmlmaWVkLAorICAgIG5zX3Rvb2xiYXJf
c3R5bGVfdW5pZmllZF9jb21wYWN0CisgIH07CiAjZW5kaWYKICNlbmRpZiAvKiBIQVZFX1dJ
TkRPV19TWVNURU0gKi8KIApAQCAtNzM2LDYgKzc0NSw3IEBAICNkZWZpbmUgRU1BQ1NfRlJB
TUVfSAogICAvKiBOU0FwcGVhcmFuY2UgdGhlbWUgdXNlZCBvbiB0aGlzIGZyYW1lLiAgKi8K
ICAgZW51bSBuc19hcHBlYXJhbmNlX3R5cGUgbnNfYXBwZWFyYW5jZTsKICAgYm9vbF9iZiBu
c190cmFuc3BhcmVudF90aXRsZWJhcjsKKyAgZW51bSBuc190b29sYmFyX3N0eWxlX3R5cGUg
bnNfdG9vbGJhcl9zdHlsZTsKICNlbmRpZgogCiAjaWZkZWYgSEFWRV9URVhUX0NPTlZFUlNJ
T04KQEAgLTEyNTcsNiArMTI2Nyw3IEBAICNkZWZpbmUgRlJBTUVfVE9PTFRJUF9QKGYpICgo
ZiktPnRvb2x0aXApCiAjaWZkZWYgTlNfSU1QTF9DT0NPQQogI2RlZmluZSBGUkFNRV9OU19B
UFBFQVJBTkNFKGYpICgoZiktPm5zX2FwcGVhcmFuY2UpCiAjZGVmaW5lIEZSQU1FX05TX1RS
QU5TUEFSRU5UX1RJVExFQkFSKGYpICgoZiktPm5zX3RyYW5zcGFyZW50X3RpdGxlYmFyKQor
I2RlZmluZSBGUkFNRV9OU19UT09MQkFSX1NUWUxFKGYpICgoZiktPm5zX3Rvb2xiYXJfc3R5
bGUpCiAjZW5kaWYKICNlbHNlIC8qIG5vdCBIQVZFX1dJTkRPV19TWVNURU0gKi8KICNkZWZp
bmUgRlJBTUVfT1ZFUlJJREVfUkVESVJFQ1QoZikgKCh2b2lkKSAoZiksIDApCmRpZmYgLS1n
aXQgYS9zcmMvbnNmbnMubSBiL3NyYy9uc2Zucy5tCmluZGV4IGNmNjg1NjMwYWI3Li43NjU5
ODQ2NzlhNiAxMDA2NDQKLS0tIGEvc3JjL25zZm5zLm0KKysrIGIvc3JjL25zZm5zLm0KQEAg
LTExMTEsNiArMTExMSw3IEBAIFR1cm4gdGhlIGlucHV0IG1lbnUgKGFuIE5TTWVudSkgaW50
byBhIGxpc3AgbGlzdCBmb3IgdHJhY2tpbmcgb24gbGlzcCBzaWRlLgogI2lmZGVmIE5TX0lN
UExfQ09DT0EKICAgbnNfc2V0X2FwcGVhcmFuY2UsCiAgIG5zX3NldF90cmFuc3BhcmVudF90
aXRsZWJhciwKKyAgbnNfc2V0X3Rvb2xiYXJfc3R5bGUsCiAjZW5kaWYKIH07CiAKQEAgLTE0
MTYsNiArMTQxNywxMiBAQCBUdXJuIHRoZSBpbnB1dCBtZW51IChhbiBOU01lbnUpIGludG8g
YSBsaXNwIGxpc3QgZm9yIHRyYWNraW5nIG9uIGxpc3Agc2lkZS4KICAgRlJBTUVfTlNfVFJB
TlNQQVJFTlRfVElUTEVCQVIgKGYpID0gIU5JTFAgKHRlbSkgJiYgIUVRICh0ZW0sIFF1bmJv
dW5kKTsKICAgc3RvcmVfZnJhbWVfcGFyYW0gKGYsIFFuc190cmFuc3BhcmVudF90aXRsZWJh
ciwKICAgICAgICAgICAgICAgICAgICAgIEZSQU1FX05TX1RSQU5TUEFSRU5UX1RJVExFQkFS
IChmKSA/IFF0IDogUW5pbCk7CisKKyAgdGVtID0gZ3VpX2Rpc3BsYXlfZ2V0X2FyZyAoZHB5
aW5mbywgcGFybXMsIFFuc190b29sYmFyX3N0eWxlLAorICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICBOVUxMLCBOVUxMLCBSRVNfVFlQRV9TWU1CT0wpOworICBuc19zZXRfdG9vbGJh
cl9zdHlsZV8xIChmLCB0ZW0pOworICBzdG9yZV9mcmFtZV9wYXJhbSAoZiwgUW5zX3Rvb2xi
YXJfc3R5bGUsCisgICAgICAgICAgICAgICAgICAgICAoIU5JTFAgKHRlbSkgJiYgIUVRICh0
ZW0sIFF1bmJvdW5kKSkgPyB0ZW0gOiBRbmlsKTsKICNlbmRpZgogCiAgIHBhcmVudF9mcmFt
ZSA9IGd1aV9kaXNwbGF5X2dldF9hcmcgKGRweWluZm8sIHBhcm1zLCBRcGFyZW50X2ZyYW1l
LCBOVUxMLCBOVUxMLApAQCAtNDAyMyw2ICs0MDMwLDExIEBAIC0gKExpc3BfT2JqZWN0KWxp
c3BTdHJpbmcKICAgREVGU1lNIChRaWNvbl90aXRsZV9mb3JtYXQsICJpY29uLXRpdGxlLWZv
cm1hdCIpOwogICBERUZTWU0gKFFkYXJrLCAiZGFyayIpOwogICBERUZTWU0gKFFsaWdodCwg
ImxpZ2h0Iik7CisgIERFRlNZTSAoUWF1dG8sICJhdXRvIik7CisgIERFRlNZTSAoUXJpZ2h0
LCAicmlnaHQiKTsKKyAgREVGU1lNIChRY2VudGVyLCAiY2VudGVyIik7CisgIERFRlNZTSAo
UXJpZ2h0LCAicmlnaHQiKTsKKyAgREVGU1lNIChRcmlnaHRfY29tcGFjdCwgInJpZ2h0LWNv
bXBhY3QiKTsKIAogICBERUZWQVJfTElTUCAoIm5zLWljb24tdHlwZS1hbGlzdCIsIFZuc19p
Y29uX3R5cGVfYWxpc3QsCiAgICAgICAgICAgICAgICBkb2M6IC8qIEFsaXN0IG9mIGVsZW1l
bnRzIChSRUdFWFAgLiBJTUFHRSkgZm9yIGltYWdlcyBvZiBpY29ucyBhc3NvY2lhdGVkIHRv
IGZyYW1lcy4KZGlmZiAtLWdpdCBhL3NyYy9uc3Rlcm0uaCBiL3NyYy9uc3Rlcm0uaAppbmRl
eCA3YzFlZTRjZjUzNS4uN2QxMjIyMzQxYTYgMTAwNjQ0Ci0tLSBhL3NyYy9uc3Rlcm0uaAor
KysgYi9zcmMvbnN0ZXJtLmgKQEAgLTEyNDIsNiArMTI0Miw5IEBAICNkZWZpbmUgTlNBUFBf
REFUQTJfUlVORklMRURJQUxPRyAxMQogZXh0ZXJuIHZvaWQgbnNfc2V0X3RyYW5zcGFyZW50
X3RpdGxlYmFyIChzdHJ1Y3QgZnJhbWUgKmYsCiAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgIExpc3BfT2JqZWN0IG5ld192YWx1ZSwKICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgTGlzcF9PYmplY3Qgb2xkX3ZhbHVlKTsKK2V4
dGVybiB2b2lkIG5zX3NldF90b29sYmFyX3N0eWxlXzEgKHN0cnVjdCBmcmFtZSAqZiwgTGlz
cF9PYmplY3QgbmV3X3ZhbHVlKTsKK2V4dGVybiB2b2lkIG5zX3NldF90b29sYmFyX3N0eWxl
IChzdHJ1Y3QgZnJhbWUgKmYsIExpc3BfT2JqZWN0IG5ld192YWx1ZSwKKyAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICBMaXNwX09iamVjdCBvbGRfdmFsdWUpOwogI2VuZGlm
CiBleHRlcm4gaW50IG5zX3NlbGVjdCAoaW50IG5mZHMsIGZkX3NldCAqcmVhZGZkcywgZmRf
c2V0ICp3cml0ZWZkcywKIAkJICAgICAgZmRfc2V0ICpleGNlcHRmZHMsIHN0cnVjdCB0aW1l
c3BlYyAqdGltZW91dCwKZGlmZiAtLWdpdCBhL3NyYy9uc3Rlcm0ubSBiL3NyYy9uc3Rlcm0u
bQppbmRleCBjODUyYjcwYmU3NC4uY2VmN2Q3N2NlYWQgMTAwNjQ0Ci0tLSBhL3NyYy9uc3Rl
cm0ubQorKysgYi9zcmMvbnN0ZXJtLm0KQEAgLTIwMjgsNiArMjAyOCw1OSBAQCBIaWRlIHRo
ZSB3aW5kb3cgKFgxMSBzZW1hbnRpY3MpCiAgICAgfQogI2VuZGlmIC8qIE1BQ19PU19YX1ZF
UlNJT05fTUFYX0FMTE9XRUQgPj0gMTAxMDAwICovCiB9CisKK3N0YXRpYyBOU1dpbmRvd1Rv
b2xiYXJTdHlsZQorbnNfZ2V0X3Rvb2xiYXJfc3R5bGUoZW51bSBuc190b29sYmFyX3N0eWxl
X3R5cGUgcmVxdWVzdGVkX3Rvb2xiYXJfc3R5bGUpIHsKKyAgc3dpdGNoIChyZXF1ZXN0ZWRf
dG9vbGJhcl9zdHlsZSkgeworICBjYXNlIG5zX3Rvb2xiYXJfc3R5bGVfYXV0b21hdGljOgor
ICAgIHJldHVybiBOU1dpbmRvd1Rvb2xiYXJTdHlsZUF1dG9tYXRpYzsKKyAgY2FzZSBuc190
b29sYmFyX3N0eWxlX2V4cGFuZGVkOgorICAgIHJldHVybiBOU1dpbmRvd1Rvb2xiYXJTdHls
ZUV4cGFuZGVkOworICBjYXNlIG5zX3Rvb2xiYXJfc3R5bGVfcHJlZmVyZW5jZToKKyAgICBy
ZXR1cm4gIE5TV2luZG93VG9vbGJhclN0eWxlUHJlZmVyZW5jZTsKKyAgY2FzZSBuc190b29s
YmFyX3N0eWxlX3VuaWZpZWQ6CisgICAgcmV0dXJuIE5TV2luZG93VG9vbGJhclN0eWxlVW5p
ZmllZDsKKyAgY2FzZSBuc190b29sYmFyX3N0eWxlX3VuaWZpZWRfY29tcGFjdDoKKyAgICBy
ZXR1cm4gTlNXaW5kb3dUb29sYmFyU3R5bGVVbmlmaWVkQ29tcGFjdDsKKyAgZGVmYXVsdDoK
KyAgICByZXR1cm4gTlNXaW5kb3dUb29sYmFyU3R5bGVBdXRvbWF0aWM7CisgIH0KK30KKwor
dm9pZAorbnNfc2V0X3Rvb2xiYXJfc3R5bGVfMSAoc3RydWN0IGZyYW1lICpmLCBMaXNwX09i
amVjdCBuZXdfdmFsdWUpCit7CisgIGlmIChFUSAobmV3X3ZhbHVlLCBRYXV0bykpCisgICAg
RlJBTUVfTlNfVE9PTEJBUl9TVFlMRSAoZikgPSBuc190b29sYmFyX3N0eWxlX2F1dG9tYXRp
YzsKKyAgZWxzZSBpZiAoRVEgKG5ld192YWx1ZSwgUWxlZnQpKQorICAgIEZSQU1FX05TX1RP
T0xCQVJfU1RZTEUgKGYpID0gbnNfdG9vbGJhcl9zdHlsZV9leHBhbmRlZDsKKyAgZWxzZSBp
ZiAoRVEgKG5ld192YWx1ZSwgUWNlbnRlcikpCisgICAgRlJBTUVfTlNfVE9PTEJBUl9TVFlM
RSAoZikgPSBuc190b29sYmFyX3N0eWxlX3ByZWZlcmVuY2U7CisgIGVsc2UgaWYgKEVRIChu
ZXdfdmFsdWUsIFFyaWdodCkpCisgICAgRlJBTUVfTlNfVE9PTEJBUl9TVFlMRSAoZikgPSBu
c190b29sYmFyX3N0eWxlX3VuaWZpZWQ7CisgIGVsc2UgaWYgKEVRIChuZXdfdmFsdWUsIFFy
aWdodF9jb21wYWN0KSkKKyAgICBGUkFNRV9OU19UT09MQkFSX1NUWUxFIChmKSA9IG5zX3Rv
b2xiYXJfc3R5bGVfdW5pZmllZF9jb21wYWN0OworICBlbHNlCisgICAgRlJBTUVfTlNfVE9P
TEJBUl9TVFlMRSAoZikgPSBuc190b29sYmFyX3N0eWxlX2V4cGFuZGVkOworfQorCit2b2lk
Cituc19zZXRfdG9vbGJhcl9zdHlsZSAoc3RydWN0IGZyYW1lICpmLCBMaXNwX09iamVjdCBu
ZXdfdmFsdWUsIExpc3BfT2JqZWN0IG9sZF92YWx1ZSkKK3sKKyNpZiBNQUNfT1NfWF9WRVJT
SU9OX01BWF9BTExPV0VEID49IDExMDAwMAorICBFbWFjc1ZpZXcgKnZpZXcgPSAoRW1hY3NW
aWV3ICopRlJBTUVfTlNfVklFVyAoZik7CisgIEVtYWNzV2luZG93ICp3aW5kb3cgPSAoRW1h
Y3NXaW5kb3cgKilbdmlldyB3aW5kb3ddOworCisgIE5TVFJBQ0UgKCJuc19zZXRfdG9vbGJh
cl9zdHlsZSIpOworCisgIGlmIChOU0FwcEtpdFZlcnNpb25OdW1iZXIgPCBOU0FwcEtpdFZl
cnNpb25OdW1iZXIxMV8wKQorICAgIHJldHVybjsKKworICBuc19zZXRfdG9vbGJhcl9zdHls
ZV8xIChmLCBuZXdfdmFsdWUpOworCisgIFt3aW5kb3cgc2V0VG9vbGJhclN0eWxlOiBuc19n
ZXRfdG9vbGJhcl9zdHlsZShGUkFNRV9OU19UT09MQkFSX1NUWUxFIChmKSldOworI2VuZGlm
IC8qIE1BQ19PU19YX1ZFUlNJT05fTUFYX0FMTE9XRUQgPj0gMTEwMDAwICovCit9CiAjZW5k
aWYgLyogTlNfSU1QTF9DT0NPQSAqLwogCiBzdGF0aWMgdm9pZApAQCAtOTYxOSwxMiArOTY3
MiwxMyBAQCAtIChpbnN0YW5jZXR5cGUpIGluaXRXaXRoRW1hY3NGcmFtZTogKHN0cnVjdCBm
cmFtZSAqKSBmCiAgICAgICAgIFtzZWxmIHNldFRhYmJpbmdNb2RlOk5TV2luZG93VGFiYmlu
Z01vZGVEaXNhbGxvd2VkXTsKICNlbmRpZgogICAgICAgLyogQWx3YXlzIHNob3cgdGhlIHRv
b2xiYXIgYmVsb3cgdGhlIHdpbmRvdyB0aXRsZS4gIFRoaXMgaXMgbmVlZGVkCi0JIG9uIE1h
YyBPUyAxMSsgd2hlcmUgdGhlIHRvb2xiYXIgc3R5bGUgaXMgZGVjaWRlZCBieSB0aGUgc3lz
dGVtCi0JICh3aGljaCBpcyB1bnByZWRpY3RhYmxlKSBhbmQgdGhlIG5ld2ZhbmdsZWQgImNv
bXBhY3QiIHRvb2xiYXIKLQkgbWF5IGJlIGNob3NlbiAod2hpY2ggaXMgdW5kZXNpcmFibGUp
LiAgKi8KKyAgICAgICAgIG9uIE1hYyBPUyAxMSsgd2hlcmUgdGhlIHRvb2xiYXIgc3R5bGUg
aXMgZGVjaWRlZCBieSB0aGUgc3lzdGVtCisgICAgICAgICAod2hpY2ggaXMgdW5wcmVkaWN0
YWJsZSkgYW5kIHRoZSBuZXdmYW5nbGVkICJjb21wYWN0IiB0b29sYmFyCisgICAgICAgICBt
YXkgYmUgY2hvc2VuICh3aGljaCBpcyB1bmRlc2lyYWJsZSkuICAqLwogI2lmIGRlZmluZWQg
KE5TX0lNUExfQ09DT0EpICYmIE1BQ19PU19YX1ZFUlNJT05fTUFYX0FMTE9XRUQgPj0gMTEw
MDAwCi0gICAgICBpZiAoW3NlbGYgcmVzcG9uZHNUb1NlbGVjdG9yOkBzZWxlY3RvcihzZXRU
b29sYmFyU3R5bGU6KV0pCi0JW3NlbGYgc2V0VG9vbGJhclN0eWxlOiBOU1dpbmRvd1Rvb2xi
YXJTdHlsZUV4cGFuZGVkXTsKKyAgICAgIGlmIChbc2VsZiByZXNwb25kc1RvU2VsZWN0b3I6
QHNlbGVjdG9yKHNldFRvb2xiYXJTdHlsZTopXSkgeworICAgICAgICBbc2VsZiBzZXRUb29s
YmFyU3R5bGU6IG5zX2dldF90b29sYmFyX3N0eWxlKEZSQU1FX05TX1RPT0xCQVJfU1RZTEUg
KGYpKV07CisgICAgICB9CiAjZW5kaWYKICAgICB9CiAK

--------------gUyr1DL2B3f5BzyRxUu0qPVL--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#80307; Package emacs. Full text available.

Message received at 80307 <at> debbugs.gnu.org:


Received: (at 80307) by debbugs.gnu.org; 1 Feb 2026 09:33:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 01 04:33:58 2026
Received: from localhost ([127.0.0.1]:36187 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1vmTq9-0004VF-FO
	for submit <at> debbugs.gnu.org; Sun, 01 Feb 2026 04:33:58 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:50706)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1vmTq7-0004UQ-Dn
 for 80307 <at> debbugs.gnu.org; Sun, 01 Feb 2026 04:33:55 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1vmTq2-0002Dv-2I; Sun, 01 Feb 2026 04:33:50 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=KjUw6QbM0M1iHSjHZJ1BSd1s2EnpuRLvH503i2373+I=; b=jRzz+68V58EM
 0PqKSsAoj5+PmzkxTKZ7D4pRmzEm5z8j2E3roOQIRA25f7769y+ymAxCt1XmbZYn29NhndUyZD2n4
 +PJHMiZ/AC4vZEdDRBTwnBLCC6MdHPLWSkryTiHZVC9kYiNR8zCiKd2uYy+yhMet9xmCzDYBmy3iA
 YTdJuraQvazDGdGiL/s7z89yN8vi7J7vLa+nU20taAG3HVwpo06AzcAmCtiPUN1vwdfHyKdatD35N
 DfbIXWMbrtlW/udh4TKDwVS48KL57ZDMubRV9f3FBRYce/5DYdzzB7sTWjUJCUQV7u4uJiB60sbVl
 +2kAioHTX00wBCerC73KgQ==;
Date: Sun, 01 Feb 2026 11:33:44 +0200
Message-Id: <86a4xs4xl3.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: opensauce04@HIDDEN
In-Reply-To: <a2ed9095-e014-4902-90a5-9329a5f17297@HIDDEN>
 (opensauce04@HIDDEN)
Subject: Re: bug#80307: Add ns-toolbar-style frame parameter on macOS
References: <a2ed9095-e014-4902-90a5-9329a5f17297@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 80307
Cc: 80307 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Sat, 31 Jan 2026 22:40:47 +0000
> From: opensauce04@HIDDEN
> 
> I am submitting a patch which makes the window toolbar style
> configurable on macOS.
> 
> My motivation for this change was an adjustment made to Emacs 31
> relatively recently (Bug #79900) which adjusted the default appearance
> of the toolbar on macOS from having the style automatically set by macOS
> to instead using the (in my opinion, inferior) "expanded" toolbar style.
> This change was not user-configurable, meaning use of this new style is
> currently forced on users unless they modify Emacs's Objective C source 
> code,
> and a maintainer encouraged others to submit a patch if anyone wished
> for the style to be made configurable.
> 
> I implemented this by adding a new `ns-toolbar-style` frame parameter 
> which can
> be adjusted by the user to immediately switch between any of the 5
> available toolbar style options listed here:
> https://developer.apple.com/documentation/appkit/nswindow/toolbarstyle-swift.enum 

Thanks.  We try to avoid having features that are only available on
some platforms, especially if those platforms are proprietary.  So I
must ask: is this kind of feature available on GNU/Linux, in the GTK
or PGTK builds?  If not, we will need to wait until those builds can
use this feature.

In any case, the names of the styles should not blindly follow the
macOS names, but instead make sense to Emacs users.  For example,
"preference" should probably be called "centered", "expanded" should
be "left-aligned" or somesuch, etc.

> This is my first time interacting with the Emacs codebase, my first time
> meaningfully interacting with Objective C, and my first time submitting
> any patch via email, so hopefully I didn't make any egregious mistakes!
> Please let me know if I did anything wrong or if there's anything I need
> to adjust!

Please post patches as binary attachments, preferably using the output
of the "git format-patch" command.  The way you did it, your email
software squashed the leading whitespace of every line, which makes
the patch unusable.

Thanks again for your interest in Emacs.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#80307; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 1 Feb 2026 08:59:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 01 03:59:22 2026
Received: from localhost ([127.0.0.1]:35772 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1vmTIf-00013t-5z
	for submit <at> debbugs.gnu.org; Sun, 01 Feb 2026 03:59:22 -0500
Received: from lists.gnu.org ([2001:470:142::17]:42814)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <opensauce04@HIDDEN>)
 id 1vmJeD-0003SI-Um
 for submit <at> debbugs.gnu.org; Sat, 31 Jan 2026 17:40:58 -0500
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 <opensauce04@HIDDEN>)
 id 1vmJe8-00017e-FM
 for bug-gnu-emacs@HIDDEN; Sat, 31 Jan 2026 17:40:52 -0500
Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <opensauce04@HIDDEN>)
 id 1vmJe6-0005bL-1w
 for bug-gnu-emacs@HIDDEN; Sat, 31 Jan 2026 17:40:52 -0500
Received: by mail-wr1-x42b.google.com with SMTP id
 ffacd0b85a97d-4327555464cso2337284f8f.1
 for <bug-gnu-emacs@HIDDEN>; Sat, 31 Jan 2026 14:40:49 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1769899248; x=1770504048; darn=gnu.org;
 h=content-transfer-encoding:from:content-language:subject:to
 :user-agent:mime-version:date:message-id:from:to:cc:subject:date
 :message-id:reply-to;
 bh=xZ+Kgl+VS2v9TF6wfyW32V3OoaVeUKWiUawAwmyby44=;
 b=R3r7eTpjG1Kwi3/wdhWS8CehexTncPFMbB3ic38U0dJzy3Gu9qplzkjpLFPt5f0U3J
 wqiqWilmVI5tAE38iBuwkpFje/zMNvGrTErBZ9ZsefWweh1al3FkMHREvaqws55eA2Cx
 VdJalA0GWBEWJJJJ41o9uPWXFv+rLMOiIxXkvRmPmfMFuus/NTHBVbRjWHO6jR/Y5DZQ
 Gz4Mx9272r7QagXrDZKJlY0oSLBgFYczAoHYulzt3UqlQDCqw/8Uz92qIja7zDyT9wTd
 W2+wXKERUTwj+GJeWeYtBIozIbe/+y1CXfWerSekBxF+d2m8KY/oLBKHaWhBTzTK7+Es
 IZVg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1769899248; x=1770504048;
 h=content-transfer-encoding:from:content-language:subject:to
 :user-agent:mime-version:date:message-id:x-gm-gg:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=xZ+Kgl+VS2v9TF6wfyW32V3OoaVeUKWiUawAwmyby44=;
 b=eslTFsN/h+AEccfzhqNEwZJW6LQBF3t/xUmSudJ7Jm74Y+Qw0e5oj4fv0EIC8a7mXA
 GQLTxqE5w88OdjtsGX+ltLYc9srOTckEGCBH5KBKiZCF5zAzg4XUOdozWEusyz+zr8E0
 NJuDL6U4nNi/lU+oDaiqtQhFFTdinxgMLuHawkMhssWfud5VpvnjtRb3rwTGx/TMMZwc
 RXnSDbhOgEN2Wc6VMVbqrRIT5j8Pq5W6TlOa61rDKWJwwov6LV6KZoIq0ypxLZk6Lax5
 sz8/MrFy3h6B23ptSvDCF8+CuO47zAVQs2okgCTbWxHn+61eaNd84AkHe+2XcIWSuNl3
 /x+A==
X-Gm-Message-State: AOJu0Yy7w9745FiplfG0lViRozqq4CnLrCAr22ai4H6AGZoi9ukcrY9c
 VMEuCH4j7kJj6l6hFPNJwS92WHuSSdUFUmmoWnBc4y9UEiiTXxrnVMCy6jEhvw==
X-Gm-Gg: AZuq6aLqoC/TW9foQXDSb9CJYopYOAaCL2wiGGLhayWp0EJ5Vs60hk31I4v2p9EjXEn
 ITrHG4GaXWRDsHqaQNZva9mI28QAZVxm6Td48ofDjsRqdvBPCBnPgoTUuSoMuiAtcDPoZVOtWnh
 wzAaDUGWKshRnSwFsv1rnsNJzwhfytAcw2/yh2S+L7uM8lC41pIqYXPUcxM2ER3iyNJalutaRGc
 W8+4NeGfOYB0upG7LwnmnpcyU7JvWgw6ez9gxAzb6iypcR2+++XyAaGIwKD2ynwv0J4OpFq4iCH
 IFQzq0PoQuLin1YwaFBwpd2mdY9FK3NO8HOGDs9ZRH3jnzaHmDW/GWNjCop68Gn1KqsRXmslpND
 eAOFw1OXV6/T/XOZirLYBTvSX32An8xM8uSXv/zyz/61nOJwjRB3YUFyTXcnK3aqpeLO78wmf4H
 eQkOL4F7Q+YOjMr6lObwAkYuqP+aFm8TEMgxdmOyf2rs7h6kNLVz1euqTamAdr159w/GUVrIUDy
 upMBXLZ
X-Received: by 2002:a05:6000:40c7:b0:42f:b9c6:c894 with SMTP id
 ffacd0b85a97d-435f3aaf86fmr10491995f8f.52.1769899247661; 
 Sat, 31 Jan 2026 14:40:47 -0800 (PST)
Received: from ?IPV6:2a0a:ef40:2c:1c01:f509:c547:5c90:ce44?
 ([2a0a:ef40:2c:1c01:f509:c547:5c90:ce44])
 by smtp.gmail.com with ESMTPSA id
 ffacd0b85a97d-435e1323034sm33215474f8f.35.2026.01.31.14.40.47
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Sat, 31 Jan 2026 14:40:47 -0800 (PST)
Message-ID: <a2ed9095-e014-4902-90a5-9329a5f17297@HIDDEN>
Date: Sat, 31 Jan 2026 22:40:47 +0000
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
To: bug-gnu-emacs@HIDDEN
Subject: Add ns-toolbar-style frame parameter on macOS
Content-Language: en-GB
From: opensauce04@HIDDEN
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=2a00:1450:4864:20::42b;
 envelope-from=opensauce04@HIDDEN; helo=mail-wr1-x42b.google.com
X-Spam_score_int: -17
X-Spam_score: -1.8
X-Spam_bar: -
X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 2.2 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview: --=-=-= Content-Type: text/plain Tags: patch I am submitting
 a patch which makes the window toolbar style configurable on macOS. 
 Content analysis details:   (2.2 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org]
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (opensauce04[at]gmail.com)
 1.0 FORGED_GMAIL_RCVD      'From' gmail.com does not match 'Received'
 headers -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 1.0 SPF_SOFTFAIL           SPF: sender does not match SPF record (softfail)
 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
 in digit (opensauce04[at]gmail.com)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Sun, 01 Feb 2026 03:59:20 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.2 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  --=-=-= Content-Type: text/plain Tags: patch I am submitting
    a patch which makes the window toolbar style configurable on macOS. 
 
 Content analysis details:   (1.2 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (opensauce04[at]gmail.com)
  1.0 FORGED_GMAIL_RCVD      'From' gmail.com does not match 'Received'
                             headers
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
  1.0 SPF_SOFTFAIL           SPF: sender does not match SPF record (softfail)
  0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
                             in digit (opensauce04[at]gmail.com)
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
                              no trust
                             [2001:470:142:0:0:0:0:17 listed in]
                             [list.dnswl.org]
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager


--=-=-=
Content-Type: text/plain

Tags: patch

I am submitting a patch which makes the window toolbar style
configurable on macOS.

My motivation for this change was an adjustment made to Emacs 31
relatively recently (Bug #79900) which adjusted the default appearance
of the toolbar on macOS from having the style automatically set by macOS
to instead using the (in my opinion, inferior) "expanded" toolbar style.
This change was not user-configurable, meaning use of this new style is
currently forced on users unless they modify Emacs's Objective C source 
code,
and a maintainer encouraged others to submit a patch if anyone wished
for the style to be made configurable.

I implemented this by adding a new `ns-toolbar-style` frame parameter 
which can
be adjusted by the user to immediately switch between any of the 5
available toolbar style options listed here:
https://developer.apple.com/documentation/appkit/nswindow/toolbarstyle-swift.enum 


I have locally tested all of these available options, and they all
appear as expected. I based the implementation of this new frame parameter
on the existing surrounding code, so hopefully I am following expected
best practice.

The "expanded" style enforced by the aforementioned prior change is
still the default, meaning that users won't see any change from this
patch unless they wish to change the toolbar style by modifying the
ns-toolbar-style parameter.

This is my first time interacting with the Emacs codebase, my first time
meaningfully interacting with Objective C, and my first time submitting
any patch via email, so hopefully I didn't make any egregious mistakes!
Please let me know if I did anything wrong or if there's anything I need
to adjust!



In GNU Emacs 31.0.50 (build 37, aarch64-apple-darwin25.2.0, NS
appkit-2685.30 Version 26.2 (Build 25C56)) of 2026-01-31 built on
Mac.powerhub
Repository revision: 87dfb040b08adf22cea41115adaa913997c04437
Repository branch: master
Windowing system distributor 'Apple', version 10.3.2685
System Description: macOS 26.2

Configured using:
'configure --without-all --with-gnutls --with-modules --with-threads
--with-toolkit-scroll-bars --with-tree-sitter
--enable-link-time-optimization'


--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment; filename=emacs-ns-toolbar-style.patch

diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi
index bdd79528cac..b43fbec3119 100644
--- a/doc/lispref/frames.texi
+++ b/doc/lispref/frames.texi
@@ -2455,6 +2455,21 @@ Management Parameters
of both to match the Emacs background color.
@end table

+@vindex ns-toolbar-style@r{, a frame parameter}
+@item ns-toolbar-style
+Only available on macOS, sets the style of the toolbar in the macOS
+window title bar.
+If @code{expanded} or @code{nil}, the menubar is positioned under the
+window title on the left side of of the title bar.
+If @code{automatic}, Emacs allows macOS to automatically select
+a toolbar style.
+If @code{preference}, the toolbar will be positioned under the window
+title middle of the title bar.
+If @code{unified}, the toolbar will be positioned on the right side of
+the title bar in line with the window title.
+If @code{unified-compressed}, the toolbar will have a similar appearance
+to the unified layout, except with a smaller toolbar.
+

@node Cursor Parameters
@subsubsection Cursor Parameters
diff --git a/lisp/frame.el b/lisp/frame.el
index 54502837bf6..a277151c9b3 100644
--- a/lisp/frame.el
+++ b/lisp/frame.el
@@ -84,7 +84,7 @@ frame--special-parameters
"min-width" "minibuffer" "minibuffer-exit" "mouse-color"
"mouse-wheel-frame" "name" "no-accept-focus" "no-focus-on-map"
"no-other-frame" "no-special-glyphs" "ns-appearance"
- "ns-transparent-titlebar" "outer-window-id" "override-redirect"
+ "ns-transparent-titlebar" "ns-toolbar-style" "outer-window-id" 
"override-redirect"
"parent-frame" "right-fringe" "right-divider-width" "screen-gamma"
"scroll-bar-background" "scroll-bar-foreground" "scroll-bar-height"
"scroll-bar-width" "shaded" "skip-taskbar" "snap-width" "sticky"
@@ -121,6 +121,8 @@ frame--complete-parameter-value
((eq parameter 'visibility) '("nil" "t" "icon"))
((memq parameter '(ns-appearance background-mode))
'("dark" "light"))
+ ((memq parameter '(ns-toolbar-style toolbar-style))
+ '("automatic" "expanded" "preference" "unified" "unified-compact"))
((eq parameter 'font-backend)
'("x" "xft" "xfthb" "ftcr" "ftcrhb" "gdi"
"uniscribe" "harfbuzz"))
diff --git a/src/frame.c b/src/frame.c
index d197e4d5351..4b5d200a9bc 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -1211,6 +1211,7 @@ make_frame (bool mini_p)
#ifdef NS_IMPL_COCOA
f->ns_appearance = ns_appearance_system_default;
f->ns_transparent_titlebar = false;
+ f->ns_toolbar_style = ns_toolbar_style_automatic;
#endif
#endif
f->select_mini_window_flag = false;
@@ -4848,6 +4849,7 @@ DEFUN ("frame-scale-factor", Fframe_scale_factor, 
Sframe_scale_factor,
#ifdef NS_IMPL_COCOA
{"ns-appearance", SYMBOL_INDEX (Qns_appearance)},
{"ns-transparent-titlebar", SYMBOL_INDEX (Qns_transparent_titlebar)},
+ {"ns-toolbar-style", SYMBOL_INDEX (Qns_toolbar_style)},
#endif
};

@@ -7281,6 +7283,7 @@ syms_of_frame (void)
#ifdef NS_IMPL_COCOA
DEFSYM (Qns_appearance, "ns-appearance");
DEFSYM (Qns_transparent_titlebar, "ns-transparent-titlebar");
+ DEFSYM (Qns_toolbar_style, "ns-toolbar-style");
#endif

DEFSYM (Qalpha, "alpha");
diff --git a/src/frame.h b/src/frame.h
index 091b112e8b9..e6ba3029c83 100644
--- a/src/frame.h
+++ b/src/frame.h
@@ -73,6 +73,15 @@ #define EMACS_FRAME_H
ns_appearance_aqua,
ns_appearance_vibrant_dark
};
+
+enum ns_toolbar_style_type
+ {
+ ns_toolbar_style_automatic,
+ ns_toolbar_style_expanded,
+ ns_toolbar_style_preference,
+ ns_toolbar_style_unified,
+ ns_toolbar_style_unified_compact
+ };
#endif
#endif /* HAVE_WINDOW_SYSTEM */

@@ -736,6 +745,7 @@ #define EMACS_FRAME_H
/* NSAppearance theme used on this frame. */
enum ns_appearance_type ns_appearance;
bool_bf ns_transparent_titlebar;
+ enum ns_toolbar_style_type ns_toolbar_style;
#endif

#ifdef HAVE_TEXT_CONVERSION
@@ -1257,6 +1267,7 @@ #define FRAME_TOOLTIP_P(f) ((f)->tooltip)
#ifdef NS_IMPL_COCOA
#define FRAME_NS_APPEARANCE(f) ((f)->ns_appearance)
#define FRAME_NS_TRANSPARENT_TITLEBAR(f) ((f)->ns_transparent_titlebar)
+#define FRAME_NS_TOOLBAR_STYLE(f) ((f)->ns_toolbar_style)
#endif
#else /* not HAVE_WINDOW_SYSTEM */
#define FRAME_OVERRIDE_REDIRECT(f) ((void) (f), 0)
diff --git a/src/nsfns.m b/src/nsfns.m
index cf685630ab7..1efbb1590da 100644
--- a/src/nsfns.m
+++ b/src/nsfns.m
@@ -1111,6 +1111,7 @@ Turn the input menu (an NSMenu) into a lisp list 
for tracking on lisp side.
#ifdef NS_IMPL_COCOA
ns_set_appearance,
ns_set_transparent_titlebar,
+ ns_set_toolbar_style,
#endif
};

@@ -1416,6 +1417,12 @@ Turn the input menu (an NSMenu) into a lisp list 
for tracking on lisp side.
FRAME_NS_TRANSPARENT_TITLEBAR (f) = !NILP (tem) && !EQ (tem, Qunbound);
store_frame_param (f, Qns_transparent_titlebar,
FRAME_NS_TRANSPARENT_TITLEBAR (f) ? Qt : Qnil);
+
+ tem = gui_display_get_arg (dpyinfo, parms, Qns_toolbar_style,
+ NULL, NULL, RES_TYPE_SYMBOL);
+ ns_set_toolbar_style_1 (f, tem);
+ store_frame_param (f, Qns_toolbar_style,
+ (!NILP (tem) && !EQ (tem, Qunbound)) ? tem : Qnil);
#endif

parent_frame = gui_display_get_arg (dpyinfo, parms, Qparent_frame, NULL, 
NULL,
@@ -4023,6 +4030,11 @@ - (Lisp_Object)lispString
DEFSYM (Qicon_title_format, "icon-title-format");
DEFSYM (Qdark, "dark");
DEFSYM (Qlight, "light");
+ DEFSYM (Qautomatic, "automatic");
+ DEFSYM (Qexpanded, "expanded");
+ DEFSYM (Qpreference, "preference");
+ DEFSYM (Qunified, "unified");
+ DEFSYM (QunifiedCompact, "unified-compact");

DEFVAR_LISP ("ns-icon-type-alist", Vns_icon_type_alist,
doc: /* Alist of elements (REGEXP . IMAGE) for images of icons 
associated to frames.
diff --git a/src/nsterm.h b/src/nsterm.h
index 7c1ee4cf535..7d1222341a6 100644
--- a/src/nsterm.h
+++ b/src/nsterm.h
@@ -1242,6 +1242,9 @@ #define NSAPP_DATA2_RUNFILEDIALOG 11
extern void ns_set_transparent_titlebar (struct frame *f,
Lisp_Object new_value,
Lisp_Object old_value);
+extern void ns_set_toolbar_style_1 (struct frame *f, Lisp_Object 
new_value);
+extern void ns_set_toolbar_style (struct frame *f, Lisp_Object new_value,
+ Lisp_Object old_value);
#endif
extern int ns_select (int nfds, fd_set *readfds, fd_set *writefds,
fd_set *exceptfds, struct timespec *timeout,
diff --git a/src/nsterm.m b/src/nsterm.m
index c852b70be74..7920f9d1e2d 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -2028,6 +2028,59 @@ Hide the window (X11 semantics)
}
#endif /* MAC_OS_X_VERSION_MAX_ALLOWED >= 101000 */
}
+
+static NSWindowToolbarStyle
+ns_get_toolbar_style(enum ns_toolbar_style_type requested_toolbar_style) {
+ switch (requested_toolbar_style) {
+ case ns_toolbar_style_automatic:
+ return NSWindowToolbarStyleAutomatic;
+ case ns_toolbar_style_expanded:
+ return NSWindowToolbarStyleExpanded;
+ case ns_toolbar_style_preference:
+ return NSWindowToolbarStylePreference;
+ case ns_toolbar_style_unified:
+ return NSWindowToolbarStyleUnified;
+ case ns_toolbar_style_unified_compact:
+ return NSWindowToolbarStyleUnifiedCompact;
+ default:
+ return NSWindowToolbarStyleAutomatic;
+ }
+}
+
+void
+ns_set_toolbar_style_1 (struct frame *f, Lisp_Object new_value)
+{
+ if (EQ (new_value, Qautomatic))
+ FRAME_NS_TOOLBAR_STYLE (f) = ns_toolbar_style_automatic;
+ else if (EQ (new_value, Qexpanded))
+ FRAME_NS_TOOLBAR_STYLE (f) = ns_toolbar_style_expanded;
+ else if (EQ (new_value, Qpreference))
+ FRAME_NS_TOOLBAR_STYLE (f) = ns_toolbar_style_preference;
+ else if (EQ (new_value, Qunified))
+ FRAME_NS_TOOLBAR_STYLE (f) = ns_toolbar_style_unified;
+ else if (EQ (new_value, QunifiedCompact))
+ FRAME_NS_TOOLBAR_STYLE (f) = ns_toolbar_style_unified_compact;
+ else
+ FRAME_NS_TOOLBAR_STYLE (f) = ns_toolbar_style_expanded;
+}
+
+void
+ns_set_toolbar_style (struct frame *f, Lisp_Object new_value, 
Lisp_Object old_value)
+{
+#if MAC_OS_X_VERSION_MAX_ALLOWED >= 110000
+ EmacsView *view = (EmacsView *)FRAME_NS_VIEW (f);
+ EmacsWindow *window = (EmacsWindow *)[view window];
+
+ NSTRACE ("ns_set_toolbar_style");
+
+ if (NSAppKitVersionNumber < NSAppKitVersionNumber11_0)
+ return;
+
+ ns_set_toolbar_style_1 (f, new_value);
+
+ [window setToolbarStyle: ns_get_toolbar_style(FRAME_NS_TOOLBAR_STYLE 
(f))];
+#endif /* MAC_OS_X_VERSION_MAX_ALLOWED >= 110000 */
+}
#endif /* NS_IMPL_COCOA */

static void
@@ -9619,12 +9672,13 @@ - (instancetype) initWithEmacsFrame: (struct 
frame *) f
[self setTabbingMode:NSWindowTabbingModeDisallowed];
#endif
/* Always show the toolbar below the window title. This is needed
- on Mac OS 11+ where the toolbar style is decided by the system
- (which is unpredictable) and the newfangled "compact" toolbar
- may be chosen (which is undesirable). */
+ on Mac OS 11+ where the toolbar style is decided by the system
+ (which is unpredictable) and the newfangled "compact" toolbar
+ may be chosen (which is undesirable). */
#if defined (NS_IMPL_COCOA) && MAC_OS_X_VERSION_MAX_ALLOWED >= 110000
- if ([self respondsToSelector:@selector(setToolbarStyle:)])
- [self setToolbarStyle: NSWindowToolbarStyleExpanded];
+ if ([self respondsToSelector:@selector(setToolbarStyle:)]) {
+ [self setToolbarStyle: ns_get_toolbar_style(FRAME_NS_TOOLBAR_STYLE (f))];
+ }
#endif
}


--=-=-=--





Acknowledgement sent to opensauce04@HIDDEN:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#80307; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 28 May 2026 11:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.