muffinmad / emacs-mini-frame

Show minibuffer in child frame on read-from-minibuffer
GNU General Public License v3.0
314 stars 20 forks source link

Can I generalize the popped up frame? #42

Open jsyjr opened 3 years ago

jsyjr commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

The virtue of your mini-frame is that it allows me to pop a non-child frame. The seems to be the key to being able to position the frame over the title bar.

I am studying various packages. In time I expect to master this display-buffer stuff.

Thanks for your encouragement.

On Sat, Apr 17, 2021 at 3:17 PM Andrii Kolomoiets @.***> wrote:

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.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/muffinmad/emacs-mini-frame/issues/42#issuecomment-821873649, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJ6DGYDBWD5MG4JI7TIGBTTJHNENANCNFSM43DIDKRA .

-- John Yates 505 Tremont St, #803 Boston, MA 02116