From unknown Wed Jun 18 00:26:38 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#45556 <45556@debbugs.gnu.org> To: bug#45556 <45556@debbugs.gnu.org> Subject: Status: 27.1; Unexpected behavior of `tab-bar-show' variable Reply-To: bug#45556 <45556@debbugs.gnu.org> Date: Wed, 18 Jun 2025 07:26:38 +0000 retitle 45556 27.1; Unexpected behavior of `tab-bar-show' variable reassign 45556 emacs submitter 45556 Marcel Ventosa severity 45556 normal tag 45556 fixed thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 30 12:36:41 2020 Received: (at submit) by debbugs.gnu.org; 30 Dec 2020 17:36:41 +0000 Received: from localhost ([127.0.0.1]:50877 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kufOp-0001GP-VU for submit@debbugs.gnu.org; Wed, 30 Dec 2020 12:36:41 -0500 Received: from lists.gnu.org ([209.51.188.17]:45660) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kuciV-0004dm-Ik for submit@debbugs.gnu.org; Wed, 30 Dec 2020 09:44:47 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39042) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kuciV-0005sd-9i for bug-gnu-emacs@gnu.org; Wed, 30 Dec 2020 09:44:47 -0500 Received: from aibo.runbox.com ([91.220.196.211]:36126) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kuciS-0008Kk-Iy for bug-gnu-emacs@gnu.org; Wed, 30 Dec 2020 09:44:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=selector1; h=Content-Transfer-Encoding:Content-Type:MIME-Version: Message-ID:Subject:To:From:Date; bh=2DeVXFZb82P7BxTkuEEA/IFK8i4CXugQaajxUOmJ+8I=; b=cClabFsL5fnpvQgLRLOmGxeRqp N0HwYDlyPxkiivm0DZkU7gtM6Upkm6V2FU/BtZvQiCb6+jsBKvsQJ38MvgtYrvlAjwCwiWH0hoh2C n+FeQUl/xljn7v6B6tCmPfseUC6qF4kZg2PVeDNH1b+vFeXH9EWqrFUnNYSXXknW5U+P3Jp8Js8gk IKDmjlAnKB3nWs861AMmPpS1rHIEUD26m9NsUqZIBXRXnl7i+eW8jfvdZmIzRhJSlxCL0z48BlOpa UQB6uFaMMJe9jUNYwaS7y1ncPswoWCuHQcBCKHPN0t9tAQoG9SCmLVGnASvgW7eQJ05TDvbcAtsF1 vEksnbMA==; Received: from [10.9.9.73] (helo=submission02.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1kuciQ-0003jq-0P for bug-gnu-emacs@gnu.org; Wed, 30 Dec 2020 15:44:42 +0100 Received: by submission02.runbox with esmtpsa [Authenticated alias (585453)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1kuciG-0008GY-8X for bug-gnu-emacs@gnu.org; Wed, 30 Dec 2020 15:44:32 +0100 Date: Wed, 30 Dec 2020 21:44:19 +0700 From: Marcel Ventosa To: bug-gnu-emacs@gnu.org Subject: 27.1; Unexpected behavior of `tab-bar-show' variable Message-ID: <20201230214419.1eca9494@argon> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=91.220.196.211; envelope-from=mve1@runbox.com; helo=aibo.runbox.com X-Spam_score_int: -24 X-Spam_score: -2.5 X-Spam_bar: -- X-Spam_report: (-2.5 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 30 Dec 2020 12:36:38 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) Hello, I may be misunderstanding the purpose of the `tab-bar-show' variable. Expected behavior ================= If tab-bar-show = 1, Tab Bar is not visible when less than two tabs are available. If tab-bar-show = nil, Tab Bar is never visible If tab-bar-show = t, Tab Bar is always visible In addition, I would like to be able to change the value of tab-bar-show to toggle the visibility of the Tab Bar (I don't want to disable the mode, only hide the Tab Bar). Actual behavior and recipe ========================== Run "emacs -q", switch to *scratch* and evaluate the following, in order: (tab-bar-mode) ;; tab bar is shown on top of buffer (setq tab-bar-show 1) ;; no change. Maybe we need to toggle the mode to effect changes? (tab-bar-mode 0) ;; bar disappears (tab-bar-mode) ;; bar still reappears with only one tab ;; expected behavior: tab bar remains hidden because only one tab exists (tab-bar-new-tab) ;; two tabs exist and are visible (tab-bar-close-tab) ;; only one tab is left, tab bar is hidden (tab-bar-mode) ;; turn mode off again (setq tab-bar-show nil) ;; no bar should be visible if I turn tab-bar-mode on again (tab-bar-mode) ;; tab bar is still visible even with the variable set to nil Best regards, Marcel In GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.22, cairo version 1.17.3) of 2020-08-29 built on juergen Windowing system distributor 'The X.Org Foundation', version 11.0.12010000 System Description: Arch Linux Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Configured using: 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --with-x-toolkit=gtk3 --with-xft --with-wide-int --with-modules --with-cairo --with-harfbuzz 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' Configured features: XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON PDUMPER LCMS2 GMP Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: /usr/share/emacs/site-lisp/xscheme hides /usr/share/emacs/27.1/lisp/progmodes/xscheme Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 48049 7619) (symbols 48 6063 1) (strings 32 16016 1561) (string-bytes 1 513429) (vectors 16 10137) (vector-slots 8 130537 9788) (floats 8 19 43) (intervals 56 236 0) (buffers 1000 13)) From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 05 13:45:43 2021 Received: (at 45556) by debbugs.gnu.org; 5 Jan 2021 18:45:43 +0000 Received: from localhost ([127.0.0.1]:42695 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kwrKx-0001ku-2P for submit@debbugs.gnu.org; Tue, 05 Jan 2021 13:45:43 -0500 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:39817) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kwrKv-0001dL-5m for 45556@debbugs.gnu.org; Tue, 05 Jan 2021 13:45:41 -0500 X-Originating-IP: 91.129.98.64 Received: from mail.gandi.net (m91-129-98-64.cust.tele2.ee [91.129.98.64]) (Authenticated sender: juri@linkov.net) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id A6658FF805; Tue, 5 Jan 2021 18:45:33 +0000 (UTC) From: Juri Linkov To: Marcel Ventosa Subject: Re: bug#45556: 27.1; Unexpected behavior of `tab-bar-show' variable Organization: LINKOV.NET References: <20201230214419.1eca9494@argon> Date: Tue, 05 Jan 2021 20:43:48 +0200 In-Reply-To: <20201230214419.1eca9494@argon> (Marcel Ventosa's message of "Wed, 30 Dec 2020 21:44:19 +0700") Message-ID: <87zh1njkbf.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 45556 Cc: 45556@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > (tab-bar-mode) > ;; tab bar is shown on top of buffer > (setq tab-bar-show 1) > ;; no change. Maybe we need to toggle the mode to effect changes? This is expected behavior because tab-bar-show is designed to be customized using (customize-set-variable 'tab-bar-show 1) > (tab-bar-mode 0) > ;; bar disappears > (tab-bar-mode) > ;; bar still reappears with only one tab > ;; expected behavior: tab bar remains hidden because only one tab exists Actually the low-level function 'tab-bar-mode' was designed to give more freedom to override the value of 'tab-bar-show'. So you don't need to use 'tab-bar-mode' because after customizing 'tab-bar-show', the commands 'tab-bar-new-tab' and 'tab-bar-close-tab' will do the right thing as your next examples demonstrate: > (tab-bar-new-tab) > ;; two tabs exist and are visible > (tab-bar-close-tab) > ;; only one tab is left, tab bar is hidden But below again, no need to use low-level tab-bar-mode, and tab-bar-show should be changed with customize. > (tab-bar-mode) > ;; turn mode off again > (setq tab-bar-show nil) > ;; no bar should be visible if I turn tab-bar-mode on again > (tab-bar-mode) > ;; tab bar is still visible even with the variable set to nil So there are two levels: at high level you can customize 'tab-bar-show', and tab commands do the right thing. If you want more control, then you can use 'tab-bar-mode'. Or if you want to enable/disable the tab bar individually on each new frame, then you can use such configuration: (add-hook 'after-make-frame-functions 'toggle-frame-tab-bar) From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 06 07:17:34 2021 Received: (at 45556) by debbugs.gnu.org; 6 Jan 2021 12:17:34 +0000 Received: from localhost ([127.0.0.1]:43693 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kx7kr-000061-Ir for submit@debbugs.gnu.org; Wed, 06 Jan 2021 07:17:34 -0500 Received: from aibo.runbox.com ([91.220.196.211]:51466) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kx03z-00017v-OD for 45556@debbugs.gnu.org; Tue, 05 Jan 2021 23:04:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=selector2; h=Content-Transfer-Encoding:Content-Type:MIME-Version: References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=+GGrZfjEfTYvySS4gMQeGb8yrU+dyQmG+TZH+oq/IYU=; b=MCVRIoX8b3SZ+CzTSwTI8EvsFl cwj55S8GXkKMoQIW3axSLgVO8uNL0rg3f9KytIEhO8eqnHmyL9EogLj3wxqgKsmMPeptGUWs/swst X44lT3vrsDhD57zzLhIFbYGaW3zKzFltVzrwHNu5xXlWYQC0SIOxY8undoQ5Mc5APjyHpy39X60UK MBQ1gZXr6S2PDchKAMIYExQOfTQ6lnJ3yAShlB9d2N+zLglMx7ScY0GoZiJ+GBFAxtuZAeg4q50Xo 3fC18IvDGBvFeq0ZELBLzZCa+VyUlpmJ+/N5BrAypJGj/A9//o33msQ2OG4CpcBc4PAMD8R8ygAuC xSglXMQg==; Received: from [10.9.9.74] (helo=submission03.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1kx03y-000528-1B; Wed, 06 Jan 2021 05:04:46 +0100 Received: by submission03.runbox with esmtpsa [Authenticated alias (585453)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1kx03o-0007HM-Qm; Wed, 06 Jan 2021 05:04:37 +0100 Date: Wed, 6 Jan 2021 11:04:29 +0700 From: Marcel Ventosa To: Juri Linkov Subject: Re: bug#45556: 27.1; Unexpected behavior of `tab-bar-show' variable Message-ID: <20210106110429.066f2715@argon> In-Reply-To: <87zh1njkbf.fsf@mail.linkov.net> References: <20201230214419.1eca9494@argon> <87zh1njkbf.fsf@mail.linkov.net> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: 45556 X-Mailman-Approved-At: Wed, 06 Jan 2021 07:17:32 -0500 Cc: 45556@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.4 (-) Hi Juri, Thank you for your response! After your detailed explanation I was able to set things up the way I want, though I still have a question below inline. I was also unaware of the differences between setting a variable with 'setq' and 'customize-set-variable'. This was not a bug after all. But would it be useful to mention in the doc string that the variable's behavior will be different if modified by setq? Or is this already common knowledge? Best regards, Marcel On Tue, 05 Jan 2021 20:43:48 +0200 Juri Linkov wrote: > So there are two levels: at high level you can customize > 'tab-bar-show', and tab commands do the right thing. > > If you want more control, then you can use 'tab-bar-mode'. > Or if you want to enable/disable the tab bar individually > on each new frame, then you can use such configuration: > > (add-hook 'after-make-frame-functions 'toggle-frame-tab-bar) Somehow reading a function name "toggle-tab-bar-mode..." my understanding is that such a function would enable and disable tab-bar functionality itself, rather than only show and hide the bar. I see now that toggling the 'tab-bar-mode' minor mode also does not enable/disable the tab-bar functionality, but rather seems to just toggle the actual bar. Is this correct? If so, what is the difference between 'toggle-tab-bar-mode-from-frame' and 'tab-bar-mode'. Both of them seem to toggle the tab bar in _all_ frames. From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 06 13:11:06 2021 Received: (at 45556) by debbugs.gnu.org; 6 Jan 2021 18:11:06 +0000 Received: from localhost ([127.0.0.1]:45490 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxDGz-0005Qe-L7 for submit@debbugs.gnu.org; Wed, 06 Jan 2021 13:11:05 -0500 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:65531) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxDGv-0005Oj-U0 for 45556@debbugs.gnu.org; Wed, 06 Jan 2021 13:11:02 -0500 X-Originating-IP: 91.129.98.64 Received: from mail.gandi.net (m91-129-98-64.cust.tele2.ee [91.129.98.64]) (Authenticated sender: juri@linkov.net) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 9A92440006; Wed, 6 Jan 2021 18:10:55 +0000 (UTC) From: Juri Linkov To: Marcel Ventosa Subject: Re: bug#45556: 27.1; Unexpected behavior of `tab-bar-show' variable Organization: LINKOV.NET References: <20201230214419.1eca9494@argon> <87zh1njkbf.fsf@mail.linkov.net> <20210106110429.066f2715@argon> Date: Wed, 06 Jan 2021 20:04:25 +0200 In-Reply-To: <20210106110429.066f2715@argon> (Marcel Ventosa's message of "Wed, 6 Jan 2021 11:04:29 +0700") Message-ID: <87im8a54d2.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 45556 Cc: 45556@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain > This was not a bug after all. But would it be useful to mention in the > doc string that the variable's behavior will be different if modified > by setq? Or is this already common knowledge? Thank you for the suggestion to mention this in the doc string. While updating the doc string, I noticed the problem that currently it doesn't update each frame individually according to the new customized value, so this problem will be fixed with this patch: --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=tab-bar-show.patch diff --git a/lisp/tab-bar.el b/lisp/tab-bar.el index 5a95e5975d..69746d5f84 100644 --- a/lisp/tab-bar.el +++ b/lisp/tab-bar.el @@ -236,18 +236,27 @@ tab-bar-show and show it again once more tabs are created. If nil, always keep the tab bar hidden. In this case it's still possible to use persistent named window configurations by relying on -keyboard commands `tab-new', `tab-close', `tab-next', `tab-switcher', etc." +keyboard commands `tab-new', `tab-close', `tab-next', `tab-switcher', etc. + +Please customize this variable using the Customization UI, then +it will automatically update the existing tab bars on each frame." :type '(choice (const :tag "Always" t) (const :tag "When more than one tab" 1) (const :tag "Never" nil)) :initialize 'custom-initialize-default :set (lambda (sym val) (set-default sym val) - (tab-bar-mode - (if (or (eq val t) - (and (natnump val) - (> (length (funcall tab-bar-tabs-function)) val))) - 1 -1))) + ;; Preload button images + (tab-bar-mode 1) + ;; Then handle each frame individually + (dolist (frame (frame-list)) + (set-frame-parameter + frame 'tab-bar-lines + (if (or (eq val t) + (and (natnump val) + (> (length (funcall tab-bar-tabs-function frame)) + val))) + 1 0)))) :group 'tab-bar :version "27.1") --=-=-= Content-Type: text/plain > Somehow reading a function name "toggle-tab-bar-mode..." my > understanding is that such a function would enable and disable tab-bar > functionality itself, rather than only show and hide the bar. I see > now that toggling the 'tab-bar-mode' minor mode also does not > enable/disable the tab-bar functionality, but rather seems to just > toggle the actual bar. Is this correct? This is almost correct. Additionally, 'tab-bar-mode' also loads button images and assigns C-TAB keys. > If so, what is the difference between 'toggle-tab-bar-mode-from-frame' > and 'tab-bar-mode'. Both of them seem to toggle the tab bar in > _all_ frames. Indeed, 'tab-bar-mode' toggles the tab bar in all frames, but 'toggle-tab-bar-mode-from-frame' is a very specialized command. It's used only in the Show/Hide menu, to have the toggle reflect the current frame, as the comment before its definition says. Maybe this comment should be moved to its doc string like this: diff --git a/lisp/tab-bar.el b/lisp/tab-bar.el index 5a95e5975d..e239a02a64 100644 --- a/lisp/tab-bar.el +++ b/lisp/tab-bar.el @@ -187,9 +187,9 @@ tab-bar-handle-mouse ;; Clicking anywhere outside existing tabs will add a new tab (tab-bar-new-tab))))) -;; Used in the Show/Hide menu, to have the toggle reflect the current frame. (defun toggle-tab-bar-mode-from-frame (&optional arg) "Toggle tab bar on or off, based on the status of the current frame. +Used in the Show/Hide menu, to have the toggle reflect the current frame. See `tab-bar-mode' for more information." (interactive (list (or current-prefix-arg 'toggle))) (if (eq arg 'toggle) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 07 13:10:25 2021 Received: (at 45556) by debbugs.gnu.org; 7 Jan 2021 18:10:25 +0000 Received: from localhost ([127.0.0.1]:48633 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxZjt-0004GT-BY for submit@debbugs.gnu.org; Thu, 07 Jan 2021 13:10:25 -0500 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:47223) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxZjo-0004G3-I4; Thu, 07 Jan 2021 13:10:23 -0500 X-Originating-IP: 91.129.98.64 Received: from mail.gandi.net (m91-129-98-64.cust.tele2.ee [91.129.98.64]) (Authenticated sender: juri@linkov.net) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id D9025C0005; Thu, 7 Jan 2021 18:10:12 +0000 (UTC) From: Juri Linkov To: Marcel Ventosa Subject: Re: bug#45556: 27.1; Unexpected behavior of `tab-bar-show' variable Organization: LINKOV.NET References: <20201230214419.1eca9494@argon> <87zh1njkbf.fsf@mail.linkov.net> <20210106110429.066f2715@argon> <87im8a54d2.fsf@mail.linkov.net> Date: Thu, 07 Jan 2021 20:09:28 +0200 In-Reply-To: <87im8a54d2.fsf@mail.linkov.net> (Juri Linkov's message of "Wed, 06 Jan 2021 20:04:25 +0200") Message-ID: <87v9c8r547.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 45556 Cc: 45556@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) tags 45556 fixed close 45556 28.0.50 thanks >> This was not a bug after all. But would it be useful to mention in the >> doc string that the variable's behavior will be different if modified >> by setq? Or is this already common knowledge? > > Thank you for the suggestion to mention this in the doc string. Now all updates were pushed to master, and this bug report is closed. From unknown Wed Jun 18 00:26:38 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 05 Feb 2021 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator