Closed dakrone closed 7 years ago
I cannot reproduce it with this alone, can you give a proper repro, including the hydra?
Sure:
Here's by eyebrowse config:
(use-package eyebrowse
:ensure t
:init
(progn
(defun eos/create-eyebrowse-setup ()
(interactive)
"Create a default window config, if none is present"
(when (not (eyebrowse--window-config-present-p 4))
;; there's probably a better way to do this, creating four workspaces
(eyebrowse-switch-to-window-config-2)
(eyebrowse-switch-to-window-config-3)
(eyebrowse-switch-to-window-config-4)
(eyebrowse-switch-to-window-config-1)))
(setq eyebrowse-wrap-around t
eyebrowse-new-workspace t)
(eyebrowse-mode 1)
(global-set-key (kbd "C-'") 'eyebrowse-next-window-config)
(add-hook 'after-init-hook #'eos/create-eyebrowse-setup)))
And the hydra:
(defhydra eos/nav-mode (:foreign-keys run)
"[NAV-MODE] q or i to exit"
("C-h" hl-line-mode)
("t" toggle-truncate-lines)
("a" beginning-of-line)
("l" forward-char)
("h" backward-char)
("n" next-line)
("j" next-line)
("p" previous-line)
("k" previous-line)
("e" View-scroll-half-page-forward)
("u" View-scroll-half-page-backward)
("SPC" scroll-up-command)
("S-SPC" scroll-down-command)
("<" beginning-of-buffer)
(">" end-of-buffer)
("." end-of-buffer)
("d" (when (y-or-n-p "Kill buffer?")
(kill-this-buffer))
:exit t)
("/" isearch-forward-regexp :exit t)
("?" isearch-backward-regexp :exit t)
("i" nil :exit t)
("q" nil :exit t))
(global-set-key (kbd "M-V") 'eos/nav-mode/body)
M-V
to start the hydraC-'
, now on window config 2C-'
, now on window config 3C-'
, now on window config 4C-'
(to wrap around back to config 1), Emacs complains: split-window: Window #<window 3 on *temp*> too small for splitting
Hm, I've tried reproducing it by putting your config into a .emacs
file, booting Emacs with it and following the steps, but no dice. Could it be that you're on an old version where the bug is still present? Please try upgrading to the latest version.
Closing as I cannot repro this.
I happened to have a single-line hydra open when I hit the keybinding to change to the next eyebrowse window config. It did change, however, now every time I try to go to a different config I get the following error: