this post was submitted on 12 Oct 2023
0 points (50.0% liked)

Emacs

314 readers
2 users here now

A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!

Get Emacs

Rules

  1. Posts should be emacs related
  2. Be kind please
  3. Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.

Emacs Resources

Emacs Tutorials

Useful Emacs configuration files and distributions

Quick pain-saver tip

founded 1 year ago
MODERATORS
 

Hi folks,

Does anyone know if there is a plugin for Emacs that offers like a popup where you search recent files.

Right now I use counsel and it works in minibuffer below...but I saw a video where you could have that working like a mid-screen popup and search files.

top 4 comments
sorted by: hot top controversial new old
[–] MitchellMarquez42@alien.top 1 points 1 year ago

vertico-posframe makes a pop-up in the middle of the screen for completion specifically. This is probably what you want.

There's also my package [hypop](https://github.com/mitchmarq42/hypop.el) which separates out the whole minibuffer and hides it when not in use. It has a few major drawbacks and only works on the hyprland desktop right now so probably don't use it.

[–] doolio_@alien.top 0 points 1 year ago (1 children)

I suggest you to reconsider if you really want a popup frame (posframe). One of the great features of Emacs in my opinion is that it does not by default create popup frames for user input like other programs. I suspect because of its origins as a terminal application. Don't you ever get frustrated by applications that have such popups which quite often appear on a different workspace! I'm not suggesting the posframe solutions others have suggested also suffer from this behaviour.

[–] MitchellMarquez42@alien.top 1 points 1 year ago (1 children)

I'm not suggesting the posframe solutions others have suggested also suffer from this behaviour.

Then what was the point of the rest of the comment?

Posframes (child frames) always display on top of the root Emacs frame. Modal dialogs like menu-set-font are OS windows which do suffer from the problem you mentioned... except for the vast majority of systems where they just display on the right workspace by default.

When I wrote hypop, I specifically make it find the workspace Emacs is on to summon the minibuffer window to. It's really not that hard at a small scale.

[–] doolio_@alien.top 1 points 1 year ago

Then what was the point of the rest of the comment?

I was giving my opinion on what I consider a great design choice of Emacs by not having such windows by default.