annotate lisp/auto-autoloads.el @ 723:a65ddffa00a5

[xemacs-hg @ 2002-01-04 19:53:32 by adrian] [ACR21.4] xemacs-21.5: Default Info-auto-generate-directory to if-outdated <wuyx6gq1.fsf@engine.ecf.teradyne.com>
author adrian
date Fri, 04 Jan 2002 19:53:34 +0000
parents a307f9a2021d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
647
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1 ;;; DO NOT MODIFY THIS FILE
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
2 (if (featurep 'lisp-autoloads) (error "Already loaded"))
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
3
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
4 ;;;### (autoloads nil "abbrev" "lisp/abbrev.el")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
5
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
6 ;;;***
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
7
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
8 ;;;### (autoloads (about-xemacs) "about" "lisp/about.el")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
9
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
10 (autoload 'about-xemacs "about" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
11 Describe the True Editor and its minions." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
12
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
13 ;;;***
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
14
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
15 ;;;### (autoloads (set-modified-alist modify-alist remove-alist set-alist del-alist put-alist vassoc) "alist" "lisp/alist.el")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
16
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
17 (autoload 'vassoc "alist" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
18 Search VALIST for a vector whose first element is equal to KEY.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
19 See also `assoc'." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
20
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
21 (autoload 'put-alist "alist" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
22 Modify ALIST to set VALUE to ITEM.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
23 If there is a pair whose car is ITEM, replace its cdr by VALUE.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
24 If there is not such pair, create new pair (ITEM . VALUE) and
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
25 return new alist whose car is the new pair and cdr is ALIST.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
26 [tomo's ELIS like function]" nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
27
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
28 (autoload 'del-alist "alist" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
29 If there is a pair whose key is ITEM, delete it from ALIST.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
30 [tomo's ELIS emulating function]" nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
31
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
32 (autoload 'set-alist "alist" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
33 Modify a alist indicated by SYMBOL to set VALUE to ITEM." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
34
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
35 (autoload 'remove-alist "alist" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
36 Remove ITEM from the alist indicated by SYMBOL." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
37
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
38 (autoload 'modify-alist "alist" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
39 Modify alist DEFAULT into alist MODIFIER." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
40
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
41 (autoload 'set-modified-alist "alist" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
42 Modify a value of a symbol SYM into alist MODIFIER.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
43 The symbol SYM should be alist. If it is not bound,
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
44 its value regard as nil." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
45
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
46 ;;;***
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
47
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
48 ;;;### (autoloads (apropos-documentation apropos-value apropos apropos-command) "apropos" "lisp/apropos.el")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
49
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
50 (fset 'command-apropos 'apropos-command)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
51
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
52 (autoload 'apropos-command "apropos" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
53 Shows commands (interactively callable functions) that match REGEXP.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
54 With optional prefix ARG or if `apropos-do-all' is non-nil, also show
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
55 variables." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
56
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
57 (autoload 'apropos "apropos" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
58 Show all bound symbols whose names match REGEXP.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
59 With optional prefix ARG or if `apropos-do-all' is non-nil, also show unbound
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
60 symbols and key bindings, which is a little more time-consuming.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
61 Returns list of symbols and documentation found." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
62
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
63 (autoload 'apropos-value "apropos" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
64 Show all symbols whose value's printed image matches REGEXP.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
65 With optional prefix ARG or if `apropos-do-all' is non-nil, also looks
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
66 at the function and at the names and values of properties.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
67 Returns list of symbols and values found." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
68
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
69 (autoload 'apropos-documentation "apropos" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
70 Show symbols whose documentation contain matches for REGEXP.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
71 With optional prefix ARG or if `apropos-do-all' is non-nil, also use
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
72 documentation that is not stored in the documentation file and show key
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
73 bindings.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
74 Returns list of symbols and documentation found." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
75
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
76 ;;;***
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
77
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
78 ;;;### (autoloads (batch-force-update-one-directory batch-update-one-directory batch-update-directory batch-update-autoloads update-autoload-files update-autoloads-from-directory update-autoloads-here update-file-autoloads generate-file-autoloads) "autoload" "lisp/autoload.el")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
79
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
80 (autoload 'generate-file-autoloads "autoload" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
81 Insert at point a loaddefs autoload section for FILE.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
82 autoloads are generated for defuns and defmacros in FILE
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
83 marked by `generate-autoload-cookie' (which see).
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
84 If FILE is being visited in a buffer, the contents of the buffer
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
85 are used." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
86
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
87 (autoload 'update-file-autoloads "autoload" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
88 Update the autoloads for FILE in `generated-autoload-file'
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
89 \(which FILE might bind in its local variables).
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
90 This function refuses to update autoloads files." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
91
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
92 (autoload 'update-autoloads-here "autoload" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
93 Update sections of the current buffer generated by `update-file-autoloads'." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
94
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
95 (autoload 'update-autoloads-from-directory "autoload" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
96 Update `generated-autoload-file' with all the current autoloads from DIR.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
97 This runs `update-file-autoloads' on each .el file in DIR.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
98 Obsolete autoload entries for files that no longer exist are deleted.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
99 Note that, if this function is called from `batch-update-directory',
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
100 `generated-autoload-file' was rebound in that function.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
101
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
102 You don't really want to be calling this function. Try using
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
103 `update-autoload-files' instead." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
104
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
105 (autoload 'update-autoload-files "autoload" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
106 Update all the autoload files associated with FILES-OR-DIRS.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
107 FILES-OR-DIRS should be a list of files or directories to be
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
108 processed. If ALL-INTO-ONE-FILE is not given, the appropriate
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
109 autoload file for each file or directory (located in that directory,
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
110 or in the directory of the specified file) will be updated with the
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
111 directory's or file's autoloads, some additional fixup text will be
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
112 added, and the files will be saved. If ALL-INTO-ONE-FILE is given,
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
113 `generated-autoload-file' should be set to the name of the autoload
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
114 file into which the autoloads will be generated, and the autoloads
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
115 for all files and directories will go into that same file.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
116
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
117 If FORCE is non-nil, always save out the autoload files even if unchanged." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
118
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
119 (autoload 'batch-update-autoloads "autoload" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
120 Update the autoloads for the files or directories on the command line.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
121 Runs `update-file-autoloads' on files and `update-directory-autoloads'
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
122 on directories. Must be used only with -batch, and kills Emacs on completion.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
123 Each file will be processed even if an error occurred previously.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
124 For example, invoke `xemacs -batch -f batch-update-autoloads *.el'.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
125 The directory to which the auto-autoloads.el file must be the first parameter
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
126 on the command line." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
127
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
128 (autoload 'batch-update-directory "autoload" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
129 Update the autoloads for the directories on the command line.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
130 Runs `update-file-autoloads' on each file in the given directory, and must
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
131 be used only with -batch." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
132
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
133 (autoload 'batch-update-one-directory "autoload" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
134 Update the autoloads for a single directory on the command line.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
135 Runs `update-file-autoloads' on each file in the given directory, and must
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
136 be used only with -batch." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
137
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
138 (autoload 'batch-force-update-one-directory "autoload" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
139 Update the autoloads for a single directory on the command line.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
140 Runs `update-file-autoloads' on each file in the given directory, and must
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
141 be used only with -batch. Always rewrite the autoloads file, even if
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
142 unchanged." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
143
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
144 ;;;***
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
145
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
146 ;;;### (autoloads nil "buff-menu" "lisp/buff-menu.el")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
147
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
148 (defvar list-buffers-directory nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
149
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
150 (make-variable-buffer-local 'list-buffers-directory)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
151
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
152 ;;;***
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
153
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
154 ;;;### (autoloads (build-report) "build-report" "lisp/build-report.el")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
155
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
156 (autoload 'build-report "build-report" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
157 Report build information including Installation and make output.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
158
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
159 Prompts for status (usually \"Success\" or \"Failure\"). Then uses
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
160 `compose-mail' to create a mail message. The Subject header contains
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
161 status and version information. Point is left at the beginning of the
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
162 mail text. Add some notes if you like, and send the report.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
163
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
164 Looks for Installation and the make output file (`beta.err' by
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
165 default, customizable via `build-report-make-output-files') in the
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
166 build directory of the running XEmacs by default (customizable via
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
167 `build-report-make-output-dir'). The output from make is filtered
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
168 through `build-report-keep-regexp' and `build-report-delete-regexp'
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
169 before including in the message.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
170
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
171 See also `mail-user-agent', `build-report-destination', and
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
172 `build-report-installation-file'." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
173
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
174 ;;;***
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
175
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
176 ;;;### (autoloads (batch-byte-recompile-directory batch-byte-recompile-directory-norecurse batch-byte-compile-one-file batch-byte-compile display-call-tree byte-compile-sexp byte-compile compile-defun byte-compile-buffer byte-compile-and-load-file byte-compile-file byte-recompile-file byte-recompile-directory byte-force-recompile) "bytecomp" "lisp/bytecomp.el")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
177
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
178 (autoload 'byte-force-recompile "bytecomp" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
179 Recompile every `.el' file in DIRECTORY that already has a `.elc' file.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
180 Files in subdirectories of DIRECTORY are processed also." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
181
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
182 (autoload 'byte-recompile-directory "bytecomp" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
183 Recompile every `.el' file in DIRECTORY that needs recompilation.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
184 This is if a `.elc' file exists but is older than the `.el' file.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
185 Files in subdirectories of DIRECTORY are also processed unless
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
186 optional argument NORECURSION is non-nil.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
187
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
188 If the `.elc' file does not exist, normally the `.el' file is *not* compiled.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
189 But a prefix argument (optional second arg) means ask user,
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
190 for each such `.el' file, whether to compile it. Prefix argument 0 means
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
191 don't ask and compile the file anyway.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
192
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
193 A nonzero prefix argument also means ask about each subdirectory.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
194
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
195 If the fourth optional argument FORCE is non-nil,
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
196 recompile every `.el' file that already has a `.elc' file." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
197
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
198 (autoload 'byte-recompile-file "bytecomp" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
199 Recompile a file of Lisp code named FILENAME if it needs recompilation.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
200 This is if the `.elc' file exists but is older than the `.el' file.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
201
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
202 If the `.elc' file does not exist, normally the `.el' file is *not*
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
203 compiled. But a prefix argument (optional second arg) means ask user
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
204 whether to compile it. Prefix argument 0 don't ask and recompile anyway." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
205
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
206 (autoload 'byte-compile-file "bytecomp" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
207 Compile a file of Lisp code named FILENAME into a file of byte code.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
208 The output file's name is made by appending `c' to the end of FILENAME.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
209 With prefix arg (noninteractively: 2nd arg), load the file after compiling." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
210
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
211 (autoload 'byte-compile-and-load-file "bytecomp" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
212 Compile a file of Lisp code named FILENAME into a file of byte code,
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
213 and then load it. The output file's name is made by appending \"c\" to
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
214 the end of FILENAME." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
215
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
216 (autoload 'byte-compile-buffer "bytecomp" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
217 Byte-compile and evaluate contents of BUFFER (default: the current buffer)." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
218
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
219 (autoload 'compile-defun "bytecomp" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
220 Compile and evaluate the current top-level form.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
221 Print the result in the minibuffer.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
222 With argument, insert value in current buffer after the form." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
223
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
224 (autoload 'byte-compile "bytecomp" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
225 If FORM is a symbol, byte-compile its function definition.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
226 If FORM is a lambda or a macro, byte-compile it as a function." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
227
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
228 (autoload 'byte-compile-sexp "bytecomp" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
229 Compile and return SEXP." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
230
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
231 (autoload 'display-call-tree "bytecomp" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
232 Display a call graph of a specified file.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
233 This lists which functions have been called, what functions called
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
234 them, and what functions they call. The list includes all functions
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
235 whose definitions have been compiled in this Emacs session, as well as
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
236 all functions called by those functions.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
237
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
238 The call graph does not include macros, inline functions, or
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
239 primitives that the byte-code interpreter knows about directly (eq,
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
240 cons, etc.).
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
241
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
242 The call tree also lists those functions which are not known to be called
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
243 \(that is, to which no calls have been compiled), and which cannot be
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
244 invoked interactively." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
245
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
246 (autoload 'batch-byte-compile "bytecomp" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
247 Run `byte-compile-file' on the files remaining on the command line.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
248 Use this from the command line, with `-batch';
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
249 it won't work in an interactive Emacs.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
250 Each file is processed even if an error occurred previously.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
251 For example, invoke \"xemacs -batch -f batch-byte-compile $emacs/ ~/*.el\"." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
252
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
253 (autoload 'batch-byte-compile-one-file "bytecomp" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
254 Run `byte-compile-file' on a single file remaining on the command line.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
255 Use this from the command line, with `-batch';
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
256 it won't work in an interactive Emacs." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
257
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
258 (autoload 'batch-byte-recompile-directory-norecurse "bytecomp" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
259 Same as `batch-byte-recompile-directory' but without recursion." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
260
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
261 (autoload 'batch-byte-recompile-directory "bytecomp" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
262 Runs `byte-recompile-directory' on the dirs remaining on the command line.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
263 Must be used only with `-batch', and kills Emacs on completion.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
264 For example, invoke `xemacs -batch -f batch-byte-recompile-directory .'." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
265
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
266 ;;;***
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
267
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
268 ;;;### (autoloads (compiler-macroexpand define-compiler-macro ignore-file-errors ignore-errors assert check-type typep deftype cl-struct-setf-expander defstruct define-modify-macro callf2 callf letf* letf rotatef shiftf remf cl-do-pop psetf setf get-setf-method defsetf define-setf-method declare the locally multiple-value-setq multiple-value-bind lexical-let* lexical-let symbol-macrolet macrolet labels flet progv psetq do-all-symbols do-symbols dotimes dolist do* do loop return-from return block etypecase typecase ecase case load-time-value eval-when destructuring-bind function* defmacro* defun* cl-compile-time-init) "cl-macs" "lisp/cl-macs.el")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
269
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
270 (autoload 'cl-compile-time-init "cl-macs" nil nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
271
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
272 (autoload 'defun* "cl-macs" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
273 (defun* NAME ARGLIST [DOCSTRING] BODY...): define NAME as a function.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
274 Like normal `defun', except ARGLIST allows full Common Lisp conventions,
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
275 and BODY is implicitly surrounded by (block NAME ...)." nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
276
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
277 (autoload 'defmacro* "cl-macs" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
278 (defmacro* NAME ARGLIST [DOCSTRING] BODY...): define NAME as a macro.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
279 Like normal `defmacro', except ARGLIST allows full Common Lisp conventions,
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
280 and BODY is implicitly surrounded by (block NAME ...)." nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
281
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
282 (autoload 'function* "cl-macs" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
283 (function* SYMBOL-OR-LAMBDA): introduce a function.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
284 Like normal `function', except that if argument is a lambda form, its
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
285 ARGLIST allows full Common Lisp conventions." nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
286
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
287 (autoload 'destructuring-bind "cl-macs" nil nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
288
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
289 (autoload 'eval-when "cl-macs" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
290 (eval-when (WHEN...) BODY...): control when BODY is evaluated.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
291 If `compile' is in WHEN, BODY is evaluated when compiled at top-level.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
292 If `load' is in WHEN, BODY is evaluated when loaded after top-level compile.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
293 If `eval' is in WHEN, BODY is evaluated when interpreted or at non-top-level." nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
294
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
295 (autoload 'load-time-value "cl-macs" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
296 Like `progn', but evaluates the body at load time.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
297 The result of the body appears to the compiler as a quoted constant." nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
298
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
299 (autoload 'case "cl-macs" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
300 (case EXPR CLAUSES...): evals EXPR, chooses from CLAUSES on that value.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
301 Each clause looks like (KEYLIST BODY...). EXPR is evaluated and compared
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
302 against each key in each KEYLIST; the corresponding BODY is evaluated.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
303 If no clause succeeds, case returns nil. A single atom may be used in
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
304 place of a KEYLIST of one atom. A KEYLIST of `t' or `otherwise' is
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
305 allowed only in the final clause, and matches if no other keys match.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
306 Key values are compared by `eql'." nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
307
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
308 (autoload 'ecase "cl-macs" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
309 (ecase EXPR CLAUSES...): like `case', but error if no case fits.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
310 `otherwise'-clauses are not allowed." nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
311
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
312 (autoload 'typecase "cl-macs" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
313 (typecase EXPR CLAUSES...): evals EXPR, chooses from CLAUSES on that value.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
314 Each clause looks like (TYPE BODY...). EXPR is evaluated and, if it
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
315 satisfies TYPE, the corresponding BODY is evaluated. If no clause succeeds,
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
316 typecase returns nil. A TYPE of `t' or `otherwise' is allowed only in the
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
317 final clause, and matches if no other keys match." nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
318
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
319 (autoload 'etypecase "cl-macs" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
320 (etypecase EXPR CLAUSES...): like `typecase', but error if no case fits.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
321 `otherwise'-clauses are not allowed." nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
322
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
323 (autoload 'block "cl-macs" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
324 (block NAME BODY...): define a lexically-scoped block named NAME.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
325 NAME may be any symbol. Code inside the BODY forms can call `return-from'
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
326 to jump prematurely out of the block. This differs from `catch' and `throw'
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
327 in two respects: First, the NAME is an unevaluated symbol rather than a
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
328 quoted symbol or other form; and second, NAME is lexically rather than
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
329 dynamically scoped: Only references to it within BODY will work. These
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
330 references may appear inside macro expansions, but not inside functions
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
331 called from BODY." nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
332
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
333 (autoload 'return "cl-macs" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
334 (return [RESULT]): return from the block named nil.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
335 This is equivalent to `(return-from nil RESULT)'." nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
336
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
337 (autoload 'return-from "cl-macs" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
338 (return-from NAME [RESULT]): return from the block named NAME.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
339 This jumps out to the innermost enclosing `(block NAME ...)' form,
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
340 returning RESULT from that form (or nil if RESULT is omitted).
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
341 This is compatible with Common Lisp, but note that `defun' and
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
342 `defmacro' do not create implicit blocks as they do in Common Lisp." nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
343
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
344 (autoload 'loop "cl-macs" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
345 (loop CLAUSE...): The Common Lisp `loop' macro.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
346 Valid clauses are:
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
347 for VAR from/upfrom/downfrom NUM to/upto/downto/above/below NUM by NUM,
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
348 for VAR in LIST by FUNC, for VAR on LIST by FUNC, for VAR = INIT then EXPR,
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
349 for VAR across ARRAY, repeat NUM, with VAR = INIT, while COND, until COND,
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
350 always COND, never COND, thereis COND, collect EXPR into VAR,
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
351 append EXPR into VAR, nconc EXPR into VAR, sum EXPR into VAR,
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
352 count EXPR into VAR, maximize EXPR into VAR, minimize EXPR into VAR,
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
353 if COND CLAUSE [and CLAUSE]... else CLAUSE [and CLAUSE...],
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
354 unless COND CLAUSE [and CLAUSE]... else CLAUSE [and CLAUSE...],
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
355 do EXPRS..., initially EXPRS..., finally EXPRS..., return EXPR,
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
356 finally return EXPR, named NAME." nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
357
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
358 (autoload 'do "cl-macs" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
359 The Common Lisp `do' loop.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
360 Format is: (do ((VAR INIT [STEP])...) (END-TEST [RESULT...]) BODY...)" nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
361
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
362 (autoload 'do* "cl-macs" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
363 The Common Lisp `do*' loop.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
364 Format is: (do* ((VAR INIT [STEP])...) (END-TEST [RESULT...]) BODY...)" nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
365
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
366 (autoload 'dolist "cl-macs" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
367 (dolist (VAR LIST [RESULT]) BODY...): loop over a list.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
368 Evaluate BODY with VAR bound to each `car' from LIST, in turn.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
369 Then evaluate RESULT to get return value, default nil." nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
370
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
371 (autoload 'dotimes "cl-macs" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
372 (dotimes (VAR COUNT [RESULT]) BODY...): loop a certain number of times.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
373 Evaluate BODY with VAR bound to successive integers from 0, inclusive,
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
374 to COUNT, exclusive. Then evaluate RESULT to get return value, default
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
375 nil." nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
376
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
377 (autoload 'do-symbols "cl-macs" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
378 (dosymbols (VAR [OBARRAY [RESULT]]) BODY...): loop over all symbols.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
379 Evaluate BODY with VAR bound to each interned symbol, or to each symbol
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
380 from OBARRAY." nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
381
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
382 (autoload 'do-all-symbols "cl-macs" nil nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
383
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
384 (autoload 'psetq "cl-macs" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
385 (psetq SYM VAL SYM VAL ...): set SYMs to the values VALs in parallel.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
386 This is like `setq', except that all VAL forms are evaluated (in order)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
387 before assigning any symbols SYM to the corresponding values." nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
388
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
389 (autoload 'progv "cl-macs" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
390 (progv SYMBOLS VALUES BODY...): bind SYMBOLS to VALUES dynamically in BODY.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
391 The forms SYMBOLS and VALUES are evaluated, and must evaluate to lists.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
392 Each SYMBOL in the first list is bound to the corresponding VALUE in the
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
393 second list (or made unbound if VALUES is shorter than SYMBOLS); then the
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
394 BODY forms are executed and their result is returned. This is much like
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
395 a `let' form, except that the list of symbols can be computed at run-time." nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
396
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
397 (autoload 'flet "cl-macs" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
398 (flet ((FUNC ARGLIST BODY...) ...) FORM...): make temporary function defns.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
399 This is an analogue of `let' that operates on the function cell of FUNC
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
400 rather than its value cell. The FORMs are evaluated with the specified
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
401 function definitions in place, then the definitions are undone (the FUNCs
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
402 go back to their previous definitions, or lack thereof)." nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
403
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
404 (autoload 'labels "cl-macs" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
405 (labels ((FUNC ARGLIST BODY...) ...) FORM...): make temporary func bindings.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
406 This is like `flet', except the bindings are lexical instead of dynamic.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
407 Unlike `flet', this macro is fully compliant with the Common Lisp standard." nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
408
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
409 (autoload 'macrolet "cl-macs" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
410 (macrolet ((NAME ARGLIST BODY...) ...) FORM...): make temporary macro defns.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
411 This is like `flet', but for macros instead of functions." nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
412
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
413 (autoload 'symbol-macrolet "cl-macs" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
414 (symbol-macrolet ((NAME EXPANSION) ...) FORM...): make symbol macro defns.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
415 Within the body FORMs, references to the variable NAME will be replaced
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
416 by EXPANSION, and (setq NAME ...) will act like (setf EXPANSION ...)." nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
417
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
418 (autoload 'lexical-let "cl-macs" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
419 (lexical-let BINDINGS BODY...): like `let', but lexically scoped.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
420 The main visible difference is that lambdas inside BODY will create
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
421 lexical closures as in Common Lisp." nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
422
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
423 (autoload 'lexical-let* "cl-macs" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
424 (lexical-let* BINDINGS BODY...): like `let*', but lexically scoped.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
425 The main visible difference is that lambdas inside BODY will create
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
426 lexical closures as in Common Lisp." nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
427
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
428 (autoload 'multiple-value-bind "cl-macs" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
429 (multiple-value-bind (SYM SYM...) FORM BODY): collect multiple return values.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
430 FORM must return a list; the BODY is then executed with the first N elements
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
431 of this list bound (`let'-style) to each of the symbols SYM in turn. This
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
432 is analogous to the Common Lisp `multiple-value-bind' macro, using lists to
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
433 simulate true multiple return values. For compatibility, (values A B C) is
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
434 a synonym for (list A B C)." nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
435
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
436 (autoload 'multiple-value-setq "cl-macs" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
437 (multiple-value-setq (SYM SYM...) FORM): collect multiple return values.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
438 FORM must return a list; the first N elements of this list are stored in
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
439 each of the symbols SYM in turn. This is analogous to the Common Lisp
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
440 `multiple-value-setq' macro, using lists to simulate true multiple return
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
441 values. For compatibility, (values A B C) is a synonym for (list A B C)." nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
442
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
443 (autoload 'locally "cl-macs" nil nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
444
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
445 (autoload 'the "cl-macs" nil nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
446
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
447 (autoload 'declare "cl-macs" nil nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
448
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
449 (autoload 'define-setf-method "cl-macs" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
450 (define-setf-method NAME ARGLIST BODY...): define a `setf' method.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
451 This method shows how to handle `setf's to places of the form (NAME ARGS...).
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
452 The argument forms ARGS are bound according to ARGLIST, as if NAME were
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
453 going to be expanded as a macro, then the BODY forms are executed and must
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
454 return a list of five elements: a temporary-variables list, a value-forms
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
455 list, a store-variables list (of length one), a store-form, and an access-
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
456 form. See `defsetf' for a simpler way to define most setf-methods." nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
457
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
458 (autoload 'defsetf "cl-macs" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
459 (defsetf NAME FUNC): define a `setf' method.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
460 This macro is an easy-to-use substitute for `define-setf-method' that works
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
461 well for simple place forms. In the simple `defsetf' form, `setf's of
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
462 the form (setf (NAME ARGS...) VAL) are transformed to function or macro
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
463 calls of the form (FUNC ARGS... VAL). Example: (defsetf aref aset).
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
464 Alternate form: (defsetf NAME ARGLIST (STORE) BODY...).
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
465 Here, the above `setf' call is expanded by binding the argument forms ARGS
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
466 according to ARGLIST, binding the value form VAL to STORE, then executing
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
467 BODY, which must return a Lisp form that does the necessary `setf' operation.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
468 Actually, ARGLIST and STORE may be bound to temporary variables which are
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
469 introduced automatically to preserve proper execution order of the arguments.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
470 Example: (defsetf nth (n x) (v) (list 'setcar (list 'nthcdr n x) v))." nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
471
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
472 (autoload 'get-setf-method "cl-macs" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
473 Return a list of five values describing the setf-method for PLACE.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
474 PLACE may be any Lisp form which can appear as the PLACE argument to
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
475 a macro like `setf' or `incf'." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
476
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
477 (autoload 'setf "cl-macs" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
478 (setf PLACE VAL PLACE VAL ...): set each PLACE to the value of its VAL.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
479 This is a generalized version of `setq'; the PLACEs may be symbolic
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
480 references such as (car x) or (aref x i), as well as plain symbols.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
481 For example, (setf (cadar x) y) is equivalent to (setcar (cdar x) y).
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
482 The return value is the last VAL in the list." nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
483
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
484 (autoload 'psetf "cl-macs" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
485 (psetf PLACE VAL PLACE VAL ...): set PLACEs to the values VALs in parallel.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
486 This is like `setf', except that all VAL forms are evaluated (in order)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
487 before assigning any PLACEs to the corresponding values." nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
488
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
489 (autoload 'cl-do-pop "cl-macs" nil nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
490
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
491 (autoload 'remf "cl-macs" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
492 (remf PLACE TAG): remove TAG from property list PLACE.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
493 PLACE may be a symbol, or any generalized variable allowed by `setf'.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
494 The form returns true if TAG was found and removed, nil otherwise." nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
495
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
496 (autoload 'shiftf "cl-macs" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
497 (shiftf PLACE PLACE... VAL): shift left among PLACEs.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
498 Example: (shiftf A B C) sets A to B, B to C, and returns the old A.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
499 Each PLACE may be a symbol, or any generalized variable allowed by `setf'." nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
500
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
501 (autoload 'rotatef "cl-macs" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
502 (rotatef PLACE...): rotate left among PLACEs.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
503 Example: (rotatef A B C) sets A to B, B to C, and C to A. It returns nil.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
504 Each PLACE may be a symbol, or any generalized variable allowed by `setf'." nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
505
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
506 (autoload 'letf "cl-macs" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
507 (letf ((PLACE VALUE) ...) BODY...): temporarily bind to PLACEs.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
508 This is the analogue of `let', but with generalized variables (in the
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
509 sense of `setf') for the PLACEs. Each PLACE is set to the corresponding
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
510 VALUE, then the BODY forms are executed. On exit, either normally or
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
511 because of a `throw' or error, the PLACEs are set back to their original
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
512 values. Note that this macro is *not* available in Common Lisp.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
513 As a special case, if `(PLACE)' is used instead of `(PLACE VALUE)',
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
514 the PLACE is not modified before executing BODY." nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
515
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
516 (autoload 'letf* "cl-macs" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
517 (letf* ((PLACE VALUE) ...) BODY...): temporarily bind to PLACEs.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
518 This is the analogue of `let*', but with generalized variables (in the
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
519 sense of `setf') for the PLACEs. Each PLACE is set to the corresponding
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
520 VALUE, then the BODY forms are executed. On exit, either normally or
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
521 because of a `throw' or error, the PLACEs are set back to their original
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
522 values. Note that this macro is *not* available in Common Lisp.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
523 As a special case, if `(PLACE)' is used instead of `(PLACE VALUE)',
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
524 the PLACE is not modified before executing BODY." nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
525
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
526 (autoload 'callf "cl-macs" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
527 (callf FUNC PLACE ARGS...): set PLACE to (FUNC PLACE ARGS...).
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
528 FUNC should be an unquoted function name. PLACE may be a symbol,
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
529 or any generalized variable allowed by `setf'." nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
530
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
531 (autoload 'callf2 "cl-macs" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
532 (callf2 FUNC ARG1 PLACE ARGS...): set PLACE to (FUNC ARG1 PLACE ARGS...).
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
533 Like `callf', but PLACE is the second argument of FUNC, not the first." nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
534
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
535 (autoload 'define-modify-macro "cl-macs" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
536 (define-modify-macro NAME ARGLIST FUNC): define a `setf'-like modify macro.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
537 If NAME is called, it combines its PLACE argument with the other arguments
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
538 from ARGLIST using FUNC: (define-modify-macro incf (&optional (n 1)) +)" nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
539
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
540 (autoload 'defstruct "cl-macs" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
541 (defstruct (NAME OPTIONS...) (SLOT SLOT-OPTS...)...): define a struct type.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
542 This macro defines a new Lisp data type called NAME, which contains data
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
543 stored in SLOTs. This defines a `make-NAME' constructor, a `copy-NAME'
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
544 copier, a `NAME-p' predicate, and setf-able `NAME-SLOT' accessors." nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
545
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
546 (autoload 'cl-struct-setf-expander "cl-macs" nil nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
547
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
548 (autoload 'deftype "cl-macs" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
549 (deftype NAME ARGLIST BODY...): define NAME as a new data type.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
550 The type name can then be used in `typecase', `check-type', etc." nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
551
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
552 (autoload 'typep "cl-macs" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
553 Check that OBJECT is of type TYPE.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
554 TYPE is a Common Lisp-style type specifier." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
555
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
556 (autoload 'check-type "cl-macs" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
557 Verify that PLACE is of type TYPE; signal a continuable error if not.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
558 STRING is an optional description of the desired type." nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
559
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
560 (autoload 'assert "cl-macs" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
561 Verify that FORM returns non-nil; signal an error if not.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
562 Second arg SHOW-ARGS means to include arguments of FORM in message.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
563 Other args STRING and ARGS... are arguments to be passed to `error'.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
564 They are not evaluated unless the assertion fails. If STRING is
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
565 omitted, a default message listing FORM itself is used." nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
566
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
567 (autoload 'ignore-errors "cl-macs" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
568 Execute FORMS; if an error occurs, return nil.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
569 Otherwise, return result of last FORM." nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
570
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
571 (autoload 'ignore-file-errors "cl-macs" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
572 Execute FORMS; if an error of type `file-error' occurs, return nil.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
573 Otherwise, return result of last FORM." nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
574
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
575 (autoload 'define-compiler-macro "cl-macs" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
576 (define-compiler-macro FUNC ARGLIST BODY...): Define a compiler-only macro.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
577 This is like `defmacro', but macro expansion occurs only if the call to
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
578 FUNC is compiled (i.e., not interpreted). Compiler macros should be used
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
579 for optimizing the way calls to FUNC are compiled; the form returned by
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
580 BODY should do the same thing as a call to the normal function called
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
581 FUNC, though possibly more efficiently. Note that, like regular macros,
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
582 compiler macros are expanded repeatedly until no further expansions are
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
583 possible. Unlike regular macros, BODY can decide to \"punt\" and leave the
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
584 original function call alone by declaring an initial `&whole foo' parameter
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
585 and then returning foo." nil 'macro)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
586
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
587 (autoload 'compiler-macroexpand "cl-macs" nil nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
588
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
589 ;;;***
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
590
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
591 ;;;### (autoloads (config-value config-value-hash-table) "config" "lisp/config.el")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
592
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
593 (autoload 'config-value-hash-table "config" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
594 Return hash table of configuration parameters and their values." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
595
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
596 (autoload 'config-value "config" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
597 Return the value of the configuration parameter CONFIG_SYMBOL." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
598
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
599 ;;;***
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
600
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
601 ;;;### (autoloads (Custom-make-dependencies) "cus-dep" "lisp/cus-dep.el")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
602
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
603 (autoload 'Custom-make-dependencies "cus-dep" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
604 Extract custom dependencies from .el files in SUBDIRS.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
605 SUBDIRS is a list of directories. If it is nil, the command-line
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
606 arguments are used. If it is a string, only that directory is
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
607 processed. This function is especially useful in batch mode.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
608
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
609 Batch usage: xemacs -batch -l cus-dep.el -f Custom-make-dependencies DIRS" t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
610
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
611 ;;;***
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
612
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
613 ;;;### (autoloads (custom-migrate-custom-file customize-menu-create custom-menu-create custom-save-all customize-save-customized customize-browse custom-buffer-create-other-window custom-buffer-create customize-apropos-groups customize-apropos-faces customize-apropos-options customize-apropos customize-saved customize-customized customize-face-other-window customize-face customize-option-other-window customize-changed-options customize-variable customize-other-window customize customize-save-variable customize-set-variable customize-set-value) "cus-edit" "lisp/cus-edit.el")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
614
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
615 (autoload 'customize-set-value "cus-edit" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
616 Set VARIABLE to VALUE. VALUE is a Lisp object.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
617
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
618 If VARIABLE has a `variable-interactive' property, that is used as if
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
619 it were the arg to `interactive' (which see) to interactively read the value.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
620
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
621 If VARIABLE has a `custom-type' property, it must be a widget and the
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
622 `:prompt-value' property of that widget will be used for reading the value.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
623
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
624 If given a prefix (or a COMMENT argument), also prompt for a comment." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
625
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
626 (autoload 'customize-set-variable "cus-edit" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
627 Set the default for VARIABLE to VALUE. VALUE is any Lisp object.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
628
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
629 If VARIABLE has a `custom-set' property, that is used for setting
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
630 VARIABLE, otherwise `set-default' is used.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
631
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
632 The `customized-value' property of the VARIABLE will be set to a list
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
633 with a quoted VALUE as its sole list member.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
634
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
635 If VARIABLE has a `variable-interactive' property, that is used as if
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
636 it were the arg to `interactive' (which see) to interactively read the value.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
637
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
638 If VARIABLE has a `custom-type' property, it must be a widget and the
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
639 `:prompt-value' property of that widget will be used for reading the value.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
640
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
641 If given a prefix (or a COMMENT argument), also prompt for a comment." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
642
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
643 (autoload 'customize-save-variable "cus-edit" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
644 Set the default for VARIABLE to VALUE, and save it for future sessions.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
645 If VARIABLE has a `custom-set' property, that is used for setting
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
646 VARIABLE, otherwise `set-default' is used.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
647
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
648 The `customized-value' property of the VARIABLE will be set to a list
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
649 with a quoted VALUE as its sole list member.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
650
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
651 If VARIABLE has a `variable-interactive' property, that is used as if
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
652 it were the arg to `interactive' (which see) to interactively read the value.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
653
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
654 If VARIABLE has a `custom-type' property, it must be a widget and the
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
655 `:prompt-value' property of that widget will be used for reading the value.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
656
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
657 If given a prefix (or a COMMENT argument), also prompt for a comment." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
658
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
659 (autoload 'customize "cus-edit" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
660 Select a customization buffer which you can use to set user options.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
661 User options are structured into \"groups\".
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
662 The default group is `Emacs'." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
663
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
664 (defalias 'customize-group 'customize)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
665
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
666 (autoload 'customize-other-window "cus-edit" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
667 Customize SYMBOL, which must be a customization group." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
668
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
669 (defalias 'customize-group-other-window 'customize-other-window)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
670
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
671 (defalias 'customize-option 'customize-variable)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
672
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
673 (autoload 'customize-variable "cus-edit" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
674 Customize SYMBOL, which must be a user option variable." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
675
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
676 (autoload 'customize-changed-options "cus-edit" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
677 Customize all user option variables whose default values changed recently.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
678 This means, in other words, variables defined with a `:version' keyword." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
679
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
680 (defalias 'customize-variable-other-window 'customize-option-other-window)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
681
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
682 (autoload 'customize-option-other-window "cus-edit" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
683 Customize SYMBOL, which must be a user option variable.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
684 Show the buffer in another window, but don't select it." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
685
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
686 (autoload 'customize-face "cus-edit" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
687 Customize SYMBOL, which should be a face name or nil.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
688 If SYMBOL is nil, customize all faces." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
689
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
690 (autoload 'customize-face-other-window "cus-edit" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
691 Show customization buffer for FACE in other window." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
692
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
693 (autoload 'customize-customized "cus-edit" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
694 Customize all user options set since the last save in this session." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
695
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
696 (autoload 'customize-saved "cus-edit" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
697 Customize all already saved user options." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
698
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
699 (autoload 'customize-apropos "cus-edit" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
700 Customize all user options matching REGEXP.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
701 If ALL is `options', include only options.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
702 If ALL is `faces', include only faces.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
703 If ALL is `groups', include only groups.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
704 If ALL is t (interactively, with prefix arg), include options which are not
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
705 user-settable, as well as faces and groups." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
706
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
707 (autoload 'customize-apropos-options "cus-edit" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
708 Customize all user options matching REGEXP.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
709 With prefix arg, include options which are not user-settable." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
710
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
711 (autoload 'customize-apropos-faces "cus-edit" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
712 Customize all user faces matching REGEXP." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
713
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
714 (autoload 'customize-apropos-groups "cus-edit" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
715 Customize all user groups matching REGEXP." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
716
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
717 (autoload 'custom-buffer-create "cus-edit" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
718 Create a buffer containing OPTIONS.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
719 Optional NAME is the name of the buffer.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
720 OPTIONS should be an alist of the form ((SYMBOL WIDGET)...), where
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
721 SYMBOL is a customization option, and WIDGET is a widget for editing
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
722 that option." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
723
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
724 (autoload 'custom-buffer-create-other-window "cus-edit" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
725 Create a buffer containing OPTIONS.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
726 Optional NAME is the name of the buffer.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
727 OPTIONS should be an alist of the form ((SYMBOL WIDGET)...), where
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
728 SYMBOL is a customization option, and WIDGET is a widget for editing
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
729 that option." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
730
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
731 (autoload 'customize-browse "cus-edit" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
732 Create a tree browser for the customize hierarchy." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
733
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
734 (autoload 'customize-save-customized "cus-edit" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
735 Save all user options which have been set in this session." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
736
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
737 (autoload 'custom-save-all "cus-edit" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
738 Save all customizations in `custom-file'." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
739
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
740 (autoload 'custom-menu-create "cus-edit" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
741 Create menu for customization group SYMBOL.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
742 The menu is in a format applicable to `easy-menu-define'." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
743
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
744 (autoload 'customize-menu-create "cus-edit" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
745 Return a customize menu for customization group SYMBOL.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
746 If optional NAME is given, use that as the name of the menu.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
747 Otherwise the menu will be named `Customize'.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
748 The format is suitable for use with `easy-menu-define'." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
749
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
750 (autoload 'custom-migrate-custom-file "cus-edit" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
751 Migrate custom file from home directory." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
752
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
753 ;;;***
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
754
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
755 ;;;### (autoloads (custom-reset-faces custom-theme-reset-faces custom-theme-face-value custom-theme-set-faces custom-set-faces custom-set-face-update-spec custom-declare-face) "cus-face" "lisp/cus-face.el")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
756
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
757 (autoload 'custom-declare-face "cus-face" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
758 Like `defface', but FACE is evaluated as a normal argument." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
759
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
760 (autoload 'custom-set-face-update-spec "cus-face" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
761 Customize the FACE for display types matching DISPLAY, merging
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
762 in the new items from PLIST." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
763
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
764 (autoload 'custom-set-faces "cus-face" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
765 Initialize faces according to user preferences.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
766 This asociates the setting with the USER theme.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
767 The arguments should be a list where each entry has the form:
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
768
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
769 (FACE SPEC [NOW [COMMENT]])
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
770
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
771 SPEC will be stored as the saved value for FACE. If NOW is present
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
772 and non-nil, FACE will also be created according to SPEC.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
773 COMMENT is a string comment about FACE.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
774
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
775 See `defface' for the format of SPEC." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
776
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
777 (autoload 'custom-theme-set-faces "cus-face" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
778 Initialize faces according to settings specified by args.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
779 Records the settings as belonging to THEME.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
780
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
781 See `custom-set-faces' for a description of the arguments ARGS." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
782
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
783 (autoload 'custom-theme-face-value "cus-face" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
784 Return spec of FACE in THEME if the THEME modifies the
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
785 FACE. Nil otherwise." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
786
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
787 (autoload 'custom-theme-reset-faces "cus-face" nil nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
788
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
789 (autoload 'custom-reset-faces "cus-face" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
790 Reset the value of the face to values previously defined.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
791 Associate this setting with the 'user' theme.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
792
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
793 ARGS is defined as for `custom-theme-reset-faces'." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
794
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
795 ;;;***
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
796
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
797 ;;;### (autoloads (make-custom-file-name) "cus-file" "lisp/cus-file.el")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
798
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
799 (defconst custom-file-base "custom.el" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
800 Base of file name for storing customization information.")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
801
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
802 (defvar custom-file nil "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
803 File used for storing customization information.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
804 If you change this from the default you need to
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
805 explicitly load that file for the settings to take effect.")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
806
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
807 (autoload 'make-custom-file-name "cus-file" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
808 Construct the default custom file name from the init file name.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
809 If FORCE-NEW is non-nil, force post-migration location." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
810
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
811 ;;;***
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
812
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
813 ;;;### (autoloads (disassemble) "disass" "lisp/disass.el")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
814
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
815 (autoload 'disassemble "disass" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
816 Print disassembled code for OBJECT in (optional) BUFFER.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
817 OBJECT can be a symbol defined as a function, or a function itself
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
818 \(a lambda expression or a compiled-function object).
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
819 If OBJECT is not already compiled, we compile it, but do not
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
820 redefine OBJECT if it is a symbol." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
821
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
822 ;;;***
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
823
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
824 ;;;### (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" "lisp/disp-table.el")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
825
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
826 (autoload 'describe-current-display-table "disp-table" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
827 Describe the display table in use in the selected window and buffer." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
828
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
829 (autoload 'make-display-table "disp-table" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
830 Return a new, empty display table." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
831
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
832 (autoload 'standard-display-8bit "disp-table" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
833 Display characters in the range L to H literally." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
834
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
835 (autoload 'standard-display-default "disp-table" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
836 Display characters in the range L to H using the default notation." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
837
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
838 (autoload 'standard-display-ascii "disp-table" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
839 Display character C using printable string S." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
840
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
841 (autoload 'standard-display-g1 "disp-table" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
842 Display character C as character SC in the g1 character set.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
843 This function assumes that your terminal uses the SO/SI characters;
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
844 it is meaningless for an X frame." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
845
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
846 (autoload 'standard-display-graphic "disp-table" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
847 Display character C as character GC in graphics character set.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
848 This function assumes VT100-compatible escapes; it is meaningless for an
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
849 X frame." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
850
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
851 (autoload 'standard-display-underline "disp-table" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
852 Display character C as character UC plus underlining." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
853
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
854 (autoload 'standard-display-european "disp-table" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
855 Toggle display of European characters encoded with ISO 8859.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
856 When enabled, characters in the range of 160 to 255 display not
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
857 as octal escapes, but as accented characters.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
858 With prefix argument, enable European character display iff arg is positive." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
859
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
860 ;;;***
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
861
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
862 ;;;### (autoloads nil "easymenu" "lisp/easymenu.el")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
863
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
864 ;;;***
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
865
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
866 ;;;### (autoloads (pop-tag-mark tags-apropos list-tags tags-query-replace tags-search tags-loop-continue next-file tag-complete-symbol find-tag-other-window find-tag find-tag-at-point visit-tags-table) "etags" "lisp/etags.el")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
867
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
868 (autoload 'visit-tags-table "etags" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
869 Tell tags commands to use tags table file FILE when all else fails.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
870 FILE should be the name of a file created with the `etags' program.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
871 A directory name is ok too; it means file TAGS in that directory." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
872
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
873 (autoload 'find-tag-at-point "etags" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
874 *Find tag whose name contains TAGNAME.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
875 Identical to `find-tag' but does not prompt for tag when called interactively;
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
876 instead, uses tag around or before point." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
877
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
878 (autoload 'find-tag "etags" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
879 *Find tag whose name contains TAGNAME.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
880 Selects the buffer that the tag is contained in
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
881 and puts point at its definition.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
882 If TAGNAME is a null string, the expression in the buffer
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
883 around or before point is used as the tag name.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
884 If called interactively with a numeric argument, searches for the next tag
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
885 in the tag table that matches the tagname used in the previous find-tag.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
886 If second arg OTHER-WINDOW is non-nil, uses another window to display
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
887 the tag.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
888
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
889 This version of this function supports multiple active tags tables,
707
a307f9a2021d [xemacs-hg @ 2001-12-20 05:49:28 by andyp]
andyp
parents: 665
diff changeset
890 and completion. See also the commands `\\[push-tag-mark]' and
a307f9a2021d [xemacs-hg @ 2001-12-20 05:49:28 by andyp]
andyp
parents: 665
diff changeset
891 `\\[pop-tag-mark]'.
647
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
892
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
893 Variables of note:
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
894
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
895 tag-table-alist controls which tables apply to which buffers
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
896 tags-file-name a default tags table
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
897 tags-build-completion-table controls completion behavior
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
898 buffer-tag-table another way of specifying a buffer-local table
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
899 make-tags-files-invisible whether tags tables should be very hidden
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
900 tag-mark-stack-max how many tags-based hops to remember" t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
901
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
902 (autoload 'find-tag-other-window "etags" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
903 *Find tag whose name contains TAGNAME, in another window.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
904 Selects the buffer that the tag is contained in in another window
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
905 and puts point at its definition.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
906 If TAGNAME is a null string, the expression in the buffer
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
907 around or before point is used as the tag name.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
908 If second arg NEXT is non-nil (interactively, with prefix arg),
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
909 searches for the next tag in the tag table
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
910 that matches the tagname used in the previous find-tag.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
911
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
912 This version of this function supports multiple active tags tables,
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
913 and completion.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
914
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
915 Variables of note:
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
916
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
917 tag-table-alist controls which tables apply to which buffers
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
918 tags-file-name a default tags table
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
919 tags-build-completion-table controls completion behavior
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
920 buffer-tag-table another way of specifying a buffer-local table
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
921 make-tags-files-invisible whether tags tables should be very hidden
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
922 tag-mark-stack-max how many tags-based hops to remember" t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
923
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
924 (autoload 'tag-complete-symbol "etags" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
925 The function used to do tags-completion (using 'tag-completion-predicate)." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
926
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
927 (autoload 'next-file "etags" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
928 Select next file among files in current tag table(s).
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
929
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
930 A first argument of t (prefix arg, if interactive) initializes to the
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
931 beginning of the list of files in the (first) tags table. If the argument
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
932 is neither nil nor t, it is evalled to initialize the list of files.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
933
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
934 Non-nil second argument NOVISIT means use a temporary buffer
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
935 to save time and avoid uninteresting warnings.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
936
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
937 Value is nil if the file was already visited;
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
938 if the file was newly read in, the value is the filename." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
939
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
940 (autoload 'tags-loop-continue "etags" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
941 Continue last \\[tags-search] or \\[tags-query-replace] command.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
942 Used noninteractively with non-nil argument to begin such a command (the
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
943 argument is passed to `next-file', which see).
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
944 Two variables control the processing we do on each file:
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
945 the value of `tags-loop-scan' is a form to be executed on each file
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
946 to see if it is interesting (it returns non-nil if so)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
947 and `tags-loop-operate' is a form to execute to operate on an interesting file
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
948 If the latter returns non-nil, we exit; otherwise we scan the next file." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
949
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
950 (autoload 'tags-search "etags" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
951 Search through all files listed in tags table for match for REGEXP.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
952 Stops when a match is found.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
953 To continue searching for next match, use command \\[tags-loop-continue].
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
954
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
955 See documentation of variable `tag-table-alist'." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
956
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
957 (autoload 'tags-query-replace "etags" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
958 Query-replace-regexp FROM with TO through all files listed in tags table.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
959 Third arg DELIMITED (prefix arg) means replace only word-delimited matches.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
960 If you exit (\\[keyboard-quit] or ESC), you can resume the query-replace
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
961 with the command \\[tags-loop-continue].
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
962
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
963 See documentation of variable `tag-table-alist'." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
964
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
965 (autoload 'list-tags "etags" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
966 Display list of tags in FILE." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
967
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
968 (autoload 'tags-apropos "etags" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
969 Display list of all tags in tag table REGEXP matches." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
970 (define-key esc-map "*" 'pop-tag-mark)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
971
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
972 (autoload 'pop-tag-mark "etags" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
973 Go to last tag position.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
974 `find-tag' maintains a mark-stack seperate from the \\[set-mark-command] mark-stack.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
975 This function pops (and moves to) the tag at the top of this stack." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
976
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
977 ;;;***
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
978
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
979 ;;;### (autoloads (finder-by-keyword finder-commentary) "finder" "lisp/finder.el")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
980
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
981 (autoload 'finder-commentary "finder" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
982 Display FILE's commentary section.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
983 FILE should be in a form suitable for passing to `locate-library'." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
984
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
985 (autoload 'finder-by-keyword "finder" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
986 Find packages matching a given keyword." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
987
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
988 ;;;***
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
989
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
990 ;;;### (autoloads (font-lock-set-defaults-1 font-lock-fontify-buffer turn-off-font-lock turn-on-font-lock font-lock-mode) "font-lock" "lisp/font-lock.el")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
991
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
992 (defcustom font-lock-auto-fontify t "*Whether font-lock should automatically fontify files as they're loaded.\nThis will only happen if font-lock has fontifying keywords for the major\nmode of the file. You can get finer-grained control over auto-fontification\nby using this variable in combination with `font-lock-mode-enable-list' or\n`font-lock-mode-disable-list'." :type 'boolean :group 'font-lock)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
993
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
994 (defcustom font-lock-mode-enable-list nil "*List of modes to auto-fontify, if `font-lock-auto-fontify' is nil." :type '(repeat (symbol :tag "Mode")) :group 'font-lock)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
995
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
996 (defcustom font-lock-mode-disable-list nil "*List of modes not to auto-fontify, if `font-lock-auto-fontify' is t." :type '(repeat (symbol :tag "Mode")) :group 'font-lock)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
997
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
998 (defcustom font-lock-use-colors '(color) "*Specification for when Font Lock will set up color defaults.\nNormally this should be '(color), meaning that Font Lock will set up\ncolor defaults that are only used on color displays. Set this to nil\nif you don't want Font Lock to set up color defaults at all. This\nshould be one of\n\n-- a list of valid tags, meaning that the color defaults will be used\n when all of the tags apply. (e.g. '(color x))\n-- a list whose first element is 'or and whose remaining elements are\n lists of valid tags, meaning that the defaults will be used when\n any of the tag lists apply.\n-- nil, meaning that the defaults should not be set up at all.\n\n(If you specify face values in your init file, they will override any\nthat Font Lock specifies, regardless of whether you specify the face\nvalues before or after loading Font Lock.)\n\nSee also `font-lock-use-fonts'. If you want more control over the faces\nused for fontification, see the documentation of `font-lock-mode' for\nhow to do it." :type 'sexp :group 'font-lock)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
999
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1000 (defcustom font-lock-use-fonts '(or (mono) (grayscale)) "*Specification for when Font Lock will set up non-color defaults.\n\nNormally this should be '(or (mono) (grayscale)), meaning that Font\nLock will set up non-color defaults that are only used on either mono\nor grayscale displays. Set this to nil if you don't want Font Lock to\nset up non-color defaults at all. This should be one of\n\n-- a list of valid tags, meaning that the non-color defaults will be used\n when all of the tags apply. (e.g. '(grayscale x))\n-- a list whose first element is 'or and whose remaining elements are\n lists of valid tags, meaning that the defaults will be used when\n any of the tag lists apply.\n-- nil, meaning that the defaults should not be set up at all.\n\n(If you specify face values in your init file, they will override any\nthat Font Lock specifies, regardless of whether you specify the face\nvalues before or after loading Font Lock.)\n\nSee also `font-lock-use-colors'. If you want more control over the faces\nused for fontification, see the documentation of `font-lock-mode' for\nhow to do it." :type 'sexp :group 'font-lock)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1001
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1002 (defcustom font-lock-maximum-decoration t "*If non-nil, the maximum decoration level for fontifying.\nIf nil, use the minimum decoration (equivalent to level 0).\nIf t, use the maximum decoration available.\nIf a number, use that level of decoration (or if not available the maximum).\nIf a list, each element should be a cons pair of the form (MAJOR-MODE . LEVEL),\nwhere MAJOR-MODE is a symbol or t (meaning the default). For example:\n ((c++-mode . 2) (c-mode . t) (t . 1))\nmeans use level 2 decoration for buffers in `c++-mode', the maximum decoration\navailable for buffers in `c-mode', and level 1 decoration otherwise." :type '(choice (const :tag "default" nil) (const :tag "maximum" t) (integer :tag "level" 1) (repeat :menu-tag "mode specific" :tag "mode specific" :value ((t . t)) (cons :tag "Instance" (radio :tag "Mode" (const :tag "all" t) (symbol :tag "name")) (radio :tag "Decoration" (const :tag "default" nil) (const :tag "maximum" t) (integer :tag "level" 1))))) :group 'font-lock)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1003
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1004 (define-obsolete-variable-alias 'font-lock-use-maximal-decoration 'font-lock-maximum-decoration)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1005
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1006 (defcustom font-lock-maximum-size (* 250 1024) "*If non-nil, the maximum size for buffers for fontifying.\nOnly buffers less than this can be fontified when Font Lock mode is turned on.\nIf nil, means size is irrelevant.\nIf a list, each element should be a cons pair of the form (MAJOR-MODE . SIZE),\nwhere MAJOR-MODE is a symbol or t (meaning the default). For example:\n ((c++-mode . 256000) (c-mode . 256000) (rmail-mode . 1048576))\nmeans that the maximum size is 250K for buffers in `c++-mode' or `c-mode', one\nmegabyte for buffers in `rmail-mode', and size is irrelevant otherwise." :type '(choice (const :tag "none" nil) (integer :tag "size") (repeat :menu-tag "mode specific" :tag "mode specific" :value ((t)) (cons :tag "Instance" (radio :tag "Mode" (const :tag "all" t) (symbol :tag "name")) (radio :tag "Size" (const :tag "none" nil) (integer :tag "size"))))) :group 'font-lock)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1007
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1008 (defcustom font-lock-fontify-string-delimiters nil "*If non-nil, apply font-lock-string-face to string delimiters as well as\nstring text when fontifying." :type 'boolean :group 'font-lock)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1009
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1010 (defvar font-lock-keywords nil "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1011 A list defining the keywords for `font-lock-mode' to highlight.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1012
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1013 FONT-LOCK-KEYWORDS := List of FONT-LOCK-FORM's.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1014
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1015 FONT-LOCK-FORM :== MATCHER
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1016 | (MATCHER . MATCH)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1017 | (MATCHER . FACE-FORM)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1018 | (MATCHER . HIGHLIGHT)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1019 | (MATCHER HIGHLIGHT ...)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1020 | (eval . FORM)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1021
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1022 MATCHER :== A string containing a regexp.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1023 | A variable containing a regexp to search for.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1024 | A function to call to make the search.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1025 It is called with one arg, the limit of the search,
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1026 and should leave MATCH results in the XEmacs global
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1027 match data.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1028
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1029 MATCH :== An integer match subexpression number from MATCHER.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1030
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1031 FACE-FORM :== The symbol naming a defined face.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1032 | Expression whos value is the face name to use. If you
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1033 want FACE-FORM to be a symbol that evaluates to a face,
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1034 use a form like \"(progn sym)\".
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1035
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1036 HIGHLIGHT :== MATCH-HIGHLIGHT
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1037 | MATCH-ANCHORED
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1038
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1039 FORM :== Expression returning a FONT-LOCK-FORM, evaluated when
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1040 the FONT-LOCK-FORM is first used in a buffer. This
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1041 feature can be used to provide a FONT-LOCK-FORM that
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1042 can only be generated when Font Lock mode is actually
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1043 turned on.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1044
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1045 MATCH-HIGHLIGHT :== (MATCH FACE-FORM OVERRIDE LAXMATCH)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1046
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1047 OVERRIDE :== t - overwrite existing fontification
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1048 | 'keep - only parts not already fontified are
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1049 highlighted.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1050 | 'prepend - merge faces, this fontification has
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1051 precedence over existing
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1052 | 'append - merge faces, existing fontification has
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1053 precedence over
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1054 this face.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1055
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1056 LAXMATCH :== If non-nil, no error is signalled if there is no MATCH
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1057 in MATCHER.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1058
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1059 MATCH-ANCHORED :== (ANCHOR-MATCHER PRE-MATCH-FORM \\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1060 POST-MATCH-FORM MATCH-HIGHLIGHT ...)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1061
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1062 ANCHOR-MATCHER :== Like a MATCHER, except that the limit of the search
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1063 defaults to the end of the line after PRE-MATCH-FORM
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1064 is evaluated. However, if PRE-MATCH-FORM returns a
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1065 position greater than the end of the line, that
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1066 position is used as the limit of the search. It is
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1067 generally a bad idea to return a position greater than
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1068 the end of the line, i.e., cause the ANCHOR-MATCHER
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1069 search to span lines.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1070
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1071 PRE-MATCH-FORM :== Evaluated before the ANCHOR-MATCHER is used, therefore
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1072 can be used to initialize before, ANCHOR-MATCHER is
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1073 used. Typically, PRE-MATCH-FORM is used to move to
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1074 some position relative to the original MATCHER, before
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1075 starting with the ANCHOR-MATCHER.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1076
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1077 POST-MATCH-FORM :== Like PRE-MATCH-FORM, but used to clean up after the
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1078 ANCHOR-MATCHER. It might be used to move, before
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1079 resuming with MATCH-ANCHORED's parent's MATCHER.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1080
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1081 For example, an element of the first form highlights (if not already highlighted):
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1082
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1083 \"\\\\\\=<foo\\\\\\=>\" Discrete occurrences of \"foo\" in the value
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1084 of the variable `font-lock-keyword-face'.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1085
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1086 (\"fu\\\\(bar\\\\)\" . 1) Substring \"bar\" within all occurrences of
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1087 \"fubar\" in the value of
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1088 `font-lock-keyword-face'.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1089
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1090 (\"fubar\" . fubar-face) Occurrences of \"fubar\" in the value of
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1091 `fubar-face'.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1092
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1093 (\"foo\\\\|bar\" 0 foo-bar-face t) Occurrences of either \"foo\" or \"bar\" in the
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1094 value of `foo-bar-face', even if already
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1095 highlighted.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1096
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1097 (fubar-match 1 fubar-face) The first subexpression within all
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1098 occurrences of whatever the function
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1099 `fubar-match' finds and matches in the value
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1100 of `fubar-face'.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1101
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1102 (\"\\\\\\=<anchor\\\\\\=>\" (0 anchor-face) (\"\\\\\\=<item\\\\\\=>\" nil nil (0 item-face)))
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1103 -------------- --------------- ------------ --- --- -------------
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1104 | | | | | |
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1105 MATCHER | ANCHOR-MATCHER | +------+ MATCH-HIGHLIGHT
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1106 MATCH-HIGHLIGHT PRE-MATCH-FORM |
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1107 POST-MATCH-FORM
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1108
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1109 Discrete occurrences of \"anchor\" in the value of `anchor-face', and
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1110 subsequent discrete occurrences of \"item\" (on the same line) in the value
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1111 of `item-face'. (Here PRE-MATCH-FORM and POST-MATCH-FORM are nil.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1112 Therefore \"item\" is initially searched for starting from the end of the
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1113 match of \"anchor\", and searching for subsequent instance of \"anchor\"
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1114 resumes from where searching for \"item\" concluded.)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1115
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1116 For highlighting single items, typically only MATCH-HIGHLIGHT is required.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1117 However, if an item or (typically) several items are to be highlighted
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1118 following the instance of another item (the anchor) then MATCH-ANCHORED may be
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1119 required.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1120
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1121 These regular expressions should not match text which spans lines. While
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1122 \\[font-lock-fontify-buffer] handles multi-line patterns correctly, updating when you
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1123 edit the buffer does not, since it considers text one line at a time.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1124
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1125 Be very careful composing regexps for this list; the wrong pattern can
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1126 dramatically slow things down!
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1127 ")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1128
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1129 (make-variable-buffer-local 'font-lock-keywords)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1130
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1131 (defvar font-lock-syntactic-keywords nil "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1132 A list of the syntactic keywords to highlight.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1133 Can be the list or the name of a function or variable whose value is the list.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1134 See `font-lock-keywords' for a description of the form of this list;
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1135 the differences are listed below. MATCH-HIGHLIGHT should be of the form:
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1136
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1137 (MATCH SYNTAX OVERRIDE LAXMATCH)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1138
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1139 where SYNTAX can be of the form (SYNTAX-CODE . MATCHING-CHAR), the name of a
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1140 syntax table, or an expression whose value is such a form or a syntax table.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1141 OVERRIDE cannot be `prepend' or `append'.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1142
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1143 For example, an element of the form highlights syntactically:
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1144
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1145 (\"\\\\$\\\\(#\\\\)\" 1 (1 . nil))
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1146
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1147 a hash character when following a dollar character, with a SYNTAX-CODE of
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1148 1 (meaning punctuation syntax). Assuming that the buffer syntax table does
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1149 specify hash characters to have comment start syntax, the element will only
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1150 highlight hash characters that do not follow dollar characters as comments
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1151 syntactically.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1152
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1153 (\"\\\\('\\\\).\\\\('\\\\)\"
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1154 (1 (7 . ?'))
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1155 (2 (7 . ?')))
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1156
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1157 both single quotes which surround a single character, with a SYNTAX-CODE of
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1158 7 (meaning string quote syntax) and a MATCHING-CHAR of a single quote (meaning
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1159 a single quote matches a single quote). Assuming that the buffer syntax table
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1160 does not specify single quotes to have quote syntax, the element will only
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1161 highlight single quotes of the form 'c' as strings syntactically.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1162 Other forms, such as foo'bar or 'fubar', will not be highlighted as strings.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1163
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1164 This is normally set via `font-lock-defaults'.")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1165
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1166 (make-variable-buffer-local 'font-lock-syntactic-keywords)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1167
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1168 (defcustom font-lock-mode nil "Non nil means `font-lock-mode' is on" :group 'font-lock :type 'boolean :initialize 'custom-initialize-default :require 'font-lock :set (function (lambda (var val) (font-lock-mode (or val 0)))))
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1169
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1170 (defvar font-lock-mode-hook nil "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1171 Function or functions to run on entry to font-lock-mode.")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1172
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1173 (autoload 'font-lock-mode "font-lock" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1174 Toggle Font Lock Mode.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1175 With arg, turn font-lock mode on if and only if arg is positive.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1176
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1177 When Font Lock mode is enabled, text is fontified as you type it:
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1178
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1179 - Comments are displayed in `font-lock-comment-face';
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1180 - Strings are displayed in `font-lock-string-face';
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1181 - Documentation strings (in Lisp-like languages) are displayed in
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1182 `font-lock-doc-string-face';
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1183 - Language keywords (\"reserved words\") are displayed in
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1184 `font-lock-keyword-face';
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1185 - Function names in their defining form are displayed in
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1186 `font-lock-function-name-face';
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1187 - Variable names in their defining form are displayed in
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1188 `font-lock-variable-name-face';
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1189 - Type names are displayed in `font-lock-type-face';
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1190 - References appearing in help files and the like are displayed
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1191 in `font-lock-reference-face';
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1192 - Preprocessor declarations are displayed in
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1193 `font-lock-preprocessor-face';
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1194
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1195 and
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1196
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1197 - Certain other expressions are displayed in other faces according
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1198 to the value of the variable `font-lock-keywords'.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1199
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1200 Where modes support different levels of fontification, you can use the variable
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1201 `font-lock-maximum-decoration' to specify which level you generally prefer.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1202 When you turn Font Lock mode on/off the buffer is fontified/defontified, though
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1203 fontification occurs only if the buffer is less than `font-lock-maximum-size'.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1204 To fontify a buffer without turning on Font Lock mode, and regardless of buffer
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1205 size, you can use \\[font-lock-fontify-buffer].
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1206
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1207 See the variable `font-lock-keywords' for customization." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1208
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1209 (autoload 'turn-on-font-lock "font-lock" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1210 Unconditionally turn on Font Lock mode." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1211
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1212 (autoload 'turn-off-font-lock "font-lock" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1213 Unconditionally turn off Font Lock mode." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1214
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1215 (autoload 'font-lock-fontify-buffer "font-lock" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1216 Fontify the current buffer the way `font-lock-mode' would.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1217 See `font-lock-mode' for details.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1218
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1219 This can take a while for large buffers." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1220
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1221 (autoload 'font-lock-set-defaults-1 "font-lock" nil nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1222
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1223 (add-minor-mode 'font-lock-mode " Font")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1224
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1225 ;;;***
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1226
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1227 ;;;### (autoloads (font-menu-weight-constructor font-menu-size-constructor font-menu-family-constructor reset-device-font-menus) "font-menu" "lisp/font-menu.el")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1228
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1229 (defcustom font-menu-ignore-scaled-fonts nil "*If non-nil, then the font menu will try to show only bitmap fonts." :type 'boolean :group 'font-menu)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1230
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1231 (defcustom font-menu-this-frame-only-p nil "*If non-nil, then changing the default font from the font menu will only\naffect one frame instead of all frames." :type 'boolean :group 'font-menu)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1232
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1233 (fset 'install-font-menus 'reset-device-font-menus)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1234
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1235 (autoload 'reset-device-font-menus "font-menu" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1236 Generates the `Font', `Size', and `Weight' submenus for the Options menu.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1237 This is run the first time that a font-menu is needed for each device.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1238 If you don't like the lazy invocation of this function, you can add it to
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1239 `create-device-hook' and that will make the font menus respond more quickly
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1240 when they are selected for the first time. If you add fonts to your system,
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1241 or if you change your font path, you can call this to re-initialize the menus." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1242
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1243 (autoload 'font-menu-family-constructor "font-menu" nil nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1244
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1245 (autoload 'font-menu-size-constructor "font-menu" nil nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1246
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1247 (autoload 'font-menu-weight-constructor "font-menu" nil nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1248
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1249 ;;;***
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1250
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1251 ;;;### (autoloads (x-font-build-cache font-default-size-for-device font-default-encoding-for-device font-default-registry-for-device font-default-family-for-device font-default-object-for-device font-default-font-for-device font-create-object) "font" "lisp/font.el")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1252
707
a307f9a2021d [xemacs-hg @ 2001-12-20 05:49:28 by andyp]
andyp
parents: 665
diff changeset
1253 (autoload 'font-create-object "font" "\
a307f9a2021d [xemacs-hg @ 2001-12-20 05:49:28 by andyp]
andyp
parents: 665
diff changeset
1254 Return a font descriptor object for FONTNAME, appropriate for DEVICE." nil nil)
647
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1255
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1256 (autoload 'font-default-font-for-device "font" nil nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1257
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1258 (autoload 'font-default-object-for-device "font" nil nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1259
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1260 (autoload 'font-default-family-for-device "font" nil nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1261
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1262 (autoload 'font-default-registry-for-device "font" nil nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1263
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1264 (autoload 'font-default-encoding-for-device "font" nil nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1265
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1266 (autoload 'font-default-size-for-device "font" nil nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1267
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1268 (autoload 'x-font-build-cache "font" nil nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1269
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1270 ;;;***
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1271
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1272 ;;;### (autoloads (gnuserv-start gnuserv-running-p) "gnuserv" "lisp/gnuserv.el")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1273
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1274 (defcustom gnuserv-frame nil "*The frame to be used to display all edited files.\nIf nil, then a new frame is created for each file edited.\nIf t, then the currently selected frame will be used.\nIf a function, then this will be called with a symbol `x' or `tty' as the\nonly argument, and its return value will be interpreted as above." :tag "Gnuserv Frame" :type '(radio (const :tag "Create new frame each time" nil) (const :tag "Use selected frame" t) (function-item :tag "Use main Emacs frame" gnuserv-main-frame-function) (function-item :tag "Use visible frame, otherwise create new" gnuserv-visible-frame-function) (function-item :tag "Create special Gnuserv frame and use it" gnuserv-special-frame-function) (function :tag "Other")) :group 'gnuserv :group 'frames)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1275
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1276 (autoload 'gnuserv-running-p "gnuserv" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1277 Return non-nil if a gnuserv process is running from this XEmacs session." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1278
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1279 (autoload 'gnuserv-start "gnuserv" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1280 Allow this Emacs process to be a server for client processes.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1281 This starts a gnuserv communications subprocess through which
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1282 client \"editors\" (gnuclient and gnudoit) can send editing commands to
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1283 this Emacs job. See the gnuserv(1) manual page for more details.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1284
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1285 Prefix arg means just kill any existing server communications subprocess." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1286
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1287 ;;;***
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1288
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1289 ;;;### (autoloads (gtk-reset-device-font-menus) "gtk-font-menu" "lisp/gtk-font-menu.el")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1290
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1291 (autoload 'gtk-reset-device-font-menus "gtk-font-menu" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1292 Generates the `Font', `Size', and `Weight' submenus for the Options menu.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1293 This is run the first time that a font-menu is needed for each device.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1294 If you don't like the lazy invocation of this function, you can add it to
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1295 `create-device-hook' and that will make the font menus respond more quickly
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1296 when they are selected for the first time. If you add fonts to your system,
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1297 or if you change your font path, you can call this to re-initialize the menus." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1298
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1299 (defun* gtk-font-menu-font-data (face dcache) (defvar gtk-font-regexp) (defvar gtk-font-regexp-foundry-and-family) (let* ((case-fold-search t) (domain (if font-menu-this-frame-only-p (selected-frame) (selected-device))) (name (font-instance-name (face-font-instance face domain))) (truename (font-instance-truename (face-font-instance face domain (if (featurep 'mule) 'ascii)))) family size weight entry slant) (when (string-match gtk-font-regexp-foundry-and-family name) (setq family (capitalize (match-string 1 name))) (setq entry (vassoc family (aref dcache 0)))) (when (and (null entry) (string-match gtk-font-regexp-foundry-and-family truename)) (setq family (capitalize (match-string 1 truename))) (setq entry (vassoc family (aref dcache 0)))) (when (null entry) (return-from gtk-font-menu-font-data (make-vector 5 nil))) (when (string-match gtk-font-regexp name) (setq weight (capitalize (match-string 1 name))) (setq size (string-to-int (match-string 6 name)))) (when (string-match gtk-font-regexp truename) (when (not (member weight (aref entry 1))) (setq weight (capitalize (match-string 1 truename)))) (when (not (member size (aref entry 2))) (setq size (string-to-int (match-string 6 truename)))) (setq slant (capitalize (match-string 2 truename)))) (vector entry family size weight slant)))
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1300
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1301 ;;;***
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1302
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1303 ;;;### (autoloads nil "help-macro" "lisp/help-macro.el")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1304
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1305 (defcustom three-step-help t "*Non-nil means give more info about Help command in three steps.\nThe three steps are simple prompt, prompt with all options,\nand window listing and describing the options.\nA value of nil means skip the middle step, so that\n\\[help-command] \\[help-command] gives the window that lists the options." :type 'boolean :group 'help-appearance)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1306
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1307 ;;;***
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1308
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1309 ;;;### (autoloads (hyper-apropos-popup-menu hyper-apropos-set-variable hyper-set-variable hyper-apropos-read-variable-symbol hyper-describe-function hyper-where-is hyper-describe-variable hyper-describe-face hyper-describe-key-briefly hyper-describe-key hyper-apropos command-hyper-apropos) "hyper-apropos" "lisp/hyper-apropos.el")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1310
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1311 (autoload 'command-hyper-apropos "hyper-apropos" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1312 Display lists of commands and user options matching REGEXP
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1313 in buffer \"*Hyper Apropos*\". See `hyper-apropos-mode' for a
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1314 description of the available commands in a Hyper-Apropos buffer." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1315
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1316 (autoload 'hyper-apropos "hyper-apropos" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1317 Display lists of functions and variables matching REGEXP
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1318 in buffer \"*Hyper Apropos*\". If optional prefix arg is given, then the
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1319 value of `hyper-apropos-programming-apropos' is toggled for this search.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1320 See `hyper-apropos-mode' for a description of the available commands in
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1321 a Hyper-Apropos buffer." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1322
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1323 (autoload 'hyper-describe-key "hyper-apropos" nil t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1324
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1325 (autoload 'hyper-describe-key-briefly "hyper-apropos" nil t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1326
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1327 (autoload 'hyper-describe-face "hyper-apropos" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1328 Describe face..
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1329 See also `hyper-apropos' and `hyper-describe-function'." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1330
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1331 (autoload 'hyper-describe-variable "hyper-apropos" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1332 Hypertext drop-in replacement for `describe-variable'.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1333 See also `hyper-apropos' and `hyper-describe-function'." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1334
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1335 (autoload 'hyper-where-is "hyper-apropos" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1336 Print message listing key sequences that invoke specified command." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1337
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1338 (autoload 'hyper-describe-function "hyper-apropos" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1339 Hypertext replacement for `describe-function'. Unlike `describe-function'
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1340 in that the symbol under the cursor is the default if it is a function.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1341 See also `hyper-apropos' and `hyper-describe-variable'." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1342
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1343 (autoload 'hyper-apropos-read-variable-symbol "hyper-apropos" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1344 Hypertext drop-in replacement for `describe-variable'.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1345 See also `hyper-apropos' and `hyper-describe-function'." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1346
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1347 (define-obsolete-function-alias 'hypropos-read-variable-symbol 'hyper-apropos-read-variable-symbol)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1348
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1349 (define-obsolete-function-alias 'hypropos-get-doc 'hyper-apropos-get-doc)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1350
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1351 (autoload 'hyper-set-variable "hyper-apropos" nil t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1352
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1353 (autoload 'hyper-apropos-set-variable "hyper-apropos" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1354 Interactively set the variable on the current line." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1355
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1356 (define-obsolete-function-alias 'hypropos-set-variable 'hyper-apropos-set-variable)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1357
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1358 (autoload 'hyper-apropos-popup-menu "hyper-apropos" nil t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1359
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1360 (define-obsolete-function-alias 'hypropos-popup-menu 'hyper-apropos-popup-menu)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1361
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1362 ;;;***
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1363
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1364 ;;;### (autoloads (Info-search-index-in-xemacs-and-lispref Info-search-index-in-lispref Info-search-text-in-xemacs Info-search-text-in-lispref Info-elisp-ref Info-emacs-key Info-goto-emacs-key-command-node Info-goto-emacs-command-node Info-emacs-command Info-search Info-visit-file Info-goto-node Info-batch-rebuild-dir Info-find-node Info-query info) "info" "lisp/info.el")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1365
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1366 (defvar Info-directory-list nil "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1367 List of directories to search for Info documentation files.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1368
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1369 The first directory in this list, the \"dir\" file there will become
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1370 the (dir)Top node of the Info documentation tree.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1371
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1372 Note: DO NOT use the `customize' interface to change the value of this
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1373 variable. Its value is created dynamically on each startup, depending
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1374 on XEmacs packages installed on the system. If you want to change the
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1375 search path, make the needed modifications on the variable's value
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1376 from .emacs. For instance:
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1377
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1378 (setq Info-directory-list (cons \"~/info\" Info-directory-list))")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1379
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1380 (autoload 'info "info" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1381 Enter Info, the documentation browser.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1382 Optional argument FILE specifies the file to examine;
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1383 the default is the top-level directory of Info.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1384
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1385 In interactive use, a prefix argument directs this command
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1386 to read a file name from the minibuffer." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1387
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1388 (autoload 'Info-query "info" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1389 Enter Info, the documentation browser. Prompt for name of Info file." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1390
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1391 (autoload 'Info-find-node "info" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1392 Go to an info node specified as separate FILENAME and NODENAME.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1393 Look for a plausible filename, or if not found then look for URL's and
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1394 dispatch to the appropriate fn. NO-GOING-BACK is non-nil if
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1395 recovering from an error in this function; it says do not attempt
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1396 further (recursive) error recovery. TRYFILE is ??" nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1397
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1398 (autoload 'Info-batch-rebuild-dir "info" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1399 (Re)build `dir' files in the directories remaining on the command line.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1400 Use this from the command line, with `-batch', it won't work in an
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1401 interactive XEmacs.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1402
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1403 Each file is processed even if an error occurred previously. For example,
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1404 invoke \"xemacs -batch -f Info-batch-rebuild-dir /usr/local/info\"." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1405
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1406 (autoload 'Info-goto-node "info" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1407 Go to info node named NAME. Give just NODENAME or (FILENAME)NODENAME.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1408 Actually, the following interpretations of NAME are tried in order:
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1409 (FILENAME)NODENAME
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1410 (FILENAME) (using Top node)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1411 NODENAME (in current file)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1412 TAGNAME (see below)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1413 FILENAME (using Top node)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1414 where TAGNAME is a string that appears in quotes: \"TAGNAME\", in an
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1415 annotation for any node of any file. (See `a' and `x' commands.)" t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1416
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1417 (autoload 'Info-visit-file "info" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1418 Directly visit an info file." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1419
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1420 (autoload 'Info-search "info" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1421 Search for REGEXP, starting from point, and select node it's found in." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1422
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1423 (autoload 'Info-emacs-command "info" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1424 Look up an Emacs command in the Emacs manual in the Info system.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1425 This command is designed to be used whether you are already in Info or not." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1426
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1427 (autoload 'Info-goto-emacs-command-node "info" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1428 Look up an Emacs command in the Emacs manual in the Info system.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1429 This command is designed to be used whether you are already in Info or not." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1430
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1431 (autoload 'Info-goto-emacs-key-command-node "info" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1432 Look up an Emacs key sequence in the Emacs manual in the Info system.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1433 This command is designed to be used whether you are already in Info or not." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1434
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1435 (autoload 'Info-emacs-key "info" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1436 Look up an Emacs key sequence in the Emacs manual in the Info system.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1437 This command is designed to be used whether you are already in Info or not." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1438
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1439 (autoload 'Info-elisp-ref "info" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1440 Look up an Emacs Lisp function in the Elisp manual in the Info system.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1441 This command is designed to be used whether you are already in Info or not." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1442
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1443 (autoload 'Info-search-text-in-lispref "info" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1444 Search for REGEXP in Lispref text and select node it's found in." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1445
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1446 (autoload 'Info-search-text-in-xemacs "info" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1447 Search for REGEXP in User's Manual text and select node it's found in." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1448
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1449 (autoload 'Info-search-index-in-lispref "info" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1450 Search for REGEXP in Lispref index and select node it's found in." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1451
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1452 (autoload 'Info-search-index-in-xemacs-and-lispref "info" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1453 Search for REGEXP in both User's Manual and Lispref indices.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1454 Select node it's found in." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1455
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1456 ;;;***
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1457
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1458 ;;;### (autoloads nil "itimer-autosave" "lisp/itimer-autosave.el")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1459
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1460 ;;;***
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1461
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1462 ;;;### (autoloads nil "loaddefs" "lisp/loaddefs.el")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1463
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1464 ;;;***
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1465
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1466 ;;;### (autoloads nil "loadhist" "lisp/loadhist.el")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1467
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1468 ;;;***
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1469
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1470 ;;;### (autoloads (mswindows-reset-device-font-menus) "msw-font-menu" "lisp/msw-font-menu.el")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1471
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1472 (autoload 'mswindows-reset-device-font-menus "msw-font-menu" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1473 Generates the `Font', `Size', and `Weight' submenus for the Options menu.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1474 This is run the first time that a font-menu is needed for each device.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1475 If you don't like the lazy invocation of this function, you can add it to
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1476 `create-device-hook' and that will make the font menus respond more quickly
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1477 when they are selected for the first time. If you add fonts to your system,
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1478 or if you change your font path, you can call this to re-initialize the menus." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1479
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1480 (defun* mswindows-font-menu-font-data (face dcache) (let* ((case-fold-search t) (domain (if font-menu-this-frame-only-p (selected-frame) (selected-device))) (name (font-instance-name (face-font-instance face domain))) (truename (font-instance-truename (face-font-instance face domain (if (featurep 'mule) 'ascii)))) family size weight entry slant) (when (string-match mswindows-font-regexp name) (setq family (match-string 1 name)) (setq entry (vassoc family (aref dcache 0)))) (when (and (null entry) (string-match mswindows-font-regexp truename)) (setq family (match-string 1 truename)) (setq entry (vassoc family (aref dcache 0)))) (when (null entry) (return-from mswindows-font-menu-font-data (make-vector 5 nil))) (when (string-match mswindows-font-regexp name) (setq weight (match-string 2 name)) (setq size (string-to-int (match-string 4 name)))) (when (string-match mswindows-font-regexp truename) (when (not (member weight (aref entry 1))) (setq weight (match-string 2 truename))) (when (not (member size (aref entry 2))) (setq size (string-to-int (match-string 4 truename)))) (setq slant (match-string 5 truename))) (vector entry family size weight slant)))
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1481
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1482 ;;;***
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1483
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1484 ;;;### (autoloads (mwheel-install) "mwheel" "lisp/mwheel.el")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1485
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1486 (autoload 'mwheel-install "mwheel" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1487 Enable mouse wheel support." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1488
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1489 ;;;***
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1490
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1491 ;;;### (autoloads (package-admin-add-binary-package package-admin-add-single-file-package) "package-admin" "lisp/package-admin.el")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1492
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1493 (autoload 'package-admin-add-single-file-package "package-admin" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1494 Install a single file Lisp package into XEmacs package hierarchy.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1495 `file' should be the full path to the lisp file to install.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1496 `destdir' should be a simple directory name.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1497 The optional `pkg-dir' can be used to override the default package hierarchy
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1498 \(car (last late-packages))." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1499
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1500 (autoload 'package-admin-add-binary-package "package-admin" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1501 Install a pre-bytecompiled XEmacs package into package hierarchy." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1502
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1503 ;;;***
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1504
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1505 ;;;### (autoloads (package-get-custom package-get-package-provider package-get package-get-dependencies package-get-all package-get-update-all package-get-delete-package package-get-save-base package-get-update-base-from-buffer package-get-update-base package-get-update-base-entry package-get-require-base package-get-download-menu) "package-get" "lisp/package-get.el")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1506
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1507 (defvar package-get-base nil "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1508 List of packages that are installed at this site.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1509 For each element in the alist, car is the package name and the cdr is
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1510 a plist containing information about the package. Typical fields
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1511 kept in the plist are:
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1512
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1513 version - version of this package
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1514 provides - list of symbols provided
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1515 requires - list of symbols that are required.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1516 These in turn are provided by other packages.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1517 filename - name of the file.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1518 size - size of the file (aka the bundled package)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1519 md5sum - computed md5 checksum
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1520 description - What this package is for.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1521 type - Whether this is a 'binary (default) or 'single file package
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1522
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1523 More fields may be added as needed. An example:
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1524
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1525 '(
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1526 (name
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1527 (version \"<version 2>\"
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1528 file \"filename\"
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1529 description \"what this package is about.\"
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1530 provides (<list>)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1531 requires (<list>)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1532 size <integer-bytes>
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1533 md5sum \"<checksum\"
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1534 type single
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1535 )
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1536 (version \"<version 1>\"
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1537 file \"filename\"
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1538 description \"what this package is about.\"
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1539 provides (<list>)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1540 requires (<list>)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1541 size <integer-bytes>
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1542 md5sum \"<checksum\"
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1543 type single
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1544 )
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1545 ...
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1546 ))
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1547
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1548 For version information, it is assumed things are listed in most
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1549 recent to least recent -- in other words, the version names don't have to
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1550 be lexically ordered. It is debatable if it makes sense to have more than
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1551 one version of a package available.")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1552
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1553 (defcustom package-get-download-sites '(("Pre-Releases" "ftp.xemacs.org" "pub/xemacs/beta/experimental/packages") ("xemacs.org" "ftp.xemacs.org" "pub/xemacs/packages") ("crc.ca (Canada)" "ftp.crc.ca" "pub/packages/editors/xemacs/packages") ("ualberta.ca (Canada)" "sunsite.ualberta.ca" "pub/Mirror/xemacs/packages") ("uiuc.edu (United States)" "uiarchive.uiuc.edu" "pub/packages/xemacs/packages") ("unc.edu (United States)" "metalab.unc.edu" "pub/packages/editors/xemacs/packages") ("utk.edu (United States)" "ftp.sunsite.utk.edu" "pub/xemacs/packages") ("unicamp.br (Brazil)" "ftp.unicamp.br" "pub/xemacs/packages") ("tuwien.ac.at (Austria)" "gd.tuwien.ac.at" "editors/xemacs/packages") ("auc.dk (Denmark)" "sunsite.auc.dk" "pub/emacs/xemacs/packages") ("doc.ic.ac.uk (England)" "sunsite.doc.ic.ac.uk" "packages/xemacs/packages") ("funet.fi (Finland)" "ftp.funet.fi" "pub/mirrors/ftp.xemacs.org/pub/tux/xemacs/packages") ("cenatls.cena.dgac.fr (France)" "ftp.cenatls.cena.dgac.fr" "Emacs/xemacs/packages") ("pasteur.fr (France)" "ftp.pasteur.fr" "pub/computing/xemacs/packages") ("tu-darmstadt.de (Germany)" "ftp.tu-darmstadt.de" "pub/editors/xemacs/packages") ("kfki.hu (Hungary)" "ftp.kfki.hu" "pub/packages/xemacs/packages") ("eunet.ie (Ireland)" "ftp.eunet.ie" "mirrors/ftp.xemacs.org/pub/xemacs/packages") ("uniroma2.it (Italy)" "ftp.uniroma2.it" "unix/misc/dist/XEMACS/packages") ("uio.no (Norway)" "sunsite.uio.no" "pub/xemacs/packages") ("icm.edu.pl (Poland)" "ftp.icm.edu.pl" "pub/unix/editors/xemacs/packages") ("srcc.msu.su (Russia)" "ftp.srcc.msu.su" "mirror/ftp.xemacs.org/packages") ("sunet.se (Sweden)" "ftp.sunet.se" "pub/gnu/xemacs/packages") ("cnlab-switch.ch (Switzerland)" "sunsite.cnlab-switch.ch" "mirror/xemacs/packages") ("aist.go.jp (Japan)" "ring.aist.go.jp" "pub/text/xemacs/packages") ("asahi-net.or.jp (Japan)" "ring.asahi-net.or.jp" "pub/text/xemacs/packages") ("dti.ad.jp (Japan)" "ftp.dti.ad.jp" "pub/unix/editor/xemacs/packages") ("jaist.ac.jp (Japan)" "ftp.jaist.ac.jp" "pub/GNU/xemacs/packages") ("nucba.ac.jp (Japan)" "mirror.nucba.ac.jp" "mirror/xemacs/packages") ("sut.ac.jp (Japan)" "sunsite.sut.ac.jp" "pub/archives/packages/xemacs/packages") ("tsukuba.ac.jp (Japan)" "ftp.netlab.is.tsukuba.ac.jp" "pub/GNU/xemacs/packages") ("kreonet.re.kr (Korea)" "ftp.kreonet.re.kr" "pub/tools/emacs/xemacs/packages") ("nctu.edu.tw (Taiwan)" "coda.nctu.edu.tw" "Editors/xemacs/packages") ("sun.ac.za (South Africa)" "ftp.sun.ac.za" "xemacs/packages") ("isu.net.sa (Saudi Arabia)" "ftp.isu.net.sa" "pub/mirrors/ftp.xemacs.org/packages") ("aarnet.edu.au (Australia)" "mirror.aarnet.edu.au" "pub/xemacs/packages")) "*List of remote sites available for downloading packages.\nList format is '(site-description site-name directory-on-site).\nSITE-DESCRIPTION is a textual description of the site. SITE-NAME\nis the internet address of the download site. DIRECTORY-ON-SITE\nis the directory on the site in which packages may be found.\nThis variable is used to initialize `package-get-remote', the\nvariable actually used to specify package download sites." :tag "Package download sites" :type '(repeat (list (string :tag "Name") host-name directory)) :group 'package-get)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1554
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1555 (autoload 'package-get-download-menu "package-get" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1556 Build the `Add Download Site' menu." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1557
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1558 (autoload 'package-get-require-base "package-get" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1559 Require that a package-get database has been loaded.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1560 If the optional FORCE-CURRENT argument or the value of
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1561 `package-get-always-update' is Non-nil, try to update the database
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1562 from a location in `package-get-remote'. Otherwise a local copy is used
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1563 if available and remote access is never done.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1564
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1565 Please use FORCE-CURRENT only when the user is explictly dealing with packages
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1566 and remote access is likely in the near future." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1567
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1568 (autoload 'package-get-update-base-entry "package-get" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1569 Update an entry in `package-get-base'." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1570
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1571 (autoload 'package-get-update-base "package-get" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1572 Update the package-get database file with entries from DB-FILE.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1573 Unless FORCE-CURRENT is non-nil never try to update the database." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1574
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1575 (autoload 'package-get-update-base-from-buffer "package-get" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1576 Update the package-get database with entries from BUFFER.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1577 BUFFER defaults to the current buffer. This command can be
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1578 used interactively, for example from a mail or news buffer." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1579
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1580 (autoload 'package-get-save-base "package-get" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1581 Write the package-get database to FILE.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1582
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1583 Note: This database will be unsigned of course." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1584
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1585 (autoload 'package-get-delete-package "package-get" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1586 Delete an installation of PACKAGE below directory PKG-TOPDIR.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1587 PACKAGE is a symbol, not a string.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1588 This is just an interactive wrapper for `package-admin-delete-binary-package'." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1589
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1590 (autoload 'package-get-update-all "package-get" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1591 Fetch and install the latest versions of all currently installed packages." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1592
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1593 (autoload 'package-get-all "package-get" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1594 Fetch PACKAGE with VERSION and all other required packages.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1595 Uses `package-get-base' to determine just what is required and what
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1596 package provides that functionality. If VERSION is nil, retrieves
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1597 latest version. Optional argument FETCHED-PACKAGES is used to keep
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1598 track of packages already fetched. Optional argument INSTALL-DIR,
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1599 if non-nil, specifies the package directory where fetched packages
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1600 should be installed.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1601
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1602 Returns nil upon error." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1603
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1604 (autoload 'package-get-dependencies "package-get" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1605 Compute dependencies for PACKAGES.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1606 Uses `package-get-base' to determine just what is required and what
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1607 package provides that functionality. Returns the list of packages
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1608 required by PACKAGES." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1609
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1610 (autoload 'package-get "package-get" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1611 Fetch PACKAGE from remote site.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1612 Optional arguments VERSION indicates which version to retrieve, nil
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1613 means most recent version. CONFLICT indicates what happens if the
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1614 package is already installed. Valid values for CONFLICT are:
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1615 'always always retrieve the package even if it is already installed
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1616 'never do not retrieve the package if it is installed.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1617 INSTALL-DIR, if non-nil, specifies the package directory where
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1618 fetched packages should be installed.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1619
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1620 The value of `package-get-base' is used to determine what files should
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1621 be retrieved. The value of `package-get-remote' is used to determine
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1622 where a package should be retrieved from. The sites are tried in
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1623 order so one is better off listing easily reached sites first.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1624
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1625 Once the package is retrieved, its md5 checksum is computed. If that
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1626 sum does not match that stored in `package-get-base' for this version
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1627 of the package, an error is signalled.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1628
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1629 Returns `t' upon success, the symbol `error' if the package was
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1630 successfully installed but errors occurred during initialization, or
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1631 `nil' upon error." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1632
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1633 (autoload 'package-get-package-provider "package-get" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1634 Search for a package that provides SYM and return the name and
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1635 version. Searches in `package-get-base' for SYM. If SYM is a
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1636 consp, then it must match a corresponding (provide (SYM VERSION)) from
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1637 the package.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1638
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1639 If FORCE-CURRENT is non-nil make sure the database is up to date. This might
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1640 lead to Emacs accessing remote sites." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1641
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1642 (autoload 'package-get-custom "package-get" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1643 Fetch and install the latest versions of all customized packages." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1644
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1645 ;;;***
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1646
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1647 ;;;### (autoloads (package-net-update-installed-db package-net-setup-directory) "package-net" "lisp/package-net.el")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1648
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1649 (autoload 'package-net-setup-directory "package-net" nil nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1650
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1651 (autoload 'package-net-update-installed-db "package-net" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1652 Write out the installed package index in a net install suitable format.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1653 If DESTDIR is non-nil then use that as the destination directory.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1654 DESTDIR defaults to the value of `package-net-setup-directory'." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1655
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1656 ;;;***
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1657
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1658 ;;;### (autoloads (pui-list-packages pui-add-install-directory package-ui-add-site) "package-ui" "lisp/package-ui.el")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1659
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1660 (autoload 'package-ui-add-site "package-ui" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1661 Add site to package-get-remote and possibly offer to update package list." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1662
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1663 (autoload 'pui-add-install-directory "package-ui" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1664 Add a new package binary directory to the head of `package-get-remote'.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1665 Note that no provision is made for saving any changes made by this function.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1666 It exists mainly as a convenience for one-time package installations from
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1667 disk." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1668
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1669 (autoload 'pui-list-packages "package-ui" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1670 List all packages and package information.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1671 The package name, version, and description are displayed. From the displayed
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1672 buffer, the user can see which packages are installed, which are not, and
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1673 which are out-of-date (a newer version is available). The user can then
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1674 select packages for installation via the keyboard or mouse." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1675
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1676 (defalias 'list-packages 'pui-list-packages)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1677
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1678 ;;;***
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1679
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1680 ;;;### (autoloads (picture-mode) "picture" "lisp/picture.el")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1681
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1682 (autoload 'picture-mode "picture" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1683 Switch to Picture mode, in which a quarter-plane screen model is used.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1684 Printing characters replace instead of inserting themselves with motion
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1685 afterwards settable by these commands:
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1686 C-c < Move left after insertion.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1687 C-c > Move right after insertion.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1688 C-c ^ Move up after insertion.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1689 C-c . Move down after insertion.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1690 C-c ` Move northwest (nw) after insertion.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1691 C-c ' Move northeast (ne) after insertion.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1692 C-c / Move southwest (sw) after insertion.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1693 C-c \\ Move southeast (se) after insertion.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1694 The current direction is displayed in the modeline. The initial
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1695 direction is right. Whitespace is inserted and tabs are changed to
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1696 spaces when required by movement. You can move around in the buffer
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1697 with these commands:
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1698 \\[picture-move-down] Move vertically to SAME column in previous line.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1699 \\[picture-move-up] Move vertically to SAME column in next line.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1700 \\[picture-end-of-line] Move to column following last non-whitespace character.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1701 \\[picture-forward-column] Move right inserting spaces if required.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1702 \\[picture-backward-column] Move left changing tabs to spaces if required.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1703 C-c C-f Move in direction of current picture motion.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1704 C-c C-b Move in opposite direction of current picture motion.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1705 Return Move to beginning of next line.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1706 You can edit tabular text with these commands:
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1707 M-Tab Move to column beneath (or at) next interesting character.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1708 `Indents' relative to a previous line.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1709 Tab Move to next stop in tab stop list.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1710 C-c Tab Set tab stops according to context of this line.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1711 With ARG resets tab stops to default (global) value.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1712 See also documentation of variable picture-tab-chars
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1713 which defines \"interesting character\". You can manually
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1714 change the tab stop list with command \\[edit-tab-stops].
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1715 You can manipulate text with these commands:
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1716 C-d Clear (replace) ARG columns after point without moving.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1717 C-c C-d Delete char at point - the command normally assigned to C-d.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1718 \\[picture-backward-clear-column] Clear (replace) ARG columns before point, moving back over them.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1719 \\[picture-clear-line] Clear ARG lines, advancing over them. The cleared
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1720 text is saved in the kill ring.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1721 \\[picture-open-line] Open blank line(s) beneath current line.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1722 You can manipulate rectangles with these commands:
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1723 C-c C-k Clear (or kill) a rectangle and save it.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1724 C-c C-w Like C-c C-k except rectangle is saved in named register.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1725 C-c C-y Overlay (or insert) currently saved rectangle at point.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1726 C-c C-x Like C-c C-y except rectangle is taken from named register.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1727 \\[copy-rectangle-to-register] Copies a rectangle to a register.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1728 \\[advertised-undo] Can undo effects of rectangle overlay commands
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1729 commands if invoked soon enough.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1730 You can return to the previous mode with:
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1731 C-c C-c Which also strips trailing whitespace from every line.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1732 Stripping is suppressed by supplying an argument.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1733
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1734 Entry to this mode calls the value of picture-mode-hook if non-nil.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1735
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1736 Note that Picture mode commands will work outside of Picture mode, but
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1737 they are not defaultly assigned to keys." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1738
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1739 (defalias 'edit-picture 'picture-mode)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1740
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1741 ;;;***
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1742
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1743 ;;;### (autoloads (clear-rectangle string-rectangle open-rectangle insert-rectangle yank-rectangle kill-rectangle extract-rectangle delete-extract-rectangle delete-rectangle) "rect" "lisp/rect.el")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1744
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1745 (autoload 'delete-rectangle "rect" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1746 Delete the text in the region-rectangle without saving it.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1747 The same range of columns is deleted in each line starting with the line
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1748 where the region begins and ending with the line where the region ends.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1749
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1750 When called from a program, the rectangle's corners are START and END.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1751 With a prefix (or FILL) argument, also fill lines where nothing has to be
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1752 deleted." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1753
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1754 (autoload 'delete-extract-rectangle "rect" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1755 Delete the contents of the rectangle with corners at START and END, and
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1756 return it as a list of strings, one for each line of the rectangle.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1757
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1758 With an optional FILL argument, also fill lines where nothing has to be
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1759 deleted." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1760
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1761 (autoload 'extract-rectangle "rect" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1762 Return the contents of the rectangle with corners at START and END,
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1763 as a list of strings, one for each line of the rectangle." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1764
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1765 (defvar killed-rectangle nil "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1766 Rectangle for `yank-rectangle' to insert.")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1767
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1768 (autoload 'kill-rectangle "rect" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1769 Delete the region-rectangle and save it as the last killed one.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1770 You might prefer to use `delete-extract-rectangle' from a program.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1771
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1772 When called from a program, the rectangle's corners are START and END.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1773 With a prefix (or FILL) argument, also fill lines where nothing has to be
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1774 deleted." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1775
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1776 (autoload 'yank-rectangle "rect" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1777 Yank the last killed rectangle with upper left corner at point." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1778
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1779 (autoload 'insert-rectangle "rect" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1780 Insert text of RECTANGLE with upper left corner at point.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1781 RECTANGLE's first line is inserted at point, its second
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1782 line is inserted at a point vertically under point, etc.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1783 RECTANGLE should be a list of strings.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1784 After this command, the mark is at the upper left corner
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1785 and point is at the lower right corner." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1786
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1787 (autoload 'open-rectangle "rect" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1788 Blank out the region-rectangle, shifting text right.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1789
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1790 When called from a program, the rectangle's corners are START and END.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1791 With a prefix (or FILL) argument, fill with blanks even if there is no text
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1792 on the right side of the rectangle." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1793
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1794 (autoload 'string-rectangle "rect" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1795 Insert STRING on each line of the region-rectangle, shifting text right.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1796 The left edge of the rectangle specifies the column for insertion.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1797
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1798 If `pending-delete-mode' is active the string replace the region.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1799 Otherwise this command does not delete or overwrite any existing text.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1800
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1801 When called from a program, the rectangle's corners are START and END." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1802
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1803 (autoload 'clear-rectangle "rect" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1804 Blank out the region-rectangle.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1805 The text previously in the region is overwritten with blanks.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1806
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1807 When called from a program, the rectangle's corners are START and END.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1808 With a prefix (or FILL) argument, also fill with blanks the parts of the
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1809 rectangle which were empty." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1810
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1811 ;;;***
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1812
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1813 ;;;### (autoloads (list-load-path-shadows) "shadow" "lisp/shadow.el")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1814
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1815 (autoload 'list-load-path-shadows "shadow" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1816 Display a list of Emacs Lisp files that shadow other files.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1817
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1818 This function lists potential load-path problems. Directories in the
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1819 `load-path' variable are searched, in order, for Emacs Lisp
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1820 files. When a previously encountered file name is found again, a
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1821 message is displayed indicating that the later file is \"hidden\" by
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1822 the earlier.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1823
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1824 For example, suppose `load-path' is set to
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1825
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1826 \(\"/usr/gnu/emacs/site-lisp\" \"/usr/gnu/emacs/share/emacs/19.30/lisp\")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1827
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1828 and that each of these directories contains a file called XXX.el. Then
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1829 XXX.el in the site-lisp directory is referred to by all of:
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1830 \(require 'XXX), (autoload .... \"XXX\"), (load-library \"XXX\") etc.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1831
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1832 The first XXX.el file prevents emacs from seeing the second (unless
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1833 the second is loaded explicitly via load-file).
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1834
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1835 When not intended, such shadowings can be the source of subtle
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1836 problems. For example, the above situation may have arisen because the
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1837 XXX package was not distributed with versions of emacs prior to
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1838 19.30. An emacs maintainer downloaded XXX from elsewhere and installed
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1839 it. Later, XXX was updated and included in the emacs distribution.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1840 Unless the emacs maintainer checks for this, the new version of XXX
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1841 will be hidden behind the old (which may no longer work with the new
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1842 emacs version).
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1843
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1844 This function performs these checks and flags all possible
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1845 shadowings. Because a .el file may exist without a corresponding .elc
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1846 \(or vice-versa), these suffixes are essentially ignored. A file
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1847 XXX.elc in an early directory (that does not contain XXX.el) is
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1848 considered to shadow a later file XXX.el, and vice-versa.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1849
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1850 When run interactively, the shadowings (if any) are displayed in a
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1851 buffer called `*Shadows*'. Shadowings are located by calling the
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1852 \(non-interactive) companion function, `find-emacs-lisp-shadows'." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1853
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1854 ;;;***
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1855
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1856 ;;;### (autoloads (load-default-sounds load-sound-file) "sound" "lisp/sound.el")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1857
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1858 (or sound-alist (setq sound-alist '((ready nil) (warp nil))))
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1859
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1860 (autoload 'load-sound-file "sound" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1861 Read in an audio-file and add it to the sound-alist.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1862
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1863 FILENAME can either be absolute or relative, in which case the file will
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1864 be searched in the directories given by `default-sound-directory-list'.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1865 When looking for the file, the extensions given by `sound-extension-list' are
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1866 also tried in the given order.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1867
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1868 You can only play sound files if you are running on display 0 of the
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1869 console of a machine with native sound support or running a NetAudio
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1870 or ESD server and XEmacs has the necessary sound support compiled in.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1871
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1872 The sound file must be in the Sun/NeXT U-LAW format, except on Linux
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1873 and MS Windows, where .wav files are also supported by the sound card
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1874 drivers." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1875
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1876 (autoload 'load-default-sounds "sound" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1877 Load and install some sound files as beep-types, using
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1878 `load-sound-file'. This only works if you're on display 0 of the
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1879 console of a machine with native sound support or running a NetAudio
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1880 server and XEmacs has the necessary sound support compiled in." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1881
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1882 ;;;***
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1883
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1884 ;;;### (autoloads (ask-user-about-supersession-threat ask-user-about-lock) "userlock" "lisp/userlock.el")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1885
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1886 (autoload 'ask-user-about-lock "userlock" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1887 Ask user wanting to edit FILENAME, locked by OTHER-USER, what to do.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1888 This function has a choice of three things to do:
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1889 do (signal 'file-locked (list FILENAME OTHER-USER))
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1890 to refrain from editing the file
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1891 return t (grab the lock on the file)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1892 return nil (edit the file even though it is locked).
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1893 You can rewrite it to use any criteria you like to choose which one to do." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1894
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1895 (autoload 'ask-user-about-supersession-threat "userlock" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1896 Ask user who is about to modify an obsolete buffer what to do.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1897 This function has two choices: it can return, in which case the modification
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1898 of the buffer will proceed, or it can (signal 'file-supersession (FILENAME)),
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1899 in which case the proposed buffer modification will not be made.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1900
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1901 You can rewrite this to use any criteria you like to choose which one to do.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1902 The buffer in question is current when this function is called." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1903
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1904 ;;;***
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1905
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1906 ;;;### (autoloads (toggle-truncate-lines auto-view-mode view-major-mode view-mode view-minor-mode view-buffer-other-window view-file-other-window view-buffer view-file) "view-less" "lisp/view-less.el")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1907
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1908 (defvar view-minor-mode-map (let ((map (make-keymap))) (set-keymap-name map 'view-minor-mode-map) (suppress-keymap map) (define-key map "-" 'negative-argument) (define-key map " " 'scroll-up) (define-key map "f" 'scroll-up) (define-key map "b" 'scroll-down) (define-key map 'backspace 'scroll-down) (define-key map 'delete 'scroll-down) (define-key map " " 'view-scroll-lines-up) (define-key map "\n" 'view-scroll-lines-up) (define-key map "e" 'view-scroll-lines-up) (define-key map "j" 'view-scroll-lines-up) (define-key map "y" 'view-scroll-lines-down) (define-key map "k" 'view-scroll-lines-down) (define-key map "d" 'view-scroll-some-lines-up) (define-key map "u" 'view-scroll-some-lines-down) (define-key map "r" 'recenter) (define-key map "t" 'toggle-truncate-lines) (define-key map "N" 'view-buffer) (define-key map "E" 'view-file) (define-key map "P" 'view-buffer) (define-key map "!" 'shell-command) (define-key map "|" 'shell-command-on-region) (define-key map "=" 'what-line) (define-key map "?" 'view-search-backward) (define-key map "h" 'view-mode-describe) (define-key map "s" 'view-repeat-search) (define-key map "n" 'view-repeat-search) (define-key map "/" 'view-search-forward) (define-key map "\\" 'view-search-backward) (define-key map "g" 'view-goto-line) (define-key map "G" 'view-last-windowful) (define-key map "%" 'view-goto-percent) (define-key map "p" 'view-goto-percent) (define-key map "m" 'point-to-register) (define-key map "'" 'register-to-point) (define-key map "C" 'view-cleanup-backspaces) (define-key map "" 'view-quit) (define-key map "" 'view-quit-toggle-ro) (define-key map "q" 'view-quit) map))
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1909
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1910 (defvar view-mode-map (let ((map (copy-keymap view-minor-mode-map))) (set-keymap-name map 'view-mode-map) map))
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1911
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1912 (autoload 'view-file "view-less" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1913 Find FILENAME, enter view mode. With prefix arg OTHER-WINDOW-P, use other window." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1914
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1915 (autoload 'view-buffer "view-less" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1916 Switch to BUFFER, enter view mode. With prefix arg use other window." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1917
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1918 (autoload 'view-file-other-window "view-less" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1919 Find FILENAME in other window, and enter view mode." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1920
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1921 (autoload 'view-buffer-other-window "view-less" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1922 Switch to BUFFER in another window, and enter view mode." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1923
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1924 (autoload 'view-minor-mode "view-less" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1925 Minor mode for viewing text, with bindings like `less'.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1926 Commands are:
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1927 \\<view-minor-mode-map>
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1928 0..9 prefix args
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1929 - prefix minus
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1930 \\[scroll-up] page forward
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1931 \\[scroll-down] page back
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1932 \\[view-scroll-lines-up] scroll prefix-arg lines forward, default 1.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1933 \\[view-scroll-lines-down] scroll prefix-arg lines backward, default 1.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1934 \\[view-scroll-some-lines-down] scroll prefix-arg lines backward, default 10.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1935 \\[view-scroll-some-lines-up] scroll prefix-arg lines forward, default 10.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1936 \\[what-line] print line number
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1937 \\[view-mode-describe] print this help message
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1938 \\[view-search-forward] regexp search, uses previous string if you just hit RET
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1939 \\[view-search-backward] as above but searches backward
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1940 \\[view-repeat-search] repeat last search
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1941 \\[view-goto-line] goto line prefix-arg, default 1
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1942 \\[view-last-windowful] goto line prefix-arg, default last line
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1943 \\[view-goto-percent] goto a position by percentage
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1944 \\[toggle-truncate-lines] toggle truncate-lines
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1945 \\[view-file] view another file
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1946 \\[view-buffer] view another buffer
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1947 \\[view-cleanup-backspaces] cleanup backspace constructions
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1948 \\[shell-command] execute a shell command
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1949 \\[shell-command-on-region] execute a shell command with the region as input
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1950 \\[view-quit] exit view-mode, and bury the current buffer.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1951
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1952 If invoked with the optional (prefix) arg non-nil, view-mode cleans up
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1953 backspace constructions.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1954
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1955 More precisely:
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1956 \\{view-minor-mode-map}" t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1957
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1958 (autoload 'view-mode "view-less" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1959 View the current buffer using view-minor-mode. This exists to be 99.9%
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1960 compatible with the implementations of `view-mode' in view.el and older
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1961 versions of view-less.el." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1962
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1963 (autoload 'view-major-mode "view-less" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1964 View the current buffer using view-mode, as a major mode.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1965 This function has a nonstandard name because `view-mode' is wrongly
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1966 named but is like this for compatibility reasons." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1967
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1968 (autoload 'auto-view-mode "view-less" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1969 If the file of the current buffer is not writable, call view-mode.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1970 This is meant to be added to `find-file-hooks'." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1971
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1972 (autoload 'toggle-truncate-lines "view-less" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1973 Toggles the values of truncate-lines.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1974 Positive prefix arg sets, negative disables." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1975
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1976 ;;;***
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1977
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1978 ;;;### (autoloads (widget-minor-mode widget-browse-other-window widget-browse widget-browse-at) "wid-browse" "lisp/wid-browse.el")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1979
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1980 (autoload 'widget-browse-at "wid-browse" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1981 Browse the widget under point." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1982
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1983 (autoload 'widget-browse "wid-browse" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1984 Create a widget browser for WIDGET." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1985
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1986 (autoload 'widget-browse-other-window "wid-browse" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1987 Show widget browser for WIDGET in other window." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1988
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1989 (autoload 'widget-minor-mode "wid-browse" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1990 Togle minor mode for traversing widgets.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1991 With arg, turn widget mode on if and only if arg is positive." t nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1992
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1993 ;;;***
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1994
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1995 ;;;### (autoloads (widget-delete widget-create widget-prompt-value) "wid-edit" "lisp/wid-edit.el")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1996
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1997 (autoload 'widget-prompt-value "wid-edit" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1998 Prompt for a value matching WIDGET, using PROMPT.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
1999 The current value is assumed to be VALUE, unless UNBOUND is non-nil." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
2000
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
2001 (autoload 'widget-create "wid-edit" "\
664
6e99cc8c6ca5 [xemacs-hg @ 2001-09-18 05:04:26 by ben]
ben
parents: 647
diff changeset
2002 Create a widget of type TYPE.
647
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
2003 The optional ARGS are additional keyword arguments." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
2004
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
2005 (autoload 'widget-delete "wid-edit" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
2006 Delete WIDGET." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
2007
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
2008 ;;;***
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
2009
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
2010 ;;;### (autoloads (x-font-menu-font-data x-reset-device-font-menus) "x-font-menu" "lisp/x-font-menu.el")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
2011
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
2012 (autoload 'x-reset-device-font-menus "x-font-menu" "\
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
2013 Generates the `Font', `Size', and `Weight' submenus for the Options menu.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
2014 This is run the first time that a font-menu is needed for each device.
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
2015 If you don't like the lazy invocation of this function, you can add it to
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
2016 `create-device-hook' and that will make the font menus respond more quickly
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
2017 when they are selected for the first time. If you add fonts to your system,
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
2018 or if you change your font path, you can call this to re-initialize the menus." nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
2019
665
fdefd0186b75 [xemacs-hg @ 2001-09-20 06:28:42 by ben]
ben
parents: 664
diff changeset
2020 <<<<<<< auto-autoloads.el
fdefd0186b75 [xemacs-hg @ 2001-09-20 06:28:42 by ben]
ben
parents: 664
diff changeset
2021 (defun* x-font-menu-font-data (face dcache) (let* ((case-fold-search t) (domain (if font-menu-this-frame-only-p (selected-frame) (selected-device))) (name (font-instance-name (face-font-instance face domain))) (truename (font-instance-truename (face-font-instance face domain (if (featurep 'mule) 'ascii)))) family size weight entry slant) (when (string-match x-font-regexp-foundry-and-family name) (setq family (capitalize (match-string 1 name))) (setq entry (vassoc family (aref dcache 0)))) (when (and (null entry) (string-match x-font-regexp-foundry-and-family truename)) (setq family (capitalize (match-string 1 truename))) (setq entry (vassoc family (aref dcache 0)))) (when (null entry) (return-from x-font-menu-font-data (make-vector 5 nil))) (when (string-match x-font-regexp name) (setq weight (capitalize (match-string 1 name))) (setq size (string-to-int (match-string 6 name)))) (when (string-match x-font-regexp truename) (when (not (member weight (aref entry 1))) (setq weight (capitalize (match-string 1 truename)))) (when (not (member size (aref entry 2))) (setq size (string-to-int (match-string 6 truename)))) (setq slant (capitalize (match-string 2 truename)))) (vector entry family size weight slant)))
fdefd0186b75 [xemacs-hg @ 2001-09-20 06:28:42 by ben]
ben
parents: 664
diff changeset
2022 =======
647
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
2023 (autoload 'x-font-menu-font-data "x-font-menu" nil nil nil)
665
fdefd0186b75 [xemacs-hg @ 2001-09-20 06:28:42 by ben]
ben
parents: 664
diff changeset
2024 >>>>>>> 1.33
647
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
2025
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
2026 ;;;***
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
2027
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
2028 ;;;### (autoloads (x-win-init-sun) "x-win-sun" "lisp/x-win-sun.el")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
2029
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
2030 (autoload 'x-win-init-sun "x-win-sun" nil nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
2031
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
2032 ;;;***
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
2033
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
2034 ;;;### (autoloads (x-win-init-xfree86) "x-win-xfree86" "lisp/x-win-xfree86.el")
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
2035
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
2036 (autoload 'x-win-init-xfree86 "x-win-xfree86" nil nil nil)
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
2037
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
2038 ;;;***
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
2039
b39c14581166 [xemacs-hg @ 2001-08-13 04:45:47 by ben]
ben
parents:
diff changeset
2040 (provide 'lisp-autoloads)