annotate lispref/hooks.texi @ 16842:72276b334084 before-thomas-posix1996 glibc-2_0_2 libc-970108 libc-970109 libc-970110 libc-970111 libc-970112 libc-970113 libc-970114 libc-970115 libc-970116 libc-970117 libc-970118 libc-970119 libc-970120 libc-970121 libc-970122 libc-970123 libc-970124 libc-970125 libc-970126 libc-970127 libc-970128 libc-970129 libc-970130 libc-970131 libc-970201 libc-970202 libc-970203 libc-970204 libc-970205 libc-970206 libc-970207 libc-970208 libc-970209 libc-970210 libc-970211 libc-970212 libc-970213 libc-970214 libc-970215 libc-970216 libc-970217 libc-970218 libc-970219 libc-970220 libc-970221 libc-970222 libc-970223 libc-970224 libc-970225 libc-970226 libc-970227 libc-970228 libc-970301 libc-970302 libc-970303 libc-970304 libc-970305 libc-970306 libc-970307 libc-970308 libc-970309 libc-970310 libc-970311 libc-970312 libc-970313 libc-970314 libc-970315 libc-970316 libc-970317 libc-970318 libc-970319 libc-970320 libc-970321 libc-970322 libc-970323 libc-970324 libc20x-970306 libc20x-97031 libc20x-970316 libc20x-970318 libc20x-970319 libc20x-970404 root-libc-2_0_x-branch

Add hppa1.1-hitachi-hiuxmpp support, passed along by rms.
author David J. MacKenzie <djm@gnu.org>
date Tue, 07 Jan 1997 19:29:28 +0000
parents bfe1d6597f08
children 66d807bdc5b4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6440
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1 @c -*-texinfo-*-
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2 @c This is part of the GNU Emacs Lisp Reference Manual.
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3 @c Copyright (C) 1990, 1991, 1992, 1993 Free Software Foundation, Inc.
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
4 @c See the file elisp.texi for copying conditions.
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
5 @setfilename ../info/hooks
12098
a6eb5f12b0f3 *** empty log message ***
Karl Heuer <kwzh@gnu.org>
parents: 7600
diff changeset
6 @node Standard Hooks, Index, Standard Keymaps, Top
6440
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
7 @appendix Standard Hooks
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
8
7600
8bf07ff6a929 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 6782
diff changeset
9 The following is a list of hook variables that let you provide
6440
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
10 functions to be called from within Emacs on suitable occasions.
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
11
7600
8bf07ff6a929 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 6782
diff changeset
12 Most of these variables have names ending with @samp{-hook}. They are
8bf07ff6a929 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 6782
diff changeset
13 @dfn{normal hooks}, run by means of @code{run-hooks}. The value of such
16056
bfe1d6597f08 Explain better about abnormal hooks.
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
14 a hook is a list of functions; the functions are called with no
bfe1d6597f08 Explain better about abnormal hooks.
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
15 arguments and their values are completely ignored. The recommended way
bfe1d6597f08 Explain better about abnormal hooks.
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
16 to put a new function on such a hook is to call @code{add-hook}.
bfe1d6597f08 Explain better about abnormal hooks.
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
17 @xref{Hooks}, for more information about using hooks.
bfe1d6597f08 Explain better about abnormal hooks.
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
18
bfe1d6597f08 Explain better about abnormal hooks.
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
19 The variables whose names end in @samp{-hooks} or @samp{-functions} are
bfe1d6597f08 Explain better about abnormal hooks.
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
20 usually @dfn{abnormal hooks}; their values are lists of functions, but
bfe1d6597f08 Explain better about abnormal hooks.
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
21 these functions are called in a special way (they are passed arguments,
bfe1d6597f08 Explain better about abnormal hooks.
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
22 or their values are used). A few of these variables are actually normal
bfe1d6597f08 Explain better about abnormal hooks.
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
23 hooks which were named before we established the convention that normal
bfe1d6597f08 Explain better about abnormal hooks.
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
24 hooks' names should end in @samp{-hook}.
6440
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
25
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
26 The variables whose names end in @samp{-function} have single functions
16056
bfe1d6597f08 Explain better about abnormal hooks.
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
27 as their values. (In older Emacs versions, some of these variables had
bfe1d6597f08 Explain better about abnormal hooks.
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
28 names ending in @samp{-hook} even though they were not normal hooks;
bfe1d6597f08 Explain better about abnormal hooks.
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
29 however, we have renamed all of those.)
6440
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
30
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
31 @c !!! need xref to where each hook is documented or else document it
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
32 @c by specifying what is expected, and when it is called relative to
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
33 @c mode initialization.)
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
34
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
35 @table @code
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
36 @item activate-mark-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
37 @item after-change-function
6782
5b07647ec8f7 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6440
diff changeset
38 @item after-change-functions
6440
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
39 @item after-init-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
40 @item after-insert-file-functions
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
41 @item after-make-frame-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
42 @item auto-fill-function
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
43 @item auto-save-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
44 @item before-change-function
6782
5b07647ec8f7 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6440
diff changeset
45 @item before-change-functions
6440
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
46 @item before-init-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
47 @item before-make-frame-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
48 @item blink-paren-function
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
49 @item c-mode-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
50 @item calendar-load-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
51 @item command-history-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
52 @item comment-indent-function
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
53 @item deactivate-mark-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
54 @item diary-display-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
55 @item diary-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
56 @item dired-mode-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
57 @item disabled-command-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
58 @item edit-picture-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
59 @item electric-buffer-menu-mode-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
60 @item electric-command-history-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
61 @item electric-help-mode-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
62 @item emacs-lisp-mode-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
63 @item find-file-hooks
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
64 @item find-file-not-found-hooks
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
65 @item first-change-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
66 @item fortran-comment-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
67 @item fortran-mode-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
68 @item ftp-setup-write-file-hooks
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
69 @item ftp-write-file-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
70 @item indent-mim-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
71 @item initial-calendar-window-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
72 @item kill-buffer-query-functions
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
73 @item kill-emacs-query-functions
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
74 @item LaTeX-mode-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
75 @item ledit-mode-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
76 @item lisp-indent-function
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
77 @item lisp-interaction-mode-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
78 @item lisp-mode-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
79 @item list-diary-entries-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
80 @item m2-mode-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
81 @item mail-mode-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
82 @item mail-setup-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
83 @item mark-diary-entries-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
84 @item medit-mode-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
85 @item mh-compose-letter-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
86 @item mh-folder-mode-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
87 @item mh-letter-mode-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
88 @item mim-mode-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
89 @item minibuffer-setup-hook
6782
5b07647ec8f7 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 6440
diff changeset
90 @item minibuffer-exit-hook
6440
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
91 @item news-mode-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
92 @item news-reply-mode-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
93 @item news-setup-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
94 @item nongregorian-diary-listing-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
95 @item nongregorian-diary-marking-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
96 @item nroff-mode-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
97 @item outline-mode-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
98 @item plain-TeX-mode-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
99 @item post-command-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
100 @item pre-abbrev-expand-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
101 @item pre-command-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
102 @item print-diary-entries-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
103 @item prolog-mode-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
104 @item protect-innocence-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
105 @item rmail-edit-mode-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
106 @item rmail-mode-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
107 @item rmail-summary-mode-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
108 @item scheme-indent-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
109 @item scheme-mode-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
110 @item scribe-mode-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
111 @item shell-mode-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
112 @item shell-set-directory-error-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
113 @item suspend-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
114 @item suspend-resume-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
115 @item temp-buffer-show-function
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
116 @item term-setup-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
117 @item terminal-mode-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
118 @item terminal-mode-break-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
119 @item TeX-mode-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
120 @item text-mode-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
121 @item today-visible-calendar-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
122 @item today-invisible-calendar-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
123 @item vi-mode-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
124 @item view-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
125 @item window-setup-hook
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
126 @item write-contents-hooks
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
127 @item write-file-hooks
12098
a6eb5f12b0f3 *** empty log message ***
Karl Heuer <kwzh@gnu.org>
parents: 7600
diff changeset
128 @item write-region-annotate-functions
6440
fe511f97c2de Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
129 @end table