>> +          (when compilation-disable-input
>> +                (condition-case nil
>> +                    (process-send-eof proc)
>> +                  ;; The process may have exited already.
>> +                  (error nil)))
>> (setq compilation-in-progress
>> (cons proc compilation-in-progress)))
>> ;; No asynchronous processes available.

> I think it is the wrong fix to just ignore an error which should not
> occur in the first place.  Rather process-send-eof should be fixed not
> to throw an error as long as the process is not considered dead from
> Emacs' point of view.  That there is nobody to actually look at the
> eof can't be considered a problem in asynchronous operations: the
> consuming process can close down without waiting for an explicit eof.

I agree it'd be the better thing to do.  But I have no patch to do that, so
unless someone else can provide a patch for it, my suggestion is a good
temporary workaround.


        Stefan


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to