From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#74087: Bug patch: invoke tab-bar-tab-post-open-functions during tabs initialization Date: Tue, 29 Oct 2024 20:13:39 +0200 Organization: LINKOV.NET Message-ID: <86a5em4w18.fsf@mail.linkov.net> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18476"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu) Cc: 74087@debbugs.gnu.org To: Ship Mints Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 29 19:16:33 2024 Return-path: Envelope-to: geb-bug-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 1t5qld-0004dB-Je for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 29 Oct 2024 19:16:33 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t5qlD-0007bR-6D; Tue, 29 Oct 2024 14:16:07 -0400 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 1t5ql9-0007b9-9C for bug-gnu-emacs@gnu.org; Tue, 29 Oct 2024 14:16:03 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t5ql9-0004Ts-02 for bug-gnu-emacs@gnu.org; Tue, 29 Oct 2024 14:16:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=no9Tf+Bhp4g6rwl1pLYircJOGrd8mbY2RDxbNyScq1k=; b=R3FulOv59TU4dt7qzJHBOKtQ8/PfL8CQQMQHI03LPb8UFCdz6W5nO9Ff88NDSC15tpI+2vOlg1/v1kVuOmw7l+DloqhcP2X7WiiPxpzhGcL3sHQm02/UohERKSUF72mG0Owxq1coqD2KE27yiLDg5XHdqAzq7AbFhfBKVMuIsTMjewMYMqLd1HePlemNPDsjaFUv+1nXSXYhbENSAbXpjXpN9pa2SJIypv+ZuQLtQw7ShJw4LWw/o+hG5xx5WW3BiqpxZmJgn4wkjvZHIJi006DvEacVnAZegnpzhQlm36gXpKscI++o552n2vJ9i8QKAKp6fXEl0y59UdJ4Nkg0DQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t5ql7-0005MK-PJ for bug-gnu-emacs@gnu.org; Tue, 29 Oct 2024 14:16:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Oct 2024 18:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74087 X-GNU-PR-Package: emacs X-Debbugs-Original-Cc: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.173022572720581 (code B ref -1); Tue, 29 Oct 2024 18:16:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 29 Oct 2024 18:15:27 +0000 Original-Received: from localhost ([127.0.0.1]:57881 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5qkY-0005Lt-PF for submit@debbugs.gnu.org; Tue, 29 Oct 2024 14:15:27 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:40028) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5qkW-0005Ll-EN for submit@debbugs.gnu.org; Tue, 29 Oct 2024 14:15:25 -0400 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 1t5qkV-0007Z9-HS for bug-gnu-emacs@gnu.org; Tue, 29 Oct 2024 14:15:24 -0400 Original-Received: from relay9-d.mail.gandi.net ([2001:4b98:dc4:8::229]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t5qkR-0004Mq-Ry for bug-gnu-emacs@gnu.org; Tue, 29 Oct 2024 14:15:22 -0400 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id 5D4B7FF805; Tue, 29 Oct 2024 18:15:15 +0000 (UTC) In-Reply-To: (Ship Mints's message of "Tue, 29 Oct 2024 10:12:38 -0400") X-GND-Sasl: juri@linkov.net Received-SPF: pass client-ip=2001:4b98:dc4:8::229; envelope-from=juri@linkov.net; helo=relay9-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:294516 Archived-At: > tab-bar-tab-post-open-functions need to be called during tab-bar > initialization. Currently, a user's custom post-open functions are invoked > only for tabs created beyond the initial tab. This is a bug, in my view. Please explain what are you trying to achieve? 'tab-bar-tab-post-open-functions' is intended to be run in a new tab explicitly created by the user via 'tab-bar-new-tab-to'. OTOH, 'tab-bar-tabs' is a function that returns a list of existing tabs.