]> code.delx.au - gnu-emacs/blob - doc/lispref/locals.texi
Add 2012 to FSF copyright years for Emacs files
[gnu-emacs] / doc / lispref / locals.texi
1 @c -*-texinfo-*-
2 @c This is part of the GNU Emacs Lisp Reference Manual.
3 @c Copyright (C) 1990-1993, 1999, 2001-2012 Free Software Foundation, Inc.
4 @c See the file elisp.texi for copying conditions.
5 @setfilename ../../info/locals
6 @node Standard Buffer-Local Variables, Standard Keymaps, Standard Errors, Top
7 @appendix Buffer-Local Variables
8 @c The title "Standard Buffer-Local Variables" is too long for
9 @c smallbook. --rjc 30mar92
10 @cindex buffer-local variables, general-purpose
11 @cindex standard buffer-local variables
12
13 The table below lists the general-purpose Emacs variables that
14 automatically become buffer-local in each buffer. Most become
15 buffer-local only when set; a few of them are always local in every
16 buffer. Many Lisp packages define such variables for their internal
17 use, but we don't try to list them all here.
18
19 Every buffer-specific minor mode defines a buffer-local variable
20 named @samp{@var{modename}-mode}. @xref{Minor Mode Conventions}.
21 Minor mode variables will not be listed here.
22
23 @table @code
24 @item auto-fill-function
25 @xref{Auto Filling}.
26
27 @item buffer-auto-save-file-format
28 @xref{Format Conversion}.
29
30 @item buffer-auto-save-file-name
31 @xref{Auto-Saving}.
32
33 @item buffer-backed-up
34 @xref{Making Backups}.
35
36 @item buffer-display-count
37 @xref{Buffers and Windows}.
38
39 @item buffer-display-table
40 @xref{Active Display Table}.
41
42 @item buffer-display-time
43 @xref{Buffers and Windows}.
44
45 @item buffer-file-coding-system
46 @xref{Encoding and I/O}.
47
48 @item buffer-file-format
49 @xref{Format Conversion}.
50
51 @item buffer-file-name
52 @xref{Buffer File Name}.
53
54 @item buffer-file-number
55 @xref{Buffer File Name}.
56
57 @item buffer-file-truename
58 @xref{Buffer File Name}.
59
60 @item buffer-file-type
61 @xref{MS-DOS File Types}.
62
63 @item buffer-invisibility-spec
64 @xref{Invisible Text}.
65
66 @item buffer-offer-save
67 @xref{Killing Buffers}.
68
69 @item buffer-save-without-query
70 @xref{Killing Buffers}.
71
72 @item buffer-read-only
73 @xref{Read Only Buffers}.
74
75 @item buffer-saved-size
76 @xref{Auto-Saving}.
77
78 @item buffer-undo-list
79 @xref{Undo}.
80
81 @item cache-long-line-scans
82 @xref{Truncation}.
83
84 @item case-fold-search
85 @xref{Searching and Case}.
86
87 @item comment-column
88 @xref{Comments,,, emacs, The GNU Emacs Manual}.
89
90 @item ctl-arrow
91 @xref{Usual Display}.
92
93 @item cursor-in-non-selected-windows
94 @xref{Basic Windows}.
95
96 @item cursor-type
97 @xref{Cursor Parameters}.
98
99 @item default-directory
100 @xref{File Name Expansion}.
101
102 @item defun-prompt-regexp
103 @xref{List Motion}.
104
105 @item desktop-save-buffer
106 @xref{Desktop Save Mode}.
107
108 @item enable-multibyte-characters
109 @ref{Text Representations}.
110
111 @item fill-column
112 @xref{Margins}.
113
114 @item fill-prefix
115 @xref{Margins}.
116
117 @item font-lock-defaults
118 @xref{Font Lock Basics}.
119
120 @item fringe-cursor-alist
121 @xref{Fringe Cursors}.
122
123 @item fringe-indicator-alist
124 @xref{Fringe Indicators}.
125
126 @item fringes-outside-margins
127 @xref{Fringes}.
128
129 @item goal-column
130 @xref{Moving Point,,, emacs, The GNU Emacs Manual}.
131
132 @item header-line-format
133 @xref{Header Lines}.
134
135 @item indicate-buffer-boundaries
136 @xref{Usual Display}.
137
138 @item indicate-empty-lines
139 @xref{Usual Display}.
140
141 @item left-fringe-width
142 @xref{Fringe Size/Pos}.
143
144 @item left-margin
145 @xref{Margins}.
146
147 @item left-margin-width
148 @xref{Display Margins}.
149
150 @item line-spacing
151 @xref{Line Height}.
152
153 @item local-abbrev-table
154 @xref{Standard Abbrev Tables}.
155
156 @item major-mode
157 @xref{Mode Help}.
158
159 @item mark-active
160 @xref{The Mark}.
161
162 @item mark-ring
163 @xref{The Mark}.
164
165 @item mode-line-buffer-identification
166 @xref{Mode Line Variables}.
167
168 @item mode-line-format
169 @xref{Mode Line Data}.
170
171 @item mode-line-modified
172 @xref{Mode Line Variables}.
173
174 @item mode-line-process
175 @xref{Mode Line Variables}.
176
177 @item mode-name
178 @xref{Mode Line Variables}.
179
180 @item point-before-scroll
181 Used for communication between mouse commands and scroll-bar commands.
182
183 @item right-fringe-width
184 @xref{Fringe Size/Pos}.
185
186 @item right-margin-width
187 @xref{Display Margins}.
188
189 @item save-buffer-coding-system
190 @xref{Encoding and I/O}.
191
192 @item scroll-bar-width
193 @xref{Scroll Bars}.
194
195 @item scroll-down-aggressively
196 @itemx scroll-up-aggressively
197 @xref{Textual Scrolling}.
198
199 @item selective-display
200 @itemx selective-display-ellipses
201 @xref{Selective Display}.
202
203 @item tab-width
204 @xref{Usual Display}.
205
206 @item truncate-lines
207 @xref{Truncation}.
208
209 @item vertical-scroll-bar
210 @xref{Scroll Bars}.
211
212 @item window-size-fixed
213 @xref{Resizing Windows}.
214
215 @item write-contents-functions
216 @xref{Saving Buffers}.
217 @end table