Giter Club home page Giter Club logo

Comments (12)

expez avatar expez commented on September 24, 2024

If you look at the master branch there hasn't been any significant changes for quite some time. Only stuff like better error messages.

If you don't load any of your own configuration, e.g. by starting emacs with emacs -q and only load company-mode and company-quickhelp does this still happen?

from company-quickhelp.

swarnendubiswas avatar swarnendubiswas commented on September 24, 2024

I get what you are saying. I stripped of my init files to bare minimum, and the problem still persists.

I started emacs -Q, and loaded the two modes with load-file. However, I can't seem to get company-quickhelp popup to appear itself.

from company-quickhelp.

expez avatar expez commented on September 24, 2024

I cloned your emacs configuration in an attempt to reproduce the problem but everything worked as expected.

Without being able to reproduce the problem there's unfortunately very little I can do.

If you want to use this as an opportunity to dive into emacs debugging I'd be happy to help you solve your own problem :)

ps. I had to manually add melpa as an archive to bootstrap your dotemacs. It seems it couldn't find use-package without doing that.

from company-quickhelp.

swarnendubiswas avatar swarnendubiswas commented on September 24, 2024

Thanks for your time. Should be one of my own configuration niggles. Would love to learn a bit more about debugging emacs.

from company-quickhelp.

expez avatar expez commented on September 24, 2024

M-x find-library <RET> company-quickhelp <RET> will take you to the source code of company-quickhelp. Then navigate to company-quickhelp--show and with point inside the function do M-x edebug-defun <RET>.

If you now start typing something that will trigger a documentation popup, preferably in another buffer, you should enter company-quickhelp--show in the debugger. At that point you'll have to step through the function, and possible other functions to looks for anything suspicious.

To disable instrumentation just do eval-defun to re-evaluate the function without any instrumentation.

If you have the time, edebug is very powerful and quite easy to learn. You can learn everything you need in 5-10 minutes.

from company-quickhelp.

ardpp avatar ardpp commented on September 24, 2024

I have the same issue, even with emacs -Q using Emacs 25.0.50.1
I can not tell when this started though.

from company-quickhelp.

failable avatar failable commented on September 24, 2024

Same here on GNU Emacs 24.5.1 (x86_64-apple-darwin13.4.0, NS apple-appkit-1265.21) of 2015-04-11 on builder10-9.porkrind.org

from company-quickhelp.

expez avatar expez commented on September 24, 2024

There's now a pull-request available to fix this issue. I'm testing it now for regressions, but it would be great if some one you had time to verify the fix.

from company-quickhelp.

ardpp avatar ardpp commented on September 24, 2024

Just had a quick look. When editing elisp files this fix seems to work ok, though I would prefer the help-window to stay inside the emacs frame which is not always the case.

In python files (using elpy) I get the following error instead of a quickhelp-window

Error running timer `company-quickhelp--show': (wrong-type-argument overlayp nil)

Let me know if I can provide more information.

from company-quickhelp.

spirani avatar spirani commented on September 24, 2024

@ardpp
I started getting that same error. This is what fixed it for me: spirani@1d2a8cd

Could you take a look at this and see if it fixes the problem?

from company-quickhelp.

ardpp avatar ardpp commented on September 24, 2024

@spirani
Yes, it works as expected now!

from company-quickhelp.

swarnendubiswas avatar swarnendubiswas commented on September 24, 2024

@expez @spirani Yes, seems to work for me as well.

from company-quickhelp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.