From: Aaron Jensen <aaronjensen@gmail.com>
To: Emacs developers <emacs-devel@gnu.org>
Subject: tab-bar-mode new tab hook?
Date: Sun, 24 Apr 2022 22:07:29 -0400 [thread overview]
Message-ID: <CAHyO48wi9_iEPFH=v2D7f1nm3+e-WwOnPyz5m3cmTFbJYVPkJw@mail.gmail.com> (raw)
Hi,
I've been experimenting using tabspaces
(https://github.com/mclear-tools/tabspaces) to enable each tab to have
its own isolated buffer list. It provides a command,
tabspaces-create-workspace that invokes tab-bar-new-tab and then sets
frame parameters to isolate the buffer list space.
I was curious if there has been any thought given to including a hook
for when a new tab is created. This way, I could just add a hook to do
this and not have to use a separate command (and replace all the other
commands that use tab-bar-new-tab). I could use advice, but that seems
like a last resort.
Alternatively (or in addition) is the behavior to isolate buffer lists
in tabs one that would make sense for Emacs to support out-of-the-box?
Thanks,
Aaron
next reply other threads:[~2022-04-25 2:07 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-25 2:07 Aaron Jensen [this message]
2022-04-25 15:44 ` tab-bar-mode new tab hook? Juri Linkov
2022-04-26 3:27 ` Aaron Jensen
2022-04-26 7:27 ` Juri Linkov
2022-04-26 9:48 ` Aaron Jensen
2022-04-26 15:48 ` Juri Linkov
2022-04-26 15:56 ` Aaron Jensen
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='CAHyO48wi9_iEPFH=v2D7f1nm3+e-WwOnPyz5m3cmTFbJYVPkJw@mail.gmail.com' \
--to=aaronjensen@gmail.com \
--cc=emacs-devel@gnu.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).