When the frame is wide enough ( >= 157 ), then the action window replaces the current result window, regardless of the configured value.
The issue is not present in vanilla emacs using helm on the same version -- the action list is correctly displayed on the left of the current candidates.
The issue happens on emacs-28 and emacs-29 (both tested with a fresh spacemacs config).
Resetting helm-display-function back to the default fixes the issue (though then the helm buffer may be displayed in odd places). The issue seem to be caused by the values provided in spacemacs-helm-display-buffer-regexp. When those conditions are provided, split-window will then fall in
condition because (window-parameter window 'window-side) is now 'bottom. split-window will then raise the error.
I'm not sure if there is some tweak we could do in spacemacs//display-helm-window or spacemacs-helm-display-buffer-regexp that would make helm respect the desired position and work with splitted windows for the action list or if we should set helm-show-action-window-other-window to nil by default.
Reproduction guide :beetle:
Start Emacs. Leave it with the default width of 80
Make sure you are using the latest version of helm
Open helm (M-x, find files, ...)
Press C-z to get the action list
Observed behaviour: :eyes: :broken_heart:
A Cannot split side window or parent of side window error is displayed; no action list is shown
Description :octocat:
After https://github.com/emacs-helm/helm/commit/a4380caef3a9e4b1e8d11458852ab67ba9b4cf58 changed
helm-show-action-window-other-window
's default value to'left
, trying to open the action list for an item fails withCannot split side window or parent of side window
when the frame is too narrow (< 157 chars wide).When the frame is wide enough ( >= 157 ), then the action window replaces the current result window, regardless of the configured value.
The issue is not present in vanilla emacs using helm on the same version -- the action list is correctly displayed on the left of the current candidates.
The issue happens on emacs-28 and emacs-29 (both tested with a fresh spacemacs config).
Resetting
helm-display-function
back to the default fixes the issue (though then the helm buffer may be displayed in odd places). The issue seem to be caused by the values provided inspacemacs-helm-display-buffer-regexp
. When those conditions are provided,split-window
will then fall incondition because
(window-parameter window 'window-side)
is now'bottom
.split-window
will then raise the error.I'm not sure if there is some tweak we could do in
spacemacs//display-helm-window
orspacemacs-helm-display-buffer-regexp
that would make helm respect the desired position and work with splitted windows for the action list or if we should sethelm-show-action-window-other-window
tonil
by default.Reproduction guide :beetle:
Observed behaviour: :eyes: :broken_heart:
A
Cannot split side window or parent of side window
error is displayed; no action list is shownExpected behaviour: :heart: :smile:
The action list to be shown
System Info :computer:
Backtrace :paw_prints: