doomemacs / doomemacs/core

Cannot filter symbols with "^=" in the minibuffer (vertico module)

Open
#6,216 2 comments 0 reactions 1 assignee Claimed by @iyefrat View on GitHub
:completion vertico is:bug status:confirmed
Dominant language
Emacs Lisp
Stars
22.7k
Forks
3.1k
Avg merge
10h 46m
Merged PRs (30d)
4

Description

### What did you expect to happen?

Find Elisp symbols that begin with "=".

### What actually happened?

The minibuffer's returned results are empty.

### Describe your attempts to resolve the issue

Remove `+vertico-orderless-dispatch` from `orderless-style-dispatchers`.

Because those
```lisp
;; Literal matching
((string-prefix-p "=" pattern) `(orderless-literal . ,(substring pattern 1)))
((string-suffix-p "=" pattern) `(orderless-literal . ,(substring pattern 0 -1)))
```
Doesn't check if pattern is a non-literal regular expression.

### Steps to reproduce

1. Enable `:completion vertico`
2. `M-x helpful-symbol`
3. Type "^="

### System Information

https://pastebin.com/1AA9qwgG

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.