aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Aspinall1998-11-12 14:20:31 +0000
committerDavid Aspinall1998-11-12 14:20:31 +0000
commit69f105a99a98cc171bcf9b7b43b51940e9df1d1c (patch)
tree51549dfec8f7317f4fab84f7309d046a3a2423ac
parentc400fa8c8208f533c1928419614d11787c952053 (diff)
Added note about removing proof-goal-command-p
-rw-r--r--coq/coq-syntax.el5
-rw-r--r--coq/coq.el2
-rw-r--r--todo5
3 files changed, 10 insertions, 2 deletions
diff --git a/coq/coq-syntax.el b/coq/coq-syntax.el
index 16f2a15f..a696cf32 100644
--- a/coq/coq-syntax.el
+++ b/coq/coq-syntax.el
@@ -28,6 +28,11 @@
"Scheme"
))
+;; FIXME da: I'm not sure why this variable includes more than
+;; just the Goal-type commands. Perhaps it was so that func-menu
+;; worked neatly, but it leads to the nasty use of proof-goal-command-p
+;; instead of a proof-goal-regexp. Func menu configuration has since
+;; been overhauled, so this could maybe be improved now.
(defvar coq-keywords-goal
'(
"Definition"
diff --git a/coq/coq.el b/coq/coq.el
index e31b0029..511c6993 100644
--- a/coq/coq.el
+++ b/coq/coq.el
@@ -146,6 +146,8 @@
(proof-ids-to-regexp (append coq-keywords-decl coq-keywords-defn))
"Declaration and definition regexp.")
+;; FIXME da: this one function breaks the nice configuration of Proof General:
+;; should have proof-goal-regexp instead.
(defun coq-goal-command-p (str)
"Decide whether argument is a goal or not"
(and (string-match coq-goal-command-regexp str)
diff --git a/todo b/todo
index 5b157050..2eb0786c 100644
--- a/todo
+++ b/todo
@@ -14,8 +14,9 @@ X (Low) probably not worth wasting time on
* This is a list of things which need doing in the generic interface
====================================================================
-C Func menu: add setting for proof-save-with-hole-regexp to
- extend support for goals named at the end of proofs.
+C proof-goal-command-regexp: add this setting to coq.el.
+ Rationalize use of proof-goal-command-p
+ (probably can be scrapped now).
D Customization mechanism: is there a way to make saved settings
not be overwritten by setq's in the code? Need to think how