Skip to content

Enabling cider-company-enable-fuzzy-completion breaks helm completions  #2964

@arichiardi

Description

@arichiardi

Expected behavior

When the REPL has not been stared, M-x and filtering command candidates should not throw an error in a cider-mode buffer with cider-company-enable-fuzzy-completion.

Actual behavior

It throws the following:

2021-01-08-182059_1920x1080_scrot

It is not really clear from the screen but the error is basically "No linked CIDER session".

Steps to reproduce the problem

Install helm (you can run it in isolation with emacs-helm.sh) and enable (cider-company-enable-fuzzy-completion).

Execute helm-M-x and try asd or anything command prefix that does not exist.

Environment & Version information

CIDER version information

latest master

Emacs version

GNU Emacs 28.0.50

Operating system

Linux


I did not have time to investigate too much but I am wondering if we the cider, completion-styles function should not throw an error when the REPL is not connected. Throwing this there but I am not sure this is the actual solution without looking into it a bit more 😄

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions