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

Can I generalize the popped up frame? #42

Open
jsyjr opened this issue Apr 17, 2021 · 3 comments
Open

Can I generalize the popped up frame? #42

jsyjr opened this issue Apr 17, 2021 · 3 comments

Comments

@jsyjr
Copy link

jsyjr commented Apr 17, 2021

I am very happy with my mini-frame popping up over the title bare of my emacs window.
A current limitation is that I am only able to get this behavior when reading from the mini-buffer.
I have various transient windows that I would like to handle in the same way (a new frame over the title bar).
Would it be possible to turn the mini-frame's frame creation into something that could generally be called by display-buffer?

@jsyjr
Copy link
Author

jsyjr commented Apr 17, 2021

Okay. I am a bit new to some of this stuff, especially display-buffer. I think I have figured out that if I supply frame parameters similar to those I am using with mini-frame and tell display-buffer to use a new frame it will do what I want. I will give that a try. If it works I will close this issue.

@muffinmad
Copy link
Owner

The purpose of the mini-frame mode is to pop up child frame on reading from minibuffer. Displaying other windows in the child frame is indeed possible using display-buffer-alist.

Also take a look at https://melpa.org/#/transient-posframe.

@jsyjr
Copy link
Author

jsyjr commented Apr 18, 2021 via email

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

No branches or pull requests

2 participants