[ < ] [ > ]   [ << ] [Plus haut] [ >> ]         [Top] [Table des matières] [Index] [ ? ]

I. Standard Hooks

The following is a list of hook variables that let you provide functions to be called from within Emacs 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 functions are called with no arguments and their values are completely ignored. The recommended way to put a new function on such a hook is to call add-hook. Voir la section Hooks, for more information about using hooks.

Every major mode defines a mode hook named ‘modename-mode-hook’. The major mode command runs this normal hook with run-mode-hooks as the very last thing it does. Voir la section Mode Hooks. Most minor modes have mode hooks too. Mode hooks are omitted in the list below.

The variables whose names end in ‘-hooks’ or ‘-functions’ are usually abnormal hooks; their values are lists of functions, but these functions are called in a special way (they are passed arguments, or their values are used). The variables whose names end in ‘-function’ have single functions as their values.

activate-mark-hook

Voir la section The Mark.

after-change-functions

Voir la section Change Hooks.

after-change-major-mode-hook

Voir la section Mode Hooks.

after-init-hook

Voir la section The Init File, ‘.emacs.

after-insert-file-functions

Voir la section Saving Text Properties in Files.

after-make-frame-functions

Voir la section Creating Frames.

after-revert-hook

Voir la section Reverting.

after-save-hook

Voir la section Saving Buffers.

auto-fill-function

Voir la section Auto Filling.

auto-save-hook

Voir la section Auto-Saving.

before-change-functions

Voir la section Change Hooks.

before-init-hook

Voir la section The Init File, ‘.emacs.

before-make-frame-hook

Voir la section Creating Frames.

before-revert-hook

Voir la section Reverting.

before-save-hook

Voir la section Saving Buffers.

blink-paren-function

Voir la section Blinking Parentheses.

buffer-access-fontify-functions

Voir la section Lazy Computation of Text Properties.

calendar-load-hook

Voir (emacs)Calendar Customizing.

change-major-mode-hook

Voir la section Creating and Deleting Buffer-Local Bindings.

command-line-functions

Voir la section Command-Line Arguments.

comment-indent-function

Voir (emacs)Options for Comments section `Options Controlling Comments' dans the GNU Emacs Manual.

compilation-finish-functions

Functions to call when a compilation process finishes.

custom-define-hook

Hook called after defining each customize option.

deactivate-mark-hook

Voir la section The Mark.

desktop-after-read-hook

Normal hook run after a successful desktop-read. May be used to show a buffer list. Voir (emacs)Saving Emacs Sessions section `Saving Emacs Sessions' dans the GNU Emacs Manual.

desktop-no-desktop-file-hook

Normal hook run when desktop-read can't find a desktop file. May be used to show a dired buffer. Voir (emacs)Saving Emacs Sessions section `Saving Emacs Sessions' dans the GNU Emacs Manual.

desktop-save-hook

Normal hook run before the desktop is saved in a desktop file. This is useful for truncating history lists, for example. Voir (emacs)Saving Emacs Sessions section `Saving Emacs Sessions' dans the GNU Emacs Manual.

diary-display-hook

Voir (emacs)Fancy Diary Display.

diary-hook

List of functions called after the display of the diary. Can be used for appointment notification.

disabled-command-function

Voir la section Disabling Commands.

echo-area-clear-hook

Voir la section Echo Area Customization.

emacs-startup-hook

Voir la section The Init File, ‘.emacs.

find-file-hook

Voir la section Functions for Visiting Files.

find-file-not-found-functions

Voir la section Functions for Visiting Files.

first-change-hook

Voir la section Change Hooks.

font-lock-beginning-of-syntax-function

Voir la section Syntactic Font Lock.

font-lock-fontify-buffer-function

Voir la section Other Font Lock Variables.

font-lock-fontify-region-function

Voir la section Other Font Lock Variables.

font-lock-mark-block-function

Voir la section Other Font Lock Variables.

font-lock-syntactic-face-function

Voir la section Syntactic Font Lock.

font-lock-unfontify-buffer-function

Voir la section Other Font Lock Variables.

font-lock-unfontify-region-function

Voir la section Other Font Lock Variables.

initial-calendar-window-hook

Voir (emacs)Calendar Customizing.

kbd-macro-termination-hook

Voir la section Keyboard Macros.

kill-buffer-hook

Voir la section Killing Buffers.

kill-buffer-query-functions

Voir la section Killing Buffers.

kill-emacs-hook

Voir la section Killing Emacs.

kill-emacs-query-functions

Voir la section Killing Emacs.

lisp-indent-function
list-diary-entries-hook

Voir (emacs)Fancy Diary Display.

mail-setup-hook

Voir (emacs)Mail Mode Misc section `Mail Mode Miscellany' dans the GNU Emacs Manual.

mark-diary-entries-hook

Voir (emacs)Fancy Diary Display.

menu-bar-update-hook

Voir la section The Menu Bar.

minibuffer-setup-hook

Voir la section Minibuffer Miscellany.

minibuffer-exit-hook

Voir la section Minibuffer Miscellany.

mouse-position-function

Voir la section Mouse Position.

nongregorian-diary-listing-hook

Voir (emacs)Hebrew/Islamic Entries.

nongregorian-diary-marking-hook

Voir (emacs)Hebrew/Islamic Entries.

occur-hook
post-command-hook

Voir la section Command Loop Overview.

pre-abbrev-expand-hook

@xref{Abbrev Expansion}.

pre-command-hook

Voir la section Command Loop Overview.

print-diary-entries-hook

Voir (emacs)Diary Customizing.

redisplay-end-trigger-functions

Voir la section Hooks for Window Scrolling and Changes.

scheme-indent-function
suspend-hook

Voir la section Suspending Emacs.

suspend-resume-hook

Voir la section Suspending Emacs.

temp-buffer-setup-hook

Voir la section Temporary Displays.

temp-buffer-show-function

Voir la section Temporary Displays.

temp-buffer-show-hook

Voir la section Temporary Displays.

term-setup-hook

Voir la section Terminal-Specific Initialization.

today-visible-calendar-hook

Voir (emacs)Calendar Customizing.

today-invisible-calendar-hook

Voir (emacs)Calendar Customizing.

window-configuration-change-hook

Voir la section Hooks for Window Scrolling and Changes.

window-scroll-functions

Voir la section Hooks for Window Scrolling and Changes.

window-setup-hook

Voir la section Window Systems.

window-size-change-functions

Voir la section Hooks for Window Scrolling and Changes.

write-contents-functions

Voir la section Saving Buffers.

write-file-functions

Voir la section Saving Buffers.

write-region-annotate-functions

Voir la section Saving Text Properties in Files.


[ < ] [ > ]   [ << ] [Plus haut] [ >> ]         [Top] [Table des matières] [Index] [ ? ]

Ce document a été généré par Eric Reinbold le 13 Octobre 2007 en utilisant texi2html 1.78.