Commit Graph

23 Commits

Author SHA1 Message Date
87de6e45f2 fix(tabs): show unreal buffers in tab list
Fix: #8050
2025-05-07 11:33:32 -04:00
31994ef136 fix(tabs): errors on dead buffers
Fix: #8382
2025-05-07 11:32:20 -04:00
52c91cc51c fix(tabs): workspace-scoped buffer lists 2024-09-04 15:04:31 -04:00
8083d398c5 refactor(tabs): remove unused variable
Hasn't been needed since 4f4718e.

Amend: 4f4718e6d1
2024-09-03 00:46:35 -04:00
42923be0b3 bump: :ui tabs
ema2159/centaur-tabs@4a121a175e -> ema2159/centaur-tabs@d6009c295a

Ref: ema2159/centaur-tabs@9f04a13db0
Revert: ea1f72e875
2024-06-28 17:00:58 -04:00
4f4718e6d1 bump: :ui tabs
ema2159/centaur-tabs@0bb1aa18d4 -> ema2159/centaur-tabs@4a121a175e

- Reverts some hacks that are no longer needed:
  - ema2159/centaur-tabs#231 makes 56f33bc7ed obsolete.
  - ema2159/centaur-tabs@2f6a5fbb8d makes 813c961511 obsolete.

Ref: ema2159/centaur-tabs@2f6a5fbb8d
Revert: 813c961511
Ref: ema2159/centaur-tabs#231
Revert: 56f33bc7ed
2024-06-21 17:59:42 -04:00
ea1f72e875 fix(tabs): reload centaur-tabs when changing themes
Fix: #6503
2024-06-20 18:28:12 -04:00
fddc912f81 fix(tabs): defer centaur-tabs-mode in daemon sessions
Fix: #6647
Fix: #7477
Close: #7276
2024-06-20 18:28:12 -04:00
56f33bc7ed fix(tabs): workaround for ema2159/centaur-tabs#231
`centaur-tabs-line-tab' reads `centaur-tabs-ace-jump-keys' without
length guards. If there are fewer entries than you have tabs, you'll see
an error (ema2159/centaur-tabs#231), and because the function is inlined
and monolithic, advising its behavior is non-trivial. This workaround
will mitigate it until it's dealt with upstream.

Ref: ema2159/centaur-tabs#231
2024-06-20 18:28:12 -04:00
813c961511 perf(tabs): rate limit centaur-tabs-buffer-update-groups
`centaur-tabs-buffer-update-groups` walks every buffer to determine the
group it belongs to. This function can be called execessively (upwards
of 1,000 times per second in certain conditions), as it is called on
every redisplay (it is indirectly attached to `tab-line-format`). This
rate limits its calls to about 10 per second.

Close: #7792
Ref: ema2159/centaur-tabs#222
2024-04-06 00:21:59 -04:00
0c79390623 fix(tabs): replace all-the-icons with nerd-icons
Ref: #7411
2023-09-14 03:37:46 +02:00
1eb3fd3449 bump: :ui
Alexander-Miller/treemacs@76807bef3c -> Alexander-Miller/treemacs@9986d6cd3d
Bad-ptr/persp-mode.el@7a594a3d8f -> Bad-ptr/persp-mode.el@df95ea710e
abo-abo/ace-window@0577c426a9 -> abo-abo/ace-window@77115afc1b
abo-abo/hydra@9e9e00cb24 -> abo-abo/hydra@317e1de330
dgutov/diff-hl@dabb7be628 -> dgutov/diff-hl@d20f16bf5e
dimitri/switch-window@8d9fe251d8 -> dimitri/switch-window@71ef2f54c9
ema2159/centaur-tabs@f4cef95acb -> ema2159/centaur-tabs@a2890d968d
emacs-lsp/lsp-treemacs@2894e6dec5 -> emacs-lsp/lsp-treemacs@a48763ba5d
joostkremers/writeroom-mode@eac1da790f -> joostkremers/writeroom-mode@1fd52848eb
k-talo/volatile-highlights.el@9a20091f0c -> k-talo/volatile-highlights.el@513c8b73cd
rolandwalker/nav-flash@2e31f32085 -> rolandwalker/nav-flash@5d4b485678
rolandwalker/unicode-fonts@47f2397ade -> rolandwalker/unicode-fonts@44d0a22420
seagle0128/doom-modeline@b66d5e5006 -> seagle0128/doom-modeline@6125309c2c
tarsius/hl-todo@e52285965b -> tarsius/hl-todo@a627d33214
2023-02-20 22:47:23 -05:00
8b93e8b15c fix(tabs): wrong-type-arg stringp (Git "...") error
Newer versions of project.el changed the return value of
`project-current` to a three-part list, rather than a cons cell.
centaur-tabs expects the old signature and we get a type error.

This advice ensures centaur-tabs works with old or new versions of
project, and is a temporary measure until the issue is resolved
upstream.

Ref: ema2159/centaur-tabs#181
Fix: #6280
2022-06-20 02:07:42 +02:00
b1336e18ce fix(tabs): error while centaur-tabs-mode is off
The hooks on `+doom-dashboard-mode-hook` and `+popup-buffer-mode-hook`
will throw an error if centaur-tabs-mode is disabled, which may be the
case if the user disables it interactively, post-startup.

Fix #5196
2021-09-26 12:07:35 +02:00
23372c82b9 ui(tabs): use a smaller dot to show unsaved file status 2020-08-02 15:33:48 +08:00
fdf24dc85f Move centaur-tabs-mode to doom-first-file-hook 2020-05-18 02:56:37 -04:00
2ccb9cc8a3 centaur-tabs-cycle-scope = 'tabs 2020-05-03 16:31:06 -04:00
5b10277d05 Disable centaur-tabs-mode in popups 2020-03-01 23:44:26 -05:00
8c0561df93 Fix ui/tabs module
Remove all my custom hacks because none of them work anymore.
2019-12-30 00:50:18 -05:00
8dd8420ff7 ui/tabs: fix buffers being saved to window parameters
Buffers have no read syntax and cannot be serialized. This would cause
errors when :ui workspaces users try to restore sessions that contained
buffer lists.
2019-10-18 21:10:55 -04:00
7e36c5c2b3 ui/tabs: fix recursive load errors & update
An autoload was causing an autoload before their respective packages
could declare they had been loaded, leading to cyclical loading errors.
2019-09-05 13:43:49 -04:00
85b36c4aec ui/tabs: fix vestigial function references
And rename window paramater to tab-buffers
2019-08-15 15:53:47 -04:00
702369e888 Move :ui tabbar to :ui tabs
And update its README.org
2019-08-11 02:05:09 -04:00