aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2000-09-14 16:15:15 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2000-09-14 16:15:15 +0000
commitf700ea5c972c175322d79066677d5cb7099132e3 (patch)
treec176aa2944d150e78b6b8ed99e542576e7992e38 /doc
parentf4e03f150202a64e476d5881470872a6ab4d8180 (diff)
Encourage use of easy instantiation mechanism.
Diffstat (limited to 'doc')
-rw-r--r--doc/PG-adapting.texi17
1 files changed, 13 insertions, 4 deletions
diff --git a/doc/PG-adapting.texi b/doc/PG-adapting.texi
index 6b42b407..4f2fbf07 100644
--- a/doc/PG-adapting.texi
+++ b/doc/PG-adapting.texi
@@ -327,9 +327,13 @@ define the modes using the macro @code{define-derived-mode}. Or you can
use the new easy configuration mechanism of Proof General 3.0 described
in the next section, which calls @code{define-derived-mode} for you.
You still need to know which configuration variables should be set, and
-how to set them. The documentation below (and inside Emacs) should help
-with that, but the best way to begin might be to use an existing Proof
-General instance as an example.
+how to set them.
+
+The documentation below (and inside Emacs) should help with that, but
+the best way to begin might be to use an existing Proof General instance
+as an example. Even better is to use the new easy configuration
+mechanism, which avoids the need to call @code{define-derived-mode}
+directly.
@node Demonstration instance and easy configuration
@@ -376,7 +380,12 @@ part of the entry in @code{proof-assistant-table} for your prover.
and @code{@var{myprover}-goals-mode} will be defined. The configuration
variables in the body will be set immediately.
-Even Emacs Lisp experts may prefer the simplified mechanism. If you
+
+This mechanism is in fact recommended for new instantiations of
+Proof General since it follows a regular pattern, and we can more
+easily adapt it in the future to new versions of Proof General.
+
+Even Emacs Lisp experts should prefer the simplified mechanism. If you
want to set some buffer-local variables in your Proof General modes, or
invoke supporting lisp code, this can easily be done by adding functions
to the appropriate mode hooks after the @code{proof-easy-config} call.