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

Missing the last char of the error message #10

Open
Yevgnen opened this issue Dec 21, 2018 · 2 comments
Open

Missing the last char of the error message #10

Yevgnen opened this issue Dec 21, 2018 · 2 comments

Comments

@Yevgnen
Copy link

Yevgnen commented Dec 21, 2018

Thanks for the great package.

There's a bit small thing that may be improved as illustrated in the following image

screen shot 2018-12-21 at 22 17 13

As compared to the pos-tip version, the ] is missing!

@alexmurray
Copy link
Owner

I can't reproduce this issue locally - can you provide any more details on your setup or more details on how to reproduce it - if I open a python file with too long lines I see the entire error message.

@Yevgnen
Copy link
Author

Yevgnen commented Dec 29, 2018

Hi, I just found that (setq flycheck-posframe-prefix "! ") caused the issue. The issue does not happened to every warning or error but some of them. Configs:

(package-initialize)

(require 'flycheck)
(require 'flycheck-posframe)
(setq flycheck-posframe-prefix "! ")
(add-hook 'python-mode-hook 'flycheck-mode)
(add-hook 'flycheck-mode-hook 'flycheck-posframe-mode)

Then open a Python buffer and select python-pylint checker. Then enter

import numpy as np

def fun():
    np = 1

Place the cursor the np of the last line. You should see something like

screen shot 2018-12-29 at 11 10 18

However, the predefined prefix work just fine

screen shot 2018-12-29 at 11 12 39

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

2 participants