From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrii Kolomoiets Newsgroups: gmane.emacs.devel Subject: Re: src/nsterm.m: fix window tabbing on macOS Date: Fri, 28 May 2021 12:07:36 +0300 Message-ID: References: <9cdf9d6dc55ccd4894d758d3237b0be2@purelymail.com> <03FB7137-A02D-4B94-AF1F-8B7E84DEF5DB@bydasein.com> <39fa782b82e274d3e9c40e934df89d68@purelymail.com> <4cf0b73bcefc7d159881d368b3a4b7f5@purelymail.com> <14A97A03-E9F8-4B6D-8E58-D29CEFA7931C@bydasein.com> <5a9c34f8-fcc2-fb5d-f726-e1ce47621ed7@gmx.at> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28088"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) Cc: Alan Third , "Paul W. Rankin" , emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri May 28 11:08:19 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 1lmYTa-00072l-Vx for ged-emacs-devel@m.gmane-mx.org; Fri, 28 May 2021 11:08:18 +0200 Original-Received: from localhost ([::1]:35372 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lmYTa-0006lW-0n for ged-emacs-devel@m.gmane-mx.org; Fri, 28 May 2021 05:08:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53886) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmYT0-00064l-DC for emacs-devel@gnu.org; Fri, 28 May 2021 05:07:42 -0400 Original-Received: from mail-qt1-x830.google.com ([2607:f8b0:4864:20::830]:45630) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lmYSy-0005nX-Up for emacs-devel@gnu.org; Fri, 28 May 2021 05:07:42 -0400 Original-Received: by mail-qt1-x830.google.com with SMTP id h24so2181972qtm.12 for ; Fri, 28 May 2021 02:07:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=I8DMcU2erzGQyvWCJZVXgzOoG/zKLxWDZN2mVkvtWa0=; b=Ueddgk2sJ7hm/zF8WzZ4e9kaXDAN7xIO0vif/Zbx9N2xLcaJuUyf+aGXIElyBAo0es VgOjJzVwzR+tGUIhnrm2BvndMI76Wti6Z+cdH1Y455pETdp1kudrfctHLNNTNDQWA1p8 Lrke+bvYciNHas5MrfOaw/xwWJQFODT1qS9tiYCGp4ClX0uKaBku0L2Un7/e76U64u+K /CoVwSibKkxP31td3m8G5P5jVBE6yN44xb4dhAjBv5Ravar/AJMLtVftyPDs07TxsyJx 7PxCHoeDhlsS1dbDo7MPIUisOIBR2TPem3fNbwu9NPIeFBP/FkdzYLsA6Q3JB+fpd78M 5lmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=I8DMcU2erzGQyvWCJZVXgzOoG/zKLxWDZN2mVkvtWa0=; b=HKsznFIhEGfSPGKo41vbtpwlfiuhGw54CqUljEfP+lrP0jmPr4gd/aR0tBqSyW81gV uimT3iKSGaNP/pm8ACPOL5MVWPWgmkSb6qZsuIS1nZ5UkKD1JMAH3uppg1tBCXMGFOlO MyX1R+QIKOt1J48845oOdfuti2Z5IRC29coCAwCEzJwz5YLigQeIK98argVOtJfYjcbX /LVex5CI7NdlTjcT3qOaMbFEdoyLIqzNZ3M23nwMnYxqVlSGJzL4wVrE/Q5bpgxSHZK6 JGCAMr4tAFS7WJIMVigvizuFjXynklu5wQ1N6vr3ZJRdCMUorKpsLdQrKQgmb+AO6rWm G3gA== X-Gm-Message-State: AOAM5311NnVzy1/86mD/PHra7fBq/EWNzltxPg7pt+rfuG+i5h83t4K7 gHVu9YOfjiNyMbP5LrCiXBZ1IDAJhOUJ/JLU X-Google-Smtp-Source: ABdhPJwNoxPnBkTvuJ4rx1N8FJRKrdx4zQpZFRv153uN4feDWLhn6PsyTmugEXMhl8ksxf3OD/AVWg== X-Received: by 2002:ac8:7763:: with SMTP id h3mr2468826qtu.352.1622192859443; Fri, 28 May 2021 02:07:39 -0700 (PDT) Original-Received: from muffinmac ([91.206.110.246]) by smtp.gmail.com with ESMTPSA id z1sm3076620qki.47.2021.05.28.02.07.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 May 2021 02:07:39 -0700 (PDT) In-Reply-To: <5a9c34f8-fcc2-fb5d-f726-e1ce47621ed7@gmx.at> (martin rudalics's message of "Fri, 28 May 2021 10:36:07 +0200") Received-SPF: pass client-ip=2607:f8b0:4864:20::830; envelope-from=andreyk.mad@gmail.com; helo=mail-qt1-x830.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_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-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:269984 Archived-At: martin rudalics writes: >>> What do s-n and s-w do (which emacs function do they ultimately call)? >>> >>>> Repeat steps 3 and 4 few times, note how the frame height is increased. >> >> s-n (make-frame) >> s-w (delete-frame) > > Hmm... Then "the frame height" refers to the height of different > frames? Does it always increase by the same amount? All Emacs frames are grouped in single window manager window. I refer to that window manager window as frame. Initially the tab bar is hidden. After new frame created (s-n), the tab bar is shown with two tabs, frame height is increased by the tab bar height. After frame deleted (s-w), tab bar become hidden again but frame height is not decreased. -- Andrii