From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Rodrigo Morales Newsgroups: gmane.emacs.help Subject: [Question] Which function is used internally to update the tab-bar? Date: Sun, 31 Dec 2023 21:09:35 +0300 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11762"; mail-complaints-to="usenet@ciao.gmane.io" To: Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 01 03:10:28 2024 Return-path: Envelope-to: geh-help-gnu-emacs@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 1rK7l5-0002nF-M4 for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 01 Jan 2024 03:10:27 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rK7kP-0000AL-EA; Sun, 31 Dec 2023 21:09:45 -0500 Original-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 ) id 1rK7kN-00009v-SS for help-gnu-emacs@gnu.org; Sun, 31 Dec 2023 21:09:43 -0500 Original-Received: from smtpout1.mo12.mail-out.ovh.ca ([51.161.45.254]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rK7kM-00007Y-ET for help-gnu-emacs@gnu.org; Sun, 31 Dec 2023 21:09:43 -0500 Original-Received: from mxplan1.mail.ovh.ca (unknown [10.111.58.135]) by mo12.mail-out.ovh.ca (Postfix) with ESMTPS id A670E2010E3 for ; Sun, 31 Dec 2023 22:09:38 -0400 (AST) Original-Received: from rodrigomorales.site (54.39.251.56) by DAG2EX1.mxpca1.local (172.16.2.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Sun, 31 Dec 2023 21:09:37 -0500 Authentication-Results: garm.ovh; auth=pass (GARM-94B001b207543b-612a-465d-b62a-45aa0c97da8f, A6B549EDFD3340971547226BFB138986D49670C6) smtp.auth=me@rodrigomorales.site X-OVh-ClientIp: 181.65.25.226 X-Originating-IP: [54.39.251.56] X-ClientProxiedBy: DAG2EX2.mxpca1.local (172.16.2.12) To DAG2EX1.mxpca1.local (172.16.2.11) X-Ovh-Tracer-GUID: 79160ceb-5b59-4e8b-add2-bbe8d9817339 X-Ovh-Tracer-Id: 2225341169066647063 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvkedrvdefledggeegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpeffkffhvffugggtihesthdtjhdttddttdenucfhrhhomheptfhoughrihhgohcuofhorhgrlhgvshcuoehmvgesrhhoughrihhgohhmohhrrghlvghsrdhsihhtvgeqnecuggftrfgrthhtvghrnhepleefhfeuffduffevtdehffejvdehvedutdfhhfejieegveevjeejtdefieejheeinecukfhppeduvdejrddtrddtrddupdehgedrfeelrddvhedurdehiedpudekuddrieehrddvhedrvddvieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehmvgesrhhoughrihhgohhmohhrrghlvghsrdhsihhtvgeqpdhnsggprhgtphhtthhopedupdhrtghpthhtohephhgvlhhpqdhgnhhuqdgvmhgrtghssehgnhhurdhorhhgpdfovfetjfhoshhtpehmohduvddpmhhouggvpehsmhhtphhouhht Received-SPF: pass client-ip=51.161.45.254; envelope-from=me@rodrigomorales.site; helo=smtpout1.mo12.mail-out.ovh.ca X-Spam_score_int: 4 X-Spam_score: 0.4 X-Spam_bar: / X-Spam_report: (0.4 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_06_12=1.543, FROM_FMBLA_NEWDOM28=0.798, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:145697 Archived-At: I'm learning how to customize tab-bar. I want to know the function that is used for updating the content of the tab-bar. I've noticed that the content of the tab-bar is updated whenever I call =other-window= (by default, bound to =C-x o=).I wrote the following function which helped me identify the exact times at which the tab-bar is updated. #+BEGIN_SRC emacs-lisp (defun my/f () (format-time-string "%H:%M:%S.%N")) (setq tab-bar-format '(tab-bar-format-tabs tab-bar-format-align-right tab-bar-format-global my/f)) #+END_SRC While trying to find the relevant function, I found the function tab-bar--update-tab-bar-lines. However, when I evaluate this sexp (tab-bar--update-tab-bar-lines), the tab-bar of the current frame is not updated.