Function: abbrev-suggest-show-report
abbrev-suggest-show-report is an interactive and byte-compiled
function defined in abbrev.el.gz.
Signature
(abbrev-suggest-show-report)
Documentation
Show a buffer with the list of abbrevs you could have used.
This shows the abbrevs you've "missed" because you typed the full text instead of the abbrevs that expand into that text.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/abbrev.el.gz
(defun abbrev-suggest-show-report ()
"Show a buffer with the list of abbrevs you could have used.
This shows the abbrevs you've \"missed\" because you typed the
full text instead of the abbrevs that expand into that text."
(interactive)
(let ((totals (abbrev--suggest-get-totals))
(buf (get-buffer-create "*abbrev-suggest*")))
(set-buffer buf)
(erase-buffer)
(insert (substitute-command-keys "** Abbrev expansion usage **
Below is a list of expansions for which abbrevs are defined, and
the number of times the expansion was typed manually. To display
and edit all abbrevs, type \\[edit-abbrevs].\n\n"))
(dolist (expansion totals)
(insert (format " %s: %d\n" (car expansion) (cdr expansion))))
(display-buffer buf)))