Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot split side window or parent of side window #2686

Open
1 task done
ipocentro87 opened this issue Sep 10, 2024 · 11 comments
Open
1 task done

Cannot split side window or parent of side window #2686

ipocentro87 opened this issue Sep 10, 2024 · 11 comments
Labels

Comments

@ipocentro87
Copy link

What happened?

While trying to access the actions from helm minibuffer, it stops me by telling that it "cannot split side window or parent of side window"

How to reproduce?

(helm-mode 1)

(setq helm-always-two-windows nil)
(setq helm-default-display-buffer-functions '(display-buffer-in-side-window))

Helm version 4.0

Screenshot 2024-09-10 at 14 10 33

Helm Version

Melpa or NonGnuElpa

Emacs Version

Emacs-29.1

OS

MacOSX

Relevant backtrace (if possible)

No response

Minimal configuration

  • I agree using a minimal configuration
@thierryvolpiatto
Copy link
Member

thierryvolpiatto commented Sep 10, 2024 via email

@ipocentro87
Copy link
Author

Hi @thierryvolpiatto thanks for your answer.
What I'd like to do is to have the actions panel to be displayed in the minibuffer, without creating a new buffer. It worked for me before, now it doesn't work anymore.
I am not an expert on this and I hope you can forgive me. Do you know how I can achieve that?

@thierryvolpiatto
Copy link
Member

thierryvolpiatto commented Sep 11, 2024 via email

@ipocentro87
Copy link
Author

I'd like to go back to the previous default behaviour. Alternatively, I'd be fine to have the split, but still I'd like the helm buffer to be opened below on the full frame width, and the action buffer be a split of that helm buffer.

@ipocentro87
Copy link
Author

ipocentro87 commented Sep 11, 2024

This seems to mimic the behaviour I want:

(setq helm-always-two-windows nil)
(setq helm-split-window-inside-p t)
(setq helm-default-display-buffer-functions '(display-buffer-at-bottom))
(setq helm-show-action-window-other-window nil)

@thierryvolpiatto
Copy link
Member

thierryvolpiatto commented Sep 11, 2024 via email

@thierryvolpiatto
Copy link
Member

From emacs-helm.sh -nw

Capture d’écran_2024-09-11_09-11-03

@thierryvolpiatto
Copy link
Member

thierryvolpiatto commented Sep 11, 2024 via email

@ipocentro87
Copy link
Author

This alone is not working for me:

(setq helm-show-action-window-other-window nil)
(setq helm-always-two-windows t) ; default
(setq helm-split-window-inside-p nil) ; default
(setq helm-default-display-buffer-functions nil) ; default

What I get is that the window layout changes and I only see the helm and the current buffer. What I want is that even if I have two windows displayed, and I do let's say helm-mini on one of the two buffers, the helm buffer is showing at the bottom over the whole frame length regardless of the current window disposition.

@thierryvolpiatto
Copy link
Member

thierryvolpiatto commented Sep 11, 2024 via email

@ipocentro87
Copy link
Author

Ok I see, thanks a lot for the support. I'll stick with what I have done above as it seems to work the way I want.
We can close the ticket if you want 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants