From unknown Sat Jun 14 19:12:51 2025 X-Loop: help-debbugs@gnu.org Subject: bug#44413: 28.0.50; Provide function to close the tab Resent-From: Jean Louis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 03 Nov 2020 09:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 44413 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 44413@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160439546132337 (code B ref -1); Tue, 03 Nov 2020 09:25:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Nov 2020 09:24:21 +0000 Received: from localhost ([127.0.0.1]:43408 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZsY9-0008PV-0q for submit@debbugs.gnu.org; Tue, 03 Nov 2020 04:24:21 -0500 Received: from lists.gnu.org ([209.51.188.17]:55494) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZsY7-0008PL-Fa for submit@debbugs.gnu.org; Tue, 03 Nov 2020 04:24:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33010) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZsY7-0003ls-6s for bug-gnu-emacs@gnu.org; Tue, 03 Nov 2020 04:24:19 -0500 Received: from static.rcdrun.com ([95.85.24.50]:43901) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZsY3-0003xD-VO for bug-gnu-emacs@gnu.org; Tue, 03 Nov 2020 04:24:18 -0500 Received: from localhost ([::ffff:41.210.145.80]) (AUTH: PLAIN admin, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by static.rcdrun.com with ESMTPSA id 00000000002A0B40.000000005FA121BD.0000580B; Tue, 03 Nov 2020 09:24:13 +0000 Date: Tue, 03 Nov 2020 12:24:07 +0300 From: Jean Louis MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: Received-SPF: pass client-ip=95.85.24.50; envelope-from=support1@rcdrun.com; helo=static.rcdrun.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/03 01:38:09 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) 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 (--) Instead of lambda anonymous function it would be more useful to provide named function to close the tab. This way keybinding can be customized easily. There exists function to open the tab, while anonymous one is handling closing of the tab. runs the command (lambda nil (interactive) (tab-bar-close-tab 6)) (found in global-map), which is an interactive Lisp function. (anonymous) Not documented. In GNU Emacs 28.0.50 (build 25, x86_64-pc-linux-gnu, X toolkit, cairo version 1.14.8, Xaw3d scroll bars) of 2020-11-01 built on protected.rcdrun.com Repository revision: 76d522e59ef03397e15d30bb3b4de3840c917e63 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.11907000 System Description: Hyperbola GNU/Linux-libre Configured using: 'configure --prefix=/package/text/emacs-2020-11-01 --with-modules --with-x-toolkit=lucid --with-modules --with-x-toolkit=lucid' Configured features: XAW3D 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 LUCID X11 XDBE XIM MODULES THREADS JSON PDUMPER LCMS2 Important settings: value of $LC_ALL: en_US.UTF-8 value of $LANG: de_DE.UTF-8 value of $XMODIFIERS: @im=exwm-xim locale-coding-system: utf-8-unix Major mode: Help -- Thanks, Jean Louis ⎔ λ 🄯 𝍄 𝌡 𝌚 From unknown Sat Jun 14 19:12:51 2025 X-Loop: help-debbugs@gnu.org Subject: bug#44413: 28.0.50; Provide function to close the tab Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 03 Nov 2020 15:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44413 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jean Louis Cc: 44413@debbugs.gnu.org Received: via spool by 44413-submit@debbugs.gnu.org id=B44413.160441590927622 (code B ref 44413); Tue, 03 Nov 2020 15:06:02 +0000 Received: (at 44413) by debbugs.gnu.org; 3 Nov 2020 15:05:09 +0000 Received: from localhost ([127.0.0.1]:46028 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZxrx-0007BS-A5 for submit@debbugs.gnu.org; Tue, 03 Nov 2020 10:05:09 -0500 Received: from quimby.gnus.org ([95.216.78.240]:60340) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZxrw-0007B0-2C for 44413@debbugs.gnu.org; Tue, 03 Nov 2020 10:05:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=/weNMCzWTHjLpuecQ+nbgnnTcB30/FfilxdbGIhEng8=; b=jhc4ylqSPNl+gytV+H5Jwz/kXR yXjpVFc5vTZBiK+VWDnQgpC336qZPWhs4uM0BoVVWjQy7zIe8Y1j7LuAKcO3V18CBoBEJiuqxjOqw xqKm1WcaviLgF1Q/3ZnLPni2tNttF/W8p3mHGcm4c93IQSSe1kVwRdLjCAx9vu5QXC0E=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kZxrk-0008NK-Fc; Tue, 03 Nov 2020 16:05:01 +0100 From: Lars Ingebrigtsen References: X-Now-Playing: New Order's _Power, Corruption & Lies (2)_: "Your Silent Face (Writing Session Recording)" Date: Tue, 03 Nov 2020 16:04:55 +0100 In-Reply-To: (Jean Louis's message of "Tue, 03 Nov 2020 12:24:07 +0300") Message-ID: <87d00uv5uw.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Jean Louis writes: > Instead of lambda anonymous function it would be more useful to > provide named function to close the tab. This way keybinding can be > customized easily. There exists function to open the tab, whil [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) 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.0 (-) Jean Louis writes: > Instead of lambda anonymous function it would be more useful to > provide named function to close the tab. This way keybinding can be > customized easily. There exists function to open the tab, while > anonymous one is handling closing of the tab. > > runs the command (lambda nil (interactive) > (tab-bar-close-tab 6)) (found in global-map), which is an interactive > Lisp function. These are dynamically created actions to close specific tabs. The only potentially confusing thing here is that `C-h k' gives you an output at all, but I guess there's not much we can do about that. If you want to close the current tab, use `C-x t 0', for instance, or rebind `tab-close' to any key you want. So I don't think there's anything to fix here, and I'm closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 03 10:05:15 2020 Received: (at control) by debbugs.gnu.org; 3 Nov 2020 15:05:16 +0000 Received: from localhost ([127.0.0.1]:46031 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZxs3-0007Bl-Hp for submit@debbugs.gnu.org; Tue, 03 Nov 2020 10:05:15 -0500 Received: from quimby.gnus.org ([95.216.78.240]:60382) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZxs1-0007BL-Pb for control@debbugs.gnu.org; Tue, 03 Nov 2020 10:05:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=KdcI3MeTYomnMkuS7wK9TyojKbERdfKB6FaDay9ry14=; b=GdI05UVjY1LBEZNjamSkvLX/0A z5rxi0Rls8GVZbIKUzDtx67HqYYfWegeZ/fZjv97bF/8f15Aui/jmtx2SjpKA01ygCkPR6wx/atbz ZskD1TRNTJTAeAbOujh0GXielw9AKMBpuwsxg0x99U0mWHDXDZMbDaUyQNMYbr/b4Y1g=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kZxru-0008NX-6m for control@debbugs.gnu.org; Tue, 03 Nov 2020 16:05:08 +0100 Date: Tue, 03 Nov 2020 16:05:05 +0100 Message-Id: <87blgev5um.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #44413 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 44413 notabug close 44413 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control 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.0 (-) tags 44413 notabug close 44413 quit From unknown Sat Jun 14 19:12:51 2025 X-Loop: help-debbugs@gnu.org Subject: bug#44413: 28.0.50; Provide function to close the tab Resent-From: Jean Louis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 03 Nov 2020 15:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44413 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug To: Lars Ingebrigtsen Cc: 44413@debbugs.gnu.org Received: via spool by 44413-submit@debbugs.gnu.org id=B44413.160441635328413 (code B ref 44413); Tue, 03 Nov 2020 15:13:01 +0000 Received: (at 44413) by debbugs.gnu.org; 3 Nov 2020 15:12:33 +0000 Received: from localhost ([127.0.0.1]:46048 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZxz6-0007OC-VV for submit@debbugs.gnu.org; Tue, 03 Nov 2020 10:12:33 -0500 Received: from static.rcdrun.com ([95.85.24.50]:43989) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZxz5-0007O4-5H for 44413@debbugs.gnu.org; Tue, 03 Nov 2020 10:12:32 -0500 Received: from localhost ([::ffff:41.210.145.80]) (AUTH: PLAIN admin, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by static.rcdrun.com with ESMTPSA id 00000000002A0B3E.000000005FA1735D.0000094A; Tue, 03 Nov 2020 15:12:29 +0000 Date: Tue, 3 Nov 2020 18:12:24 +0300 From: Jean Louis Message-ID: References: <87d00uv5uw.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: <87d00uv5uw.fsf@gnus.org> User-Agent: Mutt/+ (1036f0e) (2020-10-18) X-Spam-Score: -0.0 (/) 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.0 (-) * Lars Ingebrigtsen [2020-11-03 18:05]: > Jean Louis writes: > > > Instead of lambda anonymous function it would be more useful to > > provide named function to close the tab. This way keybinding can be > > customized easily. There exists function to open the tab, while > > anonymous one is handling closing of the tab. > > > > runs the command (lambda nil (interactive) > > (tab-bar-close-tab 6)) (found in global-map), which is an interactive > > Lisp function. > > These are dynamically created actions to close specific tabs. The only > potentially confusing thing here is that `C-h k' gives you an output at > all, but I guess there's not much we can do about that. > > If you want to close the current tab, use `C-x t 0', for instance, or > rebind `tab-close' to any key you want. > > So I don't think there's anything to fix here, and I'm closing this bug > report. Oh, you are right. I was inspecting how to close the bug and found that function. My expectation was that I will find to which key is tab closing bound. Thank you.