次: Index, 前: Standard Keymaps, 上: Top
以下は、Emacsから適切な場面に呼び出される関数を 読者が指定するためのフック変数の一覧です。
これらのほとんどの変数の名前は`-hook'で終ります。
これらは、run-hooksで実行される
ノーマルフック(normal hooks)です。
そのようなフックの値は関数のリストです。
関数は引数なしで呼び出され、その値は完全に無視します。
このようなフックに新たな関数を追加する推奨方法は、
add-hookを呼び出すことです。
フックの使い方について詳しくは、See Hooks。
`-hooks'や`-functions'で終る名前の変数は、 普通、アブノーマルフック(abnormal hooks)です。 それらの値も関数のリストですが、 それらの関数は特別な方法(引数を渡したり、戻り値を使用したり)で 呼び出されます。 これらの変数のごく少数は実際にはノーマルフックですが、 ノーマルフックの名前を`-hook'で終えるという慣行を 確立するまえに命名したものです。
`-function'で終る名前の変数では、その値は1つの関数です。 (Emacsの旧版では、ノーマルフックでないにも関わらず、 `-hook'で終る名前の変数があった。 しかしながら、それらはすべて改名した。)
activate-mark-hookafter-change-functionafter-change-functionsafter-init-hookafter-insert-file-functionsafter-make-frame-hookafter-revert-hookafter-save-hookauto-fill-functionauto-save-hookbefore-change-functionbefore-change-functionsbefore-init-hookbefore-make-frame-hookbefore-revert-hookblink-paren-functionbuffer-access-fontify-functionsc-mode-hookcalendar-load-hookchange-major-mode-hookcommand-history-hookcommand-line-functionscomment-indent-functiondeactivate-mark-hookdiary-display-hookdiary-hookdired-mode-hookdisabled-command-hookecho-area-clear-hookedit-picture-hookelectric-buffer-menu-mode-hookelectric-command-history-hookelectric-help-mode-hookemacs-lisp-mode-hookfind-file-hooksfind-file-not-found-hooksfirst-change-hookfortran-comment-hookfortran-mode-hookftp-setup-write-file-hooksftp-write-file-hookindent-mim-hookinitial-calendar-window-hookkill-buffer-hookkill-buffer-query-functionskill-emacs-hookkill-emacs-query-functionsLaTeX-mode-hookledit-mode-hooklisp-indent-functionlisp-interaction-mode-hooklisp-mode-hooklist-diary-entries-hooklocal-write-file-hooksm2-mode-hookmail-mode-hookmail-setup-hookmark-diary-entries-hookmedit-mode-hookmenu-bar-update-hookminibuffer-setup-hookminibuffer-exit-hooknews-mode-hooknews-reply-mode-hooknews-setup-hooknongregorian-diary-listing-hooknongregorian-diary-marking-hooknroff-mode-hookoutline-mode-hookplain-TeX-mode-hookpost-command-hookpre-abbrev-expand-hookpre-command-hookprint-diary-entries-hookprolog-mode-hookprotect-innocence-hookredisplay-end-trigger-functionsrmail-edit-mode-hookrmail-mode-hookrmail-summary-mode-hookscheme-indent-hookscheme-mode-hookscribe-mode-hookshell-mode-hookshell-set-directory-error-hooksuspend-hooksuspend-resume-hooktemp-buffer-show-functionterm-setup-hookterminal-mode-hookterminal-mode-break-hookTeX-mode-hooktext-mode-hooktoday-visible-calendar-hooktoday-invisible-calendar-hookvi-mode-hookview-hookwindow-configuration-change-hookwindow-scroll-functionswindow-setup-hookwindow-size-change-functionswrite-contents-hookswrite-file-hookswrite-region-annotate-functions