From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Documentation of tab-bar-show and friends Date: Sat, 11 Sep 2021 15:02:32 +0300 Message-ID: <83mtojgw13.fsf@gnu.org> References: <83mtoqrul8.fsf@gnu.org> <874kaxj0qo.fsf@mail.linkov.net> <83tuixr8xb.fsf@gnu.org> <87czpi6ypp.fsf@mail.linkov.net> <83pmthk5dp.fsf@gnu.org> <878s05oac9.fsf@mail.linkov.net> <83mtolk1u9.fsf@gnu.org> <87pmthk0zf.fsf@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8471"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Sep 11 14:05:26 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 1mP1l8-000205-5t for ged-emacs-devel@m.gmane-mx.org; Sat, 11 Sep 2021 14:05:26 +0200 Original-Received: from localhost ([::1]:38322 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mP1l7-0002Fd-1y for ged-emacs-devel@m.gmane-mx.org; Sat, 11 Sep 2021 08:05:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45648) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mP1id-0008Rb-2g for emacs-devel@gnu.org; Sat, 11 Sep 2021 08:02:51 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60146) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mP1iY-0001vi-SY; Sat, 11 Sep 2021 08:02:48 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4924 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mP1iY-00039s-9L; Sat, 11 Sep 2021 08:02:46 -0400 In-Reply-To: <87pmthk0zf.fsf@mail.linkov.net> (message from Juri Linkov on Thu, 09 Sep 2021 22:22:44 +0300) 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:274544 Archived-At: > From: Juri Linkov > Cc: emacs-devel@gnu.org > Date: Thu, 09 Sep 2021 22:22:44 +0300 > > >> Generally, there are two levels of customization: > >> > >> 1. The global tab-bar-show that defines when to show/hide the tab bar > >> depending on the number of tabs. This variable affects all frames. > >> > >> 2. It's possible to override the aforementioned behavior > >> by explicitly calling toggle-frame-tab-bar on a frame. > >> Then the value of tab-bar-show has no effect on that frame. > > > > Then I don't understand why NEWS says > > > > *** The tab bar is frame-local when 'tab-bar-show' is a number. > > You can show/hide the tab bar independently for each frame, according > > to the value of 'tab-bar-show'. > > > > If you say that frame-local tab bar _overrides_ tab-bar-show, then how > > come the value of tab-bar-show is described here as _causing_ the tab > > bar to be frame-local? > > The tab bar is frame-local in the sense that it is enabled/disabled > depending on the number of its tabs. So e.g. on a frame with one tab > there is no tab bar, on another frame with two tabs there is a tab bar, > when tab-bar-show is 1, and toggle-frame-tab-bar was not used. So the heading in NEWS, viz.: *** The tab bar is frame-local when 'tab-bar-show' is a number. is incorrect, and should instead say that the tab bar can be made frame-local by using toggle-frame-tab-bar, is that correct? Because the above heading tells me "if tab-show is set to a number, the tab bar becomes frame-local", which is not correct, right? Suppose now I did use toggle-frame-tab-bar, it still only allows me only to enable and disable the tab bar for specific frames, but the value of tab-bar-show is still the same for all the frames that do display the tab bar. Correct? Thanks.