Mercurial > emacs
annotate lisp/cus-start.el @ 87008:888320f5e3f7
*** empty log message ***
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Mon, 03 Dec 2007 09:28:15 +0000 |
parents | beb909dfc54d |
children | d82ff29a8896 880960b70474 |
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 ;; |
64762
41bb365f41c4
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64731
diff
changeset
|
3 ;; Copyright (C) 1997, 1999, 2000, 2001, 2002, 2003, 2004, |
75347 | 4 ;; 2005, 2006, 2007 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 | |
78236
9355f9b7bbff
Switch license to GPLv3 or later.
Glenn Morris <rgm@gnu.org>
parents:
78091
diff
changeset
|
13 ;; the Free Software Foundation; either version 3, or (at your option) |
17520 | 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 | |
64091 | 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 | |
85710
beb909dfc54d
Rewrite abbrev.c in Elisp.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85267
diff
changeset
|
38 (let ((all '(;; alloc.c |
17416 | 39 (gc-cons-threshold alloc integer) |
60062
016ddb2eb0c6
(all): Comment change.
Luc Teirlinck <teirllm@auburn.edu>
parents:
60057
diff
changeset
|
40 (garbage-collection-messages alloc boolean) |
17416 | 41 ;; buffer.c |
42 (mode-line-format modeline sexp) ;Hard to do right. | |
43 (default-major-mode internal function) | |
18496
dd3b72558628
(enable-multibyte-characters): Customize.
Richard M. Stallman <rms@gnu.org>
parents:
18478
diff
changeset
|
44 (enable-multibyte-characters mule boolean) |
17416 | 45 (case-fold-search matching boolean) |
46 (fill-column fill integer) | |
47 (left-margin fill integer) | |
48 (tab-width editing-basics integer) | |
49 (ctl-arrow display boolean) | |
50 (truncate-lines display boolean) | |
51 (selective-display-ellipses display boolean) | |
69440
4c675b9920d8
(all): Delete :version keyword for members of the fringe group, since
Luc Teirlinck <teirllm@auburn.edu>
parents:
68883
diff
changeset
|
52 (indicate-empty-lines fringe boolean) |
64706
37b0b02afa4e
(all): Put `indicate-empty-lines' in fringe group instead of display group.
Luc Teirlinck <teirllm@auburn.edu>
parents:
64139
diff
changeset
|
53 (indicate-buffer-boundaries |
37b0b02afa4e
(all): Put `indicate-empty-lines' in fringe group instead of display group.
Luc Teirlinck <teirllm@auburn.edu>
parents:
64139
diff
changeset
|
54 fringe |
37b0b02afa4e
(all): Put `indicate-empty-lines' in fringe group instead of display group.
Luc Teirlinck <teirllm@auburn.edu>
parents:
64139
diff
changeset
|
55 (choice |
37b0b02afa4e
(all): Put `indicate-empty-lines' in fringe group instead of display group.
Luc Teirlinck <teirllm@auburn.edu>
parents:
64139
diff
changeset
|
56 (const :tag "No indicators" nil) |
37b0b02afa4e
(all): Put `indicate-empty-lines' in fringe group instead of display group.
Luc Teirlinck <teirllm@auburn.edu>
parents:
64139
diff
changeset
|
57 (const :tag "On left, with arrows" left) |
37b0b02afa4e
(all): Put `indicate-empty-lines' in fringe group instead of display group.
Luc Teirlinck <teirllm@auburn.edu>
parents:
64139
diff
changeset
|
58 (const :tag "On right, with arrows" right) |
64711
5d202bf110c9
(all): Make `indicate-buffer-boundaries' display values set outside
Luc Teirlinck <teirllm@auburn.edu>
parents:
64708
diff
changeset
|
59 (set :tag "Pick your own design" |
5d202bf110c9
(all): Make `indicate-buffer-boundaries' display values set outside
Luc Teirlinck <teirllm@auburn.edu>
parents:
64708
diff
changeset
|
60 :value ((t . nil)) |
5d202bf110c9
(all): Make `indicate-buffer-boundaries' display values set outside
Luc Teirlinck <teirllm@auburn.edu>
parents:
64708
diff
changeset
|
61 :format "%{%t%}:\n%v\n%d" |
5d202bf110c9
(all): Make `indicate-buffer-boundaries' display values set outside
Luc Teirlinck <teirllm@auburn.edu>
parents:
64708
diff
changeset
|
62 :doc "You can specify a default and then override it \ |
5d202bf110c9
(all): Make `indicate-buffer-boundaries' display values set outside
Luc Teirlinck <teirllm@auburn.edu>
parents:
64708
diff
changeset
|
63 for individual indicators. |
5d202bf110c9
(all): Make `indicate-buffer-boundaries' display values set outside
Luc Teirlinck <teirllm@auburn.edu>
parents:
64708
diff
changeset
|
64 Leaving \"Default\" unchecked is equivalent with specifying a default of |
5d202bf110c9
(all): Make `indicate-buffer-boundaries' display values set outside
Luc Teirlinck <teirllm@auburn.edu>
parents:
64708
diff
changeset
|
65 \"Do not show\"." |
5d202bf110c9
(all): Make `indicate-buffer-boundaries' display values set outside
Luc Teirlinck <teirllm@auburn.edu>
parents:
64708
diff
changeset
|
66 (choice :tag "Default" |
5d202bf110c9
(all): Make `indicate-buffer-boundaries' display values set outside
Luc Teirlinck <teirllm@auburn.edu>
parents:
64708
diff
changeset
|
67 :value (t . nil) |
5d202bf110c9
(all): Make `indicate-buffer-boundaries' display values set outside
Luc Teirlinck <teirllm@auburn.edu>
parents:
64708
diff
changeset
|
68 (const :tag "Do not show" (t . nil)) |
5d202bf110c9
(all): Make `indicate-buffer-boundaries' display values set outside
Luc Teirlinck <teirllm@auburn.edu>
parents:
64708
diff
changeset
|
69 (const :tag "On the left" (t . left)) |
5d202bf110c9
(all): Make `indicate-buffer-boundaries' display values set outside
Luc Teirlinck <teirllm@auburn.edu>
parents:
64708
diff
changeset
|
70 (const :tag "On the right" (t . right))) |
5d202bf110c9
(all): Make `indicate-buffer-boundaries' display values set outside
Luc Teirlinck <teirllm@auburn.edu>
parents:
64708
diff
changeset
|
71 (choice :tag "Top" |
5d202bf110c9
(all): Make `indicate-buffer-boundaries' display values set outside
Luc Teirlinck <teirllm@auburn.edu>
parents:
64708
diff
changeset
|
72 :value (top . left) |
5d202bf110c9
(all): Make `indicate-buffer-boundaries' display values set outside
Luc Teirlinck <teirllm@auburn.edu>
parents:
64708
diff
changeset
|
73 (const :tag "Do not show" (top . nil)) |
5d202bf110c9
(all): Make `indicate-buffer-boundaries' display values set outside
Luc Teirlinck <teirllm@auburn.edu>
parents:
64708
diff
changeset
|
74 (const :tag "On the left" (top . left)) |
5d202bf110c9
(all): Make `indicate-buffer-boundaries' display values set outside
Luc Teirlinck <teirllm@auburn.edu>
parents:
64708
diff
changeset
|
75 (const :tag "On the right" (top . right))) |
5d202bf110c9
(all): Make `indicate-buffer-boundaries' display values set outside
Luc Teirlinck <teirllm@auburn.edu>
parents:
64708
diff
changeset
|
76 (choice :tag "Bottom" |
5d202bf110c9
(all): Make `indicate-buffer-boundaries' display values set outside
Luc Teirlinck <teirllm@auburn.edu>
parents:
64708
diff
changeset
|
77 :value (bottom . left) |
5d202bf110c9
(all): Make `indicate-buffer-boundaries' display values set outside
Luc Teirlinck <teirllm@auburn.edu>
parents:
64708
diff
changeset
|
78 (const :tag "Do not show" (bottom . nil)) |
5d202bf110c9
(all): Make `indicate-buffer-boundaries' display values set outside
Luc Teirlinck <teirllm@auburn.edu>
parents:
64708
diff
changeset
|
79 (const :tag "On the left" (bottom . left)) |
5d202bf110c9
(all): Make `indicate-buffer-boundaries' display values set outside
Luc Teirlinck <teirllm@auburn.edu>
parents:
64708
diff
changeset
|
80 (const :tag "On the right" (bottom . right))) |
5d202bf110c9
(all): Make `indicate-buffer-boundaries' display values set outside
Luc Teirlinck <teirllm@auburn.edu>
parents:
64708
diff
changeset
|
81 (choice :tag "Up arrow" |
5d202bf110c9
(all): Make `indicate-buffer-boundaries' display values set outside
Luc Teirlinck <teirllm@auburn.edu>
parents:
64708
diff
changeset
|
82 :value (up . left) |
5d202bf110c9
(all): Make `indicate-buffer-boundaries' display values set outside
Luc Teirlinck <teirllm@auburn.edu>
parents:
64708
diff
changeset
|
83 (const :tag "Do not show" (up . nil)) |
5d202bf110c9
(all): Make `indicate-buffer-boundaries' display values set outside
Luc Teirlinck <teirllm@auburn.edu>
parents:
64708
diff
changeset
|
84 (const :tag "On the left" (up . left)) |
5d202bf110c9
(all): Make `indicate-buffer-boundaries' display values set outside
Luc Teirlinck <teirllm@auburn.edu>
parents:
64708
diff
changeset
|
85 (const :tag "On the right" (up . right))) |
5d202bf110c9
(all): Make `indicate-buffer-boundaries' display values set outside
Luc Teirlinck <teirllm@auburn.edu>
parents:
64708
diff
changeset
|
86 (choice :tag "Down arrow" |
5d202bf110c9
(all): Make `indicate-buffer-boundaries' display values set outside
Luc Teirlinck <teirllm@auburn.edu>
parents:
64708
diff
changeset
|
87 :value (down . left) |
5d202bf110c9
(all): Make `indicate-buffer-boundaries' display values set outside
Luc Teirlinck <teirllm@auburn.edu>
parents:
64708
diff
changeset
|
88 (const :tag "Do not show" (down . nil)) |
5d202bf110c9
(all): Make `indicate-buffer-boundaries' display values set outside
Luc Teirlinck <teirllm@auburn.edu>
parents:
64708
diff
changeset
|
89 (const :tag "On the left" (down . left)) |
5d202bf110c9
(all): Make `indicate-buffer-boundaries' display values set outside
Luc Teirlinck <teirllm@auburn.edu>
parents:
64708
diff
changeset
|
90 (const :tag "On the right" (down . right)))) |
69440
4c675b9920d8
(all): Delete :version keyword for members of the fringe group, since
Luc Teirlinck <teirllm@auburn.edu>
parents:
68883
diff
changeset
|
91 (other :tag "On left, no arrows" t))) |
48939
f3fc48331bdc
(scroll-up-aggressively, scroll-down-aggressively): Update custom types.
Richard M. Stallman <rms@gnu.org>
parents:
48075
diff
changeset
|
92 (scroll-up-aggressively windows |
f3fc48331bdc
(scroll-up-aggressively, scroll-down-aggressively): Update custom types.
Richard M. Stallman <rms@gnu.org>
parents:
48075
diff
changeset
|
93 (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
|
94 "21.1") |
f3fc48331bdc
(scroll-up-aggressively, scroll-down-aggressively): Update custom types.
Richard M. Stallman <rms@gnu.org>
parents:
48075
diff
changeset
|
95 (scroll-down-aggressively windows |
f3fc48331bdc
(scroll-up-aggressively, scroll-down-aggressively): Update custom types.
Richard M. Stallman <rms@gnu.org>
parents:
48075
diff
changeset
|
96 (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
|
97 "21.1") |
65945
b3ed9c9b7a4f
(line-spacing): Add custom spec.
Richard M. Stallman <rms@gnu.org>
parents:
65403
diff
changeset
|
98 (line-spacing display (choice (const :tag "none" nil) integer)) |
17416 | 99 ;; callint.c |
100 (mark-even-if-inactive editing-basics boolean) | |
101 ;; callproc.c | |
102 (shell-file-name execute file) | |
103 (exec-path execute | |
64139
2fcfefeaac70
(exec-path): Fix tag for nil.
Richard M. Stallman <rms@gnu.org>
parents:
64138
diff
changeset
|
104 (repeat (choice (const :tag "default directory" nil) |
64138
a32a0e928f2d
(exec-path): Use `directory' instead of `file'.
Richard M. Stallman <rms@gnu.org>
parents:
64091
diff
changeset
|
105 (directory :format "%v")))) |
24057 | 106 ;; coding.c |
107 (inhibit-eol-conversion mule boolean) | |
24202
afc9a7e3752f
(all): Add eol-mnemonic-* variables.
Eli Zaretskii <eliz@gnu.org>
parents:
24057
diff
changeset
|
108 (eol-mnemonic-undecided mule string) |
afc9a7e3752f
(all): Add eol-mnemonic-* variables.
Eli Zaretskii <eliz@gnu.org>
parents:
24057
diff
changeset
|
109 (eol-mnemonic-unix mule string) |
afc9a7e3752f
(all): Add eol-mnemonic-* variables.
Eli Zaretskii <eliz@gnu.org>
parents:
24057
diff
changeset
|
110 (eol-mnemonic-dos mule string) |
afc9a7e3752f
(all): Add eol-mnemonic-* variables.
Eli Zaretskii <eliz@gnu.org>
parents:
24057
diff
changeset
|
111 (eol-mnemonic-mac mule string) |
30978 | 112 (file-coding-system-alist |
113 mule | |
114 (alist | |
115 :key-type (regexp :tag "File regexp") | |
78091
35e7de7eae29
(file-coding-system-alist): Fix previous commit.
Katsumi Yamaoka <yamaoka@jpl.org>
parents:
78089
diff
changeset
|
116 :value-type (choice |
35e7de7eae29
(file-coding-system-alist): Fix previous commit.
Katsumi Yamaoka <yamaoka@jpl.org>
parents:
78089
diff
changeset
|
117 :value (undecided . undecided) |
35e7de7eae29
(file-coding-system-alist): Fix previous commit.
Katsumi Yamaoka <yamaoka@jpl.org>
parents:
78089
diff
changeset
|
118 (cons :tag "Encoding/decoding pair" |
35e7de7eae29
(file-coding-system-alist): Fix previous commit.
Katsumi Yamaoka <yamaoka@jpl.org>
parents:
78089
diff
changeset
|
119 :value (undecided . undecided) |
35e7de7eae29
(file-coding-system-alist): Fix previous commit.
Katsumi Yamaoka <yamaoka@jpl.org>
parents:
78089
diff
changeset
|
120 (coding-system :tag "Decoding") |
35e7de7eae29
(file-coding-system-alist): Fix previous commit.
Katsumi Yamaoka <yamaoka@jpl.org>
parents:
78089
diff
changeset
|
121 (coding-system :tag "Encoding")) |
35e7de7eae29
(file-coding-system-alist): Fix previous commit.
Katsumi Yamaoka <yamaoka@jpl.org>
parents:
78089
diff
changeset
|
122 (coding-system |
35e7de7eae29
(file-coding-system-alist): Fix previous commit.
Katsumi Yamaoka <yamaoka@jpl.org>
parents:
78089
diff
changeset
|
123 :tag "Single coding system" |
35e7de7eae29
(file-coding-system-alist): Fix previous commit.
Katsumi Yamaoka <yamaoka@jpl.org>
parents:
78089
diff
changeset
|
124 :value undecided |
35e7de7eae29
(file-coding-system-alist): Fix previous commit.
Katsumi Yamaoka <yamaoka@jpl.org>
parents:
78089
diff
changeset
|
125 :match (lambda (widget value) |
35e7de7eae29
(file-coding-system-alist): Fix previous commit.
Katsumi Yamaoka <yamaoka@jpl.org>
parents:
78089
diff
changeset
|
126 (and value (not (functionp value))))) |
35e7de7eae29
(file-coding-system-alist): Fix previous commit.
Katsumi Yamaoka <yamaoka@jpl.org>
parents:
78089
diff
changeset
|
127 (function :value ignore)))) |
48075
801530a6c168
(selection-coding-system, scalable-fonts-allowed):
Dave Love <fx@gnu.org>
parents:
47358
diff
changeset
|
128 (selection-coding-system mule coding-system) |
17416 | 129 ;; dired.c |
49588
37645a051842
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
48939
diff
changeset
|
130 (completion-ignored-extensions dired |
17416 | 131 (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
|
132 ;; dispnew.c |
17416 | 133 (baud-rate display integer) |
134 (inverse-video display boolean) | |
135 (visible-bell display boolean) | |
136 (no-redraw-on-reenter display boolean) | |
137 ;; editfns.c | |
138 (user-full-name mail string) | |
139 ;; eval.c | |
140 (max-specpdl-size limits integer) | |
141 (max-lisp-eval-depth limits integer) | |
81677
a01517ba35e8
(max-mini-window-height): Added.
Richard M. Stallman <rms@gnu.org>
parents:
77068
diff
changeset
|
142 (max-mini-window-height limits |
a01517ba35e8
(max-mini-window-height): Added.
Richard M. Stallman <rms@gnu.org>
parents:
77068
diff
changeset
|
143 (choice (const :tag "quarter screen" nil) |
a01517ba35e8
(max-mini-window-height): Added.
Richard M. Stallman <rms@gnu.org>
parents:
77068
diff
changeset
|
144 number)) |
17416 | 145 (stack-trace-on-error debug |
146 (choice (const :tag "off") | |
147 (repeat :menu-tag "When" | |
148 :value (nil) | |
149 (symbol :format "%v")) | |
150 (const :tag "always" t))) | |
49588
37645a051842
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
48939
diff
changeset
|
151 (debug-on-error debug |
17416 | 152 (choice (const :tag "off") |
153 (repeat :menu-tag "When" | |
154 :value (nil) | |
155 (symbol :format "%v")) | |
156 (const :tag "always" t))) | |
157 (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
|
158 (debug-on-quit debug |
f7e3c766f54c
(debug-on-quit): Define like debug-on-error.
Richard M. Stallman <rms@gnu.org>
parents:
18727
diff
changeset
|
159 (choice (const :tag "off") |
f7e3c766f54c
(debug-on-quit): Define like debug-on-error.
Richard M. Stallman <rms@gnu.org>
parents:
18727
diff
changeset
|
160 (repeat :menu-tag "When" |
f7e3c766f54c
(debug-on-quit): Define like debug-on-error.
Richard M. Stallman <rms@gnu.org>
parents:
18727
diff
changeset
|
161 :value (nil) |
f7e3c766f54c
(debug-on-quit): Define like debug-on-error.
Richard M. Stallman <rms@gnu.org>
parents:
18727
diff
changeset
|
162 (symbol :format "%v")) |
f7e3c766f54c
(debug-on-quit): Define like debug-on-error.
Richard M. Stallman <rms@gnu.org>
parents:
18727
diff
changeset
|
163 (const :tag "always" t))) |
17416 | 164 ;; fileio.c |
165 (insert-default-directory minibuffer boolean) | |
59996
aac0a33f5772
Change release version from 21.4 to 22.1 throughout.
Kim F. Storm <storm@cua.dk>
parents:
59739
diff
changeset
|
166 (read-file-name-completion-ignore-case minibuffer boolean "22.1") |
26619 | 167 ;; 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
|
168 (use-dialog-box menu boolean "21.1") |
59996
aac0a33f5772
Change release version from 21.4 to 22.1 throughout.
Kim F. Storm <storm@cua.dk>
parents:
59739
diff
changeset
|
169 (use-file-dialog menu boolean "22.1") |
78992
15fe36cffb96
(all): Add focus-follows-mouse.
Martin Rudalics <rudalics@gmx.at>
parents:
78236
diff
changeset
|
170 (focus-follows-mouse frames boolean "20.3") |
17416 | 171 ;; frame.c |
172 (default-frame-alist frames | |
173 (repeat (cons :format "%v" | |
174 (symbol :tag "Parameter") | |
175 (sexp :tag "Value")))) | |
43376 | 176 (mouse-highlight mouse (choice (const :tag "disabled" nil) |
177 (const :tag "always shown" t) | |
178 (other :tag "hidden by keypress" 1))) | |
64790
79faff912fc6
(all): Add `overflow-newline-into-fringe'.
Luc Teirlinck <teirllm@auburn.edu>
parents:
64762
diff
changeset
|
179 ;; fringe.c |
69440
4c675b9920d8
(all): Delete :version keyword for members of the fringe group, since
Luc Teirlinck <teirllm@auburn.edu>
parents:
68883
diff
changeset
|
180 (overflow-newline-into-fringe fringe boolean) |
17416 | 181 ;; indent.c |
72371
c1c598c2cd83
<indent-tabs-mode>: Move to the `indent' customization group.
Eli Zaretskii <eliz@gnu.org>
parents:
71355
diff
changeset
|
182 (indent-tabs-mode indent boolean) |
17416 | 183 ;; keyboard.c |
184 (meta-prefix-char keyboard character) | |
185 (auto-save-interval auto-save integer) | |
186 (auto-save-timeout auto-save (choice (const :tag "off" nil) | |
187 (integer :format "%v"))) | |
27768 | 188 (echo-keystrokes minibuffer number) |
17416 | 189 (polling-period keyboard integer) |
18478
74399f15f71e
(double-click-time): Use restricted-sexp.
Richard M. Stallman <rms@gnu.org>
parents:
18434
diff
changeset
|
190 (double-click-time mouse (restricted-sexp |
74399f15f71e
(double-click-time): Use restricted-sexp.
Richard M. Stallman <rms@gnu.org>
parents:
18434
diff
changeset
|
191 :match-alternatives (integerp 'nil 't))) |
46616
676039ef9a4e
(double-click-fuzz): Added.
Richard M. Stallman <rms@gnu.org>
parents:
44357
diff
changeset
|
192 (double-click-fuzz mouse integer) |
17416 | 193 (inhibit-local-menu-bar-menus menu boolean) |
194 (help-char keyboard character) | |
195 (help-event-list keyboard (repeat (sexp :format "%v"))) | |
196 (menu-prompting menu boolean) | |
197 (suggest-key-bindings keyboard (choice (const :tag "off" nil) | |
198 (integer :tag "time" 2) | |
22571
4aebb136294f
(selective-display, suggest-key-bindings,
Andreas Schwab <schwab@suse.de>
parents:
21407
diff
changeset
|
199 (other :tag "on"))) |
70378
21ad7a1f7028
(all): Add mac-dnd-known-types.
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
69440
diff
changeset
|
200 ;; macselect.c |
21ad7a1f7028
(all): Add mac-dnd-known-types.
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
69440
diff
changeset
|
201 (mac-dnd-known-types mac (repeat string) "22.1") |
67661
6f662b71d7cf
(all): Add user options in macterm.c. Add test for
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
65945
diff
changeset
|
202 ;; macterm.c |
6f662b71d7cf
(all): Add user options in macterm.c. Add test for
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
65945
diff
changeset
|
203 (mac-control-modifier mac (choice (const :tag "No modifier" nil) |
6f662b71d7cf
(all): Add user options in macterm.c. Add test for
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
65945
diff
changeset
|
204 (const control) (const meta) |
6f662b71d7cf
(all): Add user options in macterm.c. Add test for
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
65945
diff
changeset
|
205 (const alt) (const hyper) |
6f662b71d7cf
(all): Add user options in macterm.c. Add test for
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
65945
diff
changeset
|
206 (const super)) "22.1") |
6f662b71d7cf
(all): Add user options in macterm.c. Add test for
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
65945
diff
changeset
|
207 (mac-command-modifier mac (choice (const :tag "No modifier" nil) |
6f662b71d7cf
(all): Add user options in macterm.c. Add test for
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
65945
diff
changeset
|
208 (const control) (const meta) |
6f662b71d7cf
(all): Add user options in macterm.c. Add test for
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
65945
diff
changeset
|
209 (const alt) (const hyper) |
6f662b71d7cf
(all): Add user options in macterm.c. Add test for
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
65945
diff
changeset
|
210 (const super)) "22.1") |
6f662b71d7cf
(all): Add user options in macterm.c. Add test for
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
65945
diff
changeset
|
211 (mac-option-modifier mac (choice (const :tag "No modifier (work as option)" nil) |
6f662b71d7cf
(all): Add user options in macterm.c. Add test for
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
65945
diff
changeset
|
212 (const control) (const meta) |
6f662b71d7cf
(all): Add user options in macterm.c. Add test for
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
65945
diff
changeset
|
213 (const alt) (const hyper) |
6f662b71d7cf
(all): Add user options in macterm.c. Add test for
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
65945
diff
changeset
|
214 (const super)) "22.1") |
6f662b71d7cf
(all): Add user options in macterm.c. Add test for
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
65945
diff
changeset
|
215 (mac-function-modifier mac |
6f662b71d7cf
(all): Add user options in macterm.c. Add test for
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
65945
diff
changeset
|
216 (choice (const :tag "No modifier (work as function)" nil) |
6f662b71d7cf
(all): Add user options in macterm.c. Add test for
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
65945
diff
changeset
|
217 (const control) (const meta) |
6f662b71d7cf
(all): Add user options in macterm.c. Add test for
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
65945
diff
changeset
|
218 (const alt) (const hyper) |
6f662b71d7cf
(all): Add user options in macterm.c. Add test for
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
65945
diff
changeset
|
219 (const super)) "22.1") |
6f662b71d7cf
(all): Add user options in macterm.c. Add test for
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
65945
diff
changeset
|
220 (mac-emulate-three-button-mouse mac |
6f662b71d7cf
(all): Add user options in macterm.c. Add test for
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
65945
diff
changeset
|
221 (choice (const :tag "No emulation" nil) |
6f662b71d7cf
(all): Add user options in macterm.c. Add test for
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
65945
diff
changeset
|
222 (const :tag "Option->2, Command->3" t) |
6f662b71d7cf
(all): Add user options in macterm.c. Add test for
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
65945
diff
changeset
|
223 (const :tag "Command->2, Option->3" reverse)) |
6f662b71d7cf
(all): Add user options in macterm.c. Add test for
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
65945
diff
changeset
|
224 "22.1") |
6f662b71d7cf
(all): Add user options in macterm.c. Add test for
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
65945
diff
changeset
|
225 (mac-wheel-button-is-mouse-2 mac boolean "22.1") |
6f662b71d7cf
(all): Add user options in macterm.c. Add test for
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
65945
diff
changeset
|
226 (mac-pass-command-to-system mac boolean "22.1") |
6f662b71d7cf
(all): Add user options in macterm.c. Add test for
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
65945
diff
changeset
|
227 (mac-pass-control-to-system mac boolean "22.1") |
6f662b71d7cf
(all): Add user options in macterm.c. Add test for
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
65945
diff
changeset
|
228 (mac-allow-anti-aliasing mac boolean "22.1") |
71355
763764b2c2a4
(all): Add mac-ts-script-language-on-focus.
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
70378
diff
changeset
|
229 (mac-ts-script-language-on-focus mac |
763764b2c2a4
(all): Add mac-ts-script-language-on-focus.
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
70378
diff
changeset
|
230 (choice (const :tag "System default behavior" nil) |
763764b2c2a4
(all): Add mac-ts-script-language-on-focus.
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
70378
diff
changeset
|
231 (const :tag "Restore to script/language used in the last focus frame" t) |
763764b2c2a4
(all): Add mac-ts-script-language-on-focus.
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
70378
diff
changeset
|
232 (cons :tag "Specify script/language" |
763764b2c2a4
(all): Add mac-ts-script-language-on-focus.
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
70378
diff
changeset
|
233 (integer :tag "Script code") |
763764b2c2a4
(all): Add mac-ts-script-language-on-focus.
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
70378
diff
changeset
|
234 (integer :tag "Language code"))) |
763764b2c2a4
(all): Add mac-ts-script-language-on-focus.
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
70378
diff
changeset
|
235 "22.1") |
41604
b825c024c5de
(recursive-load-depth-limit): Delete item.
Richard M. Stallman <rms@gnu.org>
parents:
40413
diff
changeset
|
236 |
30167
83e9db7aeddb
Add optional version as 4th element of specs and use it for several
Dave Love <fx@gnu.org>
parents:
28569
diff
changeset
|
237 ;; 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
|
238 ;; 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
|
239 ;; 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
|
240 ;; value intact at the back. |
49588
37645a051842
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
48939
diff
changeset
|
241 ;;; (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
|
242 ;;; (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
|
243 ;;; :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
|
244 ;;; (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
|
245 ;;; (directory :format "%v")))) |
17416 | 246 ;; minibuf.c |
247 (completion-auto-help minibuffer boolean) | |
248 (enable-recursive-minibuffers minibuffer boolean) | |
43035
225a3a5477a9
(history-length): Specify customization for it.
Richard M. Stallman <rms@gnu.org>
parents:
41604
diff
changeset
|
249 (history-length minibuffer |
225a3a5477a9
(history-length): Specify customization for it.
Richard M. Stallman <rms@gnu.org>
parents:
41604
diff
changeset
|
250 (choice (const :tag "Infinite" t) |
225a3a5477a9
(history-length): Specify customization for it.
Richard M. Stallman <rms@gnu.org>
parents:
41604
diff
changeset
|
251 integer)) |
57019
0bedef20ddc4
(history-delete-duplicates): Specify customization.
Juri Linkov <juri@jurta.org>
parents:
56671
diff
changeset
|
252 (history-delete-duplicates minibuffer boolean) |
33684
1a9baca954a0
Add entry for `minibuffer-prompt-properties'.
Miles Bader <miles@gnu.org>
parents:
30978
diff
changeset
|
253 (minibuffer-prompt-properties |
1a9baca954a0
Add entry for `minibuffer-prompt-properties'.
Miles Bader <miles@gnu.org>
parents:
30978
diff
changeset
|
254 minibuffer |
1a9baca954a0
Add entry for `minibuffer-prompt-properties'.
Miles Bader <miles@gnu.org>
parents:
30978
diff
changeset
|
255 (list |
1a9baca954a0
Add entry for `minibuffer-prompt-properties'.
Miles Bader <miles@gnu.org>
parents:
30978
diff
changeset
|
256 (checklist :inline t |
1a9baca954a0
Add entry for `minibuffer-prompt-properties'.
Miles Bader <miles@gnu.org>
parents:
30978
diff
changeset
|
257 (const :tag "Read-Only" |
1a9baca954a0
Add entry for `minibuffer-prompt-properties'.
Miles Bader <miles@gnu.org>
parents:
30978
diff
changeset
|
258 :doc "Prevent prompt from being modified" |
1a9baca954a0
Add entry for `minibuffer-prompt-properties'.
Miles Bader <miles@gnu.org>
parents:
30978
diff
changeset
|
259 :format "%t%n%h" |
1a9baca954a0
Add entry for `minibuffer-prompt-properties'.
Miles Bader <miles@gnu.org>
parents:
30978
diff
changeset
|
260 :inline t |
1a9baca954a0
Add entry for `minibuffer-prompt-properties'.
Miles Bader <miles@gnu.org>
parents:
30978
diff
changeset
|
261 (read-only t)) |
65043
0d1f97bd87d9
(minibuffer-prompt-properties): Correct typo.
Luc Teirlinck <teirllm@auburn.edu>
parents:
65019
diff
changeset
|
262 (const :tag "Don't Enter" |
33684
1a9baca954a0
Add entry for `minibuffer-prompt-properties'.
Miles Bader <miles@gnu.org>
parents:
30978
diff
changeset
|
263 :doc "Prevent point from ever entering prompt" |
1a9baca954a0
Add entry for `minibuffer-prompt-properties'.
Miles Bader <miles@gnu.org>
parents:
30978
diff
changeset
|
264 :format "%t%n%h" |
1a9baca954a0
Add entry for `minibuffer-prompt-properties'.
Miles Bader <miles@gnu.org>
parents:
30978
diff
changeset
|
265 :inline t |
1a9baca954a0
Add entry for `minibuffer-prompt-properties'.
Miles Bader <miles@gnu.org>
parents:
30978
diff
changeset
|
266 (point-entered minibuffer-avoid-prompt))) |
1a9baca954a0
Add entry for `minibuffer-prompt-properties'.
Miles Bader <miles@gnu.org>
parents:
30978
diff
changeset
|
267 (repeat :inline t |
1a9baca954a0
Add entry for `minibuffer-prompt-properties'.
Miles Bader <miles@gnu.org>
parents:
30978
diff
changeset
|
268 :tag "Other Properties" |
1a9baca954a0
Add entry for `minibuffer-prompt-properties'.
Miles Bader <miles@gnu.org>
parents:
30978
diff
changeset
|
269 (list :inline t |
1a9baca954a0
Add entry for `minibuffer-prompt-properties'.
Miles Bader <miles@gnu.org>
parents:
30978
diff
changeset
|
270 :format "%v" |
1a9baca954a0
Add entry for `minibuffer-prompt-properties'.
Miles Bader <miles@gnu.org>
parents:
30978
diff
changeset
|
271 (symbol :tag "Property") |
33922 | 272 (sexp :tag "Value")))) |
273 "21.1") | |
17416 | 274 (minibuffer-auto-raise minibuffer boolean) |
33922 | 275 ;; options property set at end |
34064 | 276 (read-buffer-function minibuffer |
277 (choice (const nil) | |
278 (function-item iswitchb-read-buffer) | |
279 function)) | |
23863
478c3628a2cd
(dos-unsupported-char-glyph): Add.
Eli Zaretskii <eliz@gnu.org>
parents:
22571
diff
changeset
|
280 ;; msdos.c |
478c3628a2cd
(dos-unsupported-char-glyph): Add.
Eli Zaretskii <eliz@gnu.org>
parents:
22571
diff
changeset
|
281 (dos-unsupported-char-glyph display integer) |
17416 | 282 ;; process.c |
18052
64a265eaa6d7
Arrange to load it once during dumping,
Richard M. Stallman <rms@gnu.org>
parents:
17948
diff
changeset
|
283 (delete-exited-processes processes-basics boolean) |
17416 | 284 ;; syntax.c |
285 (parse-sexp-ignore-comments editing-basics boolean) | |
286 (words-include-escapes editing-basics boolean) | |
52129
f6cc7244ebe6
Add open-paren-in-column-0-is-defun-start,
Dave Love <fx@gnu.org>
parents:
49588
diff
changeset
|
287 (open-paren-in-column-0-is-defun-start editing-basics boolean |
f6cc7244ebe6
Add open-paren-in-column-0-is-defun-start,
Dave Love <fx@gnu.org>
parents:
49588
diff
changeset
|
288 "21.1") |
67936
07ec77ecb7b5
Add `visible-cursor'.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
67845
diff
changeset
|
289 ;; term.c |
07ec77ecb7b5
Add `visible-cursor'.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
67845
diff
changeset
|
290 (visible-cursor cursor boolean "22.1") |
64731
b991ecaae196
(all): Put undo.c where it alphabetically belongs.
Luc Teirlinck <teirllm@auburn.edu>
parents:
64711
diff
changeset
|
291 ;; undo.c |
b991ecaae196
(all): Put undo.c where it alphabetically belongs.
Luc Teirlinck <teirllm@auburn.edu>
parents:
64711
diff
changeset
|
292 (undo-limit undo integer) |
b991ecaae196
(all): Put undo.c where it alphabetically belongs.
Luc Teirlinck <teirllm@auburn.edu>
parents:
64711
diff
changeset
|
293 (undo-strong-limit undo integer) |
b991ecaae196
(all): Put undo.c where it alphabetically belongs.
Luc Teirlinck <teirllm@auburn.edu>
parents:
64711
diff
changeset
|
294 (undo-outer-limit undo |
b991ecaae196
(all): Put undo.c where it alphabetically belongs.
Luc Teirlinck <teirllm@auburn.edu>
parents:
64711
diff
changeset
|
295 (choice integer |
b991ecaae196
(all): Put undo.c where it alphabetically belongs.
Luc Teirlinck <teirllm@auburn.edu>
parents:
64711
diff
changeset
|
296 (const :tag "No limit" |
b991ecaae196
(all): Put undo.c where it alphabetically belongs.
Luc Teirlinck <teirllm@auburn.edu>
parents:
64711
diff
changeset
|
297 :format "%t\n%d" |
b991ecaae196
(all): Put undo.c where it alphabetically belongs.
Luc Teirlinck <teirllm@auburn.edu>
parents:
64711
diff
changeset
|
298 :doc |
b991ecaae196
(all): Put undo.c where it alphabetically belongs.
Luc Teirlinck <teirllm@auburn.edu>
parents:
64711
diff
changeset
|
299 "With this choice, \ |
b991ecaae196
(all): Put undo.c where it alphabetically belongs.
Luc Teirlinck <teirllm@auburn.edu>
parents:
64711
diff
changeset
|
300 the undo info for the current command never gets discarded. |
b991ecaae196
(all): Put undo.c where it alphabetically belongs.
Luc Teirlinck <teirllm@auburn.edu>
parents:
64711
diff
changeset
|
301 This should only be chosen under exceptional circumstances, |
b991ecaae196
(all): Put undo.c where it alphabetically belongs.
Luc Teirlinck <teirllm@auburn.edu>
parents:
64711
diff
changeset
|
302 since it could result in memory overflow and make Emacs crash." |
b991ecaae196
(all): Put undo.c where it alphabetically belongs.
Luc Teirlinck <teirllm@auburn.edu>
parents:
64711
diff
changeset
|
303 nil)) |
b991ecaae196
(all): Put undo.c where it alphabetically belongs.
Luc Teirlinck <teirllm@auburn.edu>
parents:
64711
diff
changeset
|
304 "22.1") |
17416 | 305 ;; window.c |
35966
911b5aa7fe8d
(temp-buffer-show-function, display-buffer-function): Fix :type.
Dave Love <fx@gnu.org>
parents:
34263
diff
changeset
|
306 (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
|
307 (display-buffer-function windows (choice (const nil) function)) |
17416 | 308 (pop-up-frames frames boolean) |
309 (pop-up-frame-function frames function) | |
49588
37645a051842
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
48939
diff
changeset
|
310 (special-display-buffer-names |
37645a051842
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
48939
diff
changeset
|
311 frames |
17416 | 312 (repeat (choice :tag "Buffer" |
313 :value "" | |
314 (string :format "%v") | |
315 (cons :tag "With attributes" | |
316 :format "%v" | |
317 :value ("" . nil) | |
318 (string :format "%v") | |
319 (repeat :tag "Attributes" | |
320 (cons :format "%v" | |
321 (symbol :tag "Parameter") | |
322 (sexp :tag "Value"))))))) | |
323 (special-display-regexps | |
49588
37645a051842
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
48939
diff
changeset
|
324 frames |
17416 | 325 (repeat (choice :tag "Buffer" |
326 :value "" | |
327 (regexp :format "%v") | |
328 (cons :tag "With attributes" | |
329 :format "%v" | |
330 :value ("" . nil) | |
331 (regexp :format "%v") | |
332 (repeat :tag "Attributes" | |
333 (cons :format "%v" | |
334 (symbol :tag "Parameter") | |
335 (sexp :tag "Value"))))))) | |
336 (special-display-function frames function) | |
337 (same-window-buffer-names windows (repeat (string :format "%v"))) | |
338 (same-window-regexps windows (repeat (regexp :format "%v"))) | |
339 (pop-up-windows windows boolean) | |
34263
56d868415168
Add entry for even-window-heights.
Gerd Moellmann <gerd@gnu.org>
parents:
34064
diff
changeset
|
340 (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
|
341 (next-screen-context-lines windows integer) |
17416 | 342 (split-height-threshold windows integer) |
84358
d2cda61c7c00
(split-window-preferred-function): Add custom info.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
83648
diff
changeset
|
343 (split-window-preferred-function |
d2cda61c7c00
(split-window-preferred-function): Add custom info.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
83648
diff
changeset
|
344 windows |
d2cda61c7c00
(split-window-preferred-function): Add custom info.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
83648
diff
changeset
|
345 (choice (const :tag "vertically" split-window) |
d2cda61c7c00
(split-window-preferred-function): Add custom info.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
83648
diff
changeset
|
346 ;; FIXME: Add `sensibly' which chooses between |
d2cda61c7c00
(split-window-preferred-function): Add custom info.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
83648
diff
changeset
|
347 ;; vertical or horizontal splits depending on the size |
d2cda61c7c00
(split-window-preferred-function): Add custom info.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
83648
diff
changeset
|
348 ;; and shape of the window. |
d2cda61c7c00
(split-window-preferred-function): Add custom info.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
83648
diff
changeset
|
349 (const :tag "horizontally" |
d2cda61c7c00
(split-window-preferred-function): Add custom info.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
83648
diff
changeset
|
350 (lambda (window) |
d2cda61c7c00
(split-window-preferred-function): Add custom info.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
83648
diff
changeset
|
351 (split-window window nil 'horiz))))) |
17416 | 352 (window-min-height windows integer) |
353 (window-min-width windows integer) | |
77068
1ab9d1057ad0
2007-04-08 Martin Rudalics <rudalics@gmx.at>
Kim F. Storm <storm@cua.dk>
parents:
75347
diff
changeset
|
354 (scroll-preserve-screen-position |
1ab9d1057ad0
2007-04-08 Martin Rudalics <rudalics@gmx.at>
Kim F. Storm <storm@cua.dk>
parents:
75347
diff
changeset
|
355 windows (choice |
1ab9d1057ad0
2007-04-08 Martin Rudalics <rudalics@gmx.at>
Kim F. Storm <storm@cua.dk>
parents:
75347
diff
changeset
|
356 (const :tag "Off (nil)" :value nil) |
1ab9d1057ad0
2007-04-08 Martin Rudalics <rudalics@gmx.at>
Kim F. Storm <storm@cua.dk>
parents:
75347
diff
changeset
|
357 (const :tag "Full screen (t)" :value t) |
1ab9d1057ad0
2007-04-08 Martin Rudalics <rudalics@gmx.at>
Kim F. Storm <storm@cua.dk>
parents:
75347
diff
changeset
|
358 (other :tag "Always" 1))) |
30978 | 359 (display-buffer-reuse-frames windows boolean "21.1") |
17416 | 360 ;; xdisp.c |
361 (scroll-step windows integer) | |
24758
16c7330ad116
(all): Delete selective-display. Add scroll-margin,
Richard M. Stallman <rms@gnu.org>
parents:
24628
diff
changeset
|
362 (scroll-conservatively windows integer) |
16c7330ad116
(all): Delete selective-display. Add scroll-margin,
Richard M. Stallman <rms@gnu.org>
parents:
24628
diff
changeset
|
363 (scroll-margin windows integer) |
72611
231eb88f2558
(hscroll-margin, hscroll-step)
Eli Zaretskii <eliz@gnu.org>
parents:
72506
diff
changeset
|
364 (hscroll-margin windows integer "22.1") |
231eb88f2558
(hscroll-margin, hscroll-step)
Eli Zaretskii <eliz@gnu.org>
parents:
72506
diff
changeset
|
365 (hscroll-step windows number "22.1") |
17416 | 366 (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
|
367 (mode-line-inverse-video modeline boolean) |
72611
231eb88f2558
(hscroll-margin, hscroll-step)
Eli Zaretskii <eliz@gnu.org>
parents:
72506
diff
changeset
|
368 (mode-line-in-non-selected-windows modeline boolean "22.1") |
30167
83e9db7aeddb
Add optional version as 4th element of specs and use it for several
Dave Love <fx@gnu.org>
parents:
28569
diff
changeset
|
369 (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
|
370 (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
|
371 (const :tag "No limit" nil))) |
52129
f6cc7244ebe6
Add open-paren-in-column-0-is-defun-start,
Dave Love <fx@gnu.org>
parents:
49588
diff
changeset
|
372 (line-number-display-limit-width display integer) |
17416 | 373 (highlight-nonselected-windows display boolean) |
374 (message-log-max debug (choice (const :tag "Disable" nil) | |
375 (integer :menu-tag "lines" | |
376 :format "%v") | |
22571
4aebb136294f
(selective-display, suggest-key-bindings,
Andreas Schwab <schwab@suse.de>
parents:
21407
diff
changeset
|
377 (other :tag "Unlimited" t))) |
24628
fc7a39405297
(all): Handle unibyte-display-via-language-environment.
Karl Heuer <kwzh@gnu.org>
parents:
24202
diff
changeset
|
378 (unibyte-display-via-language-environment mule boolean) |
59996
aac0a33f5772
Change release version from 21.4 to 22.1 throughout.
Kim F. Storm <storm@cua.dk>
parents:
59739
diff
changeset
|
379 (blink-cursor-alist cursor alist "22.1") |
72506
2434e33b748e
(all): Add `overline-margin' and `x-underline-at-descent-line'.
Kim F. Storm <storm@cua.dk>
parents:
72371
diff
changeset
|
380 (overline-margin display integer "22.1") |
72737
455031002c62
* window.el (mouse-autoselect-window-timer)
Chong Yidong <cyd@stupidchicken.com>
parents:
72611
diff
changeset
|
381 (mouse-autoselect-window |
455031002c62
* window.el (mouse-autoselect-window-timer)
Chong Yidong <cyd@stupidchicken.com>
parents:
72611
diff
changeset
|
382 display (choice |
455031002c62
* window.el (mouse-autoselect-window-timer)
Chong Yidong <cyd@stupidchicken.com>
parents:
72611
diff
changeset
|
383 (const :tag "Off (nil)" :value nil) |
455031002c62
* window.el (mouse-autoselect-window-timer)
Chong Yidong <cyd@stupidchicken.com>
parents:
72611
diff
changeset
|
384 (const :tag "Immediate" :value t) |
455031002c62
* window.el (mouse-autoselect-window-timer)
Chong Yidong <cyd@stupidchicken.com>
parents:
72611
diff
changeset
|
385 (number :tag "Delay by secs" :value 0.5)) "22.1") |
48075
801530a6c168
(selection-coding-system, scalable-fonts-allowed):
Dave Love <fx@gnu.org>
parents:
47358
diff
changeset
|
386 ;; xfaces.c |
801530a6c168
(selection-coding-system, scalable-fonts-allowed):
Dave Love <fx@gnu.org>
parents:
47358
diff
changeset
|
387 (scalable-fonts-allowed display boolean) |
17416 | 388 ;; xfns.c |
389 (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
|
390 (repeat (directory :format "%v"))) |
72970
7bd8e44a9cda
* cus-start.el (all): Rename x-gtk-show-chooser-help-text to
Jan Djärv <jan.h.d@swipnet.se>
parents:
72929
diff
changeset
|
391 (x-gtk-use-old-file-dialog menu boolean "22.1") |
67845
ff56a6742bc2
Add x-gtk-show-hidden-files
Jan Djärv <jan.h.d@swipnet.se>
parents:
67661
diff
changeset
|
392 (x-gtk-show-hidden-files menu boolean "22.1") |
72970
7bd8e44a9cda
* cus-start.el (all): Rename x-gtk-show-chooser-help-text to
Jan Djärv <jan.h.d@swipnet.se>
parents:
72929
diff
changeset
|
393 (x-gtk-file-dialog-help-text menu boolean "22.1") |
68883
64799e14a115
* cus-start.el (all): Add x-gtk-whole-detached-tool-bar
Jan Djärv <jan.h.d@swipnet.se>
parents:
68651
diff
changeset
|
394 (x-gtk-whole-detached-tool-bar x boolean "22.1") |
25296
59e6ee29c69b
Add x-stretch-cursor, indicate-empty-lines, scroll-up-aggressively,
Dave Love <fx@gnu.org>
parents:
24840
diff
changeset
|
395 ;; xterm.c |
72611
231eb88f2558
(hscroll-margin, hscroll-step)
Eli Zaretskii <eliz@gnu.org>
parents:
72506
diff
changeset
|
396 (x-use-underline-position-properties display boolean "22.1") |
72506
2434e33b748e
(all): Add `overline-margin' and `x-underline-at-descent-line'.
Kim F. Storm <storm@cua.dk>
parents:
72371
diff
changeset
|
397 (x-underline-at-descent-line display boolean "22.1") |
30167
83e9db7aeddb
Add optional version as 4th element of specs and use it for several
Dave Love <fx@gnu.org>
parents:
28569
diff
changeset
|
398 (x-stretch-cursor display boolean "21.1"))) |
60033
ec4864463fc2
(all): Allow a var to specify a standard value.
Richard M. Stallman <rms@gnu.org>
parents:
59996
diff
changeset
|
399 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
|
400 ;; This function turns a value |
64a265eaa6d7
Arrange to load it once during dumping,
Richard M. Stallman <rms@gnu.org>
parents:
17948
diff
changeset
|
401 ;; 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
|
402 (quoter (lambda (sexp) |
64a265eaa6d7
Arrange to load it once during dumping,
Richard M. Stallman <rms@gnu.org>
parents:
17948
diff
changeset
|
403 (if (or (memq sexp '(t nil)) |
28569 | 404 (keywordp sexp) |
18052
64a265eaa6d7
Arrange to load it once during dumping,
Richard M. Stallman <rms@gnu.org>
parents:
17948
diff
changeset
|
405 (and (listp sexp) |
64a265eaa6d7
Arrange to load it once during dumping,
Richard M. Stallman <rms@gnu.org>
parents:
17948
diff
changeset
|
406 (memq (car sexp) '(lambda))) |
64a265eaa6d7
Arrange to load it once during dumping,
Richard M. Stallman <rms@gnu.org>
parents:
17948
diff
changeset
|
407 (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
|
408 (numberp sexp)) |
18052
64a265eaa6d7
Arrange to load it once during dumping,
Richard M. Stallman <rms@gnu.org>
parents:
17948
diff
changeset
|
409 sexp |
64a265eaa6d7
Arrange to load it once during dumping,
Richard M. Stallman <rms@gnu.org>
parents:
17948
diff
changeset
|
410 (list 'quote sexp))))) |
49588
37645a051842
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
48939
diff
changeset
|
411 (while all |
17416 | 412 (setq this (car all) |
413 all (cdr all) | |
414 symbol (nth 0 this) | |
415 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
|
416 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
|
417 version (nth 3 this) |
60033
ec4864463fc2
(all): Allow a var to specify a standard value.
Richard M. Stallman <rms@gnu.org>
parents:
59996
diff
changeset
|
418 ;; If we did not specify any standard value expression above, |
ec4864463fc2
(all): Allow a var to specify a standard value.
Richard M. Stallman <rms@gnu.org>
parents:
59996
diff
changeset
|
419 ;; use the current value as the standard value. |
ec4864463fc2
(all): Allow a var to specify a standard value.
Richard M. Stallman <rms@gnu.org>
parents:
59996
diff
changeset
|
420 standard (if (nthcdr 4 this) |
ec4864463fc2
(all): Allow a var to specify a standard value.
Richard M. Stallman <rms@gnu.org>
parents:
59996
diff
changeset
|
421 (nth 4 this) |
60096
a9e9af4690d5
(all): Use default-boundp.
Richard M. Stallman <rms@gnu.org>
parents:
60062
diff
changeset
|
422 (when (default-boundp symbol) |
60057
c81f31db6e84
(all): Check if symbol is void.
Lute Kamstra <lute@gnu.org>
parents:
60033
diff
changeset
|
423 (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
|
424 ;; 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
|
425 ;; irrelevant to this platform. |
e4039c35f2f8
Don't warn about dos-* variables unless on MS-DOS,
Eli Zaretskii <eliz@gnu.org>
parents:
23863
diff
changeset
|
426 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
|
427 (cond |
e4039c35f2f8
Don't warn about dos-* variables unless on MS-DOS,
Eli Zaretskii <eliz@gnu.org>
parents:
23863
diff
changeset
|
428 ((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
|
429 (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
|
430 ((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
|
431 (eq system-type 'windows-nt)) |
83423
b64b7e867d0a
Merged from miles@gnu.org--gnu-2005 (patch 677)
Karoly Lorentey <lorentey@elte.hu>
diff
changeset
|
432 ((string-match "\\`mac-" (symbol-name symbol)) |
85267
46b60051ddcc
* cus-start.el (all): Use test that does not match the X11 version
Dan Nicolaescu <dann@ics.uci.edu>
parents:
85238
diff
changeset
|
433 (featurep 'mac-carbon)) |
63369
fe5c9ccf867c
(all): Don't complain about missing GTK-related variables,
Eli Zaretskii <eliz@gnu.org>
parents:
60096
diff
changeset
|
434 ((string-match "\\`x-.*gtk" (symbol-name symbol)) |
83366 | 435 (featurep 'gtk)) |
43235
19bef4fcdae8
Don't warn about "x-*" symbols when building a non-GUI version.
Eli Zaretskii <eliz@gnu.org>
parents:
43111
diff
changeset
|
436 ((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
|
437 (fboundp 'x-create-frame)) |
65401
27b65d33884f
(all): Don't complain about fringe-related
Eli Zaretskii <eliz@gnu.org>
parents:
65043
diff
changeset
|
438 ((string-match "selection" (symbol-name symbol)) |
27b65d33884f
(all): Don't complain about fringe-related
Eli Zaretskii <eliz@gnu.org>
parents:
65043
diff
changeset
|
439 (fboundp 'x-selection-exists-p)) |
27b65d33884f
(all): Don't complain about fringe-related
Eli Zaretskii <eliz@gnu.org>
parents:
65043
diff
changeset
|
440 ((string-match "fringe" (symbol-name symbol)) |
27b65d33884f
(all): Don't complain about fringe-related
Eli Zaretskii <eliz@gnu.org>
parents:
65043
diff
changeset
|
441 (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
|
442 (t t)))) |
17416 | 443 (if (not (boundp symbol)) |
444 ;; 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
|
445 (and native-p |
e4039c35f2f8
Don't warn about dos-* variables unless on MS-DOS,
Eli Zaretskii <eliz@gnu.org>
parents:
23863
diff
changeset
|
446 (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
|
447 ;; 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
|
448 (or (get symbol 'standard-value) |
60033
ec4864463fc2
(all): Allow a var to specify a standard value.
Richard M. Stallman <rms@gnu.org>
parents:
59996
diff
changeset
|
449 (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
|
450 ;; 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
|
451 ;; 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
|
452 (unless purify-flag |
64a265eaa6d7
Arrange to load it once during dumping,
Richard M. Stallman <rms@gnu.org>
parents:
17948
diff
changeset
|
453 ;; Add it to the right group. |
64a265eaa6d7
Arrange to load it once during dumping,
Richard M. Stallman <rms@gnu.org>
parents:
17948
diff
changeset
|
454 (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
|
455 ;; 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
|
456 (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
|
457 (put symbol 'custom-version version))))) |
18052
64a265eaa6d7
Arrange to load it once during dumping,
Richard M. Stallman <rms@gnu.org>
parents:
17948
diff
changeset
|
458 |
33922 | 459 (custom-add-to-group 'iswitchb 'read-buffer-function 'custom-variable) |
52129
f6cc7244ebe6
Add open-paren-in-column-0-is-defun-start,
Dave Love <fx@gnu.org>
parents:
49588
diff
changeset
|
460 (custom-add-to-group 'font-lock 'open-paren-in-column-0-is-defun-start |
f6cc7244ebe6
Add open-paren-in-column-0-is-defun-start,
Dave Love <fx@gnu.org>
parents:
49588
diff
changeset
|
461 'custom-variable) |
48075
801530a6c168
(selection-coding-system, scalable-fonts-allowed):
Dave Love <fx@gnu.org>
parents:
47358
diff
changeset
|
462 (put 'selection-coding-system 'custom-set |
801530a6c168
(selection-coding-system, scalable-fonts-allowed):
Dave Love <fx@gnu.org>
parents:
47358
diff
changeset
|
463 (lambda (symbol value) |
801530a6c168
(selection-coding-system, scalable-fonts-allowed):
Dave Love <fx@gnu.org>
parents:
47358
diff
changeset
|
464 (set-selection-coding-system value) |
801530a6c168
(selection-coding-system, scalable-fonts-allowed):
Dave Love <fx@gnu.org>
parents:
47358
diff
changeset
|
465 (set symbol value))) |
33922 | 466 |
18052
64a265eaa6d7
Arrange to load it once during dumping,
Richard M. Stallman <rms@gnu.org>
parents:
17948
diff
changeset
|
467 ;; Record cus-start as loaded |
64a265eaa6d7
Arrange to load it once during dumping,
Richard M. Stallman <rms@gnu.org>
parents:
17948
diff
changeset
|
468 ;; 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
|
469 ;; 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
|
470 ;; 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
|
471 (unless purify-flag |
64a265eaa6d7
Arrange to load it once during dumping,
Richard M. Stallman <rms@gnu.org>
parents:
17948
diff
changeset
|
472 (provide 'cus-start)) |
17416 | 473 |
84358
d2cda61c7c00
(split-window-preferred-function): Add custom info.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
83648
diff
changeset
|
474 ;; arch-tag: 4502730d-bcb3-4f5e-99a3-a86f2d54af60 |
38409
153f1b1f2efd
Emacs lisp coding convention fixes.
Pavel Janík <Pavel@Janik.cz>
parents:
35966
diff
changeset
|
475 ;;; cus-start.el ends here |