Closed tkf closed 12 years ago
x-popup-menu is not so flexible to implement auto-complete...
The best way to solve these problems is to implement popup.el in C. Vim already has such the feature. Why our GNU Emacs doesn't have yet?
If Emacs C core supports popup.el, that's more than perfect. Probably the core can just provide very primitive basis? That would be something like "floating buffer" or "nested buffer", like inline frame in html, where you can put a buffer over a buffer. And then you can implement popup.el on top of that using lisp. That would help implementing multi-major mode such as MuMaMo. Anyway, I know nothing about Emacs C so just an idea...
Reading open issues, it seems most of the problems are from overlays from other modules and non-uniform text size (e.g., proportional font). I guess these problems are difficult to solve, probably impossible for the later case. Alternatively I think we can use
x-popup-menu
as the "backend" and then these problems won't show up with it. I am just raising the idea and wondering if there is somebody already tried.For those who are curious, you can try
x-popup-menu
easily by: