annotate lisp/prim/auto-autoloads.el @ 195:a2f645c6b9f8 r20-3b24

Import from CVS: tag r20-3b24
author cvs
date Mon, 13 Aug 2007 09:59:05 +0200
parents 489f57a838ef
children 169c0442b401
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 161
diff changeset
1 ;;; DO NOT MODIFY THIS FILE
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 173
diff changeset
2 (if (featurep 'prim-autoloads) (error "Already loaded"))
78
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
3
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
4 ;;;### (autoloads (about-xemacs) "about" "prim/about.el")
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
5
155
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 153
diff changeset
6 (autoload 'about-xemacs "about" "\
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 153
diff changeset
7 Describe the True Editor and its minions." t nil)
78
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
8
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
9 ;;;***
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
10
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
11 ;;;### (autoloads (all-hail-emacs all-hail-xemacs praise-be-unto-emacs praise-be-unto-xemacs) "advocacy" "prim/advocacy.el")
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
12
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
13 (defvar xemacs-praise-sound-file "sounds/im_so_happy.au" "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
14 The name of an audio file containing something to play
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
15 when praising XEmacs")
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
16
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
17 (defvar xemacs-praise-message "All Hail XEmacs!\n" "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
18 What to praise XEmacs with")
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
19
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
20 (autoload 'praise-be-unto-xemacs "advocacy" "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
21 All Hail XEmacs!" t nil)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
22
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
23 (autoload 'praise-be-unto-emacs "advocacy" nil t nil)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
24
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
25 (autoload 'all-hail-xemacs "advocacy" "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
26 All Hail XEmacs!" t nil)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
27
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
28 (autoload 'all-hail-emacs "advocacy" nil t nil)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
29
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
30 ;;;***
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
31
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
32 ;;;### (autoloads (describe-buffer-case-table) "case-table" "prim/case-table.el")
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
33
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
34 (autoload 'describe-buffer-case-table "case-table" "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
35 Describe the case table of the current buffer." t nil)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
36
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
37 ;;;***
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
38
108
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 106
diff changeset
39 ;;;### (autoloads (batch-remove-old-elc) "cleantree" "prim/cleantree.el")
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 106
diff changeset
40
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 106
diff changeset
41 (autoload 'batch-remove-old-elc "cleantree" nil nil nil)
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 106
diff changeset
42
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 106
diff changeset
43 ;;;***
360340f9fd5f Import from CVS: tag r20-1b6
cvs
parents: 106
diff changeset
44
78
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
45 ;;;### (autoloads (cancel-debug-on-entry debug-on-entry debug) "debug" "prim/debug.el")
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
46
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
47 (autoload 'debug "debug" "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
48 Enter debugger. To return, type \\<debugger-mode-map>`\\[debugger-continue]'.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
49 Arguments are mainly for use when this is called from the internals
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
50 of the evaluator.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
51
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
52 You may call with no args, or you may pass nil as the first arg and
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
53 any other args you like. In that case, the list of args after the
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
54 first will be printed into the backtrace buffer." t nil)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
55
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
56 (autoload 'debug-on-entry "debug" "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
57 Request FUNCTION to invoke debugger each time it is called.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
58 If you tell the debugger to continue, FUNCTION's execution proceeds.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
59 This works by modifying the definition of FUNCTION,
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
60 which must be written in Lisp, not predefined.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
61 Use \\[cancel-debug-on-entry] to cancel the effect of this command.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
62 Redefining FUNCTION also cancels it." t nil)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
63
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
64 (autoload 'cancel-debug-on-entry "debug" "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
65 Undo effect of \\[debug-on-entry] on FUNCTION.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
66 If argument is nil or an empty string, cancel for all functions." t nil)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
67
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
68 ;;;***
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
69
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
70 ;;;### (autoloads (standard-display-european standard-display-underline standard-display-graphic standard-display-g1 standard-display-ascii standard-display-default standard-display-8bit make-display-table describe-current-display-table) "disp-table" "prim/disp-table.el")
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
71
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
72 (autoload 'describe-current-display-table "disp-table" "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
73 Describe the display table in use in the selected window and buffer." t nil)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
74
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
75 (autoload 'make-display-table "disp-table" "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
76 Return a new, empty display table." nil nil)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
77
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
78 (autoload 'standard-display-8bit "disp-table" "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
79 Display characters in the range L to H literally." nil nil)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
80
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
81 (autoload 'standard-display-default "disp-table" "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
82 Display characters in the range L to H using the default notation." nil nil)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
83
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
84 (autoload 'standard-display-ascii "disp-table" "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
85 Display character C using printable string S." nil nil)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
86
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
87 (autoload 'standard-display-g1 "disp-table" "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
88 Display character C as character SC in the g1 character set.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
89 This function assumes that your terminal uses the SO/SI characters;
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
90 it is meaningless for an X frame." nil nil)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
91
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
92 (autoload 'standard-display-graphic "disp-table" "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
93 Display character C as character GC in graphics character set.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
94 This function assumes VT100-compatible escapes; it is meaningless for an
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
95 X frame." nil nil)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
96
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
97 (autoload 'standard-display-underline "disp-table" "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
98 Display character C as character UC plus underlining." nil nil)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
99
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
100 (autoload 'standard-display-european "disp-table" "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
101 Toggle display of European characters encoded with ISO 8859.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
102 When enabled, characters in the range of 160 to 255 display not
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
103 as octal escapes, but as accented characters.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
104 With prefix argument, enable European character display iff arg is positive." t nil)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
105
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
106 ;;;***
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
107
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
108 ;;;### (autoloads (setenv) "env" "prim/env.el")
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
109
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
110 (autoload 'setenv "env" "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
111 Set the value of the environment variable named VARIABLE to VALUE.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
112 VARIABLE should be a string. VALUE is optional; if not provided or is
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
113 `nil', the environment variable VARIABLE will be removed.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
114
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
115 Interactively, a prefix argument means to unset the variable.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
116 Interactively, the current value (if any) of the variable
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
117 appears at the front of the history list when you type in the new value.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
118
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
119 This function works by modifying `process-environment'." t nil)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
120
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
121 ;;;***
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
122
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
123 ;;;### (autoloads nil "itimer-autosave" "prim/itimer-autosave.el")
78
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
124
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
125 ;;;***
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
126
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
127 ;;;### (autoloads nil "loaddefs" "prim/loaddefs.el")
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
128
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
129 ;;;***
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
130
173
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 167
diff changeset
131 ;;;### (autoloads (apply-macro-to-region-lines kbd-macro-query insert-kbd-macro name-last-kbd-macro) "macros" "prim/macros.el")
78
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
132
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
133 (autoload 'name-last-kbd-macro "macros" "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
134 Assign a name to the last keyboard macro defined.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
135 Argument SYMBOL is the name to define.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
136 The symbol's function definition becomes the keyboard macro string.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
137 Such a \"function\" cannot be called from Lisp, but it is a valid
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
138 editor command." t nil)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
139
173
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 167
diff changeset
140 (autoload 'insert-kbd-macro "macros" "\
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 167
diff changeset
141 Insert in buffer the definition of kbd macro NAME, as Lisp code.
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 167
diff changeset
142 Optional second arg KEYS means also record the keys it is on
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 167
diff changeset
143 \(this is the prefix argument, when calling interactively).
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 167
diff changeset
144
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 167
diff changeset
145 This Lisp code will, when executed, define the kbd macro with the same
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 167
diff changeset
146 definition it has now. If you say to record the keys, the Lisp code
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 167
diff changeset
147 will also rebind those keys to the macro. Only global key bindings
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 167
diff changeset
148 are recorded since executing this Lisp code always makes global
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 167
diff changeset
149 bindings.
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 167
diff changeset
150
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 167
diff changeset
151 To save a kbd macro, visit a file of Lisp code such as your `~/.emacs',
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 167
diff changeset
152 use this command, and then save the file." t nil)
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 167
diff changeset
153
78
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
154 (autoload 'kbd-macro-query "macros" "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
155 Query user during kbd macro execution.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
156 With prefix argument, enters recursive edit,
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
157 reading keyboard commands even within a kbd macro.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
158 You can give different commands each time the macro executes.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
159 Without prefix argument, asks whether to continue running the macro.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
160 Your options are: \\<query-replace-map>
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
161 \\[act] Finish this iteration normally and continue with the next.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
162 \\[skip] Skip the rest of this iteration, and start the next.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
163 \\[exit] Stop the macro entirely right now.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
164 \\[recenter] Redisplay the frame, then ask again.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
165 \\[edit] Enter recursive edit; ask again when you exit from that." t nil)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
166
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
167 (autoload 'apply-macro-to-region-lines "macros" "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
168 For each complete line between point and mark, move to the beginning
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
169 of the line, and run the last keyboard macro.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
170
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
171 When called from lisp, this function takes two arguments TOP and
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
172 BOTTOM, describing the current region. TOP must be before BOTTOM.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
173 The optional third argument MACRO specifies a keyboard macro to
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
174 execute.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
175
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
176 This is useful for quoting or unquoting included text, adding and
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
177 removing comments, or producing tables where the entries are regular.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
178
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
179 For example, in Usenet articles, sections of text quoted from another
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
180 author are indented, or have each line start with `>'. To quote a
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
181 section of text, define a keyboard macro which inserts `>', put point
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
182 and mark at opposite ends of the quoted section, and use
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
183 `\\[apply-macro-to-region-lines]' to mark the entire section.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
184
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
185 Suppose you wanted to build a keyword table in C where each entry
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
186 looked like this:
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
187
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
188 { \"foo\", foo_data, foo_function },
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
189 { \"bar\", bar_data, bar_function },
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
190 { \"baz\", baz_data, baz_function },
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
191
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
192 You could enter the names in this format:
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
193
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
194 foo
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
195 bar
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
196 baz
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
197
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
198 and write a macro to massage a word into a table entry:
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
199
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
200 \\C-x (
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
201 \\M-d { \"\\C-y\", \\C-y_data, \\C-y_function },
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
202 \\C-x )
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
203
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
204 and then select the region of un-tablified names and use
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
205 `\\[apply-macro-to-region-lines]' to build the table from the names.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
206 " t nil)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
207
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
208 ;;;***
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
209
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
210 ;;;### (autoloads (disable-command enable-command disabled-command-hook) "novice" "prim/novice.el")
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
211
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
212 (autoload 'disabled-command-hook "novice" nil nil nil)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
213
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
214 (autoload 'enable-command "novice" "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
215 Allow COMMAND to be executed without special confirmation from now on.
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 161
diff changeset
216 The user's `custom-file' is altered so that this will apply
78
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
217 to future sessions." t nil)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
218
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
219 (autoload 'disable-command "novice" "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
220 Require special confirmation to execute COMMAND from now on.
195
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 189
diff changeset
221 The user's `custom-file' is altered so that this will apply
78
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
222 to future sessions." t nil)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
223
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
224 ;;;***
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
225
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
226 ;;;### (autoloads (edit-options list-options) "options" "prim/options.el")
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
227
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
228 (autoload 'list-options "options" "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
229 Display a list of XEmacs user options, with values and documentation." t nil)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
230
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
231 (autoload 'edit-options "options" "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
232 Edit a list of XEmacs user option values.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
233 Selects a buffer containing such a list,
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
234 in which there are commands to set the option values.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
235 Type \\[describe-mode] in that buffer for a list of commands." t nil)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
236
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
237 ;;;***
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
238
167
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents: 165
diff changeset
239 ;;;### (autoloads (profile-key-sequence profile pretty-print-profiling-info) "profile" "prim/profile.el")
155
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 153
diff changeset
240
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 153
diff changeset
241 (autoload 'pretty-print-profiling-info "profile" "\
167
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents: 165
diff changeset
242 Print profiling info INFO to STREAM in a pretty format.
155
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 153
diff changeset
243 If INFO is omitted, the current profiling info is retrieved using
167
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents: 165
diff changeset
244 `get-profiling-info'.
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents: 165
diff changeset
245 If STREAM is omitted, either current buffer or standard output are used,
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents: 165
diff changeset
246 depending on whether the function was called interactively or not." t nil)
155
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 153
diff changeset
247
165
5a88923fcbfe Import from CVS: tag r20-3b9
cvs
parents: 163
diff changeset
248 (autoload 'profile "profile" "\
173
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 167
diff changeset
249 Turn on profiling, execute FORMS and restore profiling state.
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 167
diff changeset
250 Profiling state here means that if profiling was not in effect when
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 167
diff changeset
251 PROFILE was called, it will be turned off after FORMS are evaluated.
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 167
diff changeset
252 Otherwise, profiling will be left running.
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 167
diff changeset
253
165
5a88923fcbfe Import from CVS: tag r20-3b9
cvs
parents: 163
diff changeset
254 Returns the profiling info, printable by `pretty-print-profiling-info'." nil 'macro)
5a88923fcbfe Import from CVS: tag r20-3b9
cvs
parents: 163
diff changeset
255
167
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents: 165
diff changeset
256 (autoload 'profile-key-sequence "profile" "\
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents: 165
diff changeset
257 Dispatch the key sequence KEYS and profile the execution.
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents: 165
diff changeset
258 KEYS can be a vector of keypress events, a keypress event, or a character.
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents: 165
diff changeset
259 The function returns the profiling info." t nil)
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents: 165
diff changeset
260
155
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 153
diff changeset
261 ;;;***
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 153
diff changeset
262
78
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
263 ;;;### (autoloads (clear-rectangle string-rectangle open-rectangle insert-rectangle yank-rectangle kill-rectangle extract-rectangle delete-extract-rectangle delete-rectangle) "rect" "prim/rect.el")
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
264
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
265 (autoload 'delete-rectangle "rect" "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
266 Delete (don't save) text in rectangle with point and mark as corners.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
267 The same range of columns is deleted in each line starting with the line
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
268 where the region begins and ending with the line where the region ends." t nil)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
269
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
270 (autoload 'delete-extract-rectangle "rect" "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
271 Delete contents of rectangle and return it as a list of strings.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
272 Arguments START and END are the corners of the rectangle.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
273 The value is list of strings, one for each line of the rectangle." nil nil)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
274
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
275 (autoload 'extract-rectangle "rect" "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
276 Return contents of rectangle with corners at START and END.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
277 Value is list of strings, one for each line of the rectangle." nil nil)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
278
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
279 (defvar killed-rectangle nil "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
280 Rectangle for yank-rectangle to insert.")
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
281
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
282 (autoload 'kill-rectangle "rect" "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
283 Delete rectangle with corners at point and mark; save as last killed one.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
284 Calling from program, supply two args START and END, buffer positions.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
285 But in programs you might prefer to use `delete-extract-rectangle'." t nil)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
286
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
287 (autoload 'yank-rectangle "rect" "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
288 Yank the last killed rectangle with upper left corner at point." t nil)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
289
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
290 (autoload 'insert-rectangle "rect" "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
291 Insert text of RECTANGLE with upper left corner at point.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
292 RECTANGLE's first line is inserted at point, its second
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
293 line is inserted at a point vertically under point, etc.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
294 RECTANGLE should be a list of strings.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
295 After this command, the mark is at the upper left corner
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
296 and point is at the lower right corner." nil nil)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
297
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
298 (autoload 'open-rectangle "rect" "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
299 Blank out rectangle with corners at point and mark, shifting text right.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
300 The text previously in the region is not overwritten by the blanks,
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
301 but instead winds up to the right of the rectangle." t nil)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
302
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
303 (autoload 'string-rectangle "rect" "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
304 Insert STRING on each line of the region-rectangle, shifting text right.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
305 The left edge of the rectangle specifies the column for insertion.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
306 This command does not delete or overwrite any existing text.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
307
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
308 Called from a program, takes three args; START, END and STRING." t nil)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
309
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
310 (autoload 'clear-rectangle "rect" "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
311 Blank out rectangle with corners at point and mark.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
312 The text previously in the region is overwritten by the blanks.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
313 When called from a program, requires two args which specify the corners." t nil)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
314
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
315 ;;;***
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
316
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
317 ;;;### (autoloads (reposition-window) "reposition" "prim/reposition.el")
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
318
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
319 (autoload 'reposition-window "reposition" "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
320 Make the current definition and/or comment visible.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
321 Further invocations move it to the top of the window or toggle the
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
322 visibility of comments that precede it.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
323 Point is left unchanged unless prefix ARG is supplied.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
324 If the definition is fully onscreen, it is moved to the top of the
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
325 window. If it is partly offscreen, the window is scrolled to get the
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
326 definition (or as much as will fit) onscreen, unless point is in a comment
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
327 which is also partly offscreen, in which case the scrolling attempts to get
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
328 as much of the comment onscreen as possible.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
329 Initially `reposition-window' attempts to make both the definition and
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
330 preceding comments visible. Further invocations toggle the visibility of
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
331 the comment lines.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
332 If ARG is non-nil, point may move in order to make the whole defun
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
333 visible (if only part could otherwise be made so), to make the defun line
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
334 visible (if point is in code and it could not be made so, or if only
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
335 comments, including the first comment line, are visible), or to make the
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
336 first comment line visible (if point is in a comment)." t nil)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
337
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
338 ;;;***
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
339
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
340 ;;;### (autoloads (reverse-region sort-columns sort-regexp-fields sort-fields sort-float-fields sort-numeric-fields sort-pages sort-paragraphs sort-lines sort-subr) "sort" "prim/sort.el")
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
341
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
342 (autoload 'sort-subr "sort" "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
343 General text sorting routine to divide buffer into records and sort them.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
344 Arguments are REVERSE NEXTRECFUN ENDRECFUN &optional STARTKEYFUN ENDKEYFUN.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
345
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
346 We divide the accessible portion of the buffer into disjoint pieces
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
347 called sort records. A portion of each sort record (perhaps all of
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
348 it) is designated as the sort key. The records are rearranged in the
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
349 buffer in order by their sort keys. The records may or may not be
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
350 contiguous.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
351
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
352 Usually the records are rearranged in order of ascending sort key.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
353 If REVERSE is non-nil, they are rearranged in order of descending sort key.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
354 The variable `sort-fold-case' determines whether alphabetic case affects
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
355 the sort order.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
356
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
357 The next four arguments are functions to be called to move point
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
358 across a sort record. They will be called many times from within sort-subr.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
359
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
360 NEXTRECFUN is called with point at the end of the previous record.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
361 It moves point to the start of the next record.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
362 It should move point to the end of the buffer if there are no more records.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
363 The first record is assumed to start at the position of point when sort-subr
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
364 is called.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
365
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
366 ENDRECFUN is called with point within the record.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
367 It should move point to the end of the record.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
368
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
369 STARTKEYFUN moves from the start of the record to the start of the key.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
370 It may return either a non-nil value to be used as the key, or
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
371 else the key is the substring between the values of point after
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
372 STARTKEYFUN and ENDKEYFUN are called. If STARTKEYFUN is nil, the key
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
373 starts at the beginning of the record.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
374
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
375 ENDKEYFUN moves from the start of the sort key to the end of the sort key.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
376 ENDKEYFUN may be nil if STARTKEYFUN returns a value or if it would be the
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
377 same as ENDRECFUN." nil nil)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
378
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
379 (autoload 'sort-lines "sort" "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
380 Sort lines in region alphabetically; argument means descending order.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
381 Called from a program, there are three arguments:
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
382 REVERSE (non-nil means reverse order), BEG and END (region to sort).
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
383 The variable `sort-fold-case' determines whether alphabetic case affects
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
384 the sort order." t nil)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
385
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
386 (autoload 'sort-paragraphs "sort" "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
387 Sort paragraphs in region alphabetically; argument means descending order.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
388 Called from a program, there are three arguments:
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
389 REVERSE (non-nil means reverse order), BEG and END (region to sort).
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
390 The variable `sort-fold-case' determines whether alphabetic case affects
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
391 the sort order." t nil)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
392
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
393 (autoload 'sort-pages "sort" "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
394 Sort pages in region alphabetically; argument means descending order.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
395 Called from a program, there are three arguments:
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
396 REVERSE (non-nil means reverse order), BEG and END (region to sort).
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
397 The variable `sort-fold-case' determines whether alphabetic case affects
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
398 the sort order." t nil)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
399
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
400 (autoload 'sort-numeric-fields "sort" "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
401 Sort lines in region numerically by the ARGth field of each line.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
402 Fields are separated by whitespace and numbered from 1 up.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
403 Specified field must contain a number in each line of the region.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
404 With a negative arg, sorts by the ARGth field counted from the right.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
405 Called from a program, there are three arguments:
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
406 FIELD, BEG and END. BEG and END specify region to sort.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
407 The variable `sort-fold-case' determines whether alphabetic case affects
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
408 the sort order.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
409 If you want to sort floating-point numbers, try `sort-float-fields'." t nil)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
410
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
411 (autoload 'sort-float-fields "sort" "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
412 Sort lines in region numerically by the ARGth field of each line.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
413 Fields are separated by whitespace and numbered from 1 up. Specified field
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
414 must contain a floating point number in each line of the region. With a
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
415 negative arg, sorts by the ARGth field counted from the right. Called from a
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
416 program, there are three arguments: FIELD, BEG and END. BEG and END specify
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
417 region to sort." t nil)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
418
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
419 (autoload 'sort-fields "sort" "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
420 Sort lines in region lexicographically by the ARGth field of each line.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
421 Fields are separated by whitespace and numbered from 1 up.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
422 With a negative arg, sorts by the ARGth field counted from the right.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
423 Called from a program, there are three arguments:
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
424 FIELD, BEG and END. BEG and END specify region to sort." t nil)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
425
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
426 (autoload 'sort-regexp-fields "sort" "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
427 Sort the region lexicographically as specified by RECORD-REGEXP and KEY.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
428 RECORD-REGEXP specifies the textual units which should be sorted.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
429 For example, to sort lines RECORD-REGEXP would be \"^.*$\"
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
430 KEY specifies the part of each record (ie each match for RECORD-REGEXP)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
431 is to be used for sorting.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
432 If it is \"\\\\digit\" then the digit'th \"\\\\(...\\\\)\" match field from
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
433 RECORD-REGEXP is used.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
434 If it is \"\\\\&\" then the whole record is used.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
435 Otherwise, it is a regular-expression for which to search within the record.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
436 If a match for KEY is not found within a record then that record is ignored.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
437
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
438 With a negative prefix arg sorts in reverse order.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
439
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
440 The variable `sort-fold-case' determines whether alphabetic case affects
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
441 the sort order.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
442
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
443 For example: to sort lines in the region by the first word on each line
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
444 starting with the letter \"f\",
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
445 RECORD-REGEXP would be \"^.*$\" and KEY would be \"\\\\=\\<f\\\\w*\\\\>\"" t nil)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
446
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
447 (autoload 'sort-columns "sort" "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
448 Sort lines in region alphabetically by a certain range of columns.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
449 For the purpose of this command, the region includes
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
450 the entire line that point is in and the entire line the mark is in.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
451 The column positions of point and mark bound the range of columns to sort on.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
452 A prefix argument means sort into reverse order.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
453 The variable `sort-fold-case' determines whether alphabetic case affects
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
454 the sort order.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
455
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
456 Note that `sort-columns' rejects text that contains tabs,
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
457 because tabs could be split across the specified columns
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
458 and it doesn't know how to handle that. Also, when possible,
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
459 it uses the `sort' utility program, which doesn't understand tabs.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
460 Use \\[untabify] to convert tabs to spaces before sorting." t nil)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
461
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
462 (autoload 'reverse-region "sort" "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
463 Reverse the order of lines in a region.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
464 From a program takes two point or marker arguments, BEG and END." t nil)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
465
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
466 ;;;***
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
467
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
468 ;;;### (autoloads (load-default-sounds load-sound-file) "sound" "prim/sound.el")
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
469
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
470 (or sound-alist (setq sound-alist '((ready nil) (warp nil))))
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
471
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
472 (autoload 'load-sound-file "sound" "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
473 Read in an audio-file and add it to the sound-alist.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
474
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 88
diff changeset
475 You can only play sound files if you are running on display 0 of the
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 88
diff changeset
476 console of a machine with native sound support or running a NetAudio
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 88
diff changeset
477 server and XEmacs has the necessary sound support compiled in.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 88
diff changeset
478
124
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 120
diff changeset
479 The sound file must be in the Sun/NeXT U-LAW format, except on Linux,
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 120
diff changeset
480 where .wav files are also supported by the sound card drivers." t nil)
78
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
481
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
482 (autoload 'load-default-sounds "sound" "\
124
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 120
diff changeset
483 Load and install some sound files as beep-types, using
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 120
diff changeset
484 `load-sound-file'. This only works if you're on display 0 of the
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 120
diff changeset
485 console of a machine with native sound support or running a NetAudio
9b50b4588a93 Import from CVS: tag r20-1b15
cvs
parents: 120
diff changeset
486 server and XEmacs has the necessary sound support compiled in." t nil)
78
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
487
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
488 ;;;***
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
489
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
490 ;;;### (autoloads (tabify untabify) "tabify" "prim/tabify.el")
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
491
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
492 (autoload 'untabify "tabify" "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
493 Convert all tabs in region to multiple spaces, preserving columns.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
494 Called non-interactively, the region is specified by arguments
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
495 START and END, rather than by the position of point and mark.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
496 The variable `tab-width' controls the spacing of tab stops." t nil)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
497
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
498 (autoload 'tabify "tabify" "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
499 Convert multiple spaces in region to tabs when possible.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
500 A group of spaces is partially replaced by tabs
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
501 when this can be done without changing the column they end at.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
502 Called non-interactively, the region is specified by arguments
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
503 START and END, rather than by the position of point and mark.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
504 The variable `tab-width' controls the spacing of tab stops." t nil)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
505
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
506 ;;;***
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
507
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
508 ;;;### (autoloads (ask-user-about-supersession-threat ask-user-about-lock) "userlock" "prim/userlock.el")
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
509
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
510 (autoload 'ask-user-about-lock "userlock" "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
511 Ask user what to do when he wants to edit FILE but it is locked by USER.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
512 This function has a choice of three things to do:
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
513 do (signal 'file-locked (list FILE USER))
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
514 to refrain from editing the file
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
515 return t (grab the lock on the file)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
516 return nil (edit the file even though it is locked).
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
517 You can rewrite it to use any criterion you like to choose which one to do." nil nil)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
518
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
519 (autoload 'ask-user-about-supersession-threat "userlock" "\
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
520 Ask a user who is about to modify an obsolete buffer what to do.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
521 This function has two choices: it can return, in which case the modification
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
522 of the buffer will proceed, or it can (signal 'file-supersession (file)),
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
523 in which case the proposed buffer modification will not be made.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
524
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
525 You can rewrite this to use any criterion you like to choose which one to do.
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
526 The buffer in question is current when this function is called." nil nil)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
527
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
528 ;;;***
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents:
diff changeset
529
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 161
diff changeset
530 (provide 'prim-autoloads)