summaryrefslogtreecommitdiff
path: root/doc/lispref/locals.texi
blob: 25bbc6f02b5dee32c7119d07601873bf9363980f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
@c -*-texinfo-*-
@c This is part of the GNU Emacs Lisp Reference Manual.
@c Copyright (C) 1990, 1991, 1992, 1993, 1999, 2001, 2002, 2003, 2004,
@c   2005, 2006, 2007, 2008, 2009, 2010  Free Software Foundation, Inc.
@c See the file elisp.texi for copying conditions.
@setfilename ../../info/locals
@node Standard Buffer-Local Variables, Standard Keymaps, Standard Errors, Top
@appendix Buffer-Local Variables
@c The title "Standard Buffer-Local Variables" is too long for
@c smallbook. --rjc 30mar92
@cindex buffer-local variables, general-purpose
@cindex standard buffer-local variables

  The table below lists the general-purpose Emacs variables that
automatically become buffer-local in each buffer.  Most become
buffer-local only when set; a few of them are always local in every
buffer.  Many Lisp packages define such variables for their internal
use, but we don't try to list them all here.

  Every buffer-specific minor mode defines a buffer-local variable
named @samp{@var{modename}-mode}.  @xref{Minor Mode Conventions}.
Minor mode variables will not be listed here.

@table @code
@item auto-fill-function
@xref{Auto Filling}.

@item buffer-auto-save-file-format
@xref{Format Conversion}.

@item buffer-auto-save-file-name
@xref{Auto-Saving}.

@item buffer-backed-up
@xref{Making Backups}.

@item buffer-display-count
@xref{Buffers and Windows}.

@item buffer-display-table
@xref{Active Display Table}.

@item buffer-display-time
@xref{Buffers and Windows}.

@item buffer-file-coding-system
@xref{Encoding and I/O}.

@item buffer-file-format
@xref{Format Conversion}.

@item buffer-file-name
@xref{Buffer File Name}.

@item buffer-file-number
@xref{Buffer File Name}.

@item buffer-file-truename
@xref{Buffer File Name}.

@item buffer-file-type
@xref{MS-DOS File Types}.

@item buffer-invisibility-spec
@xref{Invisible Text}.

@item buffer-offer-save
@xref{Killing Buffers}.

@item buffer-save-without-query
@xref{Killing Buffers}.

@item buffer-read-only
@xref{Read Only Buffers}.

@item buffer-saved-size
@xref{Auto-Saving}.

@item buffer-undo-list
@xref{Undo}.

@item cache-long-line-scans
@xref{Truncation}.

@item case-fold-search
@xref{Searching and Case}.

@item comment-column
@xref{Comments,,, emacs, The GNU Emacs Manual}.

@item ctl-arrow
@xref{Usual Display}.

@item cursor-in-non-selected-windows
@xref{Basic Windows}.

@item cursor-type
@xref{Cursor Parameters}.

@item default-directory
@xref{File Name Expansion}.

@item defun-prompt-regexp
@xref{List Motion}.

@item desktop-save-buffer
@xref{Desktop Save Mode}.

@ignore
@item direction-reversed
Does not work yet.
@end ignore

@item enable-multibyte-characters
@ref{Text Representations}.

@item fill-column
@xref{Margins}.

@item fill-prefix
@xref{Margins}.

@item font-lock-defaults
@xref{Font Lock Basics}.

@item fringe-cursor-alist
@xref{Fringe Cursors}.

@item fringe-indicator-alist
@xref{Fringe Indicators}.

@item fringes-outside-margins
@xref{Fringes}.

@item goal-column
@xref{Moving Point,,, emacs, The GNU Emacs Manual}.

@item header-line-format
@xref{Header Lines}.

@item indicate-buffer-boundaries
@xref{Usual Display}.

@item indicate-empty-lines
@xref{Usual Display}.

@item left-fringe-width
@xref{Fringe Size/Pos}.

@item left-margin
@xref{Margins}.

@item left-margin-width
@xref{Display Margins}.

@item line-spacing
@xref{Line Height}.

@item local-abbrev-table
@xref{Standard Abbrev Tables}.

@item major-mode
@xref{Mode Help}.

@item mark-active
@xref{The Mark}.

@item mark-ring
@xref{The Mark}.

@item mode-line-buffer-identification
@xref{Mode Line Variables}.

@item mode-line-format
@xref{Mode Line Data}.

@item mode-line-modified
@xref{Mode Line Variables}.

@item mode-line-process
@xref{Mode Line Variables}.

@item mode-name
@xref{Mode Line Variables}.

@item point-before-scroll
Used for communication between mouse commands and scroll-bar commands.

@item right-fringe-width
@xref{Fringe Size/Pos}.

@item right-margin-width
@xref{Display Margins}.

@item save-buffer-coding-system
@xref{Encoding and I/O}.

@item scroll-bar-width
@xref{Scroll Bars}.

@item scroll-down-aggressively
@itemx scroll-up-aggressively
@xref{Textual Scrolling}.

@item selective-display
@itemx selective-display-ellipses
@xref{Selective Display}.

@item tab-width
@xref{Usual Display}.

@item truncate-lines
@xref{Truncation}.

@item vertical-scroll-bar
@xref{Scroll Bars}.

@item window-size-fixed
@xref{Resizing Windows}.

@item write-contents-functions
@xref{Saving Buffers}.
@end table


@ignore
   arch-tag: 6baae835-b667-4447-91e2-9829ae1cf543
@end ignore