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