Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

creating a popup w/ an empty string leaves blank lines behind #58

Open
BinaryKhaos opened this issue Jan 20, 2014 · 0 comments
Open

creating a popup w/ an empty string leaves blank lines behind #58

BinaryKhaos opened this issue Jan 20, 2014 · 0 comments

Comments

@BinaryKhaos
Copy link

While I was debugging jorgenschaefer/elpy#182, I dived deep into auto-complete.el and popup.el to find the cause for the "permanently" added empty lines I was seeing w/ elpy.

In the case of elpy, auto-complete queried for a documentation string and got an empty string which it used to create a quick tip (ac-quick-help -> popup-menu-show-quick-help -> popup-tip -> popup-create).

Most likely, a popup w/ width 0 is created, which will cause trouble in some conditional blocks. I haven't had the time to debug this even further, I am afraid. But if a helping hand is needed, I'll gladly lend one or two. :)

Besides that, the bug could be seen as twofold: Neither should auto-complete.el try to create a popup w/ no contents, nor should popup.el get in an undefined state if someone tries something like that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant