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

popup.el doesn't play nice with whitespace-mode and linum-mode #32

Open
kprav33n opened this issue Feb 21, 2013 · 8 comments
Open

popup.el doesn't play nice with whitespace-mode and linum-mode #32

kprav33n opened this issue Feb 21, 2013 · 8 comments

Comments

@kprav33n
Copy link

When using popup.el with whitespace-mode and linum-mode, unwanted artifacts are seen on the screen due to the fact that popup.el adds empty lines at the end of the buffer to render the popup menu.

Please see:
auto-complete/auto-complete#90
sebastiw/edts#35
bbatsov/prelude#19

I think that popup.el is the root cause for all these issues.

@nickpascucci
Copy link

I'm also seeing this; it occurs even when linum-mode and whitespace-mode are turned off.

@brandonw
Copy link

I am also seeing this issue. If I do not use linum mode then popup rendering executes correctly.

@syohex
Copy link
Contributor

syohex commented Nov 28, 2013

@kprav33n @nickpascucci @brandonw I confirmed whitespace-mode problem.
But I don't understand linum-mode problem.

Please show us minimum configuration for reproducing this issue and
tell us how to reproduce this issue. And please upload screenshots
about this issue if possible.

@kprav33n
Copy link
Author

I'm not able to reproduce the linum-mode issue with the recent build of emacs and popup.el. Here is the screenshot of the whitespace mode issue.

screen shot 2013-11-28 at 2 59 54 am

@nickpascucci
Copy link

I found an old version of popup.el shadowing the ELPA version in my load path. With that removed I'm no longer able to reproduce the EOB whitespace problem. I do see some whitespace-mode highlighting around popups like @kprav33n.

@brandonw
Copy link

brandonw commented Dec 3, 2013

@syohex @kprav33n The behavior occurs if I:

emacs -nw -Q
[include auto-complete and popup in load-path]
M-x linum-mode
M-x eval-expression (require 'auto-complete-config)
M-x eval-expression (ac-config-default)

Make sure to run in console mode. GUI Emacs seems to work fine, even with linum mode enabled. It is only in console mode that this occurs:
screenshot

@syohex
Copy link
Contributor

syohex commented Dec 3, 2013

@brandonw Thanks for the information.

@jobevers
Copy link

Is this of any use: http://stackoverflow.com/a/27960576/2752242

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

5 participants