428
+ − 1 ;;; cus-start.el --- define customization properties of builtins.
+ − 2
+ − 3 ;; Copyright (C) 1997 Free Software Foundation, Inc.
+ − 4
+ − 5 ;; Author: Per Abrahamsen <abraham@dina.kvl.dk>
+ − 6 ;; Maintainer: XEmacs Development Team
+ − 7 ;; Keywords: internal, dumped
+ − 8
+ − 9 ;; This file is part of XEmacs.
+ − 10
+ − 11 ;; XEmacs is free software; you can redistribute it and/or modify it
+ − 12 ;; 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 ;; XEmacs is distributed in the hope that it will be useful, but
+ − 17 ;; WITHOUT ANY WARRANTY; without even the implied warranty of
+ − 18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ − 19 ;; General Public License for more details.
+ − 20
+ − 21 ;; You should have received a copy of the GNU General Public License
+ − 22 ;; along with XEmacs; see the file COPYING. If not, write to the Free
+ − 23 ;; Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+ − 24 ;; 02111-1307, USA.
+ − 25
+ − 26 ;;; Synched up with: Not synched with FSF.
+ − 27
+ − 28 ;;; Commentary:
+ − 29
+ − 30 ;; This file is dumped with XEmacs.
+ − 31
+ − 32 ;; The following code is used to define the customization properties
+ − 33 ;; for builtin variables, and variables in the packages that are
+ − 34 ;; preloaded /very/ early, before custom.el itself (replace.el is such
+ − 35 ;; an example). The way it handles custom stuff is dirty, and should
+ − 36 ;; be regarded as a last resort. DO NOT add variables here, unless
+ − 37 ;; you know what you are doing.
+ − 38
+ − 39 ;; Must be run before the user has changed the value of any options!
+ − 40
+ − 41
+ − 42 ;;; Code:
+ − 43
+ − 44 (require 'custom)
+ − 45
+ − 46 (let ((all '(;; boolean
+ − 47 (abbrev-all-caps abbrev boolean)
+ − 48 (allow-deletion-of-last-visible-frame frames boolean)
3092
+ − 49 (allow-incremental-gc alloc boolean)
428
+ − 50 (debug-on-quit debug boolean)
+ − 51 (delete-auto-save-files auto-save boolean)
+ − 52 (delete-exited-processes processes-basics boolean)
1154
+ − 53 (garbage-collection-messages alloc boolean)
428
+ − 54 (indent-tabs-mode editing-basics boolean)
+ − 55 (load-ignore-elc-files maint boolean)
1123
+ − 56 (load-ignore-out-of-date-elc-files maint boolean)
+ − 57 (load-show-full-path-in-messages maint boolean)
+ − 58 (load-always-display-messages maint boolean)
428
+ − 59 (load-warn-when-source-newer maint boolean)
+ − 60 (load-warn-when-source-only maint boolean)
+ − 61 (modifier-keys-are-sticky keyboard boolean)
+ − 62 (no-redraw-on-reenter display boolean)
+ − 63 (scroll-on-clipped-lines display boolean)
+ − 64 (truncate-partial-width-windows display boolean)
+ − 65 (visible-bell sound boolean)
+ − 66 (x-allow-sendevents x boolean)
+ − 67 (zmacs-regions editing-basics boolean)
442
+ − 68 (load-home-init-file installation boolean)
428
+ − 69 ;; integer
+ − 70 (auto-save-interval auto-save integer)
+ − 71 (bell-volume sound integer)
+ − 72 (bell-inhibit-time sound integer)
+ − 73 (echo-keystrokes keyboard integer)
+ − 74 (gc-cons-threshold alloc integer)
3092
+ − 75 (gc-cons-incremental-threshold alloc integer)
+ − 76 (gc-incremental-traversal-threshold alloc integer)
428
+ − 77 (next-screen-context-lines display integer)
+ − 78 (scroll-conservatively display integer)
+ − 79 (scroll-step windows integer)
+ − 80 (window-min-height windows integer)
+ − 81 (window-min-width windows integer)
+ − 82 ;; object
+ − 83 (auto-save-file-format auto-save
+ − 84 (choice (const :tag "Normal" t)
+ − 85 (repeat (symbol :tag "Format"))))
+ − 86 (completion-ignored-extensions minibuffer
+ − 87 (repeat
+ − 88 (string :format "%v")))
+ − 89 (debug-ignored-errors debug (repeat (choice :format "%v"
+ − 90 (symbol :tag "Class")
+ − 91 regexp)))
+ − 92 (debug-on-error debug (choice (const :tag "off" nil)
+ − 93 (const :tag "Always" t)
+ − 94 (repeat :menu-tag "When"
+ − 95 :value (nil)
+ − 96 (symbol
+ − 97 :tag "Condition"))))
+ − 98 (debug-on-signal debug (choice (const :tag "off" nil)
+ − 99 (const :tag "Always" t)
+ − 100 (repeat :menu-tag "When"
+ − 101 :value (nil)
+ − 102 (symbol
+ − 103 :tag "Condition"))))
+ − 104 (exec-path processes-basics (repeat
+ − 105 (choice :tag "Directory"
+ − 106 (const :tag "Default" nil)
+ − 107 (directory :format "%v"))))
+ − 108 (file-name-handler-alist data (repeat
+ − 109 (cons regexp
+ − 110 (function :tag "Handler"))))
+ − 111 (shell-file-name execute file)
+ − 112 (stack-trace-on-error debug (choice (const :tag "off" nil)
+ − 113 (const :tag "Always" t)
+ − 114 (repeat :menu-tag "When"
+ − 115 :value (nil)
+ − 116 (symbol
+ − 117 :tag "Condition"))))
+ − 118 (stack-trace-on-signal debug (choice (const :tag "off" nil)
+ − 119 (const :tag "Always" t)
+ − 120 (repeat :menu-tag "When"
+ − 121 :value (nil)
+ − 122 (symbol
+ − 123 :tag "Condition"))))
732
+ − 124 (modifier-keys-sticky-time keyboard
+ − 125 (choice (integer :tag "Milliseconds")
+ − 126 (const :tag "Unbounded" 'unbounded)))
428
+ − 127 ;; buffer-local
+ − 128 (case-fold-search matching boolean)
+ − 129 (ctl-arrow display (choice (integer 160)
+ − 130 (sexp :tag "160 (default)"
+ − 131 :format "%t\n")))
+ − 132 (fill-column fill integer)
+ − 133 (left-margin fill integer)
+ − 134 (tab-width editing-basics integer)
+ − 135 (truncate-lines display boolean)
+ − 136 (overwrite-mode editing-basics ;; for the options menu - dverna
+ − 137 (choice (const :tag "disabled" nil)
+ − 138 (const :tag "textual"
+ − 139 'overwrite-mode-textual)
+ − 140 (const :tag "binary"
+ − 141 'overwrite-mode-binary)))
+ − 142 ;; not documented as user-options, but should still be
+ − 143 ;; customizable:
+ − 144 (bar-cursor display (choice (const :tag "Block Cursor" nil)
+ − 145 (const :tag "Bar Cursor (1 pixel)" t)
+ − 146 (sexp :tag "Bar Cursor (2 pixels)"
+ − 147 :format "%t\n" 'other)))
+ − 148 (default-frame-plist frames plist)
+ − 149 (default-tty-frame-plist frames plist)
+ − 150 (default-x-frame-plist frames plist)
+ − 151 (disable-auto-save-when-buffer-shrinks auto-save boolean)
+ − 152 (find-file-use-truenames find-file boolean)
+ − 153 (find-file-compare-truenames find-file boolean)
+ − 154 (focus-follows-mouse x boolean)
+ − 155 (help-char keyboard (choice character
+ − 156 (sexp :tag "Single key specifier")))
+ − 157 (max-lisp-eval-depth limits integer)
+ − 158 (max-specpdl-size limits integer)
+ − 159 (meta-prefix-char keyboard character)
+ − 160 (parse-sexp-ignore-comments editing-basics boolean)
+ − 161 (selective-display display
+ − 162 (choice (const :tag "off" nil)
+ − 163 (integer :tag "space"
+ − 164 :format "%v"
+ − 165 1)
+ − 166 (const :tag "on" t)))
+ − 167 (selective-display-ellipses display boolean)
+ − 168 (signal-error-on-buffer-boundary internal boolean)
+ − 169 (temp-buffer-show-function
+ − 170 windows (radio (function-item :tag "Temp Buffers Always in Same Frame"
+ − 171 :format "%t\n"
+ − 172 show-temp-buffer-in-current-frame)
+ − 173 (const :tag "Temp Buffers Like Other Buffers" nil)
+ − 174 (function :tag "Other")))
+ − 175 (undo-threshold undo integer)
+ − 176 (undo-high-threshold undo integer)
+ − 177 (words-include-escapes editing-basics boolean)
+ − 178 ;; These are from replace.el, which is loaded too early
+ − 179 ;; to be customizable.
+ − 180 (case-replace matching boolean)
+ − 181 (query-replace-highlight matching boolean)
+ − 182 (list-matching-lines-default-context-lines matching integer)))
+ − 183 this symbol group type)
+ − 184 (while all
+ − 185 (setq this (car all)
+ − 186 all (cdr all)
+ − 187 symbol (nth 0 this)
+ − 188 group (nth 1 this)
+ − 189 type (nth 2 this))
+ − 190 (if (not (boundp symbol))
+ − 191 ;; This is loaded so early, there is no message
+ − 192 (if (fboundp 'message)
+ − 193 ;; If variables are removed from C code, give an error here!
+ − 194 (message "Intrinsic `%S' not bound" symbol))
+ − 195 ;; This is called before any user can have changed the value.
+ − 196 (put symbol 'standard-value
+ − 197 (list (quote-maybe (default-value symbol))))
+ − 198 ;; Add it to the right group.
+ − 199 (custom-add-to-group group symbol 'custom-variable)
+ − 200 ;; Set the type.
+ − 201 (put symbol 'custom-type type))))
+ − 202
+ − 203 ;; This is to prevent it from being reloaded by `cus-load.el'.
+ − 204 (provide 'cus-start)
+ − 205
+ − 206 ;;; cus-start.el ends here.