help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Checking Process Status


From: CarlC
Subject: Re: Checking Process Status
Date: Wed, 12 Feb 2003 22:03:16 GMT

"Kevin Rodgers" <address@hidden> wrote in message
news:address@hidden
> Then force M-x compile to run the command synchronously:
>
> (fmakunbound 'start-process)
>
> Note: This may have other, undesirable consequences.

This code has worked for me. To do away with the "undesirable consequences",
I make this temporary in the compile function:

(defadvice compile (before cobol-compile activate)
  "Set compile-command and make compile syncronous"
  (fset 'save-start-process (symbol-function 'start-process))
  (fmakunbound 'start-process))

(defadvice compile (after cobol-compile activate)
  "Process cobol error listing."
  (fset 'start-process 'save-start-process)
...

Thanks to all who helped me.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]