Exploring Emacs Completion Styles

News

Emacs Completion Styles

;; Use the fastest and most restrictive first because the slower
;; options will be consulted only if the faster option yields no
;; results!
(setq completion-styles '(initials partial-completion))

(defun dw/icomplete-setup ()
  (setq completion-styles '(basic flex)))

;; For icomplete it is necessary to use a hook to configure the
;; completion-styles variable correctly!
(add-hook 'icomplete-minibuffer-setup-hook #'dw/icomplete-setup)
Subscribe to the System Crafters Newsletter!
Stay up to date with the latest System Crafters news and updates! Read the Newsletter page for more information.
Name (optional)
Email Address