Mercurial > emacs
annotate lisp/cus-start.el @ 88172:7bba2fede2be
(rmail-summary-font-lock-keywords): Fix typo for
labels.
(rmail-summary-get-summary): Add labels again.
author | Alex Schroeder <alex@gnu.org> |
---|---|
date | Mon, 16 Jan 2006 23:09:30 +0000 |
parents | d7ddb3e565de |
children |
rev | line source |
---|---|
38409
153f1b1f2efd
Emacs lisp coding convention fixes.
Pavel Janík <Pavel@Janik.cz>
parents:
35966
diff
changeset
|
1 ;;; cus-start.el --- define customization properties of builtins |
17416 | 2 ;; |
88155 | 3 ;; Copyright (C) 1997, 1999, 2000, 2001, 2002, 2003, 2004, |
4 ;; 2005 Free Software Foundation, Inc. | |
17416 | 5 ;; |
6 ;; Author: Per Abrahamsen <abraham@dina.kvl.dk> | |
7 ;; Keywords: internal | |
8 | |
17520 | 9 ;; This file is part of GNU Emacs. |
10 | |
11 ;; GNU Emacs is free software; you can redistribute it and/or modify | |
12 ;; it under the terms of the GNU General Public License as published by | |
13 ;; the Free Software Foundation; either version 2, or (at your option) | |
14 ;; any later version. | |
15 | |
16 ;; GNU Emacs is distributed in the hope that it will be useful, | |
17 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
19 ;; GNU General Public License for more details. | |
20 | |
21 ;; You should have received a copy of the GNU General Public License | |
22 ;; along with GNU Emacs; see the file COPYING. If not, write to the | |
88155 | 23 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
24 ;; Boston, MA 02110-1301, USA. | |
17520 | 25 |
17416 | 26 ;;; Commentary: |
27 ;; | |
18052
64a265eaa6d7
Arrange to load it once during dumping,
Richard M. Stallman <rms@gnu.org>
parents:
17948
diff
changeset
|
28 ;; This file adds customize support for built-in variables. |
64a265eaa6d7
Arrange to load it once during dumping,
Richard M. Stallman <rms@gnu.org>
parents:
17948
diff
changeset
|
29 |
64a265eaa6d7
Arrange to load it once during dumping,
Richard M. Stallman <rms@gnu.org>
parents:
17948
diff
changeset
|
30 ;; While dumping Emacs, this file is loaded, but it only records |
64a265eaa6d7
Arrange to load it once during dumping,
Richard M. Stallman <rms@gnu.org>
parents:
17948
diff
changeset
|
31 ;; the standard values; it does not do the rest of the job. |
64a265eaa6d7
Arrange to load it once during dumping,
Richard M. Stallman <rms@gnu.org>
parents:
17948
diff
changeset
|
32 ;; Later on, if the user makes a customization buffer, |
64a265eaa6d7
Arrange to load it once during dumping,
Richard M. Stallman <rms@gnu.org>
parents:
17948
diff
changeset
|
33 ;; this file is loaded again with (require 'cus-start); |
64a265eaa6d7
Arrange to load it once during dumping,
Richard M. Stallman <rms@gnu.org>
parents:
17948
diff
changeset
|
34 ;; then it does the whole job. |
17416 | 35 |
36 ;;; Code: | |
37 | |
49588
37645a051842
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
48939
diff
changeset
|
38 (let ((all '(;; abbrev.c |
17416 | 39 (abbrev-all-caps abbrev-mode boolean) |
40 (pre-abbrev-expand-hook abbrev-mode hook) | |
41 ;; alloc.c | |
42 (gc-cons-threshold alloc integer) | |
43 (garbage-collection-messages alloc boolean) | |
44 ;; buffer.c | |
45 (mode-line-format modeline sexp) ;Hard to do right. | |
46 (default-major-mode internal function) | |
18496
dd3b72558628
(enable-multibyte-characters): Customize.
Richard M. Stallman <rms@gnu.org>
parents:
18478
diff
changeset
|
47 (enable-multibyte-characters mule boolean) |
17416 | 48 (case-fold-search matching boolean) |
49 (fill-column fill integer) | |
50 (left-margin fill integer) | |
51 (tab-width editing-basics integer) | |
52 (ctl-arrow display boolean) | |
53 (truncate-lines display boolean) | |
54 (selective-display-ellipses display boolean) | |
88155 | 55 (indicate-empty-lines fringe boolean "21.1") |
56 (indicate-buffer-boundaries | |
57 fringe | |
58 (choice | |
59 (const :tag "No indicators" nil) | |
60 (const :tag "On left, with arrows" left) | |
61 (const :tag "On right, with arrows" right) | |
62 (set :tag "Pick your own design" | |
63 :value ((t . nil)) | |
64 :format "%{%t%}:\n%v\n%d" | |
65 :doc "You can specify a default and then override it \ | |
66 for individual indicators. | |
67 Leaving \"Default\" unchecked is equivalent with specifying a default of | |
68 \"Do not show\"." | |
69 (choice :tag "Default" | |
70 :value (t . nil) | |
71 (const :tag "Do not show" (t . nil)) | |
72 (const :tag "On the left" (t . left)) | |
73 (const :tag "On the right" (t . right))) | |
74 (choice :tag "Top" | |
75 :value (top . left) | |
76 (const :tag "Do not show" (top . nil)) | |
77 (const :tag "On the left" (top . left)) | |
78 (const :tag "On the right" (top . right))) | |
79 (choice :tag "Bottom" | |
80 :value (bottom . left) | |
81 (const :tag "Do not show" (bottom . nil)) | |
82 (const :tag "On the left" (bottom . left)) | |
83 (const :tag "On the right" (bottom . right))) | |
84 (choice :tag "Up arrow" | |
85 :value (up . left) | |
86 (const :tag "Do not show" (up . nil)) | |
87 (const :tag "On the left" (up . left)) | |
88 (const :tag "On the right" (up . right))) | |
89 (choice :tag "Down arrow" | |
90 :value (down . left) | |
91 (const :tag "Do not show" (down . nil)) | |
92 (const :tag "On the left" (down . left)) | |
93 (const :tag "On the right" (down . right)))) | |
94 (other :tag "On left, no arrows" t)) | |
95 "22.1") | |
48939
f3fc48331bdc
(scroll-up-aggressively, scroll-down-aggressively): Update custom types.
Richard M. Stallman <rms@gnu.org>
parents:
48075
diff
changeset
|
96 (scroll-up-aggressively windows |
f3fc48331bdc
(scroll-up-aggressively, scroll-down-aggressively): Update custom types.
Richard M. Stallman <rms@gnu.org>
parents:
48075
diff
changeset
|
97 (choice (const :tag "off" nil) number) |
f3fc48331bdc
(scroll-up-aggressively, scroll-down-aggressively): Update custom types.
Richard M. Stallman <rms@gnu.org>
parents:
48075
diff
changeset
|
98 "21.1") |
f3fc48331bdc
(scroll-up-aggressively, scroll-down-aggressively): Update custom types.
Richard M. Stallman <rms@gnu.org>
parents:
48075
diff
changeset
|
99 (scroll-down-aggressively windows |
f3fc48331bdc
(scroll-up-aggressively, scroll-down-aggressively): Update custom types.
Richard M. Stallman <rms@gnu.org>
parents:
48075
diff
changeset
|
100 (choice (const :tag "off" nil) number) |
f3fc48331bdc
(scroll-up-aggressively, scroll-down-aggressively): Update custom types.
Richard M. Stallman <rms@gnu.org>
parents:
48075
diff
changeset
|
101 "21.1") |
88155 | 102 (line-spacing display (choice (const :tag "none" nil) integer)) |
17416 | 103 ;; callint.c |
104 (mark-even-if-inactive editing-basics boolean) | |
105 ;; callproc.c | |
106 (shell-file-name execute file) | |
107 (exec-path execute | |
88155 | 108 (repeat (choice (const :tag "default directory" nil) |
109 (directory :format "%v")))) | |
24057 | 110 ;; coding.c |
111 (inhibit-eol-conversion mule boolean) | |
24202
afc9a7e3752f
(all): Add eol-mnemonic-* variables.
Eli Zaretskii <eliz@gnu.org>
parents:
24057
diff
changeset
|
112 (eol-mnemonic-undecided mule string) |
afc9a7e3752f
(all): Add eol-mnemonic-* variables.
Eli Zaretskii <eliz@gnu.org>
parents:
24057
diff
changeset
|
113 (eol-mnemonic-unix mule string) |
afc9a7e3752f
(all): Add eol-mnemonic-* variables.
Eli Zaretskii <eliz@gnu.org>
parents:
24057
diff
changeset
|
114 (eol-mnemonic-dos mule string) |
afc9a7e3752f
(all): Add eol-mnemonic-* variables.
Eli Zaretskii <eliz@gnu.org>
parents:
24057
diff
changeset
|
115 (eol-mnemonic-mac mule string) |
30978 | 116 (file-coding-system-alist |
117 mule | |
118 (alist | |
119 :key-type (regexp :tag "File regexp") | |
120 :value-type (choice | |
121 :value (undecided . undecided) | |
122 (cons :tag "Encoding/decoding pair" | |
123 :value (undecided . undecided) | |
124 (coding-system :tag "Decoding") | |
125 (coding-system :tag "Encoding")) | |
126 (coding-system :tag "Single coding system" | |
127 :value undecided) | |
128 (function :value ignore)))) | |
48075
801530a6c168
(selection-coding-system, scalable-fonts-allowed):
Dave Love <fx@gnu.org>
parents:
47358
diff
changeset
|
129 (selection-coding-system mule coding-system) |
17416 | 130 ;; dired.c |
49588
37645a051842
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
48939
diff
changeset
|
131 (completion-ignored-extensions dired |
17416 | 132 (repeat (string :format "%v"))) |
25296
59e6ee29c69b
Add x-stretch-cursor, indicate-empty-lines, scroll-up-aggressively,
Dave Love <fx@gnu.org>
parents:
24840
diff
changeset
|
133 ;; dispnew.c |
17416 | 134 (baud-rate display integer) |
135 (inverse-video display boolean) | |
136 (visible-bell display boolean) | |
137 (no-redraw-on-reenter display boolean) | |
138 ;; editfns.c | |
139 (user-full-name mail string) | |
140 ;; eval.c | |
141 (max-specpdl-size limits integer) | |
142 (max-lisp-eval-depth limits integer) | |
143 (stack-trace-on-error debug | |
144 (choice (const :tag "off") | |
145 (repeat :menu-tag "When" | |
146 :value (nil) | |
147 (symbol :format "%v")) | |
148 (const :tag "always" t))) | |
49588
37645a051842
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
48939
diff
changeset
|
149 (debug-on-error debug |
17416 | 150 (choice (const :tag "off") |
151 (repeat :menu-tag "When" | |
152 :value (nil) | |
153 (symbol :format "%v")) | |
154 (const :tag "always" t))) | |
155 (debug-ignored-errors debug (repeat (choice symbol regexp))) | |
18883
f7e3c766f54c
(debug-on-quit): Define like debug-on-error.
Richard M. Stallman <rms@gnu.org>
parents:
18727
diff
changeset
|
156 (debug-on-quit debug |
f7e3c766f54c
(debug-on-quit): Define like debug-on-error.
Richard M. Stallman <rms@gnu.org>
parents:
18727
diff
changeset
|
157 (choice (const :tag "off") |
f7e3c766f54c
(debug-on-quit): Define like debug-on-error.
Richard M. Stallman <rms@gnu.org>
parents:
18727
diff
changeset
|
158 (repeat :menu-tag "When" |
f7e3c766f54c
(debug-on-quit): Define like debug-on-error.
Richard M. Stallman <rms@gnu.org>
parents:
18727
diff
changeset
|
159 :value (nil) |
f7e3c766f54c
(debug-on-quit): Define like debug-on-error.
Richard M. Stallman <rms@gnu.org>
parents:
18727
diff
changeset
|
160 (symbol :format "%v")) |
f7e3c766f54c
(debug-on-quit): Define like debug-on-error.
Richard M. Stallman <rms@gnu.org>
parents:
18727
diff
changeset
|
161 (const :tag "always" t))) |
17416 | 162 ;; fileio.c |
163 (insert-default-directory minibuffer boolean) | |
88155 | 164 (read-file-name-completion-ignore-case minibuffer boolean "22.1") |
26619 | 165 ;; fns.c |
30167
83e9db7aeddb
Add optional version as 4th element of specs and use it for several
Dave Love <fx@gnu.org>
parents:
28569
diff
changeset
|
166 (use-dialog-box menu boolean "21.1") |
88155 | 167 (use-file-dialog menu boolean "22.1") |
17416 | 168 ;; frame.c |
169 (default-frame-alist frames | |
170 (repeat (cons :format "%v" | |
171 (symbol :tag "Parameter") | |
172 (sexp :tag "Value")))) | |
43376 | 173 (mouse-highlight mouse (choice (const :tag "disabled" nil) |
174 (const :tag "always shown" t) | |
175 (other :tag "hidden by keypress" 1))) | |
88155 | 176 ;; fringe.c |
177 (overflow-newline-into-fringe fringe boolean "22.1") | |
17416 | 178 ;; indent.c |
179 (indent-tabs-mode fill boolean) | |
180 ;; keyboard.c | |
181 (meta-prefix-char keyboard character) | |
182 (auto-save-interval auto-save integer) | |
183 (auto-save-timeout auto-save (choice (const :tag "off" nil) | |
184 (integer :format "%v"))) | |
27768 | 185 (echo-keystrokes minibuffer number) |
17416 | 186 (polling-period keyboard integer) |
18478
74399f15f71e
(double-click-time): Use restricted-sexp.
Richard M. Stallman <rms@gnu.org>
parents:
18434
diff
changeset
|
187 (double-click-time mouse (restricted-sexp |
74399f15f71e
(double-click-time): Use restricted-sexp.
Richard M. Stallman <rms@gnu.org>
parents:
18434
diff
changeset
|
188 :match-alternatives (integerp 'nil 't))) |
46616
676039ef9a4e
(double-click-fuzz): Added.
Richard M. Stallman <rms@gnu.org>
parents:
44357
diff
changeset
|
189 (double-click-fuzz mouse integer) |
17416 | 190 (inhibit-local-menu-bar-menus menu boolean) |
191 (help-char keyboard character) | |
192 (help-event-list keyboard (repeat (sexp :format "%v"))) | |
193 (menu-prompting menu boolean) | |
194 (suggest-key-bindings keyboard (choice (const :tag "off" nil) | |
195 (integer :tag "time" 2) | |
22571
4aebb136294f
(selective-display, suggest-key-bindings,
Andreas Schwab <schwab@suse.de>
parents:
21407
diff
changeset
|
196 (other :tag "on"))) |
88155 | 197 ;; macterm.c |
198 (mac-control-modifier mac (choice (const :tag "No modifier" nil) | |
199 (const control) (const meta) | |
200 (const alt) (const hyper) | |
201 (const super)) "22.1") | |
202 (mac-command-modifier mac (choice (const :tag "No modifier" nil) | |
203 (const control) (const meta) | |
204 (const alt) (const hyper) | |
205 (const super)) "22.1") | |
206 (mac-option-modifier mac (choice (const :tag "No modifier (work as option)" nil) | |
207 (const control) (const meta) | |
208 (const alt) (const hyper) | |
209 (const super)) "22.1") | |
210 (mac-function-modifier mac | |
211 (choice (const :tag "No modifier (work as function)" nil) | |
212 (const control) (const meta) | |
213 (const alt) (const hyper) | |
214 (const super)) "22.1") | |
215 (mac-emulate-three-button-mouse mac | |
216 (choice (const :tag "No emulation" nil) | |
217 (const :tag "Option->2, Command->3" t) | |
218 (const :tag "Command->2, Option->3" reverse)) | |
219 "22.1") | |
220 (mac-wheel-button-is-mouse-2 mac boolean "22.1") | |
221 (mac-pass-command-to-system mac boolean "22.1") | |
222 (mac-pass-control-to-system mac boolean "22.1") | |
223 (mac-allow-anti-aliasing mac boolean "22.1") | |
41604
b825c024c5de
(recursive-load-depth-limit): Delete item.
Richard M. Stallman <rms@gnu.org>
parents:
40413
diff
changeset
|
224 |
30167
83e9db7aeddb
Add optional version as 4th element of specs and use it for several
Dave Love <fx@gnu.org>
parents:
28569
diff
changeset
|
225 ;; This is not good news because it will use the wrong |
83e9db7aeddb
Add optional version as 4th element of specs and use it for several
Dave Love <fx@gnu.org>
parents:
28569
diff
changeset
|
226 ;; version-specific directories when you upgrade. We need |
83e9db7aeddb
Add optional version as 4th element of specs and use it for several
Dave Love <fx@gnu.org>
parents:
28569
diff
changeset
|
227 ;; customization of the front of the list, maintaining the standard |
83e9db7aeddb
Add optional version as 4th element of specs and use it for several
Dave Love <fx@gnu.org>
parents:
28569
diff
changeset
|
228 ;; value intact at the back. |
49588
37645a051842
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
48939
diff
changeset
|
229 ;;; (load-path environment |
30167
83e9db7aeddb
Add optional version as 4th element of specs and use it for several
Dave Love <fx@gnu.org>
parents:
28569
diff
changeset
|
230 ;;; (repeat (choice :tag "[Current dir?]" |
83e9db7aeddb
Add optional version as 4th element of specs and use it for several
Dave Love <fx@gnu.org>
parents:
28569
diff
changeset
|
231 ;;; :format "%[Current dir?%] %v" |
83e9db7aeddb
Add optional version as 4th element of specs and use it for several
Dave Love <fx@gnu.org>
parents:
28569
diff
changeset
|
232 ;;; (const :tag " current dir" nil) |
83e9db7aeddb
Add optional version as 4th element of specs and use it for several
Dave Love <fx@gnu.org>
parents:
28569
diff
changeset
|
233 ;;; (directory :format "%v")))) |
17416 | 234 ;; minibuf.c |
235 (completion-auto-help minibuffer boolean) | |
236 (enable-recursive-minibuffers minibuffer boolean) | |
43035
225a3a5477a9
(history-length): Specify customization for it.
Richard M. Stallman <rms@gnu.org>
parents:
41604
diff
changeset
|
237 (history-length minibuffer |
225a3a5477a9
(history-length): Specify customization for it.
Richard M. Stallman <rms@gnu.org>
parents:
41604
diff
changeset
|
238 (choice (const :tag "Infinite" t) |
225a3a5477a9
(history-length): Specify customization for it.
Richard M. Stallman <rms@gnu.org>
parents:
41604
diff
changeset
|
239 integer)) |
88155 | 240 (history-delete-duplicates minibuffer boolean) |
33684
1a9baca954a0
Add entry for `minibuffer-prompt-properties'.
Miles Bader <miles@gnu.org>
parents:
30978
diff
changeset
|
241 (minibuffer-prompt-properties |
1a9baca954a0
Add entry for `minibuffer-prompt-properties'.
Miles Bader <miles@gnu.org>
parents:
30978
diff
changeset
|
242 minibuffer |
1a9baca954a0
Add entry for `minibuffer-prompt-properties'.
Miles Bader <miles@gnu.org>
parents:
30978
diff
changeset
|
243 (list |
1a9baca954a0
Add entry for `minibuffer-prompt-properties'.
Miles Bader <miles@gnu.org>
parents:
30978
diff
changeset
|
244 (checklist :inline t |
1a9baca954a0
Add entry for `minibuffer-prompt-properties'.
Miles Bader <miles@gnu.org>
parents:
30978
diff
changeset
|
245 (const :tag "Read-Only" |
1a9baca954a0
Add entry for `minibuffer-prompt-properties'.
Miles Bader <miles@gnu.org>
parents:
30978
diff
changeset
|
246 :doc "Prevent prompt from being modified" |
1a9baca954a0
Add entry for `minibuffer-prompt-properties'.
Miles Bader <miles@gnu.org>
parents:
30978
diff
changeset
|
247 :format "%t%n%h" |
1a9baca954a0
Add entry for `minibuffer-prompt-properties'.
Miles Bader <miles@gnu.org>
parents:
30978
diff
changeset
|
248 :inline t |
1a9baca954a0
Add entry for `minibuffer-prompt-properties'.
Miles Bader <miles@gnu.org>
parents:
30978
diff
changeset
|
249 (read-only t)) |
88155 | 250 (const :tag "Don't Enter" |
33684
1a9baca954a0
Add entry for `minibuffer-prompt-properties'.
Miles Bader <miles@gnu.org>
parents:
30978
diff
changeset
|
251 :doc "Prevent point from ever entering prompt" |
1a9baca954a0
Add entry for `minibuffer-prompt-properties'.
Miles Bader <miles@gnu.org>
parents:
30978
diff
changeset
|
252 :format "%t%n%h" |
1a9baca954a0
Add entry for `minibuffer-prompt-properties'.
Miles Bader <miles@gnu.org>
parents:
30978
diff
changeset
|
253 :inline t |
1a9baca954a0
Add entry for `minibuffer-prompt-properties'.
Miles Bader <miles@gnu.org>
parents:
30978
diff
changeset
|
254 (point-entered minibuffer-avoid-prompt))) |
1a9baca954a0
Add entry for `minibuffer-prompt-properties'.
Miles Bader <miles@gnu.org>
parents:
30978
diff
changeset
|
255 (repeat :inline t |
1a9baca954a0
Add entry for `minibuffer-prompt-properties'.
Miles Bader <miles@gnu.org>
parents:
30978
diff
changeset
|
256 :tag "Other Properties" |
1a9baca954a0
Add entry for `minibuffer-prompt-properties'.
Miles Bader <miles@gnu.org>
parents:
30978
diff
changeset
|
257 (list :inline t |
1a9baca954a0
Add entry for `minibuffer-prompt-properties'.
Miles Bader <miles@gnu.org>
parents:
30978
diff
changeset
|
258 :format "%v" |
1a9baca954a0
Add entry for `minibuffer-prompt-properties'.
Miles Bader <miles@gnu.org>
parents:
30978
diff
changeset
|
259 (symbol :tag "Property") |
33922 | 260 (sexp :tag "Value")))) |
261 "21.1") | |
17416 | 262 (minibuffer-auto-raise minibuffer boolean) |
33922 | 263 ;; options property set at end |
34064 | 264 (read-buffer-function minibuffer |
265 (choice (const nil) | |
266 (function-item iswitchb-read-buffer) | |
267 function)) | |
23863
478c3628a2cd
(dos-unsupported-char-glyph): Add.
Eli Zaretskii <eliz@gnu.org>
parents:
22571
diff
changeset
|
268 ;; msdos.c |
478c3628a2cd
(dos-unsupported-char-glyph): Add.
Eli Zaretskii <eliz@gnu.org>
parents:
22571
diff
changeset
|
269 (dos-unsupported-char-glyph display integer) |
17416 | 270 ;; process.c |
18052
64a265eaa6d7
Arrange to load it once during dumping,
Richard M. Stallman <rms@gnu.org>
parents:
17948
diff
changeset
|
271 (delete-exited-processes processes-basics boolean) |
17416 | 272 ;; syntax.c |
273 (parse-sexp-ignore-comments editing-basics boolean) | |
274 (words-include-escapes editing-basics boolean) | |
88155 | 275 (open-paren-in-column-0-is-defun-start editing-basics boolean |
276 "21.1") | |
277 ;; term.c | |
278 (visible-cursor cursor boolean "22.1") | |
279 ;; undo.c | |
280 (undo-limit undo integer) | |
281 (undo-strong-limit undo integer) | |
282 (undo-outer-limit undo | |
283 (choice integer | |
284 (const :tag "No limit" | |
285 :format "%t\n%d" | |
286 :doc | |
287 "With this choice, \ | |
288 the undo info for the current command never gets discarded. | |
289 This should only be chosen under exceptional circumstances, | |
290 since it could result in memory overflow and make Emacs crash." | |
291 nil)) | |
292 "22.1") | |
17416 | 293 ;; window.c |
35966
911b5aa7fe8d
(temp-buffer-show-function, display-buffer-function): Fix :type.
Dave Love <fx@gnu.org>
parents:
34263
diff
changeset
|
294 (temp-buffer-show-function windows (choice (const nil) function)) |
911b5aa7fe8d
(temp-buffer-show-function, display-buffer-function): Fix :type.
Dave Love <fx@gnu.org>
parents:
34263
diff
changeset
|
295 (display-buffer-function windows (choice (const nil) function)) |
17416 | 296 (pop-up-frames frames boolean) |
297 (pop-up-frame-function frames function) | |
49588
37645a051842
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
48939
diff
changeset
|
298 (special-display-buffer-names |
37645a051842
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
48939
diff
changeset
|
299 frames |
17416 | 300 (repeat (choice :tag "Buffer" |
301 :value "" | |
302 (string :format "%v") | |
303 (cons :tag "With attributes" | |
304 :format "%v" | |
305 :value ("" . nil) | |
306 (string :format "%v") | |
307 (repeat :tag "Attributes" | |
308 (cons :format "%v" | |
309 (symbol :tag "Parameter") | |
310 (sexp :tag "Value"))))))) | |
311 (special-display-regexps | |
49588
37645a051842
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
48939
diff
changeset
|
312 frames |
17416 | 313 (repeat (choice :tag "Buffer" |
314 :value "" | |
315 (regexp :format "%v") | |
316 (cons :tag "With attributes" | |
317 :format "%v" | |
318 :value ("" . nil) | |
319 (regexp :format "%v") | |
320 (repeat :tag "Attributes" | |
321 (cons :format "%v" | |
322 (symbol :tag "Parameter") | |
323 (sexp :tag "Value"))))))) | |
324 (special-display-function frames function) | |
325 (same-window-buffer-names windows (repeat (string :format "%v"))) | |
326 (same-window-regexps windows (repeat (regexp :format "%v"))) | |
327 (pop-up-windows windows boolean) | |
34263
56d868415168
Add entry for even-window-heights.
Gerd Moellmann <gerd@gnu.org>
parents:
34064
diff
changeset
|
328 (even-window-heights windows boolean) |
21407
ea693abdeb4e
next-screen-context-lines is an integer, not boolean.
Stephen Eglen <stephen@gnu.org>
parents:
20017
diff
changeset
|
329 (next-screen-context-lines windows integer) |
17416 | 330 (split-height-threshold windows integer) |
331 (window-min-height windows integer) | |
332 (window-min-width windows integer) | |
24840
37fd40af2d49
(scroll-preserve-screen-position): Fix typo in type.
Karl Heuer <kwzh@gnu.org>
parents:
24758
diff
changeset
|
333 (scroll-preserve-screen-position windows boolean) |
30978 | 334 (display-buffer-reuse-frames windows boolean "21.1") |
17416 | 335 ;; xdisp.c |
336 (scroll-step windows integer) | |
24758
16c7330ad116
(all): Delete selective-display. Add scroll-margin,
Richard M. Stallman <rms@gnu.org>
parents:
24628
diff
changeset
|
337 (scroll-conservatively windows integer) |
16c7330ad116
(all): Delete selective-display. Add scroll-margin,
Richard M. Stallman <rms@gnu.org>
parents:
24628
diff
changeset
|
338 (scroll-margin windows integer) |
43662
63efe0df9e87
Rename automatic-hscroll-step and
Eli Zaretskii <eliz@gnu.org>
parents:
43376
diff
changeset
|
339 (hscroll-margin windows integer "21.3") |
63efe0df9e87
Rename automatic-hscroll-step and
Eli Zaretskii <eliz@gnu.org>
parents:
43376
diff
changeset
|
340 (hscroll-step windows number "21.3") |
17416 | 341 (truncate-partial-width-windows display boolean) |
33848
401f7cd02fba
(all): Restore entry for `mode-line-inverse-video', so that people can
Miles Bader <miles@gnu.org>
parents:
33722
diff
changeset
|
342 (mode-line-inverse-video modeline boolean) |
43284
62ca366c7991
Added mode-line-in-non-selected-windows.
Kim F. Storm <storm@cua.dk>
parents:
43235
diff
changeset
|
343 (mode-line-in-non-selected-windows modeline boolean "21.3") |
30167
83e9db7aeddb
Add optional version as 4th element of specs and use it for several
Dave Love <fx@gnu.org>
parents:
28569
diff
changeset
|
344 (line-number-display-limit display |
83e9db7aeddb
Add optional version as 4th element of specs and use it for several
Dave Love <fx@gnu.org>
parents:
28569
diff
changeset
|
345 (choice integer |
83e9db7aeddb
Add optional version as 4th element of specs and use it for several
Dave Love <fx@gnu.org>
parents:
28569
diff
changeset
|
346 (const :tag "No limit" nil))) |
88155 | 347 (line-number-display-limit-width display integer) |
17416 | 348 (highlight-nonselected-windows display boolean) |
349 (message-log-max debug (choice (const :tag "Disable" nil) | |
350 (integer :menu-tag "lines" | |
351 :format "%v") | |
22571
4aebb136294f
(selective-display, suggest-key-bindings,
Andreas Schwab <schwab@suse.de>
parents:
21407
diff
changeset
|
352 (other :tag "Unlimited" t))) |
24628
fc7a39405297
(all): Handle unibyte-display-via-language-environment.
Karl Heuer <kwzh@gnu.org>
parents:
24202
diff
changeset
|
353 (unibyte-display-via-language-environment mule boolean) |
88155 | 354 (blink-cursor-alist cursor alist "22.1") |
48075
801530a6c168
(selection-coding-system, scalable-fonts-allowed):
Dave Love <fx@gnu.org>
parents:
47358
diff
changeset
|
355 ;; xfaces.c |
801530a6c168
(selection-coding-system, scalable-fonts-allowed):
Dave Love <fx@gnu.org>
parents:
47358
diff
changeset
|
356 (scalable-fonts-allowed display boolean) |
17416 | 357 ;; xfns.c |
358 (x-bitmap-file-path installation | |
25296
59e6ee29c69b
Add x-stretch-cursor, indicate-empty-lines, scroll-up-aggressively,
Dave Love <fx@gnu.org>
parents:
24840
diff
changeset
|
359 (repeat (directory :format "%v"))) |
88155 | 360 (x-use-old-gtk-file-dialog menu boolean "22.1") |
361 (x-gtk-show-hidden-files menu boolean "22.1") | |
25296
59e6ee29c69b
Add x-stretch-cursor, indicate-empty-lines, scroll-up-aggressively,
Dave Love <fx@gnu.org>
parents:
24840
diff
changeset
|
362 ;; xterm.c |
44357
4bbde6981301
Rename `autoselect-window' to `mouse-autoselect-window'.
Pavel Janík <Pavel@Janik.cz>
parents:
44304
diff
changeset
|
363 (mouse-autoselect-window display boolean "21.3") |
43111
6b161ffa5ef3
(x-use-underline-position-properties): Allow customization.
Pavel Janík <Pavel@Janik.cz>
parents:
43035
diff
changeset
|
364 (x-use-underline-position-properties display boolean "21.3") |
30167
83e9db7aeddb
Add optional version as 4th element of specs and use it for several
Dave Love <fx@gnu.org>
parents:
28569
diff
changeset
|
365 (x-stretch-cursor display boolean "21.1"))) |
88155 | 366 this symbol group type standard version native-p |
18052
64a265eaa6d7
Arrange to load it once during dumping,
Richard M. Stallman <rms@gnu.org>
parents:
17948
diff
changeset
|
367 ;; This function turns a value |
64a265eaa6d7
Arrange to load it once during dumping,
Richard M. Stallman <rms@gnu.org>
parents:
17948
diff
changeset
|
368 ;; into an expression which produces that value. |
64a265eaa6d7
Arrange to load it once during dumping,
Richard M. Stallman <rms@gnu.org>
parents:
17948
diff
changeset
|
369 (quoter (lambda (sexp) |
64a265eaa6d7
Arrange to load it once during dumping,
Richard M. Stallman <rms@gnu.org>
parents:
17948
diff
changeset
|
370 (if (or (memq sexp '(t nil)) |
28569 | 371 (keywordp sexp) |
18052
64a265eaa6d7
Arrange to load it once during dumping,
Richard M. Stallman <rms@gnu.org>
parents:
17948
diff
changeset
|
372 (and (listp sexp) |
64a265eaa6d7
Arrange to load it once during dumping,
Richard M. Stallman <rms@gnu.org>
parents:
17948
diff
changeset
|
373 (memq (car sexp) '(lambda))) |
64a265eaa6d7
Arrange to load it once during dumping,
Richard M. Stallman <rms@gnu.org>
parents:
17948
diff
changeset
|
374 (stringp sexp) |
30167
83e9db7aeddb
Add optional version as 4th element of specs and use it for several
Dave Love <fx@gnu.org>
parents:
28569
diff
changeset
|
375 (numberp sexp)) |
18052
64a265eaa6d7
Arrange to load it once during dumping,
Richard M. Stallman <rms@gnu.org>
parents:
17948
diff
changeset
|
376 sexp |
64a265eaa6d7
Arrange to load it once during dumping,
Richard M. Stallman <rms@gnu.org>
parents:
17948
diff
changeset
|
377 (list 'quote sexp))))) |
49588
37645a051842
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
48939
diff
changeset
|
378 (while all |
17416 | 379 (setq this (car all) |
380 all (cdr all) | |
381 symbol (nth 0 this) | |
382 group (nth 1 this) | |
23967
e4039c35f2f8
Don't warn about dos-* variables unless on MS-DOS,
Eli Zaretskii <eliz@gnu.org>
parents:
23863
diff
changeset
|
383 type (nth 2 this) |
30167
83e9db7aeddb
Add optional version as 4th element of specs and use it for several
Dave Love <fx@gnu.org>
parents:
28569
diff
changeset
|
384 version (nth 3 this) |
88155 | 385 ;; If we did not specify any standard value expression above, |
386 ;; use the current value as the standard value. | |
387 standard (if (nthcdr 4 this) | |
388 (nth 4 this) | |
389 (when (default-boundp symbol) | |
390 (funcall quoter (default-value symbol)))) | |
23967
e4039c35f2f8
Don't warn about dos-* variables unless on MS-DOS,
Eli Zaretskii <eliz@gnu.org>
parents:
23863
diff
changeset
|
391 ;; Don't complain about missing variables which are |
e4039c35f2f8
Don't warn about dos-* variables unless on MS-DOS,
Eli Zaretskii <eliz@gnu.org>
parents:
23863
diff
changeset
|
392 ;; irrelevant to this platform. |
e4039c35f2f8
Don't warn about dos-* variables unless on MS-DOS,
Eli Zaretskii <eliz@gnu.org>
parents:
23863
diff
changeset
|
393 native-p (save-match-data |
e4039c35f2f8
Don't warn about dos-* variables unless on MS-DOS,
Eli Zaretskii <eliz@gnu.org>
parents:
23863
diff
changeset
|
394 (cond |
e4039c35f2f8
Don't warn about dos-* variables unless on MS-DOS,
Eli Zaretskii <eliz@gnu.org>
parents:
23863
diff
changeset
|
395 ((string-match "\\`dos-" (symbol-name symbol)) |
e4039c35f2f8
Don't warn about dos-* variables unless on MS-DOS,
Eli Zaretskii <eliz@gnu.org>
parents:
23863
diff
changeset
|
396 (eq system-type 'ms-dos)) |
e4039c35f2f8
Don't warn about dos-* variables unless on MS-DOS,
Eli Zaretskii <eliz@gnu.org>
parents:
23863
diff
changeset
|
397 ((string-match "\\`w32-" (symbol-name symbol)) |
e4039c35f2f8
Don't warn about dos-* variables unless on MS-DOS,
Eli Zaretskii <eliz@gnu.org>
parents:
23863
diff
changeset
|
398 (eq system-type 'windows-nt)) |
88155 | 399 ((string-match "\\`mac-" (symbol-name symbol)) |
400 (eq window-system 'mac)) | |
401 ((string-match "\\`x-.*gtk" (symbol-name symbol)) | |
402 (or (boundp 'gtk) | |
403 (and window-system | |
404 (not (eq window-system 'pc)) | |
405 (not (eq window-system 'mac)) | |
406 (not (eq system-type 'windows-nt))))) | |
43235
19bef4fcdae8
Don't warn about "x-*" symbols when building a non-GUI version.
Eli Zaretskii <eliz@gnu.org>
parents:
43111
diff
changeset
|
407 ((string-match "\\`x-" (symbol-name symbol)) |
19bef4fcdae8
Don't warn about "x-*" symbols when building a non-GUI version.
Eli Zaretskii <eliz@gnu.org>
parents:
43111
diff
changeset
|
408 (fboundp 'x-create-frame)) |
88155 | 409 ((string-match "selection" (symbol-name symbol)) |
410 (fboundp 'x-selection-exists-p)) | |
411 ((string-match "fringe" (symbol-name symbol)) | |
412 (fboundp 'define-fringe-bitmap)) | |
23967
e4039c35f2f8
Don't warn about dos-* variables unless on MS-DOS,
Eli Zaretskii <eliz@gnu.org>
parents:
23863
diff
changeset
|
413 (t t)))) |
17416 | 414 (if (not (boundp symbol)) |
415 ;; If variables are removed from C code, give an error here! | |
23967
e4039c35f2f8
Don't warn about dos-* variables unless on MS-DOS,
Eli Zaretskii <eliz@gnu.org>
parents:
23863
diff
changeset
|
416 (and native-p |
e4039c35f2f8
Don't warn about dos-* variables unless on MS-DOS,
Eli Zaretskii <eliz@gnu.org>
parents:
23863
diff
changeset
|
417 (message "Note, built-in variable `%S' not bound" symbol)) |
18052
64a265eaa6d7
Arrange to load it once during dumping,
Richard M. Stallman <rms@gnu.org>
parents:
17948
diff
changeset
|
418 ;; Save the standard value, unless we already did. |
64a265eaa6d7
Arrange to load it once during dumping,
Richard M. Stallman <rms@gnu.org>
parents:
17948
diff
changeset
|
419 (or (get symbol 'standard-value) |
88155 | 420 (put symbol 'standard-value (list standard))) |
18052
64a265eaa6d7
Arrange to load it once during dumping,
Richard M. Stallman <rms@gnu.org>
parents:
17948
diff
changeset
|
421 ;; If this is NOT while dumping Emacs, |
64a265eaa6d7
Arrange to load it once during dumping,
Richard M. Stallman <rms@gnu.org>
parents:
17948
diff
changeset
|
422 ;; set up the rest of the customization info. |
64a265eaa6d7
Arrange to load it once during dumping,
Richard M. Stallman <rms@gnu.org>
parents:
17948
diff
changeset
|
423 (unless purify-flag |
64a265eaa6d7
Arrange to load it once during dumping,
Richard M. Stallman <rms@gnu.org>
parents:
17948
diff
changeset
|
424 ;; Add it to the right group. |
64a265eaa6d7
Arrange to load it once during dumping,
Richard M. Stallman <rms@gnu.org>
parents:
17948
diff
changeset
|
425 (custom-add-to-group group symbol 'custom-variable) |
64a265eaa6d7
Arrange to load it once during dumping,
Richard M. Stallman <rms@gnu.org>
parents:
17948
diff
changeset
|
426 ;; Set the type. |
30167
83e9db7aeddb
Add optional version as 4th element of specs and use it for several
Dave Love <fx@gnu.org>
parents:
28569
diff
changeset
|
427 (put symbol 'custom-type type) |
83e9db7aeddb
Add optional version as 4th element of specs and use it for several
Dave Love <fx@gnu.org>
parents:
28569
diff
changeset
|
428 (put symbol 'custom-version version))))) |
18052
64a265eaa6d7
Arrange to load it once during dumping,
Richard M. Stallman <rms@gnu.org>
parents:
17948
diff
changeset
|
429 |
33922 | 430 (custom-add-to-group 'iswitchb 'read-buffer-function 'custom-variable) |
88155 | 431 (custom-add-to-group 'font-lock 'open-paren-in-column-0-is-defun-start |
432 'custom-variable) | |
48075
801530a6c168
(selection-coding-system, scalable-fonts-allowed):
Dave Love <fx@gnu.org>
parents:
47358
diff
changeset
|
433 (put 'selection-coding-system 'custom-set |
801530a6c168
(selection-coding-system, scalable-fonts-allowed):
Dave Love <fx@gnu.org>
parents:
47358
diff
changeset
|
434 (lambda (symbol value) |
801530a6c168
(selection-coding-system, scalable-fonts-allowed):
Dave Love <fx@gnu.org>
parents:
47358
diff
changeset
|
435 (set-selection-coding-system value) |
801530a6c168
(selection-coding-system, scalable-fonts-allowed):
Dave Love <fx@gnu.org>
parents:
47358
diff
changeset
|
436 (set symbol value))) |
33922 | 437 |
18052
64a265eaa6d7
Arrange to load it once during dumping,
Richard M. Stallman <rms@gnu.org>
parents:
17948
diff
changeset
|
438 ;; Record cus-start as loaded |
64a265eaa6d7
Arrange to load it once during dumping,
Richard M. Stallman <rms@gnu.org>
parents:
17948
diff
changeset
|
439 ;; if we have set up all the info that we can set up. |
64a265eaa6d7
Arrange to load it once during dumping,
Richard M. Stallman <rms@gnu.org>
parents:
17948
diff
changeset
|
440 ;; Don't record cus-start as loaded |
64a265eaa6d7
Arrange to load it once during dumping,
Richard M. Stallman <rms@gnu.org>
parents:
17948
diff
changeset
|
441 ;; if we have set up only the standard values. |
64a265eaa6d7
Arrange to load it once during dumping,
Richard M. Stallman <rms@gnu.org>
parents:
17948
diff
changeset
|
442 (unless purify-flag |
64a265eaa6d7
Arrange to load it once during dumping,
Richard M. Stallman <rms@gnu.org>
parents:
17948
diff
changeset
|
443 (provide 'cus-start)) |
17416 | 444 |
88155 | 445 ;;; arch-tag: 4502730d-bcb3-4f5e-99a3-a86f2d54af60 |
38409
153f1b1f2efd
Emacs lisp coding convention fixes.
Pavel Janík <Pavel@Janik.cz>
parents:
35966
diff
changeset
|
446 ;;; cus-start.el ends here |