aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDavid Aspinall1998-10-14 13:17:07 +0000
committerDavid Aspinall1998-10-14 13:17:07 +0000
commit862ed6d111b32e54782738232ec76ed4534699a4 (patch)
tree2db42522779667781a58dabf228de9d3ac9e8ac5 /doc
parent74f91cf24197b3734a83480cb236aa4a911c036a (diff)
Other small improvements to adding new proof assistant section.
Diffstat (limited to 'doc')
-rw-r--r--doc/ProofGeneral.texi32
1 files changed, 17 insertions, 15 deletions
diff --git a/doc/ProofGeneral.texi b/doc/ProofGeneral.texi
index f101ef3e..8d52eab3 100644
--- a/doc/ProofGeneral.texi
+++ b/doc/ProofGeneral.texi
@@ -576,21 +576,23 @@ called myassistant.
directory, to put the specific customization and associated files in.
@item Add a file myassistant.el to the new directory.
@item Edit proof-site.el to add a new entry to the
- 'proof-internal-assistants-table' variable.
-Each entry of this table is a list of the form
-
- (SYMBOL NAME AUTOMODE-REGEXP)
-
-The NAME is a string, naming the proof assistant.
-The SYMBOL is used to form the name of the mode for the
-assistant, `SYMBOL-mode`, run when files with AUTOMODE-REGEXP
-are visited. SYMBOL is also used to form the name of the
-directory and elisp file for the mode, which will be
-
- <proof-directory-home>/SYMBOL/SYMBOL.el
-
-where `<proof-directory-home>/' is the value of the
-variable proof-directory-home.
+ @var{proof-internal-assistants-table} variable. The new entry should
+look like this:
+
+ (myassistant "My New Assistant" "\\.myasst$")
+
+The first item is used to form the name of the internal variables
+for the new mode as well as the directory and file where it loads
+from. The second is a string, naming the proof assistant.
+The third item is a regular expression to match names of
+proof script files for this assistant. See the documentation
+of @var{proof-internal-assistants-table} for more details.
+@item Define the new modes in myassistant.el, by looking at
+ the files for the currently supported assistants for example.
+ Basically you need to define some modes using @fn{define-derived-mode}
+ and set the configuration variables. You could begin by setting
+ a minimum number of the variables, then adjust the
+ settings via the customize menus, under Proof-General -> Internals.
@end itemize
@node Literature, , Adding A New Proof Assistant, Internals