aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Eglen1998-04-17 17:24:17 +0000
committerStephen Eglen1998-04-17 17:24:17 +0000
commit786b07e8f5df204d579b2ec4ac6a8bbd99854ccd (patch)
tree6015fc2c3fb22524bc1f0e416a36d3b7b6ef41bd
parentc254bfbb6aa5b60fe91cc8a6559d189471897720 (diff)
downloademacs-786b07e8f5df204d579b2ec4ac6a8bbd99854ccd.tar.gz
emacs-786b07e8f5df204d579b2ec4ac6a8bbd99854ccd.zip
Customize.
-rw-r--r--lisp/emulation/tpu-edt.el35
-rw-r--r--lisp/emulation/tpu-extras.el18
-rw-r--r--lisp/emulation/vip.el53
3 files changed, 73 insertions, 33 deletions
diff --git a/lisp/emulation/tpu-edt.el b/lisp/emulation/tpu-edt.el
index 98e9f3b9eee..73d9cd3ee3f 100644
--- a/lisp/emulation/tpu-edt.el
+++ b/lisp/emulation/tpu-edt.el
@@ -266,6 +266,11 @@
266 266
267;;; Code: 267;;; Code:
268 268
269(defgroup tpu nil
270 "Emacs emulating TPU emulating EDT."
271 :prefix "tpu-"
272 :group 'emulations)
273
269 274
270;;; 275;;;
271;;; Version Information 276;;; Version Information
@@ -276,17 +281,25 @@
276;;; 281;;;
277;;; User Configurable Variables 282;;; User Configurable Variables
278;;; 283;;;
279(defconst tpu-have-ispell t 284(defcustom tpu-have-ispell t
280 "*If non-nil (default), TPU-edt uses ispell for spell checking.") 285 "*If non-nil (default), TPU-edt uses ispell for spell checking."
281 286 :type 'boolean
282(defconst tpu-kill-buffers-silently nil 287 :group 'tpu)
283 "*If non-nil, TPU-edt kills modified buffers without asking.") 288
284 289(defcustom tpu-kill-buffers-silently nil
285(defvar tpu-percent-scroll 75 290 "*If non-nil, TPU-edt kills modified buffers without asking."
286 "*Percentage of the screen to scroll for next/previous screen commands.") 291 :type 'boolean
287 292 :group 'tpu)
288(defvar tpu-pan-columns 16 293
289 "*Number of columns the tpu-pan functions scroll left or right.") 294(defcustom tpu-percent-scroll 75
295 "*Percentage of the screen to scroll for next/previous screen commands."
296 :type 'integer
297 :group 'tpu)
298
299(defcustom tpu-pan-columns 16
300 "*Number of columns the tpu-pan functions scroll left or right."
301 :type 'integer
302 :group 'tpu)
290 303
291 304
292;;; 305;;;
diff --git a/lisp/emulation/tpu-extras.el b/lisp/emulation/tpu-extras.el
index dbaf20ce3aa..dc16fc80ad2 100644
--- a/lisp/emulation/tpu-extras.el
+++ b/lisp/emulation/tpu-extras.el
@@ -110,17 +110,23 @@
110 110
111;;; Customization variables 111;;; Customization variables
112 112
113(defconst tpu-top-scroll-margin 0 113(defcustom tpu-top-scroll-margin 0
114 "*Scroll margin at the top of the screen. 114 "*Scroll margin at the top of the screen.
115Interpreted as a percent of the current window size.") 115Interpreted as a percent of the current window size."
116(defconst tpu-bottom-scroll-margin 0 116 :type 'integer
117 :group 'tpu)
118(defcustom tpu-bottom-scroll-margin 0
117 "*Scroll margin at the bottom of the screen. 119 "*Scroll margin at the bottom of the screen.
118Interpreted as a percent of the current window size.") 120Interpreted as a percent of the current window size."
121 :type 'integer
122 :group 'tpu)
119 123
120(defvar tpu-backward-char-like-tpu t 124(defcustom tpu-backward-char-like-tpu t
121 "*If non-nil, in free cursor mode backward-char (left-arrow) works 125 "*If non-nil, in free cursor mode backward-char (left-arrow) works
122just like TPU/edt. Otherwise, backward-char will move to the end of 126just like TPU/edt. Otherwise, backward-char will move to the end of
123the previous line when starting from a line beginning.") 127the previous line when starting from a line beginning."
128 :type 'boolean
129 :group 'tpu)
124 130
125 131
126;;; Global variables 132;;; Global variables
diff --git a/lisp/emulation/vip.el b/lisp/emulation/vip.el
index 8f8edf42b5b..78952bbb0fd 100644
--- a/lisp/emulation/vip.el
+++ b/lisp/emulation/vip.el
@@ -35,6 +35,11 @@
35 35
36;;; Code: 36;;; Code:
37 37
38(defgroup vip nil
39 "A VI Package for GNU Emacs."
40 :prefix "vip-"
41 :group 'emulations)
42
38;; external variables 43;; external variables
39 44
40(defvar vip-emacs-local-map nil 45(defvar vip-emacs-local-map nil
@@ -85,11 +90,15 @@
85(defvar vip-d-com nil 90(defvar vip-d-com nil
86 "How to reexecute last destructive command. Value is list (M-COM VAL COM).") 91 "How to reexecute last destructive command. Value is list (M-COM VAL COM).")
87 92
88(defconst vip-shift-width 8 93(defcustom vip-shift-width 8
89 "*The number of columns shifted by > and < command.") 94 "*The number of columns shifted by > and < command."
95 :type 'integer
96 :group 'vip)
90 97
91(defconst vip-re-replace nil 98(defcustom vip-re-replace nil
92 "*If t then do regexp replace, if nil then do string replace.") 99 "*If t then do regexp replace, if nil then do string replace."
100 :type 'boolean
101 :group 'vip)
93 102
94(defvar vip-d-char nil 103(defvar vip-d-char nil
95 "The character remembered by the vi \"r\" command.") 104 "The character remembered by the vi \"r\" command.")
@@ -106,11 +115,15 @@
106(defvar vip-f-offset nil 115(defvar vip-f-offset nil
107 "For use by \";\" command.") 116 "For use by \";\" command.")
108 117
109(defconst vip-search-wrap-around t 118(defcustom vip-search-wrap-around t
110 "*if t, search wraps around.") 119 "*If t, search wraps around."
120 :type 'boolean
121 :group 'vip)
111 122
112(defconst vip-re-search nil 123(defcustom vip-re-search nil
113 "*if t, search is reg-exp search, otherwise vanilla search.") 124 "*If t, search is reg-exp search, otherwise vanilla search."
125 :type 'boolean
126 :group 'vip)
114 127
115(defvar vip-s-string nil 128(defvar vip-s-string nil
116 "Last vip search string.") 129 "Last vip search string.")
@@ -118,18 +131,26 @@
118(defvar vip-s-forward nil 131(defvar vip-s-forward nil
119 "If t, search is forward.") 132 "If t, search is forward.")
120 133
121(defconst vip-case-fold-search nil 134(defcustom vip-case-fold-search nil
122 "*If t, search ignores cases.") 135 "*If t, search ignores cases."
136 :type 'boolean
137 :group 'vip)
123 138
124(defconst vip-re-query-replace nil 139(defcustom vip-re-query-replace nil
125 "*If t then do regexp replace, if nil then do string replace.") 140 "*If t then do regexp replace, if nil then do string replace."
141 :type 'boolean
142 :group 'vip)
126 143
127(defconst vip-open-with-indent nil 144(defcustom vip-open-with-indent nil
128 "*If t, indent when open a new line.") 145 "*If t, indent when open a new line."
146 :type 'boolean
147 :group 'vip)
129 148
130(defconst vip-help-in-insert-mode nil 149(defcustom vip-help-in-insert-mode nil
131 "*If t then C-h is bound to help-command in insert mode. 150 "*If t then C-h is bound to help-command in insert mode.
132If nil then it is bound to `delete-backward-char'.") 151If nil then it is bound to `delete-backward-char'."
152 :type 'boolean
153 :group 'vip)
133 154
134(defvar vip-quote-string "> " 155(defvar vip-quote-string "> "
135 "String inserted at the beginning of region.") 156 "String inserted at the beginning of region.")