* customize.texi (Composite Types): Move alist/plist from Simple Types (Bug#7545).
[emacs.git] / doc / lispref / locals.texi
blobb35c43c7b4216896fb3e32b3a3f72ce9c9e76b9f
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
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.
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.
24 @table @code
25 @item auto-fill-function
26 @xref{Auto Filling}.
28 @item buffer-auto-save-file-format
29 @xref{Format Conversion}.
31 @item buffer-auto-save-file-name
32 @xref{Auto-Saving}.
34 @item buffer-backed-up
35 @xref{Making Backups}.
37 @item buffer-display-count
38 @xref{Buffers and Windows}.
40 @item buffer-display-table
41 @xref{Active Display Table}.
43 @item buffer-display-time
44 @xref{Buffers and Windows}.
46 @item buffer-file-coding-system
47 @xref{Encoding and I/O}.
49 @item buffer-file-format
50 @xref{Format Conversion}.
52 @item buffer-file-name
53 @xref{Buffer File Name}.
55 @item buffer-file-number
56 @xref{Buffer File Name}.
58 @item buffer-file-truename
59 @xref{Buffer File Name}.
61 @item buffer-file-type
62 @xref{MS-DOS File Types}.
64 @item buffer-invisibility-spec
65 @xref{Invisible Text}.
67 @item buffer-offer-save
68 @xref{Killing Buffers}.
70 @item buffer-save-without-query
71 @xref{Killing Buffers}.
73 @item buffer-read-only
74 @xref{Read Only Buffers}.
76 @item buffer-saved-size
77 @xref{Auto-Saving}.
79 @item buffer-undo-list
80 @xref{Undo}.
82 @item cache-long-line-scans
83 @xref{Truncation}.
85 @item case-fold-search
86 @xref{Searching and Case}.
88 @item comment-column
89 @xref{Comments,,, emacs, The GNU Emacs Manual}.
91 @item ctl-arrow
92 @xref{Usual Display}.
94 @item cursor-in-non-selected-windows
95 @xref{Basic Windows}.
97 @item cursor-type
98 @xref{Cursor Parameters}.
100 @item default-directory
101 @xref{File Name Expansion}.
103 @item defun-prompt-regexp
104 @xref{List Motion}.
106 @item desktop-save-buffer
107 @xref{Desktop Save Mode}.
109 @ignore
110 @item direction-reversed
111 Does not work yet.
112 @end ignore
114 @item enable-multibyte-characters
115 @ref{Text Representations}.
117 @item fill-column
118 @xref{Margins}.
120 @item fill-prefix
121 @xref{Margins}.
123 @item font-lock-defaults
124 @xref{Font Lock Basics}.
126 @item fringe-cursor-alist
127 @xref{Fringe Cursors}.
129 @item fringe-indicator-alist
130 @xref{Fringe Indicators}.
132 @item fringes-outside-margins
133 @xref{Fringes}.
135 @item goal-column
136 @xref{Moving Point,,, emacs, The GNU Emacs Manual}.
138 @item header-line-format
139 @xref{Header Lines}.
141 @item indicate-buffer-boundaries
142 @xref{Usual Display}.
144 @item indicate-empty-lines
145 @xref{Usual Display}.
147 @item left-fringe-width
148 @xref{Fringe Size/Pos}.
150 @item left-margin
151 @xref{Margins}.
153 @item left-margin-width
154 @xref{Display Margins}.
156 @item line-spacing
157 @xref{Line Height}.
159 @item local-abbrev-table
160 @xref{Standard Abbrev Tables}.
162 @item major-mode
163 @xref{Mode Help}.
165 @item mark-active
166 @xref{The Mark}.
168 @item mark-ring
169 @xref{The Mark}.
171 @item mode-line-buffer-identification
172 @xref{Mode Line Variables}.
174 @item mode-line-format
175 @xref{Mode Line Data}.
177 @item mode-line-modified
178 @xref{Mode Line Variables}.
180 @item mode-line-process
181 @xref{Mode Line Variables}.
183 @item mode-name
184 @xref{Mode Line Variables}.
186 @item point-before-scroll
187 Used for communication between mouse commands and scroll-bar commands.
189 @item right-fringe-width
190 @xref{Fringe Size/Pos}.
192 @item right-margin-width
193 @xref{Display Margins}.
195 @item save-buffer-coding-system
196 @xref{Encoding and I/O}.
198 @item scroll-bar-width
199 @xref{Scroll Bars}.
201 @item scroll-down-aggressively
202 @itemx scroll-up-aggressively
203 @xref{Textual Scrolling}.
205 @item selective-display
206 @itemx selective-display-ellipses
207 @xref{Selective Display}.
209 @item tab-width
210 @xref{Usual Display}.
212 @item truncate-lines
213 @xref{Truncation}.
215 @item vertical-scroll-bar
216 @xref{Scroll Bars}.
218 @item window-size-fixed
219 @xref{Resizing Windows}.
221 @item write-contents-functions
222 @xref{Saving Buffers}.
223 @end table
226 @ignore
227    arch-tag: 6baae835-b667-4447-91e2-9829ae1cf543
228 @end ignore