doomemacs / doomemacs/core

Vertico +orderless breaks when pasting paths/links to minibuf

Open
#8,451 0 comments 0 reactions 0 assignees View on GitHub
:completion vertico is:bug
Dominant language
Emacs Lisp
Stars
22.7k
Forks
3.1k
Avg merge
10h 46m
Merged PRs (30d)
4

Description

### I confirm that...

- [x] I searched the issue tracker and found no similar issues.

- [x] I searched the [documentation](https://docs.doomemacs.org), [FAQ](https://docs.doomemacs.org/-/faq), [discussion board](https://doomemacs.org/discuss), and [Google](https://google.com) for solutions to my issue.

- [x] I read [the debugging guide](https://doomemacs.org/d/how2debug) and researched the issue to the best of my ability.

- [x] My issue can be observed on the latest available commit of Doom.

- [x] My issue can be observed on a stable release of Emacs (i.e. doesn't end in `.50`, `.60`, or `.90`–`.99`)

### Describe your issue

My config related to the completion:
```
:completion
(company +tng) ; the ultimate code completion backend
(vertico +icons) ; the search engine of the future
```
I checked the backtrace of the error and found it is related to the orderless style. I asked https://github.com/minad/vertico/discussions/616#discussioncomment-13866683 and tried vanila vertico+orderless w/o doom, which had no such issue.

Could anyone help? Thanks!

### Steps to reproduce

1. paste a link to minibuf (M-x or any prompt for minibuf like org-insert-link)
`https://github.com/doomemacs/doomemacs/issues?q=is%3Aissue%20state%3Aopen%20paste%20vertico`
2. the error
Image
3. remove the orderless from the `completion-styles`, whose default value is `(orderless basic)`.
then `(setq completion-styles '(orderless basic))`
4. pasting leads to no errors
Image

### System information

https://pastebin.com/srjbME12

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.