Next: Index, Previous: Standard Keymaps, Up: Top [Contents][Index]
The following is a list of hook variables that let you provide functions to be called from within SXEmacs on suitable occasions.
Most of these variables have names ending with ‘-hook’. They are
normal hooks, run by means of run-hooks
. The value of such
a hook is a list of functions. The recommended way to put a new
function on such a hook is to call add-hook
. See Hooks, for
more information about using hooks.
The variables whose names end in ‘-function’ have single functions as their values. Usually there is a specific reason why the variable is not a normal hook, such as the need to pass arguments to the function.
In older Emacs versions, some of these variables had names ending in ‘-hook’ even though they were not normal hooks.
The variables whose names end in ‘-hooks’ or ‘-functions’ have lists of functions as their values, but these functions are called in a special way (they are passed arguments, or else their values are used).
activate-menubar-hook
activate-popup-menu-hook
ad-definition-hooks
adaptive-fill-function
add-log-current-defun-function
after-change-functions
after-delete-annotation-hook
after-init-hook
after-insert-file-functions
after-revert-hook
after-save-hook
after-set-visited-file-name-hooks
after-write-file-hooks
auto-fill-function
auto-save-hook
before-change-functions
before-delete-annotation-hook
before-init-hook
before-revert-hook
blink-paren-function
buffers-menu-switch-to-buffer-function
c++-mode-hook
c-delete-function
c-mode-common-hook
c-mode-hook
c-special-indent-hook
calendar-load-hook
change-major-mode-hook
command-history-hook
comment-indent-function
compilation-buffer-name-function
compilation-exit-message-function
compilation-finish-function
compilation-parse-errors-function
compilation-mode-hook
create-console-hook
create-device-hook
create-frame-hook
dabbrev-friend-buffer-function
dabbrev-select-buffers-function
delete-console-hook
delete-device-hook
delete-frame-hook
deselect-frame-hook
diary-display-hook
diary-hook
dired-after-readin-hook
dired-before-readin-hook
dired-load-hook
dired-mode-hook
disabled-command-hook
display-buffer-function
ediff-after-setup-control-frame-hook
ediff-after-setup-windows-hook
ediff-before-setup-control-frame-hook
ediff-before-setup-windows-hook
ediff-brief-help-message-function
ediff-cleanup-hook
ediff-control-frame-position-function
ediff-display-help-hook
ediff-focus-on-regexp-matches-function
ediff-forward-word-function
ediff-hide-regexp-matches-function
ediff-keymap-setup-hook
ediff-load-hook
ediff-long-help-message-function
ediff-make-wide-display-function
ediff-merge-split-window-function
ediff-meta-action-function
ediff-meta-redraw-function
ediff-mode-hook
ediff-prepare-buffer-hook
ediff-quit-hook
ediff-registry-setup-hook
ediff-select-hook
ediff-session-action-function
ediff-session-group-setup-hook
ediff-setup-diff-regions-function
ediff-show-registry-hook
ediff-show-session-group-hook
ediff-skip-diff-region-function
ediff-split-window-function
ediff-startup-hook
ediff-suspend-hook
ediff-toggle-read-only-function
ediff-unselect-hook
ediff-window-setup-function
edit-picture-hook
electric-buffer-menu-mode-hook
electric-command-history-hook
electric-help-mode-hook
emacs-lisp-mode-hook
fill-paragraph-function
find-file-hooks
find-file-not-found-hooks
first-change-hook
font-lock-after-fontify-buffer-hook
font-lock-beginning-of-syntax-function
font-lock-mode-hook
fume-found-function-hook
fume-list-mode-hook
fume-rescan-buffer-hook
fume-sort-function
gnus-startup-hook
hack-local-variables-hook
highlight-headers-follow-url-function
hyper-apropos-mode-hook
indent-line-function
indent-mim-hook
indent-region-function
initial-calendar-window-hook
isearch-mode-end-hook
isearch-mode-hook
java-mode-hook
kill-buffer-hook
kill-buffer-query-functions
kill-emacs-hook
kill-emacs-query-functions
kill-hooks
LaTeX-mode-hook
latex-mode-hook
ledit-mode-hook
lisp-indent-function
lisp-interaction-mode-hook
lisp-mode-hook
list-diary-entries-hook
load-read-function
log-message-filter-function
m2-mode-hook
mail-citation-hook
mail-mode-hook
mail-setup-hook
make-annotation-hook
makefile-mode-hook
map-frame-hook
mark-diary-entries-hook
medit-mode-hook
menu-no-selection-hook
mh-compose-letter-hook
mh-folder-mode-hook
mh-letter-mode-hook
mim-mode-hook
minibuffer-exit-hook
minibuffer-setup-hook
mode-motion-hook
mouse-enter-frame-hook
mouse-leave-frame-hook
mouse-track-cleanup-hook
mouse-track-click-hook
mouse-track-down-hook
mouse-track-drag-hook
mouse-track-drag-up-hook
mouse-track-up-hook
mouse-yank-function
news-mode-hook
news-reply-mode-hook
news-setup-hook
nongregorian-diary-listing-hook
nongregorian-diary-marking-hook
nroff-mode-hook
objc-mode-hook
outline-mode-hook
perl-mode-hook
plain-TeX-mode-hook
post-command-hook
post-gc-hook
pre-abbrev-expand-hook
pre-command-hook
pre-display-buffer-function
pre-gc-hook
pre-idle-hook
print-diary-entries-hook
prolog-mode-hook
protect-innocence-hook
remove-message-hook
revert-buffer-function
revert-buffer-insert-contents-function
rmail-edit-mode-hook
rmail-mode-hook
rmail-retry-setup-hook
rmail-summary-mode-hook
scheme-indent-hook
scheme-mode-hook
scribe-mode-hook
select-frame-hook
send-mail-function
shell-mode-hook
shell-set-directory-error-hook
special-display-function
suspend-hook
suspend-resume-hook
temp-buffer-show-function
term-setup-hook
terminal-mode-hook
terminal-mode-break-hook
TeX-mode-hook
tex-mode-hook
text-mode-hook
today-visible-calendar-hook
today-invisible-calendar-hook
unmap-frame-hook
vc-checkin-hook
vc-checkout-writable-buffer-hook
vc-log-after-operation-hook
vc-make-buffer-writable-hook
view-hook
vm-arrived-message-hook
vm-arrived-messages-hook
vm-chop-full-name-function
vm-display-buffer-hook
vm-edit-message-hook
vm-forward-message-hook
vm-iconify-frame-hook
vm-inhibit-write-file-hook
vm-key-functions
vm-mail-hook
vm-mail-mode-hook
vm-menu-setup-hook
vm-mode-hook
vm-quit-hook
vm-rename-current-buffer-function
vm-reply-hook
vm-resend-bounced-message-hook
vm-resend-message-hook
vm-retrieved-spooled-mail-hook
vm-select-message-hook
vm-select-new-message-hook
vm-select-unread-message-hook
vm-send-digest-hook
vm-summary-mode-hook
vm-summary-pointer-update-hook
vm-summary-redo-hook
vm-summary-update-hook
vm-undisplay-buffer-hook
vm-visit-folder-hook
window-configuration-hook
window-setup-hook
write-contents-hooks
write-file-data-hooks
write-file-hooks
write-region-annotate-functions
x-lost-selection-hooks
x-sent-selection-hooks
zmacs-activate-region-hook
zmacs-deactivate-region-hook
zmacs-update-region-hook
Next: Index, Previous: Standard Keymaps, Up: Top [Contents][Index]