Giter Site home page Giter Site logo

Comments (4)

minad avatar minad commented on August 19, 2024

Yes, in case you want to use Orderless with Vertico, it is necessary to install Orderless before activating vertico-mode. Otherwise you will observe this load error. I haven't found a way to avoid this problem. At least this is not an Orderless issue, but purely the fault of Vertico (and similarly of Corfu).

See the problematic code here: https://github.com/minad/vertico/blob/27c72e6b90944239d6ac2510d34f91a6c3cb95da/vertico.el#L269-L273

from orderless.

conao3 avatar conao3 commented on August 19, 2024

Thanks @minad! and sorry @oantolin for an unrelated issue, ignore me.
Let's move to vertico issue board.

from orderless.

minad avatar minad commented on August 19, 2024

I've already pushed a fix minad/vertico@5ed4530.

The fix is not perfect however. With the fix, the very first run of Vertico will NOT enjoy optimized deferred highlighting. This happens when orderless has not been loaded yet, and will be loaded lazily by completion-all-completions at a time when the advices have already been installed. I don't think a perfect fix is possible, since we have some kind of circular load order dependency here. But at least the user will not observe issues and after the first completion session everything will be fast.

My recommendation is to always require orderless such that it is already loaded when vertico runs for the first time.

from orderless.

conao3 avatar conao3 commented on August 19, 2024

Thanks for that quick fix! I try that.

from orderless.

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.