From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.bugs Subject: bug#44413: 28.0.50; Provide function to close the tab Date: Tue, 03 Nov 2020 12:24:07 +0300 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8871"; mail-complaints-to="usenet@ciao.gmane.io" To: 44413@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 03 10:25:14 2020 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 1kZsYy-0002B5-IY for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 03 Nov 2020 10:25:12 +0100 Original-Received: from localhost ([::1]:39470 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kZsYx-0004El-HR for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 03 Nov 2020 04:25:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33170) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZsYo-0004DZ-TX for bug-gnu-emacs@gnu.org; Tue, 03 Nov 2020 04:25:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60097) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kZsYo-0004Cu-KG for bug-gnu-emacs@gnu.org; Tue, 03 Nov 2020 04:25:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kZsYo-0008Qf-GQ for bug-gnu-emacs@gnu.org; Tue, 03 Nov 2020 04:25:02 -0500 X-Loop: help-debbugs@gnu.org 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-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.160439546132337 (code B ref -1); Tue, 03 Nov 2020 09:25:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Nov 2020 09:24:21 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 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-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" Xref: news.gmane.io gmane.emacs.bugs:192594 Archived-At: 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 ⎔ λ 🄯 𝍄 𝌡 𝌚