annotate lispref/locals.texi @ 26003:f6c190ef2f45

(shell-command, shell-command-on-region): use make-temp-file. (clone-buffer, clone-process, clone-buffer-hook): new functions.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 13 Oct 1999 00:48:17 +0000
parents 90da2489c498
children 381ec3cf8fe2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7085
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1 @c -*-texinfo-*-
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2 @c This is part of the GNU Emacs Lisp Reference Manual.
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3 @c Copyright (C) 1990, 1991, 1992, 1993 Free Software Foundation, Inc.
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
4 @c See the file elisp.texi for copying conditions.
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
5 @setfilename ../info/locals
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
6 @node Standard Buffer-Local Variables, Standard Keymaps, Standard Errors, Top
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
7 @appendix Buffer-Local Variables
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
8 @c The title "Standard Buffer-Local Variables" is too long for
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
9 @c smallbook. --rjc 30mar92
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
10
21682
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
11 The table below lists the general-purpose Emacs variables that
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
12 automatically become buffer-local in each buffer. Most become
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
13 buffer-local only when set; a few of them are always local in every
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
14 buffer. Many Lisp packages define such variables for their internal
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
15 use, but we don't try to list them all here.
7085
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
16
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
17 @table @code
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
18 @item abbrev-mode
21682
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
19 @xref{Abbrevs}.
7085
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
20
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
21 @item auto-fill-function
21682
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
22 @xref{Auto Filling}.
7085
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
23
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
24 @item buffer-auto-save-file-name
21682
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
25 @xref{Auto-Saving}.
7085
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
26
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
27 @item buffer-backed-up
21682
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
28 @xref{Backup Files}.
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
29
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
30 @item buffer-display-count
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
31 @xref{Displaying Buffers}.
7085
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
32
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
33 @item buffer-display-table
21682
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
34 @xref{Display Tables}.
7085
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
35
12098
a6eb5f12b0f3 *** empty log message ***
Karl Heuer <kwzh@gnu.org>
parents: 9400
diff changeset
36 @item buffer-file-format
21682
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
37 @xref{Format Conversion}.
12098
a6eb5f12b0f3 *** empty log message ***
Karl Heuer <kwzh@gnu.org>
parents: 9400
diff changeset
38
7085
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
39 @item buffer-file-name
21682
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
40 @xref{Buffer File Name}.
7085
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
41
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
42 @item buffer-file-number
21682
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
43 @xref{Buffer File Name}.
7085
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
44
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
45 @item buffer-file-truename
21682
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
46 @xref{Buffer File Name}.
7085
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
47
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
48 @item buffer-file-type
21682
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
49 @xref{MS-DOS File Types}.
7085
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
50
12098
a6eb5f12b0f3 *** empty log message ***
Karl Heuer <kwzh@gnu.org>
parents: 9400
diff changeset
51 @item buffer-invisibility-spec
21682
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
52 @xref{Invisible Text}.
12098
a6eb5f12b0f3 *** empty log message ***
Karl Heuer <kwzh@gnu.org>
parents: 9400
diff changeset
53
7085
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
54 @item buffer-offer-save
21682
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
55 @xref{Saving Buffers}.
7085
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
56
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
57 @item buffer-read-only
21682
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
58 @xref{Read Only Buffers}.
7085
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
59
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
60 @item buffer-saved-size
21682
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
61 @xref{Point}.
7085
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
62
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
63 @item buffer-undo-list
21682
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
64 @xref{Undo}.
7085
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
65
9400
c7f291610c8d Added entry for cache-long-line-scans
Jim Blandy <jimb@redhat.com>
parents: 7600
diff changeset
66 @item cache-long-line-scans
21682
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
67 @xref{Text Lines}.
9400
c7f291610c8d Added entry for cache-long-line-scans
Jim Blandy <jimb@redhat.com>
parents: 7600
diff changeset
68
7085
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
69 @item case-fold-search
21682
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
70 @xref{Searching and Case}.
7085
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
71
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
72 @item ctl-arrow
21682
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
73 @xref{Usual Display}.
7085
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
74
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
75 @item comment-column
21682
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
76 @xref{Comments,,, emacs, The GNU Emacs Manual}.
7085
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
77
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
78 @item default-directory
21682
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
79 @xref{System Environment}.
7085
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
80
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
81 @item defun-prompt-regexp
21682
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
82 @xref{List Motion}.
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
83
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
84 @item enable-multibyte-characters
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
85 @ref{Non-ASCII Characters}.
7085
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
86
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
87 @item fill-column
21682
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
88 @xref{Auto Filling}.
7085
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
89
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
90 @item goal-column
21682
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
91 @xref{Moving Point,,, emacs, The GNU Emacs Manual}.
7085
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
92
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
93 @item left-margin
21682
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
94 @xref{Indentation}.
7085
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
95
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
96 @item local-abbrev-table
21682
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
97 @xref{Abbrevs}.
7085
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
98
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
99 @item local-write-file-hooks
21682
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
100 @xref{Saving Buffers}.
7085
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
101
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
102 @item major-mode
21682
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
103 @xref{Mode Help}.
7085
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
104
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
105 @item mark-active
21682
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
106 @xref{The Mark}.
7085
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
107
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
108 @item mark-ring
21682
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
109 @xref{The Mark}.
7085
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
110
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
111 @item minor-modes
21682
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
112 @xref{Minor Modes}.
7085
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
113
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
114 @item mode-line-buffer-identification
21682
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
115 @xref{Mode Line Variables}.
7085
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
116
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
117 @item mode-line-format
21682
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
118 @xref{Mode Line Data}.
7085
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
119
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
120 @item mode-line-modified
21682
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
121 @xref{Mode Line Variables}.
7085
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
122
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
123 @item mode-line-process
21682
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
124 @xref{Mode Line Variables}.
7085
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
125
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
126 @item mode-name
21682
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
127 @xref{Mode Line Variables}.
7085
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
128
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
129 @item overwrite-mode
21682
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
130 @xref{Insertion}.
7085
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
131
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
132 @item paragraph-separate
21682
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
133 @xref{Standard Regexps}.
7085
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
134
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
135 @item paragraph-start
21682
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
136 @xref{Standard Regexps}.
7085
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
137
12098
a6eb5f12b0f3 *** empty log message ***
Karl Heuer <kwzh@gnu.org>
parents: 9400
diff changeset
138 @item point-before-scroll
21682
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
139 Ued for communication between mouse commands and scroll-bar commands..
12098
a6eb5f12b0f3 *** empty log message ***
Karl Heuer <kwzh@gnu.org>
parents: 9400
diff changeset
140
7085
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
141 @item require-final-newline
21682
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
142 @xref{Insertion}.
7085
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
143
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
144 @item selective-display
21682
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
145 @xref{Selective Display}.
7085
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
146
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
147 @item selective-display-ellipses
21682
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
148 @xref{Selective Display}.
7085
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
149
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
150 @item tab-width
21682
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
151 @xref{Usual Display}.
7085
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
152
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
153 @item truncate-lines
21682
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
154 @xref{Truncation}.
7085
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
155
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
156 @item vc-mode
21682
90da2489c498 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 12098
diff changeset
157 @xref{Mode Line Variables}.
7085
5e56975be72a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
158 @end table