有一篇有趣的关于ErgoEmacs的文章:http://ergoemacs.org/emacs/command-frequency.html。在“报告如何编制”中,我们了解到通过使用 keyfreq.el 可以查看我们使用命令的次数:https://github.com/dacap/keyfreq (在 ELPA 中可用: M-x install-package RET keyfreq)。
<C-f>
还是forward-char
?前者是 Emacs 称之为“lossage”的内容,可以通过C-h l
查看。如果你想保存这些数据,请查看这个答案:http://stackoverflow.com/questions/9761401/for-emacs-how-to-store-what-view-lossage-collects-into-an-externel-file 。如果你想要保存调用的函数,我暂时不确定如何实现。 - zck