Giter Site home page Giter Site logo

Comments (6)

cpitclaudel avatar cpitclaudel commented on June 28, 2024

Sure! M-x customize-variable RET company-coq-prettify-symbols-alist RET should do nicely.

from company-coq.

cpitclaudel avatar cpitclaudel commented on June 28, 2024

Trying to troubleshoot the root issue too, though: did you try installing Symbola and adding (set-fontset-font t 'unicode (font-spec :name "Symbola") nil 'append) to your .emacs? And if that doesn't work, could you try (set-fontset-font t 'unicode (font-spec :name "Symbola"))?

from company-coq.

Kethku avatar Kethku commented on June 28, 2024

Just tried both of those and no dice. I dont know if it helps at all but I'm using spacemacs as my starter kit and to manager my plugins, so that might be screwing with things. I can switch the font to fonts with good symbol support but it seems like they are just getting ignored. My default font is Adobe Source Code Pro if that helps at all... Also I'm running on windows which I know can mess some things up with emacs. Thanks for your help anyways :) For now Ill just remove the offending substitutions manually.

from company-coq.

cpitclaudel avatar cpitclaudel commented on June 28, 2024

Hmm. That's unfortunate; but at least you get most of the symbols, right?

I wonder if explicitly selecting Symbola from the font selection menu solves it? (As in, it should turn everything into symbola, and then hopefully the symbols would appear). Another interesting thing would be to put the point on one of these boxes and press C-u C-x =; that should say which font is being used for rendering.

One common problem is that a font claims to support a particular character, but in fact does not. That can trip up the fallback mechanism.

from company-coq.

Kethku avatar Kethku commented on June 28, 2024

Oh yeah most of them show up, just the bool, nat, and real substitutions show up as boxes. I also tried just setting all of the fonts to symbola but that didn't work either. I think it might have something to do with how Spacemacs handles fonts that is screwing things up, so its probably on my side.

I removed the offending characters from the list like you suggested with the customize variable dialog, so I don't have them in my list at the moment. If you would like, I could do some more investigation for debugging purposes, but at the moment it is all working and so I'm fine as is.

Thank you so much for the help!

(edit: removed email client crap)

from company-coq.

cpitclaudel avatar cpitclaudel commented on June 28, 2024

I'm going to close this; there seems to be a small set of people who run into this issue, but I'm afraid it's an Emacs level thing. The workaround you described is useful; thanks for sharing it!

from company-coq.

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.