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