]> git.eshelyaron.com Git - emacs.git/commit
Abbrev suggestions helps users remember to use defined abbrevs
authorMathias Dahl <mathias.dahl@gmail.com>
Sat, 26 Sep 2020 19:03:58 +0000 (15:03 -0400)
committerMathias Dahl <mathias.dahl@gmail.com>
Sat, 26 Sep 2020 20:01:59 +0000 (16:01 -0400)
commitf43d9d94aafcdfbcc5a10498333a28b3f8220fcf
tree88bbffc87298ea6aaf33cef95f65c64c600bbf4c
parente7012148c0d0e0b0aa87add75ed1e1c6f7eb4d32
Abbrev suggestions helps users remember to use defined abbrevs

    * lisp/abbrev.el (abbrev-suggest): New defcustom.
    (abbrev-suggest-hint-threshold): New defcustom.
    (abbrev--suggest-get-active-tables-including-parents): New defun.
    (abbrev--suggest-get-active-abbrev-expansions): New defun.
    (abbrev--suggest-count-words): New defun.
    (abbrev--suggest-get-previous-words): New defun.
    (abbrev--suggest-above-threshold): New defun.
    (abbrev--suggest-saved-recommendations): New defvar.
    (abbrev--suggest-inform-user): New defun.
    (abbrev--suggest-shortest-abbrev): New defun.
    (abbrev--suggest-maybe-suggest): New defun.
    (abbrev--suggest-get-totals): New defun.
    (abbrev-suggest-show-report): New defun.
    (expand-abbrev): If the previous word was not an abbrev, maybe
    suggest an abbrev to the user.
    * doc/emacs/abbrevs.texi (Abbrev suggestions): New section.
    * etc/NEWS: Announce abbrev suggestions.
doc/emacs/abbrevs.texi
etc/NEWS
lisp/abbrev.el