1 ; These functions are used to run shell commands and check for errors.
2 ; this file is loaded from mh-e with an explicit load command.
4 (send-to-shell pname progress
6 (temp-use-buffer "mh-temp") (erase-buffer)
7 (insert-string (arg 1))
8 (beginning-of-file) (setq progress -1)
9 (while (& (! (eobp)) (< progress 50))
11 (setq progress (+ progress 1))
14 (set-mark) (end-of-line)
15 (setq pname (region-to-string))
16 (delete-to-killbuffer)
17 (fast-filter-region pname)
27 (temp-use-buffer "mh-temp")
28 (if (!= (buffer-size) 0)
30 (pop-to-buffer "mh-temp")
32 (beginning-of-file) (set-mark)
33 (error-occured (re-replace-string "\n\n* *" "; "))
35 (backward-character) (backward-character)
37 (send-string-to-terminal "\
\a")
38 (message (region-to-string))
39 (send-string-to-terminal "\
\a")