aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>1998-11-25 12:56:47 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>1998-11-25 12:56:47 +0000
commitfae3b18be1a7dc71cbfc31f922acd5e6f1089c81 (patch)
tree85cd3316627b2bf5255887891bc3f7733185801a
parent9fb5af2617043f4e9e8439a029bb9e2677adff29 (diff)
Replaced proof-pbp-buffer with proof-goals-buffer.
-rw-r--r--doc/NewDoc.texi4
-rw-r--r--generic/proof-script.el10
-rw-r--r--generic/proof-shell.el32
-rw-r--r--generic/proof.el2
-rw-r--r--lego/lego.el2
5 files changed, 25 insertions, 25 deletions
diff --git a/doc/NewDoc.texi b/doc/NewDoc.texi
index 89e5024d..d437ab55 100644
--- a/doc/NewDoc.texi
+++ b/doc/NewDoc.texi
@@ -2700,8 +2700,8 @@ The currently active scripting buffer or nil if none.
Process buffer where the proof assistant is run.
@end defvar
-@c TEXI DOCSTRING MAGIC: proof-pbp-buffer
-@defvar proof-pbp-buffer
+@c TEXI DOCSTRING MAGIC: proof-goals-buffer
+@defvar proof-goals-buffer
The goals buffer (also known as the pbp buffer).
@end defvar
diff --git a/generic/proof-script.el b/generic/proof-script.el
index 448fe752..ecfa067a 100644
--- a/generic/proof-script.el
+++ b/generic/proof-script.el
@@ -1236,8 +1236,8 @@ value of proof-locked span."
; proof-shell-proof-completed nil)
; (if (buffer-live-p proof-shell-buffer)
; (kill-buffer proof-shell-buffer))
-; (if (buffer-live-p proof-pbp-buffer)
-; (kill-buffer proof-pbp-buffer))
+; (if (buffer-live-p proof-goals-buffer)
+; (kill-buffer proof-goals-buffer))
; (and (buffer-live-p proof-response-buffer)
; (kill-buffer proof-response-buffer)))
@@ -1438,8 +1438,8 @@ No action if BUF is nil."
(proof-switch-to-buffer proof-script-buffer)
:active (buffer-live-p proof-script-buffer)]
["Goals"
- (proof-switch-to-buffer proof-pbp-buffer t)
- :active (buffer-live-p proof-pbp-buffer)]
+ (proof-switch-to-buffer proof-goals-buffer t)
+ :active (buffer-live-p proof-goals-buffer)]
["Response"
(proof-switch-to-buffer proof-response-buffer t)
:active (buffer-live-p proof-response-buffer)]
@@ -1582,7 +1582,7 @@ Otherwise just do proof-restart-buffers to delete some spans from memory."
;; Hide away goals and response: this is a hack because otherwise
;; we can lead the user to frustration with the dedicated windows
;; nonsense.
- (if proof-pbp-buffer (bury-buffer proof-pbp-buffer))
+ (if proof-goals-buffer (bury-buffer proof-goals-buffer))
(if proof-response-buffer (bury-buffer proof-response-buffer)))
diff --git a/generic/proof-shell.el b/generic/proof-shell.el
index ce91c77a..dc6daa47 100644
--- a/generic/proof-shell.el
+++ b/generic/proof-shell.el
@@ -226,7 +226,7 @@ Does nothing if proof assistant is already running."
;; Create the associated buffers and set buffer variables
(setq proof-shell-buffer (get-buffer (concat "*" proc "*"))
- proof-pbp-buffer (get-buffer-create (concat "*" proc "-goals*"))
+ proof-goals-buffer (get-buffer-create (concat "*" proc "-goals*"))
proof-response-buffer (get-buffer-create (concat "*" proc
"-response*")))
(save-excursion
@@ -234,7 +234,7 @@ Does nothing if proof assistant is already running."
(funcall proof-mode-for-shell)
(set-buffer proof-response-buffer)
(funcall proof-mode-for-response)
- (set-buffer proof-pbp-buffer)
+ (set-buffer proof-goals-buffer)
(funcall proof-mode-for-pbp))
(message
@@ -305,8 +305,8 @@ and state variables."
proof-shell-busy nil
proof-shell-proof-completed nil)
;; Kill buffers associated with shell buffer
- (if (buffer-live-p proof-pbp-buffer)
- (kill-buffer proof-pbp-buffer))
+ (if (buffer-live-p proof-goals-buffer)
+ (kill-buffer proof-goals-buffer))
(if (buffer-live-p proof-response-buffer)
(kill-buffer proof-response-buffer))
(message "%s terminated." procname)))
@@ -494,10 +494,10 @@ This is a list of tuples of the form (type . string). type is either
;; window. Indicate that it should be erased before the next output.
(proof-shell-maybe-erase-response t t)
- (set-buffer proof-pbp-buffer)
+ (set-buffer proof-goals-buffer)
(erase-buffer)
(insert (substring out 0 op))
- (proof-display-and-keep-buffer proof-pbp-buffer)
+ (proof-display-and-keep-buffer proof-goals-buffer)
(setq ip 0
op 1)
@@ -638,11 +638,11 @@ Then we call `proof-shell-handle-error-hook'. "
;; flush goals
(or (equal proof-shell-delayed-output (cons 'insert "Done."))
(save-excursion ;current-buffer
- (set-buffer proof-pbp-buffer)
+ (set-buffer proof-goals-buffer)
(erase-buffer)
(insert (proof-shell-strip-annotations
(cdr proof-shell-delayed-output)))
- (proof-display-and-keep-buffer proof-pbp-buffer)))
+ (proof-display-and-keep-buffer proof-goals-buffer)))
;; This prevents problems if the user types in the
;; shell buffer: without it the same error is seen by
@@ -679,8 +679,8 @@ Then we call `proof-shell-handle-error-hook'. "
;; FIXME da: this function is a mess.
(defun proof-shell-handle-interrupt ()
(save-excursion
- (set-buffer proof-pbp-buffer)
- (display-buffer proof-pbp-buffer)
+ (set-buffer proof-goals-buffer)
+ (display-buffer proof-goals-buffer)
(goto-char (point-max))
(newline 2)
(insert-string
@@ -701,14 +701,14 @@ Then we call `proof-shell-handle-error-hook'. "
(span-start span)))
(defun proof-pbp-focus-on-first-goal ()
- "If the `proof-pbp-buffer' contains goals, the first one is brought
+ "If the `proof-goals-buffer' contains goals, the first one is brought
into view."
(and (fboundp 'map-extents)
(let
- ((pos (map-extents 'proof-goals-pos proof-pbp-buffer
+ ((pos (map-extents 'proof-goals-pos proof-goals-buffer
nil nil nil nil 'proof-top-element)))
(and pos (set-window-point
- (get-buffer-window proof-pbp-buffer t) pos)))))
+ (get-buffer-window proof-goals-buffer t) pos)))))
@@ -740,12 +740,12 @@ assistant."
((and proof-shell-abort-goal-regexp
(string-match proof-shell-abort-goal-regexp string))
- (proof-clean-buffer proof-pbp-buffer)
+ (proof-clean-buffer proof-goals-buffer)
(setq proof-shell-delayed-output (cons 'insert "\nAborted\n"))
())
((string-match proof-shell-proof-completed-regexp string)
- (proof-clean-buffer proof-pbp-buffer)
+ (proof-clean-buffer proof-goals-buffer)
(setq proof-shell-proof-completed t)
(setq proof-shell-delayed-output
(cons 'insert (concat "\n" (match-string 0 string)))))
@@ -1334,7 +1334,7 @@ before and after sending the command."
(defun proof-goals-config-done ()
"Initialise the goals buffer after the child has been configured."
(save-excursion
- (set-buffer proof-pbp-buffer)
+ (set-buffer proof-goals-buffer)
(proof-font-lock-minor-mode)))
diff --git a/generic/proof.el b/generic/proof.el
index 89678fdc..68560e0d 100644
--- a/generic/proof.el
+++ b/generic/proof.el
@@ -85,7 +85,7 @@ is resynchronised. It contains files in canonical truename format")
(defvar proof-shell-buffer nil
"Process buffer where the proof assistant is run.")
-(defvar proof-pbp-buffer nil
+(defvar proof-goals-buffer nil
"The goals buffer (also known as the pbp buffer).")
(defvar proof-response-buffer nil
diff --git a/lego/lego.el b/lego/lego.el
index a15c2581..30acd07e 100644
--- a/lego/lego.el
+++ b/lego/lego.el
@@ -325,7 +325,7 @@ Given is the first SPAN which needs to be undone."
(let ((current-width
;; FIXME da: I suspect this is the wrong window to
;; check the width of. Probably we want the width
- ;; of proof-pbp-buffer?
+ ;; of proof-goals-buffer?
(window-width (get-buffer-window proof-shell-buffer))))
(if (equal current-width lego-shell-current-line-width) ()
; else