Stefan Monnier writes: >> example, I asked Corfu's author if it is possible to add corfu-terminal >> to Corfu as an extension, but he said no just because of the extra Popon >> dependency, which I intentionally extracted out of corfu-terminal to let >> others use it) > > But once the API is available corfu can make use of it without adding > a dependency on `popon`. But that would need Corfu to add a dependency that API, unless that API is a part of Emacs distribution. > >> I think the best solution will be to implement child frames in terminal. >> AFAIK, ncurses has a concept of floating window, which we can use to >> render the frame. Doing this will solve all floating popup related >> problems. Then all packages will use this standard (child) frame API to >> show popup. > > We already have code which does this kind of thing, to draw menus in > tty frames. IIUC the implementation currently relies on the fact that > no ELisp is run while those overlaid menus are drawn, so it may require > a fair bit of surgery, but indeed implementing something like > popup/popon at a lower level is probably the better choice in the > long run. Nobody has taken on this challenge yet, tho. Yeah, it is probably better to spend the effort here unless we drop text display support. But most people are afraid of C (including me; if I try to do this, I would spent more than 95% of time to actually figure out what's the code doing). And my internet speed is slow, so cloning the entire repository is probably not possible for me right now. Will a shallow clone help? -- Akib Azmain Turja This message is signed by me with my GnuPG key. It's fingerprint is: 7001 8CE5 819F 17A3 BBA6 66AF E74F 0EFA 922A E7F5