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-hookactivate-popup-menu-hookad-definition-hooksadaptive-fill-functionadd-log-current-defun-functionafter-change-functionsafter-delete-annotation-hookafter-init-hookafter-insert-file-functionsafter-revert-hookafter-save-hookafter-set-visited-file-name-hooksafter-write-file-hooksauto-fill-functionauto-save-hookbefore-change-functionsbefore-delete-annotation-hookbefore-init-hookbefore-revert-hookblink-paren-functionbuffers-menu-switch-to-buffer-functionc++-mode-hookc-delete-functionc-mode-common-hookc-mode-hookc-special-indent-hookcalendar-load-hookchange-major-mode-hookcommand-history-hookcomment-indent-functioncompilation-buffer-name-functioncompilation-exit-message-functioncompilation-finish-functioncompilation-parse-errors-functioncompilation-mode-hookcreate-console-hookcreate-device-hookcreate-frame-hookdabbrev-friend-buffer-functiondabbrev-select-buffers-functiondelete-console-hookdelete-device-hookdelete-frame-hookdeselect-frame-hookdiary-display-hookdiary-hookdired-after-readin-hookdired-before-readin-hookdired-load-hookdired-mode-hookdisabled-command-hookdisplay-buffer-functionediff-after-setup-control-frame-hookediff-after-setup-windows-hookediff-before-setup-control-frame-hookediff-before-setup-windows-hookediff-brief-help-message-functionediff-cleanup-hookediff-control-frame-position-functionediff-display-help-hookediff-focus-on-regexp-matches-functionediff-forward-word-functionediff-hide-regexp-matches-functionediff-keymap-setup-hookediff-load-hookediff-long-help-message-functionediff-make-wide-display-functionediff-merge-split-window-functionediff-meta-action-functionediff-meta-redraw-functionediff-mode-hookediff-prepare-buffer-hookediff-quit-hookediff-registry-setup-hookediff-select-hookediff-session-action-functionediff-session-group-setup-hookediff-setup-diff-regions-functionediff-show-registry-hookediff-show-session-group-hookediff-skip-diff-region-functionediff-split-window-functionediff-startup-hookediff-suspend-hookediff-toggle-read-only-functionediff-unselect-hookediff-window-setup-functionedit-picture-hookelectric-buffer-menu-mode-hookelectric-command-history-hookelectric-help-mode-hookemacs-lisp-mode-hookfill-paragraph-functionfind-file-hooksfind-file-not-found-hooksfirst-change-hookfont-lock-after-fontify-buffer-hookfont-lock-beginning-of-syntax-functionfont-lock-mode-hookfume-found-function-hookfume-list-mode-hookfume-rescan-buffer-hookfume-sort-functiongnus-startup-hookhack-local-variables-hookhighlight-headers-follow-url-functionhyper-apropos-mode-hookindent-line-functionindent-mim-hookindent-region-functioninitial-calendar-window-hookisearch-mode-end-hookisearch-mode-hookjava-mode-hookkill-buffer-hookkill-buffer-query-functionskill-emacs-hookkill-emacs-query-functionskill-hooksLaTeX-mode-hooklatex-mode-hookledit-mode-hooklisp-indent-functionlisp-interaction-mode-hooklisp-mode-hooklist-diary-entries-hookload-read-functionlog-message-filter-functionm2-mode-hookmail-citation-hookmail-mode-hookmail-setup-hookmake-annotation-hookmakefile-mode-hookmap-frame-hookmark-diary-entries-hookmedit-mode-hookmenu-no-selection-hookmh-compose-letter-hookmh-folder-mode-hookmh-letter-mode-hookmim-mode-hookminibuffer-exit-hookminibuffer-setup-hookmode-motion-hookmouse-enter-frame-hookmouse-leave-frame-hookmouse-track-cleanup-hookmouse-track-click-hookmouse-track-down-hookmouse-track-drag-hookmouse-track-drag-up-hookmouse-track-up-hookmouse-yank-functionnews-mode-hooknews-reply-mode-hooknews-setup-hooknongregorian-diary-listing-hooknongregorian-diary-marking-hooknroff-mode-hookobjc-mode-hookoutline-mode-hookperl-mode-hookplain-TeX-mode-hookpost-command-hookpost-gc-hookpre-abbrev-expand-hookpre-command-hookpre-display-buffer-functionpre-gc-hookpre-idle-hookprint-diary-entries-hookprolog-mode-hookprotect-innocence-hookremove-message-hookrevert-buffer-functionrevert-buffer-insert-contents-functionrmail-edit-mode-hookrmail-mode-hookrmail-retry-setup-hookrmail-summary-mode-hookscheme-indent-hookscheme-mode-hookscribe-mode-hookselect-frame-hooksend-mail-functionshell-mode-hookshell-set-directory-error-hookspecial-display-functionsuspend-hooksuspend-resume-hooktemp-buffer-show-functionterm-setup-hookterminal-mode-hookterminal-mode-break-hookTeX-mode-hooktex-mode-hooktext-mode-hooktoday-visible-calendar-hooktoday-invisible-calendar-hookunmap-frame-hookvc-checkin-hookvc-checkout-writable-buffer-hookvc-log-after-operation-hookvc-make-buffer-writable-hookview-hookvm-arrived-message-hookvm-arrived-messages-hookvm-chop-full-name-functionvm-display-buffer-hookvm-edit-message-hookvm-forward-message-hookvm-iconify-frame-hookvm-inhibit-write-file-hookvm-key-functionsvm-mail-hookvm-mail-mode-hookvm-menu-setup-hookvm-mode-hookvm-quit-hookvm-rename-current-buffer-functionvm-reply-hookvm-resend-bounced-message-hookvm-resend-message-hookvm-retrieved-spooled-mail-hookvm-select-message-hookvm-select-new-message-hookvm-select-unread-message-hookvm-send-digest-hookvm-summary-mode-hookvm-summary-pointer-update-hookvm-summary-redo-hookvm-summary-update-hookvm-undisplay-buffer-hookvm-visit-folder-hookwindow-configuration-hookwindow-setup-hookwrite-contents-hookswrite-file-data-hookswrite-file-hookswrite-region-annotate-functionsx-lost-selection-hooksx-sent-selection-hookszmacs-activate-region-hookzmacs-deactivate-region-hookzmacs-update-region-hookNext: Index, Previous: Standard Keymaps, Up: Top [Contents][Index]