GNU bug report logs - #44413
28.0.50; Provide function to close the tab

Previous Next

Package: emacs;

Reported by: Jean Louis <bugs <at> gnu.support>

Date: Tue, 3 Nov 2020 09:25:02 UTC

Severity: normal

Tags: notabug

Found in version 28.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 44413 in the body.
You can then email your comments to 44413 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#44413; Package emacs. (Tue, 03 Nov 2020 09:25:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jean Louis <bugs <at> gnu.support>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 03 Nov 2020 09:25:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jean Louis <bugs <at> gnu.support>
To: bug-gnu-emacs <at> gnu.org
Subject: 28.0.50; Provide function to close the tab
Date: Tue, 03 Nov 2020 12:24:07 +0300
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.

<tab-bar> <C-current-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
⎔ λ 🄯 𝍄 𝌡 𝌚




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#44413; Package emacs. (Tue, 03 Nov 2020 15:06:02 GMT) Full text and rfc822 format available.

Message #8 received at 44413 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Jean Louis <bugs <at> gnu.support>
Cc: 44413 <at> debbugs.gnu.org
Subject: Re: bug#44413: 28.0.50; Provide function to close the tab
Date: Tue, 03 Nov 2020 16:04:55 +0100
Jean Louis <bugs <at> gnu.support> 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.
>
> <tab-bar> <C-current-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




Added tag(s) notabug. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 03 Nov 2020 15:06:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 44413 <at> debbugs.gnu.org and Jean Louis <bugs <at> gnu.support> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 03 Nov 2020 15:06:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#44413; Package emacs. (Tue, 03 Nov 2020 15:13:01 GMT) Full text and rfc822 format available.

Message #15 received at 44413 <at> debbugs.gnu.org (full text, mbox):

From: Jean Louis <bugs <at> gnu.support>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 44413 <at> debbugs.gnu.org
Subject: Re: bug#44413: 28.0.50; Provide function to close the tab
Date: Tue, 3 Nov 2020 18:12:24 +0300
* Lars Ingebrigtsen <larsi <at> gnus.org> [2020-11-03 18:05]:
> Jean Louis <bugs <at> gnu.support> 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.
> >
> > <tab-bar> <C-current-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.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 02 Dec 2020 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 194 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.