Lines Matching +defs:hets +defs:program

8 ;; Contact: hets-users@informatik.uni-bremen.de
23 (define-key keymap "\C-c\C-r" 'casl-run-hets-r)
25 (define-key keymap "\C-c\C-u" 'casl-run-hets-g)
26 (define-key keymap "\C-c\C-c" 'casl-run-hets-g))
268 (defvar hets-program nil)
270 (defvar casl-hets-options nil
271 "*the additional options for running hets.")
273 (defun casl-run-hets (&rest opt)
274 "Run hets process to compile the current CASL file."
279 (casl-hets-file-name (buffer-file-name))
280 (outbuf (get-buffer-create "*hets-run*")))
281 (if hets-program
282 (setq casl-hets-program hets-program)
283 (setq casl-hets-program "hets"))
287 (setq hets-command (concat casl-hets-program run-option casl-hets-file-name))
296 (insert hets-command "\n")
302 (compilation-mode "hets-compile")
319 (proc (start-process-shell-command "hets-compile" outbuf
320 hets-command)))
329 (defun casl-run-hets-r (&rest opt)
330 "Run hets process with options (from casl-hets-options) to compile the
336 (if casl-hets-options
337 (setq run-option-r casl-hets-options))
343 (casl-run-hets run-option-r)
346 (defun casl-run-hets-g ()
347 "Run hets process with -g and other options (from variable casl-hets-options)
350 (casl-run-hets-r "-g")
353 ;; sentinel and filter of asynchronous process of hets
382 ;; show the message from hets compile direct on *hets-run* buffer
385 (unless (equal (buffer-name) "*hets-run*")
387 (pop-to-buffer "*hets-run*")
431 ;; also functions with old hets-program?
437 (pop-to-buffer "*hets-run*")
464 (if (member (get-buffer "*hets-run*") (buffer-list))
480 ;; switch to hets-run window to jump to next error message
482 (pop-to-buffer "*hets-run*")