Variable: strokes-minimum-match-score

strokes-minimum-match-score is a customizable variable defined in strokes.el.gz.

Value

1000

Documentation

Minimum score for a stroke to be considered a possible match.

Setting this variable to 0 would require a perfectly precise match. The default value is 1000, but it's mostly dependent on how precisely you manage to replicate your user-defined strokes. It also depends on the value of strokes-grid-resolution, since a higher grid resolution will correspond to more sample points, and thus more distance measurements. Usually, this is not a problem since you first set strokes-grid-resolution based on what your computer seems to be able to handle (though the defaults are usually more than sufficient), and then you can set strokes-minimum-match-score to something that works for you. The only purpose of this variable is to insure that if you do a bogus stroke that really doesn't match any of the predefined ones, then strokes should NOT pick the one that came closest.

Source Code

;; Defined in /usr/src/emacs/lisp/strokes.el.gz
(defcustom strokes-minimum-match-score 1000
  "Minimum score for a stroke to be considered a possible match.
Setting this variable to 0 would require a perfectly precise match.
The default value is 1000, but it's mostly dependent on how precisely
you manage to replicate your user-defined strokes.  It also depends on
the value of `strokes-grid-resolution', since a higher grid resolution
will correspond to more sample points, and thus more distance
measurements.  Usually, this is not a problem since you first set
`strokes-grid-resolution' based on what your computer seems to be able
to handle (though the defaults are usually more than sufficient), and
then you can set `strokes-minimum-match-score' to something that works
for you.  The only purpose of this variable is to insure that if you
do a bogus stroke that really doesn't match any of the predefined
ones, then strokes should NOT pick the one that came closest."
  :type 'integer)