모든 Emacs 명령의 이력에 액세스하는 방법? 알았습니다 . 복잡한 작업

미니 버퍼 의 역사에 접근 할 수있는 방법이 있다는 것을 알았습니다 . 복잡한 작업 외에도 Emacs의 모든 작업 내역을 볼 수있는 방법이 있는지 궁금합니다. 나의 목적은 가능한 리 바인딩, 별칭, 나쁜 습관 변화에 대해 분석 할 수 있도록이를 저장하는 것입니다.



답변

라이브러리 keyfreqhttps: //github.com/dacap/keyfreq을 사용해보십시오

모드별로 그룹화 된 다른 명령을 얼마나 자주 사용하는지 기록합니다. 함수를 사용하여 목록을 얻을 수 있습니다 keyfreq-show.

(defun keyfreq-show (&optional major-mode-symbol)
  "Show command usage statistics in `keyfreq-buffer'.
If MAJOR-MODE-SYMBOL is given, the function shows the statistics
for that particular major mode only.
With a universal argument, the major-mode of the current buffer
is used as MAJOR-MODE-SYMBOL argument."

또는 keyfreq-html

(defun keyfreq-html (filename &optional confirm)
  "Save an HTML file as FILENAME with all the statistics of each mode."

또는 keyfreq-json.

Xah 리 4+ 만 명령 통화에 대한 그것의 이전 버전을 사용하여 일부 결과와 좋은 작성자을 가지고 있습니다 – http://ergoemacs.org/emacs/command-frequency.html