diff options
author | 2006-09-05 14:01:27 +0000 | |
---|---|---|
committer | 2006-09-05 14:01:27 +0000 | |
commit | 3817b477032a4fc82dd9df9b6e26c82ca77106e8 (patch) | |
tree | 1bf824d9f5c8d4bbb342093d3fd96c28cfb4cca9 /coq | |
parent | e76f14da4b7e737a5b6f5321c02127256d0b65df (diff) |
still experimenting error highliting
Diffstat (limited to 'coq')
-rw-r--r-- | coq/coq.el | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -1401,13 +1401,17 @@ be asked to the user." (lgth (length (match-string 2)))) ; (message "pos = %d ; lgth = %d " pos lgth) (goto-char (+ (proof-locked-end) 1)) + (coq-find-real-start) (forward-char pos) - (push-mark (+ (point)lgth) t t) - ))) + (let ((sp (make-span (point) (+ (point) lgth)))) + (set-span-face sp 'proof-mouse-highlight-face) + (sit-for 20) + (delete-span sp) + )))) ; does not show the region from there, something must be deactivating the ; region before going out... -;(setq proof-shell-handle-error-or-interrupt-hook 'coq-highlight-error) +(setq proof-shell-handle-error-or-interrupt-hook 'coq-highlight-error) ;(add-hook 'proof-shell-handle-error ; 'zmacs-region-stays |