aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDavid Aspinall1999-11-11 10:45:21 +0000
committerDavid Aspinall1999-11-11 10:45:21 +0000
commitdf8a7e419c5401f584c94419379eb2f093cd726a (patch)
tree2a992d54e995a125079a15bd42706a8c3a643ba5 /etc
parent99b1fc11d8685ad7054dede0caa3c20c8ca9c23f (diff)
Patches for urgent message processing.
Diffstat (limited to 'etc')
-rw-r--r--etc/junk.el17
1 files changed, 17 insertions, 0 deletions
diff --git a/etc/junk.el b/etc/junk.el
index 470435d5..41e47db6 100644
--- a/etc/junk.el
+++ b/etc/junk.el
@@ -15,3 +15,20 @@
(tgfn (if i (intern (concat (substring nm 0 i) "-toggle")))))
(if (and tgfn (fboundp tgfn))
(funcall tgfn (if value 1 0))))))
+
+
+;; Was in proof-shell.el
+(defun proof-shell-popup-eager-annotation ()
+ "Process urgent messages.
+Eager annotations are annotations which the proof system produces
+while it's doing something (e.g. loading libraries) to say how much
+progress it's made. Obviously we need to display these as soon as they
+arrive."
+;; FIXME: highlight eager annotation-end : fix proof-shell-handle-output
+;; to highlight whole string.
+ (let ((str (proof-shell-handle-output
+ proof-shell-eager-annotation-start
+ proof-shell-eager-annotation-end
+ 'proof-eager-annotation-face))
+ (proof-shell-message str))))
+