Closed tohammer closed 2 years ago
Errors from long regular expressions might be due to character folding. Does this occur if you set the default value of prescient-use-char-folding
to nil?
See possibly related discussions in:
Note that the ivy-prescient.el
library is currently unmaintained: https://github.com/raxod502/prescient.el/issues/65
Setting prescient-use-char-folding
to nil solves it for me. I didn't know what char folding was before reading on it now so probably won't miss it.
Thanks for your help!
Closing as tracked by https://github.com/raxod502/prescient.el/issues/71.
When i try to do any operation with ivy-prescient involving long paths i am getting this error: Invalid regexp: "Regular expression too big"
Causes can be e.g. trying to enter dired or any file operation in dired involving completion. Here is a backtrace:
ivy-prescient-re-builder seems to create a really huge regex out of the 146 character long path.