Variable: todo-insert-threshold

todo-insert-threshold is a customizable variable defined in otodo-mode.el.gz.

Value

0

Documentation

TODO mode insertion accuracy.

If you have 8 items in your TODO list, then you may get asked 4 questions by the binary insertion algorithm. However, you may not really have a need for such accurate priorities amongst your TODO items. If you now think about the binary insertion halving the size of the window each time, then the threshold is the window size at which it will stop. If you set the threshold to zero, the upper and lower bound will coincide at the end of the loop and you will insert your item just before that point. If you set the threshold to, e.g. 8, it will stop as soon as the window size drops below that amount and will insert the item in the approximate center of that window.

Source Code

;; Defined in /usr/src/emacs/lisp/obsolete/otodo-mode.el.gz
(defcustom todo-insert-threshold 0
  "TODO mode insertion accuracy.

If you have 8 items in your TODO list, then you may get asked 4
questions by the binary insertion algorithm.  However, you may not
really have a need for such accurate priorities amongst your TODO
items.  If you now think about the binary insertion halving the size
of the window each time, then the threshold is the window size at
which it will stop.  If you set the threshold to zero, the upper and
lower bound will coincide at the end of the loop and you will insert
your item just before that point.  If you set the threshold to,
e.g. 8, it will stop as soon as the window size drops below that
amount and will insert the item in the approximate center of that
window."
  :type 'integer)