lewang / flx

Fuzzy matching for Emacs ... a la Sublime Text.
GNU General Public License v3.0
518 stars 37 forks source link

Hang interaction with ido-use-virtual-buffers and recentf #113

Open dabrahams opened 1 year ago

dabrahams commented 1 year ago

This took forever to track down!

With flx and flx-ido in your load-path, if put the following in /tmp/x.el and run emacs -Q -l /tmp/x.el, then type "TypeCheck," emacs will hang.

(load-library "flx.el")
(load-library "flx-ido.el")
(custom-set-variables
'(ido-use-virtual-buffers 'auto)
 '(ido-mode 'buffer nil (ido)))
(flx-ido-mode)
(setq recentf-list '("/tmp/TypeCheck.txt"))
(shell-command "touch /tmp/TypeCheck.txt")
(find-file "/tmp/TypedProgram.txt")
(ido-switch-buffer)