| [ < ] | [ > ] | [ << ] | [Plus haut] | [ >> ] | [Top] | [Table des matières] | [Index] | [ ? ] |
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-hookVoir la section The Mark.
after-change-functionsVoir la section Change Hooks.
after-change-major-mode-hookVoir la section Mode Hooks.
after-init-hookVoir la section The Init File, ‘.emacs’.
after-insert-file-functionsVoir la section Saving Text Properties in Files.
after-make-frame-functionsVoir la section Creating Frames.
after-revert-hookVoir la section Reverting.
after-save-hookVoir la section Saving Buffers.
auto-fill-functionVoir la section Auto Filling.
auto-save-hookVoir la section Auto-Saving.
before-change-functionsVoir la section Change Hooks.
before-init-hookVoir la section The Init File, ‘.emacs’.
before-make-frame-hookVoir la section Creating Frames.
before-revert-hookVoir la section Reverting.
before-save-hookVoir la section Saving Buffers.
blink-paren-functionVoir la section Blinking Parentheses.
buffer-access-fontify-functionsVoir la section Lazy Computation of Text Properties.
calendar-load-hookchange-major-mode-hookVoir la section Creating and Deleting Buffer-Local Bindings.
command-line-functionsVoir la section Command-Line Arguments.
comment-indent-functionVoir (emacs)Options for Comments section `Options Controlling Comments' dans the GNU Emacs Manual.
compilation-finish-functionsFunctions to call when a compilation process finishes.
custom-define-hookHook called after defining each customize option.
deactivate-mark-hookVoir la section The Mark.
desktop-after-read-hookNormal 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-hookNormal 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-hookNormal 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-hookdiary-hookList of functions called after the display of the diary. Can be used for appointment notification.
disabled-command-functionVoir la section Disabling Commands.
echo-area-clear-hookVoir la section Echo Area Customization.
emacs-startup-hookVoir la section The Init File, ‘.emacs’.
find-file-hookVoir la section Functions for Visiting Files.
find-file-not-found-functionsVoir la section Functions for Visiting Files.
first-change-hookVoir la section Change Hooks.
font-lock-beginning-of-syntax-functionVoir la section Syntactic Font Lock.
font-lock-fontify-buffer-functionVoir la section Other Font Lock Variables.
font-lock-fontify-region-functionVoir la section Other Font Lock Variables.
font-lock-mark-block-functionVoir la section Other Font Lock Variables.
font-lock-syntactic-face-functionVoir la section Syntactic Font Lock.
font-lock-unfontify-buffer-functionVoir la section Other Font Lock Variables.
font-lock-unfontify-region-functionVoir la section Other Font Lock Variables.
initial-calendar-window-hookkbd-macro-termination-hookVoir la section Keyboard Macros.
kill-buffer-hookVoir la section Killing Buffers.
kill-buffer-query-functionsVoir la section Killing Buffers.
kill-emacs-hookVoir la section Killing Emacs.
kill-emacs-query-functionsVoir la section Killing Emacs.
lisp-indent-functionlist-diary-entries-hookmail-setup-hookVoir (emacs)Mail Mode Misc section `Mail Mode Miscellany' dans the GNU Emacs Manual.
mark-diary-entries-hookmenu-bar-update-hookVoir la section The Menu Bar.
minibuffer-setup-hookVoir la section Minibuffer Miscellany.
minibuffer-exit-hookVoir la section Minibuffer Miscellany.
mouse-position-functionVoir la section Mouse Position.
nongregorian-diary-listing-hooknongregorian-diary-marking-hookoccur-hookpost-command-hookVoir la section Command Loop Overview.
pre-abbrev-expand-hook@xref{Abbrev Expansion}.
pre-command-hookVoir la section Command Loop Overview.
print-diary-entries-hookVoir (emacs)Diary Customizing.
redisplay-end-trigger-functionsVoir la section Hooks for Window Scrolling and Changes.
scheme-indent-functionsuspend-hookVoir la section Suspending Emacs.
suspend-resume-hookVoir la section Suspending Emacs.
temp-buffer-setup-hookVoir la section Temporary Displays.
temp-buffer-show-functionVoir la section Temporary Displays.
temp-buffer-show-hookVoir la section Temporary Displays.
term-setup-hookVoir la section Terminal-Specific Initialization.
today-visible-calendar-hooktoday-invisible-calendar-hookwindow-configuration-change-hookVoir la section Hooks for Window Scrolling and Changes.
window-scroll-functionsVoir la section Hooks for Window Scrolling and Changes.
window-setup-hookVoir la section Window Systems.
window-size-change-functionsVoir la section Hooks for Window Scrolling and Changes.
write-contents-functionsVoir la section Saving Buffers.
write-file-functionsVoir la section Saving Buffers.
write-region-annotate-functionsVoir 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.