From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Paul W. Rankin" via "Emacs development discussions." Newsgroups: gmane.emacs.devel Subject: Re: src/nsterm.m: fix window tabbing on macOS Date: Mon, 7 Jun 2021 10:11:17 +1000 Message-ID: References: <65f1-60bcfd80-157-23301c40@168015757> Reply-To: "Paul W. Rankin" Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.100.0.2.22\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="677"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Alan Third , Eli Zaretskii , emacs-devel@gnu.org To: Naofumi Yasufuku Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jun 07 03:17:08 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lq3t5-000AZC-Tw for ged-emacs-devel@m.gmane-mx.org; Mon, 07 Jun 2021 03:17:07 +0200 Original-Received: from localhost ([::1]:55354 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lq3t4-00072w-Di for ged-emacs-devel@m.gmane-mx.org; Sun, 06 Jun 2021 21:17:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38546) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lq3D2-000180-Ai for emacs-devel@gnu.org; Sun, 06 Jun 2021 20:33:54 -0400 Original-Received: from sendmail.purelymail.com ([34.202.193.197]:46604) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lq3Bt-0000vi-JL for emacs-devel@gnu.org; Sun, 06 Jun 2021 20:33:22 -0400 DKIM-Signature: a=rsa-sha256; b=yG0BeFLRcCqOlutLqMGjvpUxXc52QnGtVn4AaVjaHCAl9DgnEIbjy/qJ308lrNNtTu/QRk/oWHT2OaM1l0ADuT/FfzQ3KB17bM4fj547GEX51IUaPhfk+Vi425gJDCph+7e2jjk+Hs7VueqBtHL2h0R4zuWeM2JtejH/dR8QszyVZf9UYzVw68Jh2nr5KtSvsq5whtOogeLvq+VEc40+OIWgzHTrrocetCkYCoOmEpaIr5Ews+PPdKqq4RDM6LUIgKnfRUJ2QXYNfQ5twfL+tJMDLsw6Acuo8GdJ7aM5ZImT5maUzydb2FAU2Qa3XwOhPESc9d3QFg5IJhuRNw2iWQ==; s=purelymail3; d=bydasein.com; v=1; bh=S7LT0mTPjhWA1oAG3mj0UDaxjO2z6ix5SrydwyPM6PU=; h=Received:From:To; DKIM-Signature: a=rsa-sha256; b=NSuUqSkAZkXx+/R+UD+N3I2KGFmEWPsULmw4EapVkdRkcEg1AMwhYYRAKWKSh/9l2ZdhVgJXEPxizOnCotUGZkIIg52s+6oH5pALBbFrBUM/vwkRAJ4WlXRkAnW2dHRVpdZgNSDVyIqmKyQuBsJ77oTx3daeKHAbQoX1flnEb4XOK82xOapll8T/hRiyMmN0gDFPxa4SwGNw4jW9d+SArSDXSBlLxqzxOgJqZsdPMYlWz53y0/En+pV1pz7i7iNgVQe6eqaCTrR8ItA9gyEyuN4zWC2/z6Mku9f1nzVpgOL2N6sAa4ZqQlvj1UfGutrRN2pS8xTQ5haZpFRGOiJcdw==; s=purelymail3; d=purelymail.com; v=1; bh=S7LT0mTPjhWA1oAG3mj0UDaxjO2z6ix5SrydwyPM6PU=; h=Feedback-ID:Received:From:To; Feedback-ID: 791:353:null:purelymail X-Pm-Original-To: emacs-devel@gnu.org Original-Received: by ip-172-30-0-164.ec2.internal (JAMES SMTP Server ) with ESMTPA ID 241205363; Mon, 07 Jun 2021 00:11:24 +0000 (UTC) In-Reply-To: <65f1-60bcfd80-157-23301c40@168015757> X-Mailer: Apple Mail (2.3654.100.0.2.22) Received-SPF: pass client-ip=34.202.193.197; envelope-from=pwr@bydasein.com; helo=sendmail.purelymail.com 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, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, T_SPF_HELO_TEMPERROR=0.01, T_SPF_TEMPERROR=0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:270507 Archived-At: > On 7 Jun 2021, at 2:52 am, naofumi@yasufuku.dev wrote: >=20 > After this nsterm.m change for native tabs, I cannot realize the = previous > fullscreen frame behavior with macOS system preference 'Prefer tabs' = settings. >=20 >=20 > I think this native tabs feature should be choosable by user, as Alan = said: *It is* choosable by the user, via System Preferences. Please see the = original discussion here: > There are three positions someone could take: >=20 > 1. wants tabs in all macOS apps including Emacs.app > 2. does not want tabs in any macOS apps including Emacs.app > 3. wants tabs in all other macOS except for Emacs.app >=20 > Anyone in categories 1 and 2 will be covered by the option in System = Preferences. Given that all I think we're doing here is removing old = barrier code to have Emacs function with an OS's native window manager, = anyone in the third category would be putting the onus on themselves to = write code for additional functionality. If you fall into the last category you cannot expect that the commit is = reverted thus prohibiting every other person (including me) from using = the native tabs just because you want some esoteric behaviour. What should have been clear from the discussion is that achieving = optimal native tab behaviour on macOS is going to be a *multi-step = process*. This is just the first step. You are of course welcome to = submit your own patches in the continuation of this process.