From 4456224988e68b586f9e74be48f7991119404826 Mon Sep 17 00:00:00 2001 From: Howard Abrams Date: Tue, 23 Sep 2025 19:36:35 -0700 Subject: [PATCH] Fix bug with tab-bar changes --- ha-aux-apps.org | 4 ++-- ha-config.org | 3 +++ ha-general.org | 3 +-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ha-aux-apps.org b/ha-aux-apps.org index e65ca91..c7690e3 100644 --- a/ha-aux-apps.org +++ b/ha-aux-apps.org @@ -41,7 +41,7 @@ I would like a dedicate perspective to Mastodon, and I would like a leader key s #+begin_src emacs-lisp (use-package mastodon :config - (ha-leader "a m" `("mastodon" . ,(ha-tab-bar-new "mastodon" #'mastodon))) + (ha-leader "a m" `("mastodon" . ,(lambda () (interactive) (ha-tab-bar-new "mastodon" #'mastodon)))) (defun ha-mastodon-scroll-or-more () "Scroll a window, and at the end, get more entries in timeline." @@ -175,7 +175,7 @@ I'm thinking the [[https://zevlg.github.io/telega.el/][Telega package]] would be (when (fboundp 'evil-insert-state) (add-hook 'telega-chat-mode-hook 'evil-insert-state)) - (ha-leader "a t" `("telega" . ,(ha-tab-bar-new "telega" #'telega)))) + (ha-leader "a t" `("telega" . ,(lambda () (interactive) (ha-tab-bar-new "telega" #'telega))))) #+end_src For some reason, you need [[https://github.com/Fanael/rainbow-identifiers][rainbow-identifiers]] to work, oh, I guess the docs state this. diff --git a/ha-config.org b/ha-config.org index e84e508..b3f1013 100644 --- a/ha-config.org +++ b/ha-config.org @@ -958,6 +958,9 @@ Couple notes: tab-bar-new-tab-choice "*dashboard*" ; buffer to show in new tabs tab-bar-tab-hints t ; show tab numbers + tab-bar-button-relief 0 + tab-bar-button-margin '(40 . 1) + ;; Jump to a tab by numbers (see the keybindings set later): tab-bar-select-tab-modifiers '(super control)) #+END_SRC diff --git a/ha-general.org b/ha-general.org index 93f2965..e67889f 100644 --- a/ha-general.org +++ b/ha-general.org @@ -335,9 +335,8 @@ And the collection of useful operations: "b O" '("other" . project-switch-buffer-to-other-window) "b i" '("ibuffer" . ibuffer) "b I" '("ibuffer" . ibuffer-other-window) - "b k" '("persp remove" . persp-remove-buffer) "b N" '("new" . evil-buffer-new) - "b d" '("delete" . persp-kill-buffer*) + "b d" '("delete" . kill-buffer) "b r" '("revert" . revert-buffer) "b s" '("save" . save-buffer) "b S" '("save all" . evil-write-all)