]> code.delx.au - gnu-emacs/blob - doc/lispref/locals.texi
Merge from emacs-23
[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 @item enable-multibyte-characters
110 @ref{Text Representations}.
111
112 @item fill-column
113 @xref{Margins}.
114
115 @item fill-prefix
116 @xref{Margins}.
117
118 @item font-lock-defaults
119 @xref{Font Lock Basics}.
120
121 @item fringe-cursor-alist
122 @xref{Fringe Cursors}.
123
124 @item fringe-indicator-alist
125 @xref{Fringe Indicators}.
126
127 @item fringes-outside-margins
128 @xref{Fringes}.
129
130 @item goal-column
131 @xref{Moving Point,,, emacs, The GNU Emacs Manual}.
132
133 @item header-line-format
134 @xref{Header Lines}.
135
136 @item indicate-buffer-boundaries
137 @xref{Usual Display}.
138
139 @item indicate-empty-lines
140 @xref{Usual Display}.
141
142 @item left-fringe-width
143 @xref{Fringe Size/Pos}.
144
145 @item left-margin
146 @xref{Margins}.
147
148 @item left-margin-width
149 @xref{Display Margins}.
150
151 @item line-spacing
152 @xref{Line Height}.
153
154 @item local-abbrev-table
155 @xref{Standard Abbrev Tables}.
156
157 @item major-mode
158 @xref{Mode Help}.
159
160 @item mark-active
161 @xref{The Mark}.
162
163 @item mark-ring
164 @xref{The Mark}.
165
166 @item mode-line-buffer-identification
167 @xref{Mode Line Variables}.
168
169 @item mode-line-format
170 @xref{Mode Line Data}.
171
172 @item mode-line-modified
173 @xref{Mode Line Variables}.
174
175 @item mode-line-process
176 @xref{Mode Line Variables}.
177
178 @item mode-name
179 @xref{Mode Line Variables}.
180
181 @item point-before-scroll
182 Used for communication between mouse commands and scroll-bar commands.
183
184 @item right-fringe-width
185 @xref{Fringe Size/Pos}.
186
187 @item right-margin-width
188 @xref{Display Margins}.
189
190 @item save-buffer-coding-system
191 @xref{Encoding and I/O}.
192
193 @item scroll-bar-width
194 @xref{Scroll Bars}.
195
196 @item scroll-down-aggressively
197 @itemx scroll-up-aggressively
198 @xref{Textual Scrolling}.
199
200 @item selective-display
201 @itemx selective-display-ellipses
202 @xref{Selective Display}.
203
204 @item tab-width
205 @xref{Usual Display}.
206
207 @item truncate-lines
208 @xref{Truncation}.
209
210 @item vertical-scroll-bar
211 @xref{Scroll Bars}.
212
213 @item window-size-fixed
214 @xref{Resizing Windows}.
215
216 @item write-contents-functions
217 @xref{Saving Buffers}.
218 @end table
219
220
221 @ignore
222 arch-tag: 6baae835-b667-4447-91e2-9829ae1cf543
223 @end ignore