Giter Site home page Giter Site logo

Comments (6)

oantolin avatar oantolin commented on August 20, 2024 1

I installed company and tried the code suggested here and for me both iso and isoph give the expected completions, even with orderless configured. So if you don't get the correct results for isoph something else is going on. It's weird.

from orderless.

oantolin avatar oantolin commented on August 20, 2024

Did I read that issue you linked correctly? It sounds like you still had the problem even without orderless, no?

from orderless.

hongyi-zhao avatar hongyi-zhao commented on August 20, 2024

It seems like this, and my ultimate goal is to obtain the maximum convenience from the collaborative work of all these packages/tools/methods. However, objectively speaking, we have not yet reached a conclusion on what caused the above problem.

from orderless.

oantolin avatar oantolin commented on August 20, 2024

Sure, but in that case, since this seems like a problem with company, not orderless, I'm unlikely to be able to help (I don't use company myself).

from orderless.

hongyi-zhao avatar hongyi-zhao commented on August 20, 2024

Ok, I see and will close this issue.

from orderless.

hongyi-zhao avatar hongyi-zhao commented on August 20, 2024

Thank you for your validation and confirmation. This is indeed good news! Could you please show all your configurations involved in the above testing?

In fact, I still can't figure out the appropriate configuration of working with orderless and company. More specifically, I try the following configuration:

(use-package orderless
  :ensure t
  :custom
  (setq orderless-component-separator "[ &]")

  ;; We follow a suggestion by company maintainer u/hvis:
  ;; https://www.reddit.com/r/emacs/comments/nichkl/comment/gz1jr3s/
  (defun company-completion-styles (capf-fn &rest args)
    (let ((completion-styles '(basic partial-completion)))
      (apply capf-fn args))

    (advice-add 'company-capf :around #'company-completion-styles)
    )
  )

With the above setting, the following search in minibuffer returns nothing:

image

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.