unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Jean Louis <bugs@gnu.support>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 44413@debbugs.gnu.org
Subject: bug#44413: 28.0.50; Provide function to close the tab
Date: Tue, 3 Nov 2020 18:12:24 +0300	[thread overview]
Message-ID: <X6FzWHacFq/3MIcZ@protected.rcdrun.com> (raw)
In-Reply-To: <87d00uv5uw.fsf@gnus.org>

* Lars Ingebrigtsen <larsi@gnus.org> [2020-11-03 18:05]:
> Jean Louis <bugs@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.





      reply	other threads:[~2020-11-03 15:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-03  9:24 bug#44413: 28.0.50; Provide function to close the tab Jean Louis
2020-11-03 15:04 ` Lars Ingebrigtsen
2020-11-03 15:12   ` Jean Louis [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=X6FzWHacFq/3MIcZ@protected.rcdrun.com \
    --to=bugs@gnu.support \
    --cc=44413@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).