Variable: flex-score-match-tightness

flex-score-match-tightness is a variable defined in minibuffer.el.gz.

Value

3

Documentation

Controls how the flex completion style scores its matches.

Value is a positive number. A number smaller than 1 makes the scoring formula reward matches scattered along the string, while a number greater than one make the formula reward matches that are clumped together. I.e "foo" matches both strings
"fbarbazoo" and "fabrobazo", which are of equal length, but
only a value greater than one will score the former (which has one large "hole" and a clumped-together "oo" match) higher than the latter (which has two "holes" and three one-letter-long matches).

Source Code

;; Defined in /usr/src/emacs/lisp/minibuffer.el.gz
(defvar flex-score-match-tightness 3
  "Controls how the `flex' completion style scores its matches.

Value is a positive number.  A number smaller than 1 makes the
scoring formula reward matches scattered along the string, while
a number greater than one make the formula reward matches that
are clumped together.  I.e \"foo\" matches both strings
\"fbarbazoo\" and \"fabrobazo\", which are of equal length, but
only a value greater than one will score the former (which has
one large \"hole\" and a clumped-together \"oo\" match) higher
than the latter (which has two \"holes\" and three
one-letter-long matches).")