annotate lisp/modes/auto-autoloads.el @ 163:0132846995bd r20-3b8

Import from CVS: tag r20-3b8
author cvs
date Mon, 13 Aug 2007 09:43:35 +0200
parents
children 5a88923fcbfe
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1 ;;; DO NOT MODIFY THIS FILE
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2 (if (not (featurep 'modes-autoloads))
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
3 (progn
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
4
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
5 ;;;### (autoloads nil "abbrev" "modes/abbrev.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
6
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
7 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
8
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
9 ;;;### (autoloads (ada-make-filename-from-adaname ada-mode) "ada-mode" "modes/ada-mode.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
10
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
11 (autoload 'ada-mode "ada-mode" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
12 Ada Mode is the major mode for editing Ada code.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
13
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
14 Bindings are as follows: (Note: 'LFD' is control-j.)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
15
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
16 Indent line '\\[ada-tab]'
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
17 Indent line, insert newline and indent the new line. '\\[newline-and-indent]'
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
18
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
19 Re-format the parameter-list point is in '\\[ada-format-paramlist]'
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
20 Indent all lines in region '\\[ada-indent-region]'
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
21 Call external pretty printer program '\\[ada-call-pretty-printer]'
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
22
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
23 Adjust case of identifiers and keywords in region '\\[ada-adjust-case-region]'
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
24 Adjust case of identifiers and keywords in buffer '\\[ada-adjust-case-buffer]'
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
25
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
26 Call EXTERNAL pretty printer (if you have one) '\\[ada-call-pretty-printer]'
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
27
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
28 Fill comment paragraph '\\[ada-fill-comment-paragraph]'
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
29 Fill comment paragraph and justify each line '\\[ada-fill-comment-paragraph-justify]'
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
30 Fill comment paragraph, justify and append postfix '\\[ada-fill-comment-paragraph-postfix]'
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
31
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
32 Next func/proc/task '\\[ada-next-procedure]' Previous func/proc/task '\\[ada-previous-procedure]'
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
33 Next package '\\[ada-next-package]' Previous package '\\[ada-previous-package]'
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
34
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
35 Goto matching start of current 'end ...;' '\\[ada-move-to-start]'
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
36 Goto end of current block '\\[ada-move-to-end]'
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
37
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
38 Comments are handled using standard GNU Emacs conventions, including:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
39 Start a comment '\\[indent-for-comment]'
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
40 Comment region '\\[comment-region]'
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
41 Uncomment region '\\[ada-uncomment-region]'
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
42 Continue comment on next line '\\[indent-new-comment-line]'
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
43
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
44 If you use imenu.el:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
45 Display index-menu of functions & procedures '\\[imenu]'
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
46
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
47 If you use find-file.el:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
48 Switch to other file (Body <-> Spec) '\\[ff-find-other-file]'
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
49 or '\\[ff-mouse-find-other-file]
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
50 Switch to other file in other window '\\[ada-ff-other-window]'
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
51 or '\\[ff-mouse-find-other-file-other-window]
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
52 If you use this function in a spec and no body is available, it gets created
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
53 with body stubs.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
54
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
55 If you use ada-xref.el:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
56 Goto declaration: '\\[ada-point-and-xref]' on the identifier
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
57 or '\\[ada-goto-declaration]' with point on the identifier
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
58 Complete identifier: '\\[ada-complete-identifier]'
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
59 Execute Gnatf: '\\[ada-gnatf-current]'" t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
60
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
61 (autoload 'ada-make-filename-from-adaname "ada-mode" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
62 Determine the filename of a package/procedure from its own Ada name." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
63
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
64 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
65
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
66 ;;;### (autoloads (archive-mode) "arc-mode" "modes/arc-mode.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
67
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
68 (autoload 'archive-mode "arc-mode" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
69 Major mode for viewing an archive file in a dired-like way.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
70 You can move around using the usual cursor motion commands.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
71 Letters no longer insert themselves.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
72 Type `e' to pull a file out of the archive and into its own buffer;
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
73 or click mouse-2 on the file's line in the archive mode buffer.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
74
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
75 If you edit a sub-file of this archive (as with the `e' command) and
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
76 save it, the contents of that buffer will be saved back into the
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
77 archive.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
78
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
79 \\{archive-mode-map}" nil nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
80
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
81 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
82
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
83 ;;;### (autoloads (asm-mode) "asm-mode" "modes/asm-mode.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
84
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
85 (autoload 'asm-mode "asm-mode" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
86 Major mode for editing typical assembler code.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
87 Features a private abbrev table and the following bindings:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
88
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
89 \\[asm-colon] outdent a preceding label, tab to next tab stop.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
90 \\[tab-to-tab-stop] tab to next tab stop.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
91 \\[asm-newline] newline, then tab to next tab stop.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
92 \\[asm-comment] smart placement of assembler comments.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
93
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
94 The character used for making comments is set by the variable
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
95 `asm-comment-char' (which defaults to `?;').
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
96
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
97 Alternatively, you may set this variable in `asm-mode-set-comment-hook',
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
98 which is called near the beginning of mode initialization.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
99
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
100 Turning on Asm mode runs the hook `asm-mode-hook' at the end of initialization.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
101
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
102 Special commands:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
103 \\{asm-mode-map}
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
104 " t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
105
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
106 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
107
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
108 ;;;### (autoloads (autoconf-mode) "autoconf-mode" "modes/autoconf-mode.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
109
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
110 (autoload 'autoconf-mode "autoconf-mode" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
111 A major-mode to edit autoconf input files like configure.in
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
112 \\{autoconf-mode-map}
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
113 " t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
114
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
115 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
116
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
117 ;;;### (autoloads (awk-mode) "awk-mode" "modes/awk-mode.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
118
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
119 (autoload 'awk-mode "awk-mode" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
120 Major mode for editing AWK code.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
121 This is much like C mode except for the syntax of comments. It uses
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
122 the same keymap as C mode and has the same variables for customizing
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
123 indentation. It has its own abbrev table and its own syntax table.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
124
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
125 Turning on AWK mode calls the value of the variable `awk-mode-hook'
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
126 with no args, if that value is non-nil." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
127
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
128 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
129
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
130 ;;;### (autoloads (bibtex-mode) "bibtex" "modes/bibtex.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
131
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
132 (autoload 'bibtex-mode "bibtex" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
133 Major mode for editing bibtex files.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
134
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
135 \\{bibtex-mode-map}
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
136
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
137 A command such as \\[bibtex-Book] will outline the fields for a BibTeX book entry.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
138
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
139 The optional fields start with the string OPT, and thus ignored by BibTeX.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
140 The OPT string may be removed from a field with \\[bibtex-remove-OPT].
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
141 \\[bibtex-kill-optional-field] kills the current optional field entirely.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
142 \\[bibtex-remove-double-quotes] removes the double-quotes around the text of
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
143 the current field. \\[bibtex-empty-field] replaces the text of the current
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
144 field with the default \"\".
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
145
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
146 The command \\[bibtex-clean-entry] cleans the current entry, i.e. (i) removes
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
147 double-quotes from entirely numerical fields, (ii) removes OPT from all
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
148 non-empty optional fields, (iii) removes all empty optional fields, and (iv)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
149 checks that no non-optional fields are empty.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
150
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
151 Use \\[bibtex-find-text] to position the dot at the end of the current field.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
152 Use \\[bibtex-next-field] to move to end of the next field.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
153
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
154 The following may be of interest as well:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
155
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
156 Functions:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
157 find-bibtex-duplicates
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
158 find-bibtex-entry-location
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
159 hide-bibtex-entry-bodies
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
160 sort-bibtex-entries
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
161 validate-bibtex-buffer
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
162
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
163 Variables:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
164 bibtex-clean-entry-zap-empty-opts
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
165 bibtex-entry-field-alist
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
166 bibtex-include-OPTannote
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
167 bibtex-include-OPTcrossref
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
168 bibtex-include-OPTkey
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
169 bibtex-maintain-sorted-entries
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
170 bibtex-mode-user-optional-fields
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
171
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
172 Fields:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
173 address
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
174 Publisher's address
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
175 annote
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
176 Long annotation used for annotated bibliographies (begins sentence)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
177 author
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
178 Name(s) of author(s), in BibTeX name format
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
179 booktitle
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
180 Book title when the thing being referenced isn't the whole book.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
181 For book entries, the title field should be used instead.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
182 chapter
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
183 Chapter number
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
184 crossref
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
185 The database key of the entry being cross referenced.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
186 edition
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
187 Edition of a book (e.g., \"second\")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
188 editor
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
189 Name(s) of editor(s), in BibTeX name format.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
190 If there is also an author field, then the editor field should be
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
191 for the book or collection that the work appears in
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
192 howpublished
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
193 How something strange has been published (begins sentence)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
194 institution
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
195 Sponsoring institution
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
196 journal
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
197 Journal name (macros are provided for many)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
198 key
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
199 Alphabetizing and labeling key (needed when no author or editor)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
200 month
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
201 Month (macros are provided)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
202 note
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
203 To help the reader find a reference (begins sentence)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
204 number
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
205 Number of a journal or technical report
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
206 organization
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
207 Organization (sponsoring a conference)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
208 pages
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
209 Page number or numbers (use `--' to separate a range)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
210 publisher
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
211 Publisher name
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
212 school
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
213 School name (for theses)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
214 series
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
215 The name of a series or set of books.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
216 An individual book will also have its own title
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
217 title
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
218 The title of the thing being referenced
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
219 type
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
220 Type of a technical report (e.g., \"Research Note\") to be used
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
221 instead of the default \"Technical Report\"
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
222 volume
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
223 Volume of a journal or multivolume work
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
224 year
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
225 Year---should contain only numerals
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
226 ---------------------------------------------------------
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
227 Entry to this mode calls the value of bibtex-mode-hook if that value is
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
228 non-nil." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
229
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
230 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
231
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
232 ;;;### (autoloads (c-add-style c-set-style java-mode objc-mode c++-mode c-mode) "cc-mode" "modes/cc-mode.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
233
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
234 (autoload 'c-mode "cc-mode" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
235 Major mode for editing K&R and ANSI C code.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
236 To submit a problem report, enter `\\[c-submit-bug-report]' from a
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
237 c-mode buffer. This automatically sets up a mail buffer with version
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
238 information already added. You just need to add a description of the
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
239 problem, including a reproducible test case and send the message.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
240
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
241 To see what version of CC Mode you are running, enter `\\[c-version]'.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
242
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
243 The hook variable `c-mode-hook' is run with no args, if that value is
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
244 bound and has a non-nil value. Also the hook `c-mode-common-hook' is
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
245 run first.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
246
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
247 Key bindings:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
248 \\{c-mode-map}" t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
249
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
250 (autoload 'c++-mode "cc-mode" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
251 Major mode for editing C++ code.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
252 To submit a problem report, enter `\\[c-submit-bug-report]' from a
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
253 c++-mode buffer. This automatically sets up a mail buffer with
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
254 version information already added. You just need to add a description
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
255 of the problem, including a reproducible test case, and send the
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
256 message.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
257
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
258 To see what version of CC Mode you are running, enter `\\[c-version]'.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
259
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
260 The hook variable `c++-mode-hook' is run with no args, if that
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
261 variable is bound and has a non-nil value. Also the hook
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
262 `c-mode-common-hook' is run first.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
263
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
264 Key bindings:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
265 \\{c++-mode-map}" t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
266
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
267 (autoload 'objc-mode "cc-mode" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
268 Major mode for editing Objective C code.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
269 To submit a problem report, enter `\\[c-submit-bug-report]' from an
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
270 objc-mode buffer. This automatically sets up a mail buffer with
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
271 version information already added. You just need to add a description
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
272 of the problem, including a reproducible test case, and send the
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
273 message.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
274
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
275 To see what version of CC Mode you are running, enter `\\[c-version]'.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
276
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
277 The hook variable `objc-mode-hook' is run with no args, if that value
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
278 is bound and has a non-nil value. Also the hook `c-mode-common-hook'
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
279 is run first.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
280
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
281 Key bindings:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
282 \\{objc-mode-map}" t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
283
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
284 (autoload 'java-mode "cc-mode" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
285 Major mode for editing Java code.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
286 To submit a problem report, enter `\\[c-submit-bug-report]' from an
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
287 java-mode buffer. This automatically sets up a mail buffer with
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
288 version information already added. You just need to add a description
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
289 of the problem, including a reproducible test case and send the
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
290 message.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
291
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
292 To see what version of CC Mode you are running, enter `\\[c-version]'.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
293
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
294 The hook variable `java-mode-hook' is run with no args, if that value
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
295 is bound and has a non-nil value. Also the common hook
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
296 `c-mode-common-hook' is run first. Note that this mode automatically
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
297 sets the \"java\" style before calling any hooks so be careful if you
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
298 set styles in `c-mode-common-hook'.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
299
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
300 Key bindings:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
301 \\{java-mode-map}" t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
302
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
303 (autoload 'c-set-style "cc-mode" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
304 Set CC Mode variables to use one of several different indentation styles.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
305 STYLENAME is a string representing the desired style from the list of
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
306 styles described in the variable `c-style-alist'. See that variable
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
307 for details of setting up styles.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
308
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
309 The variable `c-indentation-style' always contains the buffer's current
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
310 style name." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
311
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
312 (autoload 'c-add-style "cc-mode" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
313 Adds a style to `c-style-alist', or updates an existing one.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
314 STYLE is a string identifying the style to add or update. DESCRIP is
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
315 an association list describing the style and must be of the form:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
316
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
317 ((VARIABLE . VALUE) [(VARIABLE . VALUE) ...])
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
318
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
319 See the variable `c-style-alist' for the semantics of VARIABLE and
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
320 VALUE. This function also sets the current style to STYLE using
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
321 `c-set-style' if the optional SET-P flag is non-nil." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
322
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
323 (fset 'set-c-style 'c-set-style)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
324
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
325 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
326
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
327 ;;;### (autoloads (common-lisp-indent-function) "cl-indent" "modes/cl-indent.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
328
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
329 (autoload 'common-lisp-indent-function "cl-indent" nil nil nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
330
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
331 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
332
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
333 ;;;### (autoloads (c-macro-expand) "cmacexp" "modes/cmacexp.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
334
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
335 (autoload 'c-macro-expand "cmacexp" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
336 Expand C macros in the region, using the C preprocessor.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
337 Normally display output in temp buffer, but
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
338 prefix arg means replace the region with it.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
339
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
340 `c-macro-preprocessor' specifies the preprocessor to use.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
341 Prompt for arguments to the preprocessor (e.g. `-DDEBUG -I ./include')
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
342 if the user option `c-macro-prompt-flag' is non-nil.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
343
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
344 Noninteractive args are START, END, SUBST.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
345 For use inside Lisp programs, see also `c-macro-expansion'." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
346
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
347 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
348
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
349 ;;;### (autoloads (eiffel-mode) "eiffel3" "modes/eiffel3.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
350
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
351 (autoload 'eiffel-mode "eiffel3" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
352 Major mode for editing Eiffel programs." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
353
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
354 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
355
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
356 ;;;### (autoloads (enriched-decode enriched-encode enriched-mode) "enriched" "modes/enriched.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
357
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
358 (autoload 'enriched-mode "enriched" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
359 Minor mode for editing text/enriched files.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
360 These are files with embedded formatting information in the MIME standard
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
361 text/enriched format.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
362 Turning the mode on runs `enriched-mode-hook'.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
363
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
364 More information about Enriched mode is available in the file
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
365 etc/enriched.doc in the Emacs distribution directory.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
366
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
367 Commands:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
368
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
369 \\<enriched-mode-map>\\{enriched-mode-map}" t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
370
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
371 (autoload 'enriched-encode "enriched" nil nil nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
372
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
373 (autoload 'enriched-decode "enriched" nil nil nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
374
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
375 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
376
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
377 ;;;### (autoloads (executable-self-display executable-set-magic) "executable" "modes/executable.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
378
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
379 (autoload 'executable-set-magic "executable" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
380 Set this buffer's interpreter to INTERPRETER with optional ARGUMENT.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
381 The variables `executable-magicless-file-regexp', `executable-prefix',
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
382 `executable-insert', `executable-query' and `executable-chmod' control
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
383 when and how magic numbers are inserted or replaced and scripts made
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
384 executable." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
385
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
386 (autoload 'executable-self-display "executable" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
387 Turn a text file into a self-displaying Un*x command.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
388 The magic number of such a command displays all lines but itself." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
389
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
390 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
391
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
392 ;;;### (autoloads (f90-mode) "f90" "modes/f90.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
393
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
394 (autoload 'f90-mode "f90" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
395 Major mode for editing Fortran 90 code in free format.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
396
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
397 \\[f90-indent-new-line] corrects current indentation and creates new indented line.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
398 \\[f90-indent-line] indents the current line correctly.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
399 \\[f90-indent-subprogram] indents the current subprogram.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
400
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
401 Type `? or `\\[help-command] to display a list of built-in abbrevs for F90 keywords.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
402
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
403 Key definitions:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
404 \\{f90-mode-map}
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
405
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
406 Variables controlling indentation style and extra features:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
407
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
408 f90-do-indent
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
409 Extra indentation within do blocks. (default 3)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
410 f90-if-indent
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
411 Extra indentation within if/select case/where/forall blocks. (default 3)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
412 f90-type-indent
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
413 Extra indentation within type/interface/block-data blocks. (default 3)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
414 f90-program-indent
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
415 Extra indentation within program/module/subroutine/function blocks.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
416 (default 2)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
417 f90-continuation-indent
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
418 Extra indentation applied to continuation lines. (default 5)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
419 f90-comment-region
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
420 String inserted by \\[f90-comment-region] at start of each line in
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
421 region. (default \"!!!$\")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
422 f90-indented-comment-re
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
423 Regexp determining the type of comment to be intended like code.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
424 (default \"!\")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
425 f90-directive-comment-re
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
426 Regexp of comment-like directive like \"!HPF\\\\$\", not to be indented.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
427 (default \"!hpf\\\\$\")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
428 f90-break-delimiters
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
429 Regexp holding list of delimiters at which lines may be broken.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
430 (default \"[-+*/><=,% \\t]\")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
431 f90-break-before-delimiters
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
432 Non-nil causes `f90-do-auto-fill' to break lines before delimiters.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
433 (default t)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
434 f90-beginning-ampersand
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
435 Automatic insertion of & at beginning of continuation lines. (default t)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
436 f90-smart-end
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
437 From an END statement, check and fill the end using matching block start.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
438 Allowed values are 'blink, 'no-blink, and nil, which determine
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
439 whether to blink the matching beginning.) (default 'blink)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
440 f90-auto-keyword-case
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
441 Automatic change of case of keywords. (default nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
442 The possibilities are 'downcase-word, 'upcase-word, 'capitalize-word.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
443 f90-leave-line-no
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
444 Do not left-justify line numbers. (default nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
445 f90-startup-message
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
446 Set to nil to inhibit message first time F90 mode is used. (default t)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
447 f90-keywords-re
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
448 List of keywords used for highlighting/upcase-keywords etc.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
449
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
450 Turning on F90 mode calls the value of the variable `f90-mode-hook'
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
451 with no args, if that value is non-nil." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
452
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
453 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
454
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
455 ;;;### (autoloads (follow-delete-other-windows-and-split follow-mode turn-off-follow-mode turn-on-follow-mode) "follow" "modes/follow.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
456
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
457 (add-minor-mode 'follow-mode nil 'follow-mode-map)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
458
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
459 (autoload 'turn-on-follow-mode "follow" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
460 Turn on Follow mode. Please see the function `follow-mode'." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
461
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
462 (autoload 'turn-off-follow-mode "follow" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
463 Turn off Follow mode. Please see the function `follow-mode'." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
464
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
465 (autoload 'follow-mode "follow" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
466 Minor mode which combines windows into one tall virtual window.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
467
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
468 The feeling of a \"virtual window\" has been accomplished by the use
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
469 of two major techniques:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
470
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
471 * The windows always displays adjacent sections of the buffer.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
472 This means that whenever one window is moved, all the
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
473 others will follow. (Hence the name Follow Mode.)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
474
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
475 * Should the point (cursor) end up outside a window, another
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
476 window displaying that point is selected, if possible. This
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
477 makes it possible to walk between windows using normal cursor
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
478 movement commands.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
479
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
480 Follow mode comes to its prime when used on a large screen and two
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
481 side-by-side window are used. The user can, with the help of Follow
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
482 mode, use two full-height windows as though they would have been
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
483 one. Imagine yourself editing a large function, or section of text,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
484 and being able to use 144 lines instead of the normal 72... (your
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
485 mileage may vary).
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
486
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
487 To split one large window into two side-by-side windows, the commands
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
488 `\\[split-window-horizontally]' or `M-x follow-delete-other-windows-and-split' can be used.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
489
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
490 Only windows displayed in the same frame follow each-other.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
491
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
492 If the variable `follow-intercept-processes' is non-nil, Follow mode
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
493 will listen to the output of processes and redisplay accordingly.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
494 \(This is the default.)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
495
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
496 When Follow mode is switched on, the hook `follow-mode-hook'
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
497 is called. When turned off, `follow-mode-off-hook' is called.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
498
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
499 Keys specific to Follow mode:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
500 \\{follow-mode-map}" t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
501
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
502 (autoload 'follow-delete-other-windows-and-split "follow" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
503 Create two side by side windows and enter Follow Mode.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
504
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
505 Execute this command to display as much as possible of the text
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
506 in the selected window. All other windows, in the current
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
507 frame, are deleted and the selected window is split in two
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
508 side-by-side windows. Follow Mode is activated, hence the
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
509 two windows always will display two successive pages.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
510 \(If one window is moved, the other one will follow.)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
511
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
512 If ARG is positive, the leftmost window is selected. If it negative,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
513 the rightmost is selected. If ARG is nil, the leftmost window is
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
514 selected if the original window is the first one in the frame.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
515
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
516 To bind this command to a hotkey, place the following line
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
517 in your `~/.emacs' file, replacing [f7] by your favourite key:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
518 (global-set-key [f7] 'follow-delete-other-windows-and-split)" t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
519
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
520 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
521
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
522 ;;;### (autoloads (fortran-mode) "fortran" "modes/fortran.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
523
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
524 (defcustom fortran-tab-mode-default nil "*Default tabbing/carriage control style for empty files in Fortran mode.\nA value of t specifies tab-digit style of continuation control.\nA value of nil specifies that continuation lines are marked\nwith a character in column 6." :type 'boolean :group 'fortran-indent)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
525
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
526 (autoload 'fortran-mode "fortran" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
527 Major mode for editing Fortran code.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
528 \\[fortran-indent-line] indents the current Fortran line correctly.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
529 DO statements must not share a common CONTINUE.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
530
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
531 Type ;? or ;\\[help-command] to display a list of built-in abbrevs for Fortran keywords.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
532
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
533 Key definitions:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
534 \\{fortran-mode-map}
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
535
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
536 Variables controlling indentation style and extra features:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
537
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
538 comment-start
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
539 Normally nil in Fortran mode. If you want to use comments
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
540 starting with `!', set this to the string \"!\".
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
541 fortran-do-indent
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
542 Extra indentation within do blocks. (default 3)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
543 fortran-if-indent
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
544 Extra indentation within if blocks. (default 3)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
545 fortran-structure-indent
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
546 Extra indentation within structure, union, map and interface blocks.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
547 (default 3)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
548 fortran-continuation-indent
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
549 Extra indentation applied to continuation statements. (default 5)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
550 fortran-comment-line-extra-indent
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
551 Amount of extra indentation for text within full-line comments. (default 0)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
552 fortran-comment-indent-style
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
553 nil means don't change indentation of text in full-line comments,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
554 fixed means indent that text at `fortran-comment-line-extra-indent' beyond
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
555 the value of `fortran-minimum-statement-indent-fixed' (for fixed
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
556 format continuation style) or `fortran-minimum-statement-indent-tab'
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
557 (for TAB format continuation style).
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
558 relative means indent at `fortran-comment-line-extra-indent' beyond the
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
559 indentation for a line of code.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
560 (default 'fixed)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
561 fortran-comment-indent-char
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
562 Single-character string to be inserted instead of space for
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
563 full-line comment indentation. (default \" \")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
564 fortran-minimum-statement-indent-fixed
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
565 Minimum indentation for Fortran statements in fixed format mode. (def.6)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
566 fortran-minimum-statement-indent-tab
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
567 Minimum indentation for Fortran statements in TAB format mode. (default 9)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
568 fortran-line-number-indent
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
569 Maximum indentation for line numbers. A line number will get
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
570 less than this much indentation if necessary to avoid reaching
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
571 column 5. (default 1)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
572 fortran-check-all-num-for-matching-do
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
573 Non-nil causes all numbered lines to be treated as possible \"continue\"
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
574 statements. (default nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
575 fortran-blink-matching-if
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
576 Non-nil causes \\[fortran-indent-line] on an ENDIF statement to blink on
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
577 matching IF. Also, from an ENDDO statement, blink on matching DO [WHILE]
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
578 statement. (default nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
579 fortran-continuation-string
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
580 Single-character string to be inserted in column 5 of a continuation
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
581 line. (default \"$\")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
582 fortran-comment-region
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
583 String inserted by \\[fortran-comment-region] at start of each line in
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
584 region. (default \"c$$$\")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
585 fortran-electric-line-number
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
586 Non-nil causes line number digits to be moved to the correct column
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
587 as typed. (default t)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
588 fortran-break-before-delimiters
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
589 Non-nil causes `fortran-fill' breaks lines before delimiters.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
590 (default t)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
591 fortran-startup-message
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
592 Set to nil to inhibit message first time Fortran mode is used.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
593
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
594 Turning on Fortran mode calls the value of the variable `fortran-mode-hook'
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
595 with no args, if that value is non-nil." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
596
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
597 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
598
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
599 ;;;### (autoloads (hide-ifdef-mode) "hideif" "modes/hideif.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
600
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
601 (add-minor-mode 'hide-ifdef-mode " Ifdef")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
602
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
603 (autoload 'hide-ifdef-mode "hideif" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
604 Toggle Hide-Ifdef mode. This is a minor mode, albeit a large one.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
605 With ARG, turn Hide-Ifdef mode on if arg is positive, off otherwise.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
606 In Hide-Ifdef mode, code within #ifdef constructs that the C preprocessor
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
607 would eliminate may be hidden from view. Several variables affect
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
608 how the hiding is done:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
609
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
610 hide-ifdef-env
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
611 An association list of defined and undefined symbols for the
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
612 current buffer. Initially, the global value of `hide-ifdef-env'
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
613 is used.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
614
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
615 hide-ifdef-define-alist
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
616 An association list of defined symbol lists.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
617 Use `hide-ifdef-set-define-alist' to save the current `hide-ifdef-env'
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
618 and `hide-ifdef-use-define-alist' to set the current `hide-ifdef-env'
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
619 from one of the lists in `hide-ifdef-define-alist'.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
620
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
621 hide-ifdef-lines
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
622 Set to non-nil to not show #if, #ifdef, #ifndef, #else, and
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
623 #endif lines when hiding.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
624
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
625 hide-ifdef-initially
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
626 Indicates whether `hide-ifdefs' should be called when Hide-Ifdef mode
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
627 is activated.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
628
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
629 hide-ifdef-read-only
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
630 Set to non-nil if you want to make buffers read only while hiding.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
631 After `show-ifdefs', read-only status is restored to previous value.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
632
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
633 \\{hide-ifdef-mode-map}" t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
634
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
635 (defvar hide-ifdef-initially nil "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
636 *Non-nil means call `hide-ifdefs' when Hide-Ifdef mode is first activated.")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
637
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
638 (defvar hide-ifdef-read-only nil "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
639 *Set to non-nil if you want buffer to be read-only while hiding text.")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
640
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
641 (defvar hide-ifdef-lines nil "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
642 *Non-nil means hide the #ifX, #else, and #endif lines.")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
643
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
644 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
645
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
646 ;;;### (autoloads (hs-minor-mode hs-hide-block hs-hide-all) "hideshow" "modes/hideshow.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
647
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
648 (defvar hs-minor-mode nil "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
649 Non-nil if using hideshow mode as a minor mode of some other mode.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
650 Use the command `hs-minor-mode' to toggle this variable.")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
651
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
652 (autoload 'hs-hide-all "hideshow" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
653 Hides all top-level blocks, displaying only first and last lines.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
654 It moves point to the beginning of the line, and it runs the normal hook
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
655 `hs-hide-hook'. See documentation for `run-hooks'." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
656
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
657 (autoload 'hs-hide-block "hideshow" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
658 Selects a block and hides it. With prefix arg, reposition at end.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
659 Block is defined as a sexp for lispish modes, mode-specific otherwise.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
660 Comments are blocks, too. Upon completion, point is at repositioned and
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
661 the normal hook `hs-hide-hook' is run. See documentation for `run-hooks'." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
662
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
663 (autoload 'hs-minor-mode "hideshow" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
664 Toggle hideshow minor mode.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
665 With ARG, turn hideshow minor mode on if ARG is positive, off otherwise.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
666 When hideshow minor mode is on, the menu bar is augmented with hideshow
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
667 commands and the hideshow commands are enabled. The variables
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
668 `selective-display' and `selective-display-ellipses' are set to t.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
669 Last, the normal hook `hs-minor-mode-hook' is run; see the doc for `run-hooks'.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
670
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
671 Turning hideshow minor mode off reverts the menu bar and the
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
672 variables to default values and disables the hideshow commands." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
673
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
674 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
675
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
676 ;;;### (autoloads (icon-mode) "icon" "modes/icon.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
677
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
678 (autoload 'icon-mode "icon" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
679 Major mode for editing Icon code.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
680 Expression and list commands understand all Icon brackets.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
681 Tab indents for Icon code.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
682 Paragraphs are separated by blank lines only.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
683 Delete converts tabs to spaces as it moves back.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
684 \\{icon-mode-map}
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
685 Variables controlling indentation style:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
686 icon-tab-always-indent
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
687 Non-nil means TAB in Icon mode should always reindent the current line,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
688 regardless of where in the line point is when the TAB command is used.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
689 icon-auto-newline
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
690 Non-nil means automatically newline before and after braces
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
691 inserted in Icon code.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
692 icon-indent-level
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
693 Indentation of Icon statements within surrounding block.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
694 The surrounding block's indentation is the indentation
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
695 of the line on which the open-brace appears.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
696 icon-continued-statement-offset
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
697 Extra indentation given to a substatement, such as the
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
698 then-clause of an if or body of a while.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
699 icon-continued-brace-offset
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
700 Extra indentation given to a brace that starts a substatement.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
701 This is in addition to `icon-continued-statement-offset'.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
702 icon-brace-offset
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
703 Extra indentation for line if it starts with an open brace.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
704 icon-brace-imaginary-offset
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
705 An open brace following other text is treated as if it were
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
706 this far to the right of the start of its line.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
707
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
708 Turning on Icon mode calls the value of the variable `icon-mode-hook'
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
709 with no args, if that value is non-nil." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
710
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
711 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
712
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
713 ;;;### (autoloads (imenu imenu-add-to-menubar) "imenu" "modes/imenu.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
714
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
715 (defvar imenu-generic-expression nil "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
716 The regex pattern to use for creating a buffer index.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
717
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
718 If non-nil this pattern is passed to `imenu-create-index-with-pattern'
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
719 to create a buffer index.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
720
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
721 It is an alist with elements that look like this: (MENU-TITLE
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
722 REGEXP INDEX).
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
723
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
724 MENU-TITLE is a string used as the title for the submenu or nil if the
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
725 entries are not nested.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
726
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
727 REGEXP is a regexp that should match a construct in the buffer that is
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
728 to be displayed in the menu; i.e., function or variable definitions,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
729 etc. It contains a substring which is the name to appear in the
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
730 menu. See the info section on Regexps for more information.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
731
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
732 INDEX points to the substring in REGEXP that contains the name (of the
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
733 function, variable or type) that is to appear in the menu.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
734
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
735 For emacs-lisp-mode for example PATTERN would look like:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
736
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
737 '((nil \"^\\\\s-*(def\\\\(un\\\\|subst\\\\|macro\\\\|advice\\\\)\\\\s-+\\\\([-A-Za-z0-9+]+\\\\)\" 2)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
738 (\"*Vars*\" \"^\\\\s-*(def\\\\(var\\\\|const\\\\)\\\\s-+\\\\([-A-Za-z0-9+]+\\\\)\" 2)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
739 (\"*Types*\" \"^\\\\s-*(def\\\\(type\\\\|struct\\\\|class\\\\|ine-condition\\\\)\\\\s-+\\\\([-A-Za-z0-9+]+\\\\)\" 2))
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
740
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
741 The variable is buffer-local.")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
742
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
743 (make-variable-buffer-local 'imenu-generic-expression)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
744
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
745 (autoload 'imenu-add-to-menubar "imenu" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
746 Adds an `imenu' entry to the menu bar for the current buffer.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
747 NAME is a string used to name the menu bar item.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
748 See the command `imenu' for more information." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
749
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
750 (autoload 'imenu "imenu" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
751 Jump to a place in the buffer chosen using a buffer menu or mouse menu.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
752 See `imenu-choose-buffer-index' for more information." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
753
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
754 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
755
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
756 ;;;### (autoloads (ksh-mode) "ksh-mode" "modes/ksh-mode.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
757
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
758 (autoload 'ksh-mode "ksh-mode" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
759 ksh-mode $Revision: 1.1 $ - Major mode for editing (Bourne, Korn or Bourne again)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
760 shell scripts.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
761 Special key bindings and commands:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
762 \\{ksh-mode-map}
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
763 Variables controlling indentation style:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
764 ksh-indent
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
765 Indentation of ksh statements with respect to containing block.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
766 Default value is 2.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
767 ksh-case-indent
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
768 Additional indentation for statements under case items.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
769 Default value is nil which will align the statements one position
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
770 past the \")\" of the pattern.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
771 ksh-case-item-offset
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
772 Additional indentation for case items within a case statement.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
773 Default value is 2.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
774 ksh-group-offset
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
775 Additional indentation for keywords \"do\" and \"then\".
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
776 Default value is -2.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
777 ksh-brace-offset
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
778 Additional indentation of \"{\" under functions or brace groupings.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
779 Default value is 0.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
780 ksh-multiline-offset
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
781 Additional indentation of line that is preceded of a line ending with a
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
782 \\ to make it continue on next line.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
783 ksh-tab-always-indent
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
784 Controls the operation of the TAB key. If t (the default), always
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
785 reindent the current line. If nil, indent the current line only if
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
786 point is at the left margin or in the line's indentation; otherwise
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
787 insert a tab.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
788 ksh-match-and-tell
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
789 If non-nil echo in the minibuffer the matching compound command
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
790 for the \"done\", \"}\", \"fi\", or \"esac\". Default value is t.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
791
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
792 ksh-align-to-keyword
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
793 Controls whether nested constructs align from the keyword or
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
794 the current indentation. If non-nil, indentation will be relative to
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
795 the column the keyword starts. If nil, indentation will be relative to
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
796 the current indentation of the line the keyword is on.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
797 The default value is non-nil.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
798
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
799 ksh-comment-regexp
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
800 Regular expression used to recognize comments. Customize to support
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
801 ksh-like languages. Default value is \"\\s *#\".
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
802
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
803 Style Guide.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
804 By setting
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
805 (setq ksh-indent default-tab-width)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
806 (setq ksh-group-offset 0)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
807
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
808 The following style is obtained:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
809
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
810 if [ -z $foo ]
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
811 then
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
812 bar # <-- ksh-group-offset is additive to ksh-indent
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
813 foo
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
814 fi
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
815
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
816 By setting
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
817 (setq ksh-indent default-tab-width)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
818 (setq ksh-group-offset (- 0 ksh-indent))
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
819
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
820 The following style is obtained:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
821
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
822 if [ -z $foo ]
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
823 then
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
824 bar
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
825 foo
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
826 fi
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
827
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
828 By setting
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
829 (setq ksh-case-item-offset 1)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
830 (setq ksh-case-indent nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
831
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
832 The following style is obtained:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
833
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
834 case x in *
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
835 foo) bar # <-- ksh-case-item-offset
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
836 baz;; # <-- ksh-case-indent aligns with \")\"
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
837 foobar) foo
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
838 bar;;
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
839 esac
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
840
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
841 By setting
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
842 (setq ksh-case-item-offset 1)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
843 (setq ksh-case-indent 6)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
844
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
845 The following style is obtained:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
846
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
847 case x in *
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
848 foo) bar # <-- ksh-case-item-offset
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
849 baz;; # <-- ksh-case-indent
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
850 foobar) foo
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
851 bar;;
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
852 esac
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
853
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
854
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
855 Installation:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
856
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
857 (setq ksh-mode-hook
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
858 (function (lambda ()
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
859 (font-lock-mode 1) ;; font-lock the buffer
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
860 (setq ksh-indent 8)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
861 (setq ksh-group-offset -8)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
862 (setq ksh-brace-offset -8)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
863 (setq ksh-tab-always-indent t)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
864 (setq ksh-match-and-tell t)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
865 (setq ksh-align-to-keyword t) ;; Turn on keyword alignment
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
866 )))" t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
867
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
868 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
869
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
870 ;;;### (autoloads (define-mail-alias build-mail-aliases mail-aliases-setup) "mail-abbrevs" "modes/mail-abbrevs.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
871
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
872 (defcustom mail-abbrev-mailrc-file nil "Name of file with mail aliases. If nil, ~/.mailrc is used." :type '(choice (const :tag "Default" nil) file) :group 'mail-abbrevs)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
873
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
874 (defvar mail-aliases nil "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
875 Word-abbrev table of mail address aliases.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
876 If this is nil, it means the aliases have not yet been initialized and
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
877 should be read from the .mailrc file. (This is distinct from there being
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
878 no aliases, which is represented by this being a table with no entries.)")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
879
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
880 (autoload 'mail-aliases-setup "mail-abbrevs" nil nil nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
881
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
882 (autoload 'build-mail-aliases "mail-abbrevs" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
883 Read mail aliases from .mailrc and set mail-aliases." nil nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
884
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
885 (autoload 'define-mail-alias "mail-abbrevs" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
886 Define NAME as a mail-alias that translates to DEFINITION.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
887 If DEFINITION contains multiple addresses, separate them with commas." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
888
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
889 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
890
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
891 ;;;### (autoloads (makefile-mode) "make-mode" "modes/make-mode.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
892
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
893 (autoload 'makefile-mode "make-mode" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
894 Major mode for editing Makefiles.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
895 This function ends by invoking the function(s) `makefile-mode-hook'.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
896
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
897 \\{makefile-mode-map}
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
898
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
899 In the browser, use the following keys:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
900
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
901 \\{makefile-browser-map}
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
902
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
903 Makefile mode can be configured by modifying the following variables:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
904
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
905 makefile-browser-buffer-name:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
906 Name of the macro- and target browser buffer.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
907
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
908 makefile-target-colon:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
909 The string that gets appended to all target names
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
910 inserted by `makefile-insert-target'.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
911 \":\" or \"::\" are quite common values.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
912
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
913 makefile-macro-assign:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
914 The string that gets appended to all macro names
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
915 inserted by `makefile-insert-macro'.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
916 The normal value should be \" = \", since this is what
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
917 standard make expects. However, newer makes such as dmake
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
918 allow a larger variety of different macro assignments, so you
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
919 might prefer to use \" += \" or \" := \" .
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
920
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
921 makefile-tab-after-target-colon:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
922 If you want a TAB (instead of a space) to be appended after the
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
923 target colon, then set this to a non-nil value.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
924
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
925 makefile-browser-leftmost-column:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
926 Number of blanks to the left of the browser selection mark.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
927
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
928 makefile-browser-cursor-column:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
929 Column in which the cursor is positioned when it moves
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
930 up or down in the browser.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
931
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
932 makefile-browser-selected-mark:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
933 String used to mark selected entries in the browser.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
934
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
935 makefile-browser-unselected-mark:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
936 String used to mark unselected entries in the browser.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
937
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
938 makefile-browser-auto-advance-after-selection-p:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
939 If this variable is set to a non-nil value the cursor
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
940 will automagically advance to the next line after an item
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
941 has been selected in the browser.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
942
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
943 makefile-pickup-everything-picks-up-filenames-p:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
944 If this variable is set to a non-nil value then
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
945 `makefile-pickup-everything' also picks up filenames as targets
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
946 (i.e. it calls `makefile-find-filenames-as-targets'), otherwise
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
947 filenames are omitted.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
948
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
949 makefile-cleanup-continuations-p:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
950 If this variable is set to a non-nil value then makefile-mode
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
951 will assure that no line in the file ends with a backslash
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
952 (the continuation character) followed by any whitespace.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
953 This is done by silently removing the trailing whitespace, leaving
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
954 the backslash itself intact.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
955 IMPORTANT: Please note that enabling this option causes makefile-mode
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
956 to MODIFY A FILE WITHOUT YOUR CONFIRMATION when \"it seems necessary\".
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
957
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
958 makefile-browser-hook:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
959 A function or list of functions to be called just before the
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
960 browser is entered. This is executed in the makefile buffer.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
961
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
962 makefile-special-targets-list:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
963 List of special targets. You will be offered to complete
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
964 on one of those in the minibuffer whenever you enter a `.'.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
965 at the beginning of a line in Makefile mode." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
966
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
967 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
968
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
969 ;;;### (autoloads (modula-2-mode) "modula2" "modes/modula2.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
970
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
971 (autoload 'modula-2-mode "modula2" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
972 This is a mode intended to support program development in Modula-2.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
973 All control constructs of Modula-2 can be reached by typing C-c
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
974 followed by the first character of the construct.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
975 \\<m2-mode-map>
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
976 \\[m2-begin] begin \\[m2-case] case
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
977 \\[m2-definition] definition \\[m2-else] else
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
978 \\[m2-for] for \\[m2-header] header
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
979 \\[m2-if] if \\[m2-module] module
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
980 \\[m2-loop] loop \\[m2-or] or
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
981 \\[m2-procedure] procedure Control-c Control-w with
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
982 \\[m2-record] record \\[m2-stdio] stdio
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
983 \\[m2-type] type \\[m2-until] until
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
984 \\[m2-var] var \\[m2-while] while
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
985 \\[m2-export] export \\[m2-import] import
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
986 \\[m2-begin-comment] begin-comment \\[m2-end-comment] end-comment
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
987 \\[suspend-emacs] suspend Emacs \\[m2-toggle] toggle
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
988 \\[m2-compile] compile \\[m2-next-error] next-error
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
989 \\[m2-link] link
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
990
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
991 `m2-indent' controls the number of spaces for each indentation.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
992 `m2-compile-command' holds the command to compile a Modula-2 program.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
993 `m2-link-command' holds the command to link a Modula-2 program." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
994
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
995 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
996
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
997 ;;;### (autoloads (electric-nroff-mode nroff-mode) "nroff-mode" "modes/nroff-mode.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
998
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
999 (autoload 'nroff-mode "nroff-mode" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1000 Major mode for editing text intended for nroff to format.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1001 \\{nroff-mode-map}
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1002 Turning on Nroff mode runs `text-mode-hook', then `nroff-mode-hook'.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1003 Also, try `nroff-electric-mode', for automatically inserting
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1004 closing requests for requests that are used in matched pairs." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1005
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1006 (autoload 'electric-nroff-mode "nroff-mode" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1007 Toggle `nroff-electric-newline' minor mode.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1008 `nroff-electric-newline' forces Emacs to check for an nroff request at the
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1009 beginning of the line, and insert the matching closing request if necessary.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1010 This command toggles that mode (off->on, on->off), with an argument,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1011 turns it on iff arg is positive, otherwise off." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1012
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1013 (defvar nroff-electric-mode nil "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1014 Non-nil if in electric-nroff minor mode.")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1015
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1016 (add-minor-mode 'nroff-electric-mode " Electric" nil nil 'electric-nroff-mode)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1017
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1018 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1019
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1020 ;;;### (autoloads (outl-mouse-minor-mode outl-mouse-mode) "outl-mouse" "modes/outl-mouse.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1021
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1022 (autoload 'outl-mouse-mode "outl-mouse" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1023 Calls outline-mode, with outl-mouse extensions" t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1024
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1025 (autoload 'outl-mouse-minor-mode "outl-mouse" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1026 Toggles outline-minor-mode, with outl-mouse extensions" t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1027
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1028 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1029
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1030 ;;;### (autoloads (outline-minor-mode outline-mode) "outline" "modes/outline.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1031
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1032 (defvar outline-minor-mode nil "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1033 Non-nil if using Outline mode as a minor mode of some other mode.")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1034
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1035 (make-variable-buffer-local 'outline-minor-mode)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1036
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1037 (put 'outline-minor-mode 'permanent-local t)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1038
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1039 (add-minor-mode 'outline-minor-mode " Outl")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1040
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1041 (autoload 'outline-mode "outline" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1042 Set major mode for editing outlines with selective display.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1043 Headings are lines which start with asterisks: one for major headings,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1044 two for subheadings, etc. Lines not starting with asterisks are body lines.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1045
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1046 Body text or subheadings under a heading can be made temporarily
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1047 invisible, or visible again. Invisible lines are attached to the end
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1048 of the heading, so they move with it, if the line is killed and yanked
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1049 back. A heading with text hidden under it is marked with an ellipsis (...).
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1050
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1051 Commands:\\<outline-mode-map>
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1052 \\[outline-next-visible-heading] outline-next-visible-heading move by visible headings
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1053 \\[outline-previous-visible-heading] outline-previous-visible-heading
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1054 \\[outline-forward-same-level] outline-forward-same-level similar but skip subheadings
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1055 \\[outline-backward-same-level] outline-backward-same-level
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1056 \\[outline-up-heading] outline-up-heading move from subheading to heading
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1057
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1058 \\[hide-body] make all text invisible (not headings).
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1059 \\[show-all] make everything in buffer visible.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1060
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1061 The remaining commands are used when point is on a heading line.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1062 They apply to some of the body or subheadings of that heading.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1063 \\[hide-subtree] hide-subtree make body and subheadings invisible.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1064 \\[show-subtree] show-subtree make body and subheadings visible.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1065 \\[show-children] show-children make direct subheadings visible.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1066 No effect on body, or subheadings 2 or more levels down.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1067 With arg N, affects subheadings N levels down.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1068 \\[hide-entry] make immediately following body invisible.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1069 \\[show-entry] make it visible.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1070 \\[hide-leaves] make body under heading and under its subheadings invisible.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1071 The subheadings remain visible.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1072 \\[show-branches] make all subheadings at all levels visible.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1073
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1074 The variable `outline-regexp' can be changed to control what is a heading.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1075 A line is a heading if `outline-regexp' matches something at the
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1076 beginning of the line. The longer the match, the deeper the level.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1077
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1078 Turning on outline mode calls the value of `text-mode-hook' and then of
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1079 `outline-mode-hook', if they are non-nil." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1080
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1081 (autoload 'outline-minor-mode "outline" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1082 Toggle Outline minor mode.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1083 With arg, turn Outline minor mode on if arg is positive, off otherwise.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1084 See the command `outline-mode' for more information on this mode." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1085
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1086 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1087
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1088 ;;;### (autoloads (pascal-mode) "pascal" "modes/pascal.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1089
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1090 (autoload 'pascal-mode "pascal" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1091 Major mode for editing Pascal code. \\<pascal-mode-map>
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1092 TAB indents for Pascal code. Delete converts tabs to spaces as it moves back.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1093
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1094 \\[pascal-complete-word] completes the word around current point with respect to position in code
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1095 \\[pascal-show-completions] shows all possible completions at this point.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1096
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1097 Other useful functions are:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1098
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1099 \\[pascal-mark-defun] - Mark function.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1100 \\[pascal-insert-block] - insert begin ... end;
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1101 \\[pascal-star-comment] - insert (* ... *)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1102 \\[pascal-comment-area] - Put marked area in a comment, fixing nested comments.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1103 \\[pascal-uncomment-area] - Uncomment an area commented with \\[pascal-comment-area].
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1104 \\[pascal-beg-of-defun] - Move to beginning of current function.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1105 \\[pascal-end-of-defun] - Move to end of current function.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1106 \\[pascal-goto-defun] - Goto function prompted for in the minibuffer.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1107 \\[pascal-outline] - Enter pascal-outline-mode (see also pascal-outline).
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1108
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1109 Variables controlling indentation/edit style:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1110
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1111 pascal-indent-level (default 3)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1112 Indentation of Pascal statements with respect to containing block.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1113 pascal-case-indent (default 2)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1114 Indentation for case statements.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1115 pascal-auto-newline (default nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1116 Non-nil means automatically newline after semicolons and the punctuation mark
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1117 after an end.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1118 pascal-tab-always-indent (default t)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1119 Non-nil means TAB in Pascal mode should always reindent the current line,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1120 regardless of where in the line point is when the TAB command is used.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1121 pascal-auto-endcomments (default t)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1122 Non-nil means a comment { ... } is set after the ends which ends cases and
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1123 functions. The name of the function or case will be set between the braces.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1124 pascal-auto-lineup (default t)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1125 List of contexts where auto lineup of :'s or ='s should be done.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1126
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1127 See also the user variables pascal-type-keywords, pascal-start-keywords and
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1128 pascal-separator-keywords.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1129
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1130 Turning on Pascal mode calls the value of the variable pascal-mode-hook with
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1131 no args, if that value is non-nil." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1132
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1133 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1134
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1135 ;;;### (autoloads (perl-mode) "perl-mode" "modes/perl-mode.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1136
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1137 (autoload 'perl-mode "perl-mode" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1138 Major mode for editing Perl code.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1139 Expression and list commands understand all Perl brackets.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1140 Tab indents for Perl code.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1141 Comments are delimited with # ... \\n.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1142 Paragraphs are separated by blank lines only.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1143 Delete converts tabs to spaces as it moves back.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1144 \\{perl-mode-map}
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1145 Variables controlling indentation style:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1146 perl-tab-always-indent
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1147 Non-nil means TAB in Perl mode should always indent the current line,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1148 regardless of where in the line point is when the TAB command is used.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1149 perl-tab-to-comment
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1150 Non-nil means that for lines which don't need indenting, TAB will
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1151 either delete an empty comment, indent an existing comment, move
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1152 to end-of-line, or if at end-of-line already, create a new comment.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1153 perl-nochange
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1154 Lines starting with this regular expression are not auto-indented.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1155 perl-indent-level
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1156 Indentation of Perl statements within surrounding block.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1157 The surrounding block's indentation is the indentation
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1158 of the line on which the open-brace appears.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1159 perl-continued-statement-offset
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1160 Extra indentation given to a substatement, such as the
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1161 then-clause of an if or body of a while.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1162 perl-continued-brace-offset
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1163 Extra indentation given to a brace that starts a substatement.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1164 This is in addition to `perl-continued-statement-offset'.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1165 perl-brace-offset
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1166 Extra indentation for line if it starts with an open brace.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1167 perl-brace-imaginary-offset
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1168 An open brace following other text is treated as if it were
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1169 this far to the right of the start of its line.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1170 perl-label-offset
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1171 Extra indentation for line that is a label.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1172
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1173 Various indentation styles: K&R BSD BLK GNU LW
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1174 perl-indent-level 5 8 0 2 4
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1175 perl-continued-statement-offset 5 8 4 2 4
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1176 perl-continued-brace-offset 0 0 0 0 -4
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1177 perl-brace-offset -5 -8 0 0 0
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1178 perl-brace-imaginary-offset 0 0 4 0 0
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1179 perl-label-offset -5 -8 -2 -2 -2
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1180
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1181 Turning on Perl mode runs the normal hook `perl-mode-hook'." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1182
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1183 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1184
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1185 ;;;### (autoloads (picture-mode) "picture" "modes/picture.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1186
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1187 (autoload 'picture-mode "picture" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1188 Switch to Picture mode, in which a quarter-plane screen model is used.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1189 Printing characters replace instead of inserting themselves with motion
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1190 afterwards settable by these commands:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1191 C-c < Move left after insertion.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1192 C-c > Move right after insertion.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1193 C-c ^ Move up after insertion.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1194 C-c . Move down after insertion.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1195 C-c ` Move northwest (nw) after insertion.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1196 C-c ' Move northeast (ne) after insertion.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1197 C-c / Move southwest (sw) after insertion.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1198 C-c \\ Move southeast (se) after insertion.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1199 The current direction is displayed in the modeline. The initial
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1200 direction is right. Whitespace is inserted and tabs are changed to
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1201 spaces when required by movement. You can move around in the buffer
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1202 with these commands:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1203 \\[picture-move-down] Move vertically to SAME column in previous line.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1204 \\[picture-move-up] Move vertically to SAME column in next line.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1205 \\[picture-end-of-line] Move to column following last non-whitespace character.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1206 \\[picture-forward-column] Move right inserting spaces if required.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1207 \\[picture-backward-column] Move left changing tabs to spaces if required.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1208 C-c C-f Move in direction of current picture motion.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1209 C-c C-b Move in opposite direction of current picture motion.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1210 Return Move to beginning of next line.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1211 You can edit tabular text with these commands:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1212 M-Tab Move to column beneath (or at) next interesting character.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1213 `Indents' relative to a previous line.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1214 Tab Move to next stop in tab stop list.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1215 C-c Tab Set tab stops according to context of this line.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1216 With ARG resets tab stops to default (global) value.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1217 See also documentation of variable picture-tab-chars
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1218 which defines \"interesting character\". You can manually
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1219 change the tab stop list with command \\[edit-tab-stops].
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1220 You can manipulate text with these commands:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1221 C-d Clear (replace) ARG columns after point without moving.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1222 C-c C-d Delete char at point - the command normally assigned to C-d.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1223 \\[picture-backward-clear-column] Clear (replace) ARG columns before point, moving back over them.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1224 \\[picture-clear-line] Clear ARG lines, advancing over them. The cleared
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1225 text is saved in the kill ring.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1226 \\[picture-open-line] Open blank line(s) beneath current line.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1227 You can manipulate rectangles with these commands:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1228 C-c C-k Clear (or kill) a rectangle and save it.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1229 C-c C-w Like C-c C-k except rectangle is saved in named register.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1230 C-c C-y Overlay (or insert) currently saved rectangle at point.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1231 C-c C-x Like C-c C-y except rectangle is taken from named register.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1232 \\[copy-rectangle-to-register] Copies a rectangle to a register.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1233 \\[advertised-undo] Can undo effects of rectangle overlay commands
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1234 commands if invoked soon enough.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1235 You can return to the previous mode with:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1236 C-c C-c Which also strips trailing whitespace from every line.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1237 Stripping is suppressed by supplying an argument.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1238
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1239 Entry to this mode calls the value of picture-mode-hook if non-nil.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1240
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1241 Note that Picture mode commands will work outside of Picture mode, but
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1242 they are not defaultly assigned to keys." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1243
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1244 (defalias 'edit-picture 'picture-mode)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1245
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1246 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1247
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1248 ;;;### (autoloads (postscript-mode) "postscript" "modes/postscript.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1249
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1250 (autoload 'postscript-mode "postscript" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1251 Major mode for editing PostScript files.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1252
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1253 \\[ps-execute-buffer] will send the contents of the buffer to the NeWS
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1254 server using psh(1). \\[ps-execute-region] sends the current region.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1255 \\[ps-shell] starts an interactive psh(1) window which will be used for
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1256 subsequent \\[ps-execute-buffer] or \\[ps-execute-region] commands.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1257
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1258 In this mode, TAB and \\[indent-region] attempt to indent code
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1259 based on the position of {}, [], and begin/end pairs. The variable
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1260 ps-indent-level controls the amount of indentation used inside
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1261 arrays and begin/end pairs.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1262
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1263 \\{ps-mode-map}
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1264
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1265 \\[postscript-mode] calls the value of the variable postscript-mode-hook
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1266 with no args, if that value is non-nil." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1267
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1268 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1269
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1270 ;;;### (autoloads (run-prolog inferior-prolog-mode prolog-mode) "prolog" "modes/prolog.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1271
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1272 (autoload 'prolog-mode "prolog" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1273 Major mode for editing Prolog code for Prologs.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1274 Blank lines and `%%...' separate paragraphs. `%'s start comments.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1275 Commands:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1276 \\{prolog-mode-map}
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1277 Entry to this mode calls the value of `prolog-mode-hook'
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1278 if that value is non-nil." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1279
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1280 (autoload 'inferior-prolog-mode "prolog" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1281 Major mode for interacting with an inferior Prolog process.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1282
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1283 The following commands are available:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1284 \\{inferior-prolog-mode-map}
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1285
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1286 Entry to this mode calls the value of `prolog-mode-hook' with no arguments,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1287 if that value is non-nil. Likewise with the value of `comint-mode-hook'.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1288 `prolog-mode-hook' is called after `comint-mode-hook'.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1289
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1290 You can send text to the inferior Prolog from other buffers
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1291 using the commands `send-region', `send-string' and \\[prolog-consult-region].
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1292
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1293 Commands:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1294 Tab indents for Prolog; with argument, shifts rest
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1295 of expression rigidly with the current line.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1296 Paragraphs are separated only by blank lines and '%%'.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1297 '%'s start comments.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1298
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1299 Return at end of buffer sends line as input.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1300 Return not at end copies rest of line to end and sends it.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1301 \\[comint-kill-input] and \\[backward-kill-word] are kill commands, imitating normal Unix input editing.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1302 \\[comint-interrupt-subjob] interrupts the shell or its current subjob if any.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1303 \\[comint-stop-subjob] stops. \\[comint-quit-subjob] sends quit signal." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1304
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1305 (autoload 'run-prolog "prolog" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1306 Run an inferior Prolog process, input and output via buffer *prolog*." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1307
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1308 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1309
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1310 ;;;### (autoloads (py-shell python-mode) "python-mode" "modes/python-mode.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1311
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1312 (eval-when-compile (condition-case nil (progn (require 'cl) (require 'imenu)) (error nil)))
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1313
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1314 (autoload 'python-mode "python-mode" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1315 Major mode for editing Python files.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1316 To submit a problem report, enter `\\[py-submit-bug-report]' from a
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1317 `python-mode' buffer. Do `\\[py-describe-mode]' for detailed
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1318 documentation. To see what version of `python-mode' you are running,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1319 enter `\\[py-version]'.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1320
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1321 This mode knows about Python indentation, tokens, comments and
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1322 continuation lines. Paragraphs are separated by blank lines only.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1323
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1324 COMMANDS
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1325 \\{py-mode-map}
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1326 VARIABLES
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1327
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1328 py-indent-offset indentation increment
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1329 py-block-comment-prefix comment string used by comment-region
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1330 py-python-command shell command to invoke Python interpreter
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1331 py-scroll-process-buffer always scroll Python process buffer
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1332 py-temp-directory directory used for temp files (if needed)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1333 py-beep-if-tab-change ring the bell if tab-width is changed" t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1334
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1335 (autoload 'py-shell "python-mode" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1336 Start an interactive Python interpreter in another window.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1337 This is like Shell mode, except that Python is running in the window
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1338 instead of a shell. See the `Interactive Shell' and `Shell Mode'
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1339 sections of the Emacs manual for details, especially for the key
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1340 bindings active in the `*Python*' buffer.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1341
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1342 See the docs for variable `py-scroll-buffer' for info on scrolling
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1343 behavior in the process window.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1344
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1345 Warning: Don't use an interactive Python if you change sys.ps1 or
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1346 sys.ps2 from their default values, or if you're running code that
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1347 prints `>>> ' or `... ' at the start of a line. `python-mode' can't
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1348 distinguish your output from Python's output, and assumes that `>>> '
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1349 at the start of a line is a prompt from Python. Similarly, the Emacs
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1350 Shell mode code assumes that both `>>> ' and `... ' at the start of a
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1351 line are Python prompts. Bad things can happen if you fool either
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1352 mode.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1353
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1354 Warning: If you do any editing *in* the process buffer *while* the
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1355 buffer is accepting output from Python, do NOT attempt to `undo' the
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1356 changes. Some of the output (nowhere near the parts you changed!) may
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1357 be lost if you do. This appears to be an Emacs bug, an unfortunate
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1358 interaction between undo and process filters; the same problem exists in
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1359 non-Python process buffers using the default (Emacs-supplied) process
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1360 filter." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1361
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1362 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1363
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1364 ;;;### (autoloads (reftex-add-to-label-alist reftex-mode turn-on-reftex) "reftex" "modes/reftex.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1365
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1366 (autoload 'turn-on-reftex "reftex" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1367 Turn on RefTeX minor mode." nil nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1368
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1369 (autoload 'reftex-mode "reftex" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1370 Minor mode with distinct support for \\label, \\ref and \\cite in LaTeX.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1371
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1372 Labels can be created with `\\[reftex-label]' and referenced with `\\[reftex-reference]'.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1373 When referencing, you get a menu with all labels of a given type and
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1374 context of the label definition. The selected label is inserted as a
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1375 \\ref macro.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1376
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1377 Citations can be made with `\\[reftex-citation]' which will use a regular expression
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1378 to pull out a *formatted* list of articles from your BibTeX
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1379 database. The selected citation is inserted as a \\cite macro.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1380
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1381 A Table of Contents of the entire (multifile) document with browsing
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1382 capabilities is available with `\\[reftex-toc]'.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1383
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1384 Most command have help available on the fly. This help is accessed by
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1385 pressing `?' to any prompt mentioning this feature.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1386
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1387 \\{reftex-mode-map}
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1388 Under X, these functions will be available also in a menu on the menu bar.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1389
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1390 ------------------------------------------------------------------------------" t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1391
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1392 (autoload 'reftex-add-to-label-alist "reftex" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1393 Add label environment descriptions to reftex-label-alist-external-add-ons.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1394 The format of ENTRY-LIST is exactly like reftex-label-alist. See there
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1395 for details.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1396 This function makes it possible to support RefTeX from AUCTeX style files.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1397 The entries in ENTRY-LIST will be processed after the user settings in
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1398 reftex-label-alist, and before the defaults (specified in
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1399 reftex-default-label-alist-entries). Any changes made to
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1400 reftex-label-alist-external-add-ons will raise a flag to the effect that a
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1401 mode reset is done on the next occasion." nil nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1402
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1403 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1404
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1405 ;;;### (autoloads (rexx-mode) "rexx-mode" "modes/rexx-mode.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1406
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1407 (autoload 'rexx-mode "rexx-mode" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1408 Major mode for editing REXX code.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1409 \\{rexx-mode-map}
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1410
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1411 Variables controlling indentation style:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1412 rexx-indent
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1413 The basic indentation for do-blocks.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1414 rexx-end-indent
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1415 The relative offset of the \"end\" statement. 0 places it in the
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1416 same column as the statements of the block. Setting it to the same
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1417 value as rexx-indent places the \"end\" under the do-line.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1418 rexx-cont-indent
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1419 The indention for lines following \"then\", \"else\" and \",\"
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1420 (continued) lines.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1421 rexx-tab-always-indent
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1422 Non-nil means TAB in REXX mode should always reindent the current
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1423 line, regardless of where in the line the point is when the TAB
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1424 command is used.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1425
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1426 If you have set rexx-end-indent to a nonzero value, you probably want to
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1427 remap RETURN to rexx-indent-newline-indent. It makes sure that lines
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1428 indents correctly when you press RETURN.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1429
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1430 An extensive abbreviation table consisting of all the keywords of REXX are
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1431 supplied. Expanded keywords are converted into upper case making it
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1432 easier to distinguish them. To use this feature the buffer must be in
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1433 abbrev-mode. (See example below.)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1434
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1435 Turning on REXX mode calls the value of the variable rexx-mode-hook with
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1436 no args, if that value is non-nil.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1437
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1438 For example:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1439 \(setq rexx-mode-hook '(lambda ()
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1440 (setq rexx-indent 4)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1441 (setq rexx-end-indent 4)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1442 (setq rexx-cont-indent 4)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1443 (local-set-key \"\\C-m\" 'rexx-indent-newline-indent)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1444 (abbrev-mode 1)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1445 ))
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1446
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1447 will make the END aligned with the DO/SELECT. It will indent blocks and
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1448 IF-statements four steps and make sure that the END jumps into the
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1449 correct position when RETURN is pressed. Finally it will use the abbrev
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1450 table to convert all REXX keywords into upper case." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1451
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1452 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1453
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1454 ;;;### (autoloads (resize-minibuffer-mode) "rsz-minibuf" "modes/rsz-minibuf.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1455
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1456 (defgroup resize-minibuffer nil "Dynamically resize minibuffer to display entire contents" :group 'frames)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1457
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1458 (defcustom resize-minibuffer-window-max-height nil "*Maximum size the minibuffer window is allowed to become.\nIf less than 1 or not a number, the limit is the height of the frame in\nwhich the active minibuffer window resides." :type '(choice (const nil) integer) :group 'resize-minibuffer)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1459
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1460 (defcustom resize-minibuffer-window-exactly t "*If non-`nil', make minibuffer exactly the size needed to display all its contents.\nOtherwise, the minibuffer window can temporarily increase in size but\nnever get smaller while it is active." :type 'boolean :group 'resize-minibuffer)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1461
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1462 (defcustom resize-minibuffer-frame nil "*If non-`nil' and the active minibuffer is the sole window in its frame, allow changing the frame height." :type 'boolean :group 'resize-minibuffer)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1463
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1464 (defcustom resize-minibuffer-frame-max-height nil "*Maximum size the minibuffer frame is allowed to become.\nIf less than 1 or not a number, there is no limit.")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1465
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1466 (defcustom resize-minibuffer-frame-exactly nil "*If non-`nil', make minibuffer frame exactly the size needed to display all its contents.\nOtherwise, the minibuffer frame can temporarily increase in size but\nnever get smaller while it is active." :type 'boolean :group 'resize-minibuffer)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1467
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1468 (autoload 'resize-minibuffer-mode "rsz-minibuf" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1469 Enable or disable resize-minibuffer mode.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1470 A negative prefix argument disables this mode. A positive argument or
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1471 argument of 0 enables it.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1472
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1473 When this minor mode is enabled, the minibuffer is dynamically resized to
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1474 contain the entire region of text put in it as you type.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1475
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1476 The variable `resize-minibuffer-mode' is set to t or nil depending on
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1477 whether this mode is active or not.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1478
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1479 The maximum height to which the minibuffer can grow is controlled by the
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1480 variable `resize-minibuffer-window-max-height'.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1481
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1482 The variable `resize-minibuffer-window-exactly' determines whether the
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1483 minibuffer window should ever be shrunk to make it no larger than needed to
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1484 display its contents.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1485
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1486 When using a window system, it is possible for a minibuffer to be the sole
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1487 window in a frame. Since that window is already its maximum size, the only
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1488 way to make more text visible at once is to increase the size of the frame.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1489 The variable `resize-minibuffer-frame' controls whether this should be
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1490 done. The variables `resize-minibuffer-frame-max-height' and
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1491 `resize-minibuffer-frame-exactly' are analogous to their window
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1492 counterparts." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1493
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1494 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1495
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1496 ;;;### (autoloads (scheme-mode) "scheme" "modes/scheme.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1497
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1498 (autoload 'scheme-mode "scheme" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1499 Major mode for editing Scheme code.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1500 Editing commands are similar to those of lisp-mode.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1501
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1502 In addition, if an inferior Scheme process is running, some additional
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1503 commands will be defined, for evaluating expressions and controlling
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1504 the interpreter, and the state of the process will be displayed in the
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1505 modeline of all Scheme buffers. The names of commands that interact
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1506 with the Scheme process start with \"xscheme-\". For more information
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1507 see the documentation for xscheme-interaction-mode.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1508
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1509 Commands:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1510 Delete converts tabs to spaces as it moves back.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1511 Blank lines separate paragraphs. Semicolons start comments.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1512 \\{scheme-mode-map}
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1513 Entry to this mode calls the value of scheme-mode-hook
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1514 if that value is non-nil." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1515
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1516 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1517
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1518 ;;;### (autoloads (scribe-mode) "scribe" "modes/scribe.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1519
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1520 (autoload 'scribe-mode "scribe" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1521 Major mode for editing files of Scribe (a text formatter) source.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1522 Scribe-mode is similar text-mode, with a few extra commands added.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1523 \\{scribe-mode-map}
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1524
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1525 Interesting variables:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1526
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1527 scribe-fancy-paragraphs
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1528 Non-nil makes Scribe mode use a different style of paragraph separation.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1529
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1530 scribe-electric-quote
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1531 Non-nil makes insert of double quote use `` or '' depending on context.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1532
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1533 scribe-electric-parenthesis
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1534 Non-nil makes an open-parenthesis char (one of `([<{')
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1535 automatically insert its close if typed after an @Command form." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1536
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1537 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1538
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1539 ;;;### (autoloads (mail-other-frame mail-other-window mail mail-mode user-mail-address) "sendmail" "modes/sendmail.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1540
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1541 (defvar mail-from-style 'angles "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1542 *Specifies how \"From:\" fields look.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1543
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1544 If `nil', they contain just the return address like:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1545 king@grassland.com
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1546 If `parens', they look like:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1547 king@grassland.com (Elvis Parsley)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1548 If `angles', they look like:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1549 Elvis Parsley <king@grassland.com>")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1550
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1551 (defvar mail-self-blind nil "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1552 Non-nil means insert BCC to self in messages to be sent.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1553 This is done when the message is initialized,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1554 so you can remove or alter the BCC field to override the default.")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1555
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1556 (defvar mail-interactive nil "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1557 Non-nil means when sending a message wait for and display errors.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1558 nil means let mailer mail back a message to report errors.")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1559
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1560 (defvar mail-dir nil "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1561 *Default directory for saving messages.")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1562
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1563 (defvar rmail-ignored-headers (purecopy (concat "^\\(" (mapconcat 'identity '("Sender:" "References:" "Return-Path:" "Received:" "[^: \n]*Message-ID:" "Errors-To:" "Path:" "Expires:" "Xref:" "Lines:" "Approved:" "Distribution:" "Content-Length:" "Mime-Version:" "Content-Type:" "Content-Transfer-Encoding:" "X400-Received:" "X400-Originator:" "X400-Mts-Identifier:" "X400-Content-Type:" "Content-Identifier:" "Status:" "Summary-Line:" "X-Attribution:" "Via:" "Sent-Via:" "Mail-From:" "Origin:" "Comments:" "Originator:" "NF-ID:" "NF-From:" "Posting-Version:" "Posted:" "Posted-Date:" "Date-Received:" "Relay-Version:" "Article-I\\.D\\.:" "NNTP-Version:" "NNTP-Posting-Host:" "X-Mailer:" "X-Newsreader:" "News-Software:" "X-Received:" "X-References:" "X-Envelope-To:" "X-VMS-" "Remailed-" "X-Plantation:" "X-Windows:" "X-Pgp-") "\\|") "\\)")) "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1564 *Gubbish header fields one would rather not see.")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1565
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1566 (defvar mail-yank-ignored-headers (purecopy (concat rmail-ignored-headers "\\|" "^\\(" (mapconcat 'identity '("Resent-To:" "Resent-By:" "Resent-CC:" "To:" "Subject:" "In-Reply-To:") "\\|") "\\)")) "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1567 Delete these headers from old message when it's inserted in a reply.")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1568
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1569 (defvar send-mail-function 'sendmail-send-it "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1570 Function to call to send the current buffer as mail.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1571 The headers should be delimited by a line whose contents
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1572 match the variable `mail-header-separator'.")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1573
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1574 (defvar mail-header-separator (purecopy "--text follows this line--") "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1575 *Line used to separate headers from text in messages being composed.")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1576
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1577 (defvar mail-archive-file-name nil "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1578 *Name of file to write all outgoing messages in, or nil for none.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1579 This can be an inbox file or an Rmail file.")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1580
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1581 (defvar mail-default-reply-to nil "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1582 *Address to insert as default Reply-to field of outgoing messages.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1583 If nil, it will be initialized from the REPLYTO environment variable
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1584 when you first send mail.")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1585
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1586 (defvar mail-alias-file nil "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1587 *If non-nil, the name of a file to use instead of `/usr/lib/aliases'.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1588 This file defines aliases to be expanded by the mailer; this is a different
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1589 feature from that of defining aliases in `.mailrc' to be expanded in Emacs.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1590 This variable has no effect unless your system uses sendmail as its mailer.")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1591
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1592 (defvar mail-yank-prefix "> " "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1593 *Prefix insert on lines of yanked message being replied to.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1594 nil means use indentation.")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1595
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1596 (defvar mail-signature nil "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1597 *Text inserted at end of mail buffer when a message is initialized.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1598 If t, it means to insert the contents of the file `mail-signature-file'.")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1599
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1600 (autoload 'user-mail-address "sendmail" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1601 Query the user for his mail address, unless it is already known." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1602
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1603 (autoload 'mail-mode "sendmail" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1604 Major mode for editing mail to be sent.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1605 Like Text Mode but with these additional commands:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1606 C-c C-s mail-send (send the message) C-c C-c mail-send-and-exit
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1607 C-c C-f move to a header field (and create it if there isn't):
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1608 C-c C-f C-t move to To: C-c C-f C-s move to Subj:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1609 C-c C-f C-b move to BCC: C-c C-f C-c move to CC:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1610 C-c C-f C-f move to FCC: C-c C-f C-r move to Reply-To:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1611 C-c C-t mail-text (move to beginning of message text).
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1612 C-c C-w mail-signature (insert `mail-signature-file' file).
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1613 C-c C-y mail-yank-original (insert current message, in Rmail).
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1614 C-c C-q mail-fill-yanked-message (fill what was yanked).
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1615 C-c C-v mail-sent-via (add a sent-via field for each To or CC)." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1616
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1617 (autoload 'mail "sendmail" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1618 Edit a message to be sent. Prefix arg means resume editing (don't erase).
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1619 When this function returns, the buffer `*mail*' is selected.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1620 The value is t if the message was newly initialized; otherwise, nil.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1621
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1622 Optionally, the signature file `mail-signature-file' can be inserted at the
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1623 end; see the variable `mail-signature'.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1624
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1625 \\<mail-mode-map>
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1626 While editing message, type \\[mail-send-and-exit] to send the message and exit.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1627
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1628 Various special commands starting with C-c are available in sendmail mode
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1629 to move to message header fields:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1630 \\{mail-mode-map}
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1631
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1632 The variable `mail-signature' controls whether the signature file
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1633 `mail-signature-file' is inserted immediately.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1634
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1635 If `mail-signature' is nil, use \\[mail-signature] to insert the
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1636 signature in `mail-signature-file'.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1637
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1638 If `mail-self-blind' is non-nil, a BCC to yourself is inserted
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1639 when the message is initialized.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1640
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1641 If `mail-default-reply-to' is non-nil, it should be an address (a string);
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1642 a Reply-to: field with that address is inserted.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1643
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1644 If `mail-archive-file-name' is non-nil, an FCC field with that file name
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1645 is inserted.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1646
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1647 The normal hook `mail-setup-hook' is run after the message is
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1648 initialized. It can add more default fields to the message.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1649
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1650 When calling from a program, the first argument if non-nil says
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1651 not to erase the existing contents of the `*mail*' buffer.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1652
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1653 The second through fifth arguments,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1654 TO, SUBJECT, IN-REPLY-TO and CC, specify if non-nil
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1655 the initial contents of those header fields.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1656 These arguments should not have final newlines.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1657 The sixth argument REPLYBUFFER is a buffer whose contents
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1658 should be yanked if the user types C-c C-y.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1659 The seventh argument ACTIONS is a list of actions to take
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1660 if/when the message is sent. Each action looks like (FUNCTION . ARGS);
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1661 when the message is sent, we apply FUNCTION to ARGS.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1662 This is how Rmail arranges to mark messages `answered'." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1663
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1664 (autoload 'mail-other-window "sendmail" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1665 Like `mail' command, but display mail buffer in another window." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1666
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1667 (autoload 'mail-other-frame "sendmail" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1668 Like `mail' command, but display mail buffer in another frame." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1669
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1670 (define-key ctl-x-map "m" 'mail)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1671
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1672 (define-key ctl-x-4-map "m" 'mail-other-window)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1673
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1674 (define-key ctl-x-5-map "m" 'mail-other-frame)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1675
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1676 (add-hook 'same-window-buffer-names "*mail*")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1677
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1678 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1679
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1680 ;;;### (autoloads (sh-mode) "sh-script" "modes/sh-script.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1681
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1682 (put 'sh-mode 'mode-class 'special)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1683
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1684 (autoload 'sh-mode "sh-script" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1685 Major mode for editing shell scripts.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1686 This mode works for many shells, since they all have roughly the same syntax,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1687 as far as commands, arguments, variables, pipes, comments etc. are concerned.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1688 Unless the file's magic number indicates the shell, your usual shell is
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1689 assumed. Since filenames rarely give a clue, they are not further analyzed.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1690
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1691 This mode adapts to the variations between shells (see `sh-set-shell') by
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1692 means of an inheritance based feature lookup (see `sh-feature'). This
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1693 mechanism applies to all variables (including skeletons) that pertain to
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1694 shell-specific features.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1695
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1696 The default style of this mode is that of Rosenblatt's Korn shell book.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1697 The syntax of the statements varies with the shell being used. The
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1698 following commands are available, based on the current shell's syntax:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1699
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1700 \\[sh-case] case statement
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1701 \\[sh-for] for loop
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1702 \\[sh-function] function definition
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1703 \\[sh-if] if statement
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1704 \\[sh-indexed-loop] indexed loop from 1 to n
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1705 \\[sh-while-getopts] while getopts loop
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1706 \\[sh-repeat] repeat loop
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1707 \\[sh-select] select loop
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1708 \\[sh-until] until loop
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1709 \\[sh-while] while loop
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1710
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1711 \\[backward-delete-char-untabify] Delete backward one position, even if it was a tab.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1712 \\[sh-newline-and-indent] Delete unquoted space and indent new line same as this one.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1713 \\[sh-end-of-command] Go to end of successive commands.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1714 \\[sh-beginning-of-command] Go to beginning of successive commands.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1715 \\[sh-set-shell] Set this buffer's shell, and maybe its magic number.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1716 \\[sh-execute-region] Have optional header and region be executed in a subshell.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1717
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1718 \\[sh-maybe-here-document] Without prefix, following an unquoted < inserts here document.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1719 {, (, [, ', \", `
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1720 Unless quoted with \\, insert the pairs {}, (), [], or '', \"\", ``.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1721
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1722 If you generally program a shell different from your login shell you can
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1723 set `sh-shell-file' accordingly. If your shell's file name doesn't correctly
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1724 indicate what shell it is use `sh-alias-alist' to translate.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1725
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1726 If your shell gives error messages with line numbers, you can use \\[executable-interpret]
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1727 with your script for an edit-interpret-debug cycle." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1728
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1729 (defalias 'shell-script-mode 'sh-mode)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1730
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1731 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1732
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1733 ;;;### (autoloads (strokes-mode strokes-list-strokes strokes-load-user-strokes strokes-help strokes-describe-stroke strokes-do-complex-stroke strokes-do-stroke strokes-read-complex-stroke strokes-read-stroke strokes-global-set-stroke) "strokes" "modes/strokes.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1734
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1735 (defvar strokes-mode nil "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1736 Non-nil when `strokes' is globally enabled")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1737
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1738 (autoload 'strokes-global-set-stroke "strokes" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1739 Interactively give STROKE the global binding as COMMAND.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1740 Operated just like `global-set-key', except for strokes.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1741 COMMAND is a symbol naming an interactively-callable function. STROKE
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1742 is a list of sampled positions on the stroke grid as described in the
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1743 documentation for the `strokes-define-stroke' function." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1744
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1745 (defalias 'global-set-stroke 'strokes-global-set-stroke)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1746
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1747 (autoload 'strokes-read-stroke "strokes" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1748 Read a simple stroke (interactively) and return the stroke.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1749 Optional PROMPT in minibuffer displays before and during stroke reading.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1750 This function will display the stroke interactively as it is being
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1751 entered in the strokes buffer if the variable
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1752 `strokes-use-strokes-buffer' is non-nil.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1753 Optional EVENT is currently not used, but hopefully will be soon." nil nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1754
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1755 (autoload 'strokes-read-complex-stroke "strokes" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1756 Read a complex stroke (interactively) and return the stroke.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1757 Optional PROMPT in minibuffer displays before and during stroke reading.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1758 Note that a complex stroke allows the user to pen-up and pen-down. This
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1759 is implemented by allowing the user to paint with button1 or button2 and
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1760 then complete the stroke with button3.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1761 Optional EVENT is currently not used, but hopefully will be soon." nil nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1762
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1763 (autoload 'strokes-do-stroke "strokes" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1764 Read a simple stroke from the user and then exectute its comand.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1765 This must be bound to a mouse event." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1766
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1767 (autoload 'strokes-do-complex-stroke "strokes" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1768 Read a complex stroke from the user and then exectute its command.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1769 This must be bound to a mouse event." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1770
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1771 (autoload 'strokes-describe-stroke "strokes" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1772 Displays the command which STROKE maps to, reading STROKE interactively." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1773
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1774 (defalias 'describe-stroke 'strokes-describe-stroke)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1775
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1776 (autoload 'strokes-help "strokes" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1777 Get instructional help on using the the `strokes' package." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1778
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1779 (autoload 'strokes-load-user-strokes "strokes" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1780 Load user-defined strokes from file named by `strokes-file'." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1781
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1782 (defalias 'load-user-strokes 'strokes-load-user-strokes)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1783
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1784 (autoload 'strokes-list-strokes "strokes" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1785 Pop up a buffer containing a listing of all strokes defined in STROKE-MAP.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1786 If STROKE-MAP is not given, `strokes-global-map' will be used instead." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1787
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1788 (defalias 'list-strokes 'strokes-list-strokes)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1789
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1790 (autoload 'strokes-mode "strokes" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1791 Toggle strokes being enabled.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1792 With ARG, turn strokes on if and only if ARG is positive or true.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1793 Note that `strokes-mode' is a global mode. Think of it as a minor
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1794 mode in all buffers when activated.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1795 By default, strokes are invoked with mouse button-2. You can define
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1796 new strokes with
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1797
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1798 > M-x global-set-stroke" t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1799
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1800 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1801
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1802 ;;;### (autoloads (tcl-help-on-word inferior-tcl tcl-mode) "tcl" "modes/tcl.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1803
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1804 (autoload 'tcl-mode "tcl" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1805 Major mode for editing Tcl code.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1806 Expression and list commands understand all Tcl brackets.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1807 Tab indents for Tcl code.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1808 Paragraphs are separated by blank lines only.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1809 Delete converts tabs to spaces as it moves back.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1810
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1811 Variables controlling indentation style:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1812 tcl-indent-level
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1813 Indentation of Tcl statements within surrounding block.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1814 tcl-continued-indent-level
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1815 Indentation of continuation line relative to first line of command.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1816
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1817 Variables controlling user interaction with mode (see variable
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1818 documentation for details):
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1819 tcl-tab-always-indent
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1820 Controls action of TAB key.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1821 tcl-auto-newline
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1822 Non-nil means automatically newline before and after braces, brackets,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1823 and semicolons inserted in Tcl code.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1824 tcl-electric-hash-style
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1825 Controls action of `#' key.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1826 tcl-use-hairy-comment-detector
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1827 If t, use more complicated, but slower, comment detector.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1828 This variable is only used in GNU Emacs 19.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1829 tcl-use-smart-word-finder
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1830 If not nil, use a smarter, Tcl-specific way to find the current
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1831 word when looking up help on a Tcl command.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1832
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1833 Turning on Tcl mode calls the value of the variable `tcl-mode-hook'
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1834 with no args, if that value is non-nil. Read the documentation for
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1835 `tcl-mode-hook' to see what kinds of interesting hook functions
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1836 already exist.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1837
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1838 Commands:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1839 \\{tcl-mode-map}" t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1840
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1841 (autoload 'inferior-tcl "tcl" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1842 Run inferior Tcl process.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1843 Prefix arg means enter program name interactively.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1844 See documentation for function `inferior-tcl-mode' for more information." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1845
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1846 (autoload 'tcl-help-on-word "tcl" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1847 Get help on Tcl command. Default is word at point.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1848 Prefix argument means invert sense of `tcl-use-smart-word-finder'." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1849
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1850 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1851
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1852 ;;;### (autoloads (latex-mode plain-tex-mode tex-mode) "tex-mode" "modes/tex-mode.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1853
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1854 (autoload 'tex-mode "tex-mode" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1855 Major mode for editing files of input for TeX, LaTeX, or SliTeX.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1856 Tries to determine (by looking at the beginning of the file) whether
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1857 this file is for plain TeX, LaTeX, or SliTeX and calls plain-tex-mode,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1858 latex-mode, or slitex-mode, respectively. If it cannot be determined,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1859 such as if there are no commands in the file, the value of tex-default-mode
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1860 is used." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1861
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1862 (fset 'TeX-mode 'tex-mode)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1863
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1864 (fset 'LaTeX-mode 'latex-mode)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1865
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1866 (autoload 'plain-tex-mode "tex-mode" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1867 Major mode for editing files of input for plain TeX.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1868 Makes $ and } display the characters they match.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1869 Makes \" insert `` when it seems to be the beginning of a quotation,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1870 and '' when it appears to be the end; it inserts \" only after a \\.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1871
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1872 Use \\[tex-region] to run TeX on the current region, plus a \"header\"
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1873 copied from the top of the file (containing macro definitions, etc.),
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1874 running TeX under a special subshell. \\[tex-buffer] does the whole buffer.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1875 \\[tex-file] saves the buffer and then processes the file.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1876 \\[tex-print] prints the .dvi file made by any of these.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1877 \\[tex-view] previews the .dvi file made by any of these.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1878 \\[tex-bibtex-file] runs bibtex on the file of the current buffer.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1879
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1880 Use \\[validate-tex-buffer] to check buffer for paragraphs containing
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1881 mismatched $'s or braces.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1882
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1883 Special commands:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1884 \\{tex-mode-map}
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1885
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1886 Mode variables:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1887 tex-run-command
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1888 Command string used by \\[tex-region] or \\[tex-buffer].
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1889 tex-directory
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1890 Directory in which to create temporary files for TeX jobs
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1891 run by \\[tex-region] or \\[tex-buffer].
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1892 tex-dvi-print-command
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1893 Command string used by \\[tex-print] to print a .dvi file.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1894 tex-alt-dvi-print-command
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1895 Alternative command string used by \\[tex-print] (when given a prefix
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1896 argument) to print a .dvi file.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1897 tex-dvi-view-command
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1898 Command string used by \\[tex-view] to preview a .dvi file.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1899 tex-show-queue-command
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1900 Command string used by \\[tex-show-print-queue] to show the print
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1901 queue that \\[tex-print] put your job on.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1902
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1903 Entering Plain-tex mode calls the value of text-mode-hook, then the value of
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1904 tex-mode-hook, and then the value of plain-tex-mode-hook. When the special
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1905 subshell is initiated, the value of tex-shell-hook is called." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1906
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1907 (fset 'plain-TeX-mode 'plain-tex-mode)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1908
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1909 (autoload 'latex-mode "tex-mode" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1910 Major mode for editing files of input for LaTeX.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1911 Makes $ and } display the characters they match.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1912 Makes \" insert `` when it seems to be the beginning of a quotation,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1913 and '' when it appears to be the end; it inserts \" only after a \\.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1914
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1915 Use \\[tex-region] to run LaTeX on the current region, plus the preamble
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1916 copied from the top of the file (containing \\documentstyle, etc.),
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1917 running LaTeX under a special subshell. \\[tex-buffer] does the whole buffer.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1918 \\[tex-file] saves the buffer and then processes the file.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1919 \\[tex-print] prints the .dvi file made by any of these.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1920 \\[tex-view] previews the .dvi file made by any of these.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1921 \\[tex-bibtex-file] runs bibtex on the file of the current buffer.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1922
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1923 Use \\[validate-tex-buffer] to check buffer for paragraphs containing
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1924 mismatched $'s or braces.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1925
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1926 Special commands:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1927 \\{tex-mode-map}
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1928
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1929 Mode variables:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1930 latex-run-command
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1931 Command string used by \\[tex-region] or \\[tex-buffer].
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1932 tex-directory
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1933 Directory in which to create temporary files for LaTeX jobs
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1934 run by \\[tex-region] or \\[tex-buffer].
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1935 tex-dvi-print-command
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1936 Command string used by \\[tex-print] to print a .dvi file.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1937 tex-alt-dvi-print-command
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1938 Alternative command string used by \\[tex-print] (when given a prefix
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1939 argument) to print a .dvi file.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1940 tex-dvi-view-command
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1941 Command string used by \\[tex-view] to preview a .dvi file.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1942 tex-show-queue-command
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1943 Command string used by \\[tex-show-print-queue] to show the print
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1944 queue that \\[tex-print] put your job on.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1945
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1946 Entering Latex mode calls the value of text-mode-hook, then the value of
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1947 tex-mode-hook, and then the value of latex-mode-hook. When the special
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1948 subshell is initiated, the value of tex-shell-hook is called." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1949
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1950 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1951
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1952 ;;;### (autoloads (texinfo-mode) "texinfo" "modes/texinfo.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1953
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1954 (autoload 'texinfo-mode "texinfo" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1955 Major mode for editing Texinfo files.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1956
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1957 It has these extra commands:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1958 \\{texinfo-mode-map}
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1959
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1960 These are files that are used as input for TeX to make printed manuals
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1961 and also to be turned into Info files with \\[makeinfo-buffer] or
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1962 the `makeinfo' program. These files must be written in a very restricted and
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1963 modified version of TeX input format.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1964
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1965 Editing commands are like text-mode except that the syntax table is
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1966 set up so expression commands skip Texinfo bracket groups. To see
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1967 what the Info version of a region of the Texinfo file will look like,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1968 use \\[makeinfo-region], which runs `makeinfo' on the current region.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1969
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1970 You can show the structure of a Texinfo file with \\[texinfo-show-structure].
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1971 This command shows the structure of a Texinfo file by listing the
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1972 lines with the @-sign commands for @chapter, @section, and the like.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1973 These lines are displayed in another window called the *Occur* window.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1974 In that window, you can position the cursor over one of the lines and
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1975 use \\[occur-mode-goto-occurrence], to jump to the corresponding spot
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1976 in the Texinfo file.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1977
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1978 In addition, Texinfo mode provides commands that insert various
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1979 frequently used @-sign commands into the buffer. You can use these
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1980 commands to save keystrokes. And you can insert balanced braces with
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1981 \\[texinfo-insert-braces] and later use the command \\[up-list] to
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1982 move forward past the closing brace.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1983
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1984 Also, Texinfo mode provides functions for automatically creating or
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1985 updating menus and node pointers. These functions
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1986
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1987 * insert the `Next', `Previous' and `Up' pointers of a node,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1988 * insert or update the menu for a section, and
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1989 * create a master menu for a Texinfo source file.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1990
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1991 Here are the functions:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1992
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1993 texinfo-update-node \\[texinfo-update-node]
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1994 texinfo-every-node-update \\[texinfo-every-node-update]
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1995 texinfo-sequential-node-update
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1996
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1997 texinfo-make-menu \\[texinfo-make-menu]
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1998 texinfo-all-menus-update \\[texinfo-all-menus-update]
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1999 texinfo-master-menu
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2000
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2001 texinfo-indent-menu-description (column &optional region-p)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2002
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2003 The `texinfo-column-for-description' variable specifies the column to
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2004 which menu descriptions are indented.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2005
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2006 Passed an argument (a prefix argument, if interactive), the
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2007 `texinfo-update-node' and `texinfo-make-menu' functions do their jobs
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2008 in the region.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2009
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2010 To use the updating commands, you must structure your Texinfo file
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2011 hierarchically, such that each `@node' line, with the exception of the
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2012 Top node, is accompanied by some kind of section line, such as an
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2013 `@chapter' or `@section' line.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2014
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2015 If the file has a `top' node, it must be called `top' or `Top' and
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2016 be the first node in the file.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2017
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2018 Entering Texinfo mode calls the value of text-mode-hook, and then the
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2019 value of texinfo-mode-hook." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2020
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2021 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2022
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2023 ;;;### (autoloads (verilog-mode) "verilog-mode" "modes/verilog-mode.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2024
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2025 (autoload 'verilog-mode "verilog-mode" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2026 Major mode for editing Verilog code. \\<verilog-mode-map>
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2027 NEWLINE, TAB indents for Verilog code.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2028 Delete converts tabs to spaces as it moves back.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2029 Supports highlighting.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2030
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2031 Variables controlling indentation/edit style:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2032
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2033 verilog-indent-level (default 3)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2034 Indentation of Verilog statements with respect to containing block.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2035 verilog-indent-level-module (default 3)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2036 Absolute indentation of Module level Verilog statements.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2037 Set to 0 to get initial and always statements lined up
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2038 on the left side of your screen.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2039 verilog-indent-level-declaration (default 3)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2040 Indentation of declarations with respect to containing block.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2041 Set to 0 to get them list right under containing block.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2042 verilog-indent-level-behavorial (default 3)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2043 Indentation of first begin in a task or function block
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2044 Set to 0 to get such code to linedup underneath the task or function keyword
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2045 verilog-cexp-indent (default 1)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2046 Indentation of Verilog statements broken across lines.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2047 verilog-case-indent (default 2)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2048 Indentation for case statements.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2049 verilog-auto-newline (default nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2050 Non-nil means automatically newline after semicolons and the punctation
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2051 mark after an end.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2052 verilog-auto-indent-on-newline (default t)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2053 Non-nil means automatically indent line after newline
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2054 verilog-tab-always-indent (default t)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2055 Non-nil means TAB in Verilog mode should always reindent the current line,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2056 regardless of where in the line point is when the TAB command is used.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2057 verilog-indent-begin-after-if (default t)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2058 Non-nil means to indent begin statements following a preceding
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2059 if, else, while, for and repeat statements, if any. otherwise,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2060 the begin is lined up with the preceding token. If t, you get:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2061 if (a)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2062 begin
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2063 otherwise you get:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2064 if (a)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2065 begin
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2066 verilog-auto-endcomments (default t)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2067 Non-nil means a comment /* ... */ is set after the ends which ends
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2068 cases, tasks, functions and modules.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2069 The type and name of the object will be set between the braces.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2070 verilog-minimum-comment-distance (default 40)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2071 Minimum distance between begin and end required before a comment
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2072 will be inserted. Setting this variable to zero results in every
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2073 end aquiring a comment; the default avoids too many redundanet
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2074 comments in tight quarters.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2075 verilog-auto-lineup (default `(all))
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2076 List of contexts where auto lineup of :'s or ='s should be done.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2077
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2078 Turning on Verilog mode calls the value of the variable verilog-mode-hook with
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2079 no args, if that value is non-nil.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2080 Other useful functions are:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2081 \\[verilog-complete-word] -complete word with appropriate possibilities
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2082 (functions, verilog keywords...)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2083 \\[verilog-comment-region] - Put marked area in a comment, fixing
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2084 nested comments.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2085 \\[verilog-uncomment-region] - Uncomment an area commented with \\[verilog-comment-region].
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2086 \\[verilog-insert-block] - insert begin ... end;
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2087 \\[verilog-star-comment] - insert /* ... */
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2088 \\[verilog-mark-defun] - Mark function.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2089 \\[verilog-beg-of-defun] - Move to beginning of current function.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2090 \\[verilog-end-of-defun] - Move to end of current function.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2091 \\[verilog-label-be] - Label matching begin ... end, fork ... join
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2092 and case ... endcase statements;
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2093 " t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2094
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2095 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2096
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2097 ;;;### (autoloads (vhdl-mode) "vhdl-mode" "modes/vhdl-mode.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2098
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2099 (autoload 'vhdl-mode "vhdl-mode" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2100 Major mode for editing VHDL code.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2101 vhdl-mode $Revision: 1.1 $
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2102 To submit a problem report, enter `\\[vhdl-submit-bug-report]' from a
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2103 vhdl-mode buffer. This automatically sets up a mail buffer with version
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2104 information already added. You just need to add a description of the
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2105 problem, including a reproducible test case and send the message.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2106
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2107 Note that the details of configuring vhdl-mode will soon be moved to the
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2108 accompanying texinfo manual. Until then, please read the README file
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2109 that came with the vhdl-mode distribution.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2110
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2111 The hook variable `vhdl-mode-hook' is run with no args, if that value is
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2112 bound and has a non-nil value.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2113
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2114 Key bindings:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2115 \\{vhdl-mode-map}" t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2116
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2117 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2118
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2119 ;;;### (autoloads (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" "modes/view-less.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2120
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2121 (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))
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2122
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2123 (defvar view-mode-map (let ((map (copy-keymap view-minor-mode-map))) (set-keymap-name map 'view-mode-map) map))
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2124
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2125 (autoload 'view-file "view-less" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2126 Find FILE, enter view mode. With prefix arg OTHER-P, use other window." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2127
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2128 (autoload 'view-buffer "view-less" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2129 Switch to BUF, enter view mode. With prefix arg use other window." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2130
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2131 (autoload 'view-file-other-window "view-less" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2132 Find FILE in other window, and enter view mode." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2133
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2134 (autoload 'view-buffer-other-window "view-less" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2135 Switch to BUFFER in another window, and enter view mode." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2136
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2137 (autoload 'view-minor-mode "view-less" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2138 Minor mode for viewing text, with bindings like `less'.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2139 Commands are:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2140 \\<view-minor-mode-map>
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2141 0..9 prefix args
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2142 - prefix minus
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2143 \\[scroll-up] page forward
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2144 \\[scroll-down] page back
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2145 \\[view-scroll-lines-up] scroll prefix-arg lines forward, default 1.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2146 \\[view-scroll-lines-down] scroll prefix-arg lines backward, default 1.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2147 \\[view-scroll-some-lines-down] scroll prefix-arg lines backward, default 10.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2148 \\[view-scroll-some-lines-up] scroll prefix-arg lines forward, default 10.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2149 \\[what-line] print line number
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2150 \\[view-mode-describe] print this help message
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2151 \\[view-search-forward] regexp search, uses previous string if you just hit RET
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2152 \\[view-search-backward] as above but searches backward
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2153 \\[view-repeat-search] repeat last search
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2154 \\[view-goto-line] goto line prefix-arg, default 1
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2155 \\[view-last-windowful] goto line prefix-arg, default last line
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2156 \\[view-goto-percent] goto a position by percentage
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2157 \\[toggle-truncate-lines] toggle truncate-lines
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2158 \\[view-file] view another file
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2159 \\[view-buffer] view another buffer
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2160 \\[view-cleanup-backspaces] cleanup backspace constructions
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2161 \\[shell-command] execute a shell command
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2162 \\[shell-command-on-region] execute a shell command with the region as input
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2163 \\[view-quit] exit view-mode, and bury the current buffer.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2164
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2165 If invoked with the optional (prefix) arg non-nil, view-mode cleans up
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2166 backspace constructions.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2167
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2168 More precisely:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2169 \\{view-minor-mode-map}" t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2170
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2171 (autoload 'view-mode "view-less" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2172 View the current buffer using view-minor-mode. This exists to be 99.9%
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2173 compatible with the implementations of `view-mode' in view.el and older
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2174 versions of view-less.el." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2175
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2176 (autoload 'view-major-mode "view-less" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2177 View the current buffer using view-mode, as a major mode.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2178 This function has a nonstandard name because `view-mode' is wrongly
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2179 named but is like this for compatibility reasons." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2180
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2181 (autoload 'auto-view-mode "view-less" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2182 If the file of the current buffer is not writable, call view-mode.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2183 This is meant to be added to `find-file-hooks'." nil nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2184
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2185 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2186
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2187 ;;;### (autoloads (vrml-mode) "vrml-mode" "modes/vrml-mode.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2188
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2189 (autoload 'vrml-mode "vrml-mode" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2190 Major mode for editing VRML code.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2191 Expression and list commands understand all VRML brackets.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2192 Tab indents for VRML code.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2193 Paragraphs are separated by blank lines only.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2194 Delete converts tabs to spaces as it moves back.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2195
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2196 Variables controlling indentation style:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2197 vrml-indent-level
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2198 Indentation of VRML statements within surrounding block.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2199
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2200 Variables controlling user interaction with mode (see variable
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2201 documentation for details):
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2202 vrml-tab-always-indent
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2203 Controls action of TAB key.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2204 vrml-auto-newline
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2205 Non-nil means automatically newline before and after braces
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2206 inserted in VRML code.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2207
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2208 Turning on VRML mode calls the value of the variable `vrml-mode-hook'
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2209 with no args, if that value is non-nil. Read the documentation for
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2210 `vrml-mode-hook' to see what kinds of interesting hook functions
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2211 already exist.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2212
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2213 Commands:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2214 \\{vrml-mode-map}" t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2215
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2216 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2217
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2218 ;;;### (autoloads (xpm-mode) "xpm-mode" "modes/xpm-mode.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2219
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2220 (autoload 'xpm-mode "xpm-mode" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2221 Treat the current buffer as an xpm file and colorize it.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2222
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2223 Shift-button-1 lets you paint by dragging the mouse. Shift-button-1 on a
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2224 color definition line will change the current painting color to that line's
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2225 value.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2226
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2227 Characters inserted from the keyboard will NOT be colored properly yet.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2228 Use the mouse, or do xpm-init (\\[xpm-init]) after making changes.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2229
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2230 \\[xpm-add-color] Add a new color, prompting for character and value
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2231 \\[xpm-show-image] show the current image at the top of the buffer
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2232 \\[xpm-parse-color] parse the current line's color definition and add
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2233 it to the color table. Provided as a means of changing colors.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2234 XPM minor mode bindings:
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2235 \\{xpm-mode-map}" t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2236
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2237 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2238
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2239 ;;;### (autoloads (xrdb-mode) "xrdb-mode" "modes/xrdb-mode.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2240
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2241 (autoload 'xrdb-mode "xrdb-mode" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2242 Major mode for editing xrdb config files" t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2243
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2244 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2245
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2246 (provide 'modes-autoloads)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2247 ))