Giter Club home page Giter Club logo

Comments (7)

rnkn avatar rnkn commented on May 24, 2024

I'm having trouble reproducing this in Emacs on console. Are you using graphical Emacs?

Also is this reproducible by starting Emacs with emacs -Q as per the instructions?

from olivetti.

artelse avatar artelse commented on May 24, 2024

I cannot reproduce with emacs -Q, so something is conflicting in my configuration. If I find the culprit will report back for future reference.

from olivetti.

rnkn avatar rnkn commented on May 24, 2024

Thanks.

from olivetti.

artelse avatar artelse commented on May 24, 2024

Been probing around in my config and found that mixed-pitch-mode is causing the error. When I remove mixed-pitch-mode it just works as expected. Now am wondering, if this is a olivetti problem?

from olivetti.

artelse avatar artelse commented on May 24, 2024

Ok, this seems an old bug described here with a pull request here.
When I run the code in the PR description, olivetti works normally.

from olivetti.

rnkn avatar rnkn commented on May 24, 2024

I had a look at mixed-pitch-mode but not sure I understand the reason for it; what’s it doing differently to just setting custom faces?

If memory serves, olivetti calculates based on the default face so there shouldn’t be a problem with having mixed face sizes in a buffer.

from olivetti.

artelse avatar artelse commented on May 24, 2024

In the linked PR, Nielius talks about a problem with the calculation of height. However, when I set mixed-pitch-set-height to nil olivetti works.mixed-pitch is used widely because of convenience setting the various faces needing fixed space.

from olivetti.

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.