-
"The consult-line function only matches strings that start with a specific sequence. For example, if there's a line starting with "hello" in the text, I can find it by inputting hello in consult-line. However, if hello appears in the middle of a line, it can't be found. Why is this?" |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Which lines match your input depends on your choice of |
Beta Was this translation helpful? Give feedback.
Which lines match your input depends on your choice of
completion-styles
. The behavior you describe sounds like you have kept the default value of that variable. Try adding some style that doesn't only match at the beginning, such assubstring
orflex
that come with Emacs, ororderless
from the orderless package.