When I use a proportional font with buffer-face-mode, it breaks company's overlay, because company obviously counts offset from the left margin, as well as pads suggestions on the right in character positions, expecting it to be same width always. Is there a way to use a variable width characters, but still get the proper rectangular box for company? If there's an alternative solution like replacing company with other similar mode I would like to know it too.
Asked
Active
Viewed 270 times
6
-
2Yes, there is: improve the code to use ad-hoc frames for popups. We welcome help to do that. – Stefan Oct 02 '17 at 21:44
-
1Hi, @Stefan, is it really possible using overlays? I quickly glanced over ov.el, and it seems to me, it's not. – Alaks Oct 04 '17 at 12:24
-
1@Alaks Not using overlays, no. – Dmitry Oct 04 '17 at 13:39
-
@Dmitry, thanks! So what is that code which needs improvement then? Emacs's own? – Alaks Oct 05 '17 at 09:50
-
1@Alaks Yes. For context, Stefan who commented above is a core Emacs developer and a former Emacs maintainer of many years. – Dmitry Oct 05 '17 at 14:37